@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Delius&family=Gudea:ital,wght@0,400;0,700;1,400&family=Macondo+Swash+Caps&family=Mansalva&family=Merienda:wght@300..900&family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Nothing+You+Could+Do&display=swap');

body {
    background-image: url(https://i.ibb.co/xSbCG4M3/tausta.png);
    background-attachment: fixed;
    font-family: "Gudea", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: auto;
    color: #000000;
}

header {
    text-align: center;
    margin: auto;

}
header img { 
    height: 280px;
}

nav {
    background-color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    box-shadow: #000000 0px 0px 1px;
}

nav ul {
    list-style-type: none; 
    margin: 0;
    padding: 0;
    display: flex; 
    justify-content: center;
}

nav li {
    float: left; 
}

nav li a {
    font-family: "Newsreader", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-weight: bold;
    display: block; 
    color: #d0a43a;
    text-align: center; 
    padding: 14px 25px; 
    font-size: 19px;
    text-decoration: none;
    position: relative;
    transition: all 0.5s;
}

nav li a:hover {
    color: #ffffff;
    text-shadow: 0 0 3px #d0a43a, 0 0 8px #d0a43a, 0 0 15px #d0a43a, 0 0 18px #d0a43a;
}

h1 {
    color: #d0a43a; 
    font-family: "Nothing You Could Do", cursive;
    font-weight: 400;
    font-style: normal;
    margin-left: 20px;
    font-size: 29px;
    text-shadow: #FEBE10 0px 0px 2px;
}

a {
    color: #000000;
}

a:hover {
    color: #FEBE10;
}

footer a {
    color: #000000;
}

/* Tekstin erottaja */
.hr-text {
  border: 0;
  line-height: 1em;
  position: relative;
  text-align: center;
  height: 1.5em;
  font-size: 14px;
  margin: 30px 15px;
}

.hr-text::before {
    content: "";
    background: linear-gradient(to right, transparent, #000000, transparent);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

.hr-text::after {
    content: attr(data-content);
    position: relative;
    padding: 0 7px;
    line-height: 1.5em;
    color: #000000;
    background-color: transparent;
}

.koriste {
	float: right;
	margin-left: 20px;
    border:#000000 1px solid;

}

section {
    background-color: rgb(255, 255, 255);
    text-shadow: #726472 0px 0px 1px;
    padding: 20px;
    margin: auto;
    width: 65%;
    text-align: justify;
    font-size: 14px;
    border-radius: 4px;
    box-shadow: #000000 0px 0px 1px;
}

footer {
    margin-top: 5px;
    text-align: center;
    padding: 30px;
    text-transform: uppercase;
    font-size: 13px;
    color: #000000;
}

/* Koiran sivut */
h2 {
    color: #d0a43a;
    font-family: "Nothing You Could Do", cursive;
    font-weight: 400;
    font-style: normal;
    margin-left: 20px;
    font-size: 29px;
    text-align: center;
    text-shadow: #FEBE10 0px 0px 2px;
}

h3 {
    font-family: "Comic Neue", cursive;
    font-weight: 300;
    font-style: normal;
    text-align: center;
    font-size: 13px;
    text-shadow: #2b252b 0px 0px 2px;
}

.koirakuva img {
    display: block;
    margin: auto;
    margin-bottom: 40px;
    border:#000000 1px solid;
    box-shadow: #000000 0px 0px 1px;
}

.tieto {
    font-family: "Nothing You Could Do", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    margin-left: 20px;
    text-align: center;
}

.perustiedot {
    overflow: auto;
    width: 100%;
    margin-top: 20px;
    box-shadow: #000000 0px 0px 1px;
}

.perustiedot table {
    border: 1px solid #000000;
    height: 100%;
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    border-spacing: 1px;
}

.perustiedot th {

}

.perustiedot td {
    background-color: #f0f0f0;
    border-bottom: 1px solid #000000;
    text-align: center;
    color: #000000;
    padding: 8px;
}

#sukutaulu {
    padding: 0px;
	width: 100%;
	background: #f0f0f0;
	border-collapse: collapse;
    border: #000000 1px solid;
    box-shadow: #000000 0px 0px 1px;
    margin-bottom: 20px;
}

#sukutaulu td {
	padding: 5px 10px;
	border: #000000 1.5px solid; 
}

.suku {
    display: flex;
    gap: 10px;
    padding: 5px;
}

.laatikon {
    flex: 1;
    padding: 15px;
    height: auto;
    color: #000000;
    text-align: center;
    box-sizing: border-box;
}

.kilpailut {
      display: flex;
      gap: 10px;
      padding: 5px;
    }

.laatikko {
    background-color: #ffffff;
    flex: 1;
    padding: 15px;
    height: auto;
    color: #000000;
    text-align: justify;
    box-sizing: border-box;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Kasvatti-listaus */
.kasvatit {
    overflow: auto;
    width: 100%;
}

.kasvatit table {
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
    font-size: 13px;
}

.kasvatit th {
    background-color: #f0f0f0;
    color: #000000;
    padding: 5px;
	font-family: "Pontano Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 200;
	font-style: normal;
}

.kasvatit td {
    background-color: transparent;
    color: #000000;
    padding: 5px;
}

/* Koiralistaus */
table.koirat {
    width: 100%;
	margin: 20px 0 0 0;
    border-collapse: collapse;
    border-spacing: 0;
    background: transparent;
    color: rgb(0, 0, 0);
    font-size: 12px;
}

table.koirat th, table.koirat td {
    text-align: center;
    max-width: 30px;
}

table.koirat tbody {
    font-size: 1em;
    line-height: 15px;
}

table.koirat tbody tr {
    transition: background 0.9s, color 1.2s;
}

table.koirat tbody tr:nth-child(even) {
    background: transparent;
}

table.koirat tbody tr:hover {
    color: rgb(0, 0, 0);
    background: rgba(230, 194, 77, 0.719);
}

table.koirat tbody td {
    padding: 12px;
}

table.koirat tbody tr:hover td:first-child {
    background: rgba(0,0,0,0);
}

table.koirat tbody td:first-child {
    text-align: left;
    padding-left: 20px;
    font-weight: 400;
    background: transparent;
    transition: background 0.6s;
}

/* Kilpailukalenteri */
.kilpailukalenteri {
    overflow: auto;
    width: 100%;
    box-shadow: #000000 0px 0px 2px;
}

.kilpailukalenteri table {
    height: 100%;
    width: 100%;
    table-layout: auto;
    text-align: left;
}

.kilpailukalenteri caption {
    text-transform: uppercase;
    background-color: #f0f0f0;
    letter-spacing: 0.5px;
    font-size: 14px;
    caption-side: top;
    text-align: left;
    color: #000000;
    padding: 5px;
}

.kilpailukalenteri th {
    color: #000000;
    padding: 4px;
    text-align: left;
    text-transform: uppercase;
    font-size: 13px;
    max-width: 20px;
}

.kilpailukalenteri td {
    background-color: transparent;
    color: #000000;
    padding: 4px;
    font-size: 13px;
    text-align: left;
    max-width: 20px;
}