@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cormorant+Unicase:wght@300;400;500;600;700&family=Metamorphous&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=WindSong:wght@400;500&display=swap');

body {
    background-color: #1a1b1d;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    width: 55%;
    margin: auto;
}

header {
    background-color: #26282b;
    text-align: center;
    margin-top: 25px;
    padding: 30px;
}


header img {
    box-shadow: #ffffff 0px 0px 8px;
}


.navbar {
    background-color: #484c52;
    overflow: hidden;
    font-family: "Cormorant Unicase", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    text-transform: uppercase;
}

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

.navbar ul li {
    display: inline-block;
}

.navbar li a {
    display: block;
    color: white;
    letter-spacing: 1px;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.navbar li a:hover {
    color: #42526b; 
    text-shadow: 2px 2px 3px rgba(166, 166, 166, 0.7);
}

h1 {
    margin-left: 20px;
    font-family: "Cormorant Unicase", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    text-shadow: #00062b 0px 0px 1px;
}

h4 {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
}

h6 {
    text-align: center;
    font-family: "Cormorant Unicase", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    text-shadow: #00062b 0px 0px 1px;
}


a {
    color: black;
}

footer a {
    color: #ffffff;
}

a:hover {
    color: #42526b;
}

section {
    background-color: rgba(255, 255, 255, 0.7);
    text-align: justify;
    margin: auto;
    padding: 20px;
    font-size: 14px;
    border-left: #26282b 10px solid;
    border-right: #26282b 10px solid;
    text-shadow: #484c52 0px 0px 1px;
    letter-spacing: 0.5px;

}

footer {
    background-color: #26282b;
    color: #ffffff;
    text-align: center;
    padding: 50px;
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-top: #484c52 15px solid;
    text-shadow: #ffffff 0px 0px 1px;
}

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

/* Koirien listaus */
* {
  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: 12px;
  text-align: center;
  height: 350px;
}

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

/* Koiran sivut */
h2 {
    margin-left: 20px;
    font-family: "Cormorant Unicase", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 21px;
    letter-spacing: 1px;
    text-shadow: #00062b 0px 0px 1px;
}

h3 {
    font-family: "WindSong", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    text-align: center;    
}


h5 {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: left;
    text-shadow: #00062b 0px 0px 1px;
}

.koira img {  
    display: block;
    margin: auto;
    margin-bottom: 40px;
    border:#858c97 5px solid;
    box-shadow: #000000 0px 0px 5px;
}

.tieto {
    font-family: "Cormorant Unicase", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    text-transform: uppercase;
    margin-left: 20px;
    text-align: center;
}

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

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

.perustiedot th {
    color: #000000;

}

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

#sukutaulu {
    padding: 0px;
	width: 100%;
	background: #858c97;
	border-collapse: collapse;
    border: #15151536 1px solid;
    box-shadow: #000000 0px 0px 3px;
    margin-bottom: 50px;
    font-size: 14px;
}

#sukutaulu td {
	padding: 5px 10px;
	border: #15151536 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: justify;
    box-sizing: border-box;
}

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

.laatikko {
    background-color: #858c97;
    border: 1px solid #636363;
    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;
}

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

.tapahtumat table {
    background-color: #858c97;
    text-transform: uppercase;
    border: 1px solid #636363;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
    font-size: 13px;
}

.tapahtumat th {
    border-bottom: 1px solid #636363;
    font-family: "Cormorant Unicase", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    color: #000000;
    padding: 5px;
}

.tapahtumat td {
    border: 1px solid #636363;
    color: #000000;
    padding: 5px;
}

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

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

.kilpailukalenteri caption {
    text-transform: uppercase;
    background-color: #858c97;
    letter-spacing: 0.5px;
    font-size: 15px;
    caption-side: top;
    text-align: left;
    font-weight: bold;
    color: #10141a;
    padding: 5px;
    font-family: "Cormorant Unicase", serif;
    font-weight: 400;
    font-style: normal;
}

.kilpailukalenteri th {
    font-family: "Cormorant Unicase", serif;
    font-weight: 400;
    font-style: normal;
    color: #10141a;
    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: 13px;
    text-align: left;
    max-width: 20px;
}