@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/PGd2h1Tx/taustakuva.jpg);
    background-repeat: no-repeat;
    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 { 
    width: 900px;
    height: 303px;
}

nav {
    background-color: #032415;
    overflow: hidden;
    box-shadow: #000000 0px 0px 5px;
}

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: #F0E68C;
    text-align: center; 
    padding: 14px 25px; 
    font-size: 22px;
    text-decoration: none;
    position: relative;
    transition: all 0.5s;
}

nav li a:hover {
    color: #FEBE10;
    text-shadow: 0 0 10px #8F9779, 0 0 20px #8F9779, 0 0 30px #8F9779, 0 0 40px #8F9779;
}

h1 {
    color: #043927; 
    font-family: "Delius", cursive;
    font-weight: 400;
    font-style: normal;
    margin-left: 20px;
    font-size: 22px;
    text-shadow: #000000 0px 0px 2px;
}

a {
    color: #000000;
}

a:hover {
    color: #0f5536;
}

footer a {
    color: #F0E68C;
}

/* 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, #043927, 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: #043927;
    background-color: transparent;
}

.koriste {
	float: right;
	margin-left: 20px;

}

section {
    background-color: rgba(252, 249, 225, 1);
    text-shadow: #726472 0px 0px 1px;
    padding: 20px;
    margin: auto;
    width: 55%;
    text-align: justify;
    font-size: 16px;
    border-radius: 8px;
    border: #032415 3px solid;
    box-shadow: #000000 0px 0px 3px;
}

footer {
    background-color: #032415;
    margin-top: 40px;
    text-align: center;
    padding: 30px;
    text-transform: uppercase;
    font-size: 12px;
    color: #F0E68C;
}

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

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

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

.tieto {
    font-family: "Delius", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    margin-left: 20px;
    text-align: center;
    text-decoration: underline;
}

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

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

.perustiedot th {

}

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

#sukutaulu {
    padding: 0px;
	width: 100%;
	background: #8F9779;
	border-collapse: collapse;
    border: #043927 1px solid;
    box-shadow: #000000 0px 0px 3px;
    margin-bottom: 50px;
}

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

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

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

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

.laatikko {
    background-color: #8F9779;
    border: 1px solid #043927;
    box-shadow: #000000 0px 0px 3px;
    flex: 1;
    padding: 15px;
    height: auto;
    color: #000000;
    text-shadow: #484c52 0px 0px 1px;
    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: 14px;
}

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

.kasvatit td {
    border-bottom: 1px solid #043927;
    background-color: transparent;
    color: #000000;
    padding: 5px;
}

/* Koiralistaus */
* {
  box-sizing: border-box;
}

.row {
  margin: 8px -16px;
}

.row,
.row > .column {
  padding: 8px;
}

.column {
  float: left;
  width: 25%;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.content {
  background-color: transparent;
  padding: 10px;
  font-size: 13px;
  text-align: center;
  height: 300px;
}

.content img {
    width: 200px;
    height: 150px;
    border: 2px solid #043927;
}

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

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

.kilpailukalenteri caption {
    text-transform: uppercase;
    background-color: #8F9779;
    letter-spacing: 0.5px;
    font-size: 15px;
    caption-side: top;
    text-align: left;
    font-weight: bold;
    color: #043927;
    padding: 5px;
}

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

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