@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=La+Belle+Aurore&family=Quicksand:wght@300..700&display=swap');

body {
    background-image: url(img/taustakuva.jpg);
    background-attachment: fixed;
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

header {
    text-align: center;    
}

a {
    color: #000000;
}

a:hover {
    color: #96B6C5;
    text-shadow: #636363 0px 0px 5px;
}

section {
    background-color: #F1F0E8;
    border-radius: 25px;
    box-shadow: #000000 0px 0px 2px;
    margin: auto;
    width: 70%;
    text-align: justify;
    padding: 20px;
    line-height: 1.7;
    font-size: 15px;
    letter-spacing: 1px;
}

.huomio {
    margin-top: -18px;
    color: #96B6C5;
    text-align: center;
    padding: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 10px;
    text-shadow: #96B6C5 0px 0px 3px;
}

.copyt {
    color: #96B6C5;
    text-align: center;
    padding: 30px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 10px;
    margin-bottom: -35px;
    text-shadow: #96B6C5 0px 0px 3px;
}

.copyt a {
    text-decoration: none;
    color: #96B6C5;
}


video {
    width: 100%;
    border-radius: 10px;
}

.videos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.5rem;
    
}
.video {
    min-height: 6rem;
}
.video:nth-child(4n),
.video:nth-child(5n),
.video:nth-child(6n) {
    min-height: 3rem;
}

blockquote {
    font-family: "La Belle Aurore", cursive;
    font-weight: 400;
    font-style: normal;
    color: #96B6C5;
    text-shadow: #96B6C5 0px 0px 2px;
    font-size: 20px;
}

.allekirjotus {
    font-family: "La Belle Aurore", cursive;
    font-weight: 400;
    font-style: normal;
    color: #96B6C5;
    text-shadow: #96B6C5 0px 0px 2px;
    font-size: 20px;
    text-align: center;
}

.eläimet {
    background-color: #adc4ce42;
    width: 80%;
    border-radius: 10px;
    margin: auto;
    padding: 20px;
    border: #96B6C5 1px dashed;
}

.column {
    float: left;
    width: 50%;
    line-height: 1.3;
}

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

.column p {
    text-align: center;
}

.column a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #96B6C5;
    text-shadow: #96B6C5 0px 0px 3px;
}

.column a:hover {
    color: #7b939e;
    text-shadow: #636363 0px 0px 5px;
}

* {
    box-sizing: border-box;
}

/* Otsikot */
h1 {
    font-family: "Alex Brush", cursive;
    font-weight: 400;
    font-style: normal;
    padding: 5px;
    color: #96B6C5;
    background-color: #adc4ce21;
    text-shadow: #96B6C5 0px 0px 3px;
    border-radius: 10px;
    text-align: center;
}

h2 {
    font-family: "Alex Brush", cursive;
    font-weight: 400;
    font-style: normal;
    color: #96B6C5;
    text-shadow: #96B6C5 0px 0px 3px;
    text-align: center;
}

h3 {

}

/* Eläimen sivut */
.eläinkuva {
    float: left;
    max-width: 100%;
    height: 50%;
    border-radius: 8px;
    box-shadow: #6e6e6e 0px 0px 4px;
}

.tieto {
    text-transform: uppercase;
    color: #96B6C5;
    text-shadow: #96B6C5 0px 0px 3px;
    padding: 3px;
}

.otsikko {
    color: #96B6C5;
    text-shadow: #96B6C5 0px 0px 3px;
    padding: 3px;
    margin-left: 20px;
    font-size: 35px;
    font-family: "Alex Brush", cursive;
    font-weight: 400;
    font-style: normal;
}

.ala {
    margin-left: 75px;
}

.meriitit {
    text-transform: uppercase;
    font-size: 0.875em;
    text-shadow: #747474 0px 0px 5px;
    margin-left: 60px;
}

.loota {
    display: flex;
    align-items: left;
    gap: 20px;
    padding: 15px;
    border-radius: 8px;
}

.suku {
    display: flex;
    flex-wrap: wrap; 
    list-style-type: none; 
    padding: 0; 
    margin: 0; 
    border-radius: 8px;
    background-color: #ffffff27;
    box-shadow: #000000 0px 0px 1px;
}

.suku li {
    margin: 10px; 
    padding: 15px; 
    flex: 1 1 200px; 
    text-align: center; 
}

.suku li a:hover {
    color:rgb(173, 173, 173);
    text-shadow: #747474 0px 0px 8px;
}

.suku li a {
    text-align: center; 
    text-decoration: none;
    color: #96B6C5;
    text-shadow: #96B6C5 0px 0px 3px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

table {
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
    border-radius: 8px;
    background-color: #ffffff27;
    box-shadow: #000000 0px 0px 1px;
}

table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.875em;
    color: #96B6C5;
    text-shadow: #96B6C5 0px 0px 3px;
    font-weight: bold;
    letter-spacing: 3px;
}

table tr {
    border: 1px solid #ddd;
    padding: .35em;
}

table th, table td {
  padding: .3125em;
  text-align: left;
}

table th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: normal;
    color: #96B6C5;
    text-shadow: #96B6C5 0px 0px 3px;
    padding: .35em;
}

/* Mobiili */
@media all and (max-width: 1400px) {
    table {
    border: 0;
  }

  table caption {
    font-size: 15px;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
 
body {
background-attachment: fixed;
}

section {
width: 100%;
margin: auto;
}

header {
width: 100%; 
}

header img {
margin: auto;
width: 50%;

}

.otsikko {
font-size: 15px;
}

nav {
width: 100%;
}

nav li a {
font-size: 10px;
}

.rakennekuva {
width: 100%;
}

.loota {
width: 100%;
padding: 5px;
margin: 0;
display: block;
} 

.video {
    width: 100%;
}

}