@import url('https://fonts.googleapis.com/css2?family=Germania+One&family=Oooh+Baby&family=Pontano+Sans:wght@300..700&display=swap');

body {
    background: url(https://i.ibb.co/Q7nwYnMM/tausta2.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: auto;
    font-family: "Pontano Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

header {
    text-align: center;

}

header img {
    max-width: 40%;
}

nav {
    background-color: #0a1100;
    overflow: hidden;
    margin: auto;
    text-transform: uppercase;
    font-family: "Germania One", system-ui;
    font-weight: 400;
    font-style: normal;
    box-shadow: #000000 0px 0px 5px;
}

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

nav ul li {
    float: left; 
}

nav li a {
    display: block; 
    color: #6C7C59;
    text-align: center; 
    padding: 14px 25px; 
    font-size: 20px;
    text-decoration: none;
    letter-spacing: 3px;
    transition: all 0.4s;
    text-shadow: #1a0101 0px 0px 1px;
}

nav li a:hover {
    color: #4A5D23;
    letter-spacing: 8px;
}

a {
    color: #000000;
}

footer a {
    color: #000000;
}

section {
    background-color: #6C7C59;
    border-radius: 10px;
    margin: auto;
    text-align: justify;
    padding-top: 0;
    padding: 20px;
    max-width: 45%;
    text-shadow: #000000 0px 0px 1px;
    box-shadow: #000000 0px 0px 5px;
    letter-spacing: 0.5px;
    font-size: 15px;
}

footer {
    background-color: rgba(108, 124, 89, 0.9);
    border-radius: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
    color: #000000;
    box-shadow: #000000 0px 0px 5px;
    font-size: 11px;
    max-width: 45%;
    padding: 20px;
    margin: auto;
    margin-top: 20px;
}

/* ETUSIVUN KUVAT */
* {
  box-sizing: border-box;
}

.column {
  float: left;
  width: 33.33%;
  padding: 5px;
}

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

/* OTSIKOT */

h1 {
    font-family: "Germania One", system-ui;
    font-weight: 400;
    font-style: normal;
    color: rgb(23, 43, 20);
    text-align: center;
    margin-left: 25px;
    font-size: 23px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: #000000 0px 0px 2px;
}

h2 {
    font-family: "Oooh Baby", cursive;
    font-weight: 400;
    font-style: normal;
    color: #000000;
    text-shadow: #000000 0px 0px 2px;
    font-size: 25px;
    text-align: center;
}

h4 {
    font-family: "Pontano Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    text-align: center;
    font-size: 13px;
    letter-spacing: 1px;
}

/* TEKSTIN EROTTAJ */
.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, #0a1100, transparent);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

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

.tieto {
    font-family: "Germania One", system-ui;
    font-weight: 400;
    font-style: normal;
    color: rgb(23, 43, 20);
    font-size: 18px;
    margin-left: 20px;
    text-align: left;
    text-transform: uppercase;
}

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

.perustiedot table {
    background-color: rgb(114, 121, 87);
    height: 100%;
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    border-spacing: 1px;
}

.perustiedot td {
    text-align: left;
    padding: 8px;
}

#sukutaulu {
    background-color: rgb(114, 121, 87);
    padding: 0px;
	width: 100%;
	border-collapse: collapse;
    border: #000000 1px solid;
    box-shadow: #000000 0px 0px 3px;
    margin-bottom: 50px;
}

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

.suku {
    border: #000000 1px solid;
    box-shadow: #000000 0px 0px 3px;
    background-color: rgb(114, 121, 87);
    display: flex;
    gap: 10px;
    padding: 5px;
}

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

/* KOIRIEN LISTAUS */
.content {
    height: 250px;
}

.content a {
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #b96c6b;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 17px;
}

.content img {
    width: 200px;
    height: 170px;
    border: 1px solid #975b5a;
    box-shadow: #000000 0px 0px 3px;
}

/* KILPAILUKALENTERI */
.kilpailukalenteri {
    overflow: auto;
    width: 100%;
}

.kilpailukalenteri table {
    background-color: rgb(114, 121, 87);
    height: 100%;
    width: 100%;
    table-layout: auto;
    text-align: left;
    border: #000000 1px solid;
    box-shadow: #000000 0px 0px 3px;
}

.kilpailukalenteri caption {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 18px;
    caption-side: top;
    text-align: left;
    color: rgb(23, 43, 20);
    padding: 5px;
    font-family: "Germania One", system-ui;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    letter-spacing: 2px;
}

.kilpailukalenteri th {
    font-family: "Germania One", system-ui;
    font-weight: 400;
    font-style: normal;
    color: rgb(23, 43, 20);
    text-shadow: #000000 0px 0px 1px;
    padding: 4px;
    text-align: center;
    text-transform: uppercase;
    font-size: 15px;
    max-width: 20px;
}

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

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

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

.laatikko {
    background-color: #975b5a;
    border: 1px solid #733635;
    border-radius: 5px;
    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: 13px;
}

/* KOIRIEN LISTAUS */
.content {
    height: 250px;
}

.content a {
    font-family: "Germania One", system-ui;
    font-weight: 400;
    font-style: normal;
    color: rgb(23, 43, 20);
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
}

.content img {
    width: 100px;
    height: 200px;
    border: 1px solid #000000;
    box-shadow: #000000 0px 0px 3px;
}