@import url('https://fonts.googleapis.com/css2?family=Castoro+Titling&family=Dancing+Script:wght@400..700&family=Pontano+Sans:wght@300..700&display=swap');

body {
        background-image: url(https://i.ibb.co/yBVQJHCC/taustakuva.webp);
        font-family: "Pontano Sans", sans-serif;
		font-style: normal;
        max-width: 65%;
        margin: auto;
}

header {
        font-family: "Dancing Script", cursive;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal;
        font-size: 50px;
        text-align: left;
        color: rgb(1, 48, 4);

}

ul {   
       list-style-type: none;
       margin: 0;
       padding: 0;
       overflow: hidden;
       background-color: rgba(255, 255, 255, 0.4);
}

li {
      float: left;

}

li a {
      display: block;
      font-family: "Pontano Sans", sans-serif;
	  font-optical-sizing: auto;
	  font-weight: 200;
	  font-style: normal;
      float: center;
      color: rgba(0,0,0);
      padding: 14px 16px;
	  text-transform: uppercase;
	  text-decoration: none;
      transition: transform 0.3s;
}

li a:hover {
        background-color: rgb(91, 121, 72, 0.3);
        transform: scale(1.07);

}

a {
		color:rgb(0, 0, 0);

}

h1, h2 {
        margin: 15px;
        font-family: "Dancing Script", cursive;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal;
}

h3 { 

		font-family: "Dancing Script", cursive;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal; 
		font-size: 25px;
		text-align: center; 
}

section {
        background: rgb(255, 255, 255, 0.9);
        padding: 20px;
        text-align: justify;
        color: rgba(0, 0, 0);
        padding: 20px;
		text-shadow: rgb(191, 191, 191) 0px 0px 3px;

}

footer {

        background-color: transparent;
        color: rgba(0, 0, 0);
        text-align: center;
        padding: 1em 0;

}

footer a {
        color: rgb(0, 0, 0);

}


table {
        width:100%;
}

table.koirat {
	margin: auto;
	border-top: rgba(77, 48, 43, 0.2) 1.5px dashed;
	border-bottom: rgba(77, 48, 43, 0.2) 1.5px dashed;
    border-collapse: collapse;
    border-spacing: 0;
    background: transparent;
    color: rgb(0, 0, 0);
}

table.koirat th, table.koirat td {
    text-align: left;
}

table.koirat tbody {
    font-size: 1em;
    line-height: 15px;
}

table.koirat tbody tr {
    transition: background 1.2s, color 1.2s;
}

table.koirat tbody tr:nth-child(even) {
    background: transparent;
}

table.koirat tbody tr:hover {
    color: rgb(0, 0, 0);
    background: rgba(192, 211, 200, 0.8);
}

table.koirat tbody td {
    padding: 12px;
}

table.koirat tbody tr:hover td:first-child {
    background: rgba(0,0,0,0);
}

table.koirat tbody td:first-child {
    text-align: left;
    padding-left: 15px;
    font-weight: 400;
    background: transparent;
    transition: background 0.6s;
}

.kasvatit {
    overflow: auto;
    width: 100%;
}

.kasvatit table {
    border: 1px dashed #dededf;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
}


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

.kasvatit td {
    border: 1px dashed #dededf;
    background-color: #ffffff;
    color: #000000;
    padding: 5px;
}

.nartutd {
	background-color: rgba(145, 180, 150, 0.5);
	
}

.uroksetd {
	background-color: rgba(145, 180, 150, 0.5);

} 

.kilpailu {
    overflow: auto;
    width: 100%;
}

.kilpailu table {
    border: 1px dashed #dededf;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: center;
}

.kilpailu caption {
    caption-side: top;
    text-align: left;
}

.kilpailu th {
    border: 1px dashed #dededf;
    background-color: #e2e9e3;
    color: #000000;
    padding: 5px;
	font-family: "Pontano Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 200;
	font-style: normal;
}

.kilpailu td {
    border: 1px dashed #dededf;
    background-color: #ffffff;
    color: #000000;
    padding: 5px;
}

.tekstilaatikko {
	text-align: center;

}

.perustiedot {
    
}

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

}

.image {
    float: right;
	margin-right: 10%;
	border: rgb(183, 193, 172) 2px solid;
	box-shadow: rgb(171, 183, 183) 0px 0px 2px;

}

.clearfix {
	overflow: auto;
  
}

* { 
	box-sizing: border-box; 
}

.box { 
	float: left; 
	width: 50%; 
	padding: 5px; 
	height: auto;
	text-align: center;
}
 .clearfix::after { 
	content: ""; 
	clear: both; 
	display: table; 
}

@media screen and (max-width: 400px) {
    h1 {
        font-size: 34px;
        line-height: 36px;
        padding-left: 15px;
    }

    article {
        margin: 10px 15px;
    }

    table.koirat {
        font-size: 0.8em;
    }
}

@media (max-width: 768px) {
    ul {
        text-align: left;
    }

    li {
        display: block;
        margin: 5px 0;
    }

    section {
        padding: 15px;
    }
}
