@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Eagle+Lake&family=Meddon&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

body {
    background-image: url(https://i.ibb.co/7tWWbmNh/tausta.jpg); 
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth" 100, "YTLC" 500;
    margin: auto;
}

header {
    background-color: rgba(255, 255, 255, 0.3);
    color: rgb(29, 18, 18);
    border-bottom: rgb(56, 42, 42) 5px solid;
    text-align: center;
    font-family: "Eagle Lake", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 100px;
    text-shadow: rgb(37, 19, 19) 0px 0px 3px;
    padding: 20px;
}

nav {
    background-color: rgb(29, 18, 18);
    overflow: hidden;
    box-shadow: #000000 0px 0px 3px;
}

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

nav li {
    float: left;
}
        
nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav li a {
    color: rgb(255, 255, 255);
    text-shadow: rgb(255, 255, 255) 0px 0px 1.5px;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    text-align: center;
    display: block; 
    padding: 10px 15px; 
    text-transform: uppercase;
}

nav li a:hover {
    color: rgb(117, 90, 84);
}

h1 {
    font-family: "Eagle Lake", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
    text-shadow: rgb(0, 0, 0) 0px 0px 1.5px;
    margin: 20px;
}

h2 {
    font-family: "Meddon", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    text-shadow: rgb(0, 0, 0) 0px 0px 1.5px;
    text-align: center;
}

h3 {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    text-align: center;
    text-shadow: rgb(0, 0, 0) 0px 0px 1.5px;
}

h4 {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    text-align: center;
    text-shadow: rgb(0, 0, 0) 0px 0px 1.5px;
    letter-spacing: 2px;
}

section {
    color: rgb(0, 0, 0);
    background-color: rgba(255, 255, 255, 0.9);
    border-left: rgb(56, 42, 42) 4px solid;
    border-right: rgb(56, 42, 42) 4px solid;
    text-align: justify;
    font-size: 16px;
    text-shadow: rgb(31, 31, 31) 0px 0px 1px;
    padding: 20px;
    max-width: 60%;
    margin: auto;
}

a {
    color: #000000;
}

footer {
    text-align: center;
    text-transform: uppercase;
    background-color: rgba(29, 18, 18, 0.9);
    height: 200px;
    margin: auto;
    padding: 20px;
    font-size: 11px;
    color: #FFFFFF;
}

footer a {
    color: #FFFFFF;
}

/* 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, rgb(117, 90, 84), 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: rgb(117, 90, 84);
    background-color: transparent;
}

/* 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: 300px;
    height: 150px;
    border: 2px solid rgb(56, 42, 42);
}

/* 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 #000000;
    background-color: rgb(56, 42, 42);
    color: #FFFFFF;
    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;
}

/* Koiran sivut */
.koirakuva img {
    display: block;
    margin: auto;
    margin-bottom: 40px;
    border:rgb(56, 42, 42) 2px solid;
    box-shadow: #000000 0px 0px 5px;
}

.tieto {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    margin-left: 20px;
    text-align: center;
    text-shadow: rgb(0, 0, 0) 0px 0px 1.5px;
}

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

.perustiedot table {
    border: 1px solid rgb(56, 42, 42);
    height: 100%;
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    border-spacing: 1px;
}

.perustiedot th {

}

.perustiedot td {
    background-color: rgba(92, 77, 77, 0.9);
    border-bottom: 1px solid rgb(56, 42, 42);
    text-align: center;
    color: #000000;
    padding: 8px;
}

#sukutaulu {
    padding: 0px;
	width: 100%;
	background: rgba(92, 77, 77, 0.9);
	border-collapse: collapse;
    border: rgb(56, 42, 42) 1px solid;
    box-shadow: #000000 0px 0px 3px;
    margin-bottom: 50px;
}

#sukutaulu td {
	padding: 5px 10px;
	border: rgb(56, 42, 42) 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: rgba(92, 77, 77, 0.9);
    border: 1px solid rgb(56, 42, 42);
    box-shadow: #000000 0px 0px 3px;
    flex: 1;
    padding: 15px;
    height: auto;
    color: #000000;
    text-align: justify;
    box-sizing: border-box;
    font-size: 14px;
    letter-spacing: 0.5px;
}