@import url('https://fonts.googleapis.com/css2?family=Knewave&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Pontano+Sans:wght@300..700&display=swap');

body {
    background-image: url(https://i.ibb.co/4wJVqgjX/taustakuva.jpg);
    background-attachment: fixed;
    font-family: "Pontano Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
	width: 100%;
	max-width: 1200px; 
	margin: 0 auto;
}

header {
	font-family: "Knewave", system-ui;
	font-weight: 400;
	font-style: normal;
    color: #ffffff;
    text-align: center;
    font-size: 70px;
    text-shadow: #ffffff 0px 0px 3px;
	margin-top: 15px;
	max-width: 100%;

}

nav ul {
    font-family: "Old Standard TT", serif;
	font-weight: 400;
	font-style: normal;
    background-color: rgba(255, 255, 255, 0.9);
    border: #ffffff 2px solid;
    box-shadow: #ffffff 0px 0px 2.5px;
    list-style-type: none;
    overflow: hidden;
    text-align: center;
    padding: 15px;
}

nav ul li {
    display: inline;
    float: center;
    padding: 10px;
}

nav a {
    color: #000000;
    text-shadow: #ffffff 0px 0px 2px;
    text-decoration: none;
    transition: all 0.4s;
    padding: 16px;
    margin: 30px;
}

nav a:hover {
    color: #bbbbbb;
    text-shadow: #ffffff 0px 0px 1px;
    letter-spacing: 4px;
}

h1, h2 {
    font-family: "Old Standard TT", serif;
	font-weight: 400;
	font-style: normal;
    font-size: 19px;
    margin-left: 25px;
    text-transform: uppercase;
}

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

section {
    background-color: rgba(255, 255, 255);
    border-right: #ffffff 2px solid;
	border-top: #ffffff 2px solid;
	border-left: #ffffff 2px solid;
    box-shadow: #ffffff 0px 0px 2.5px;
    color: #000000;
    text-shadow: rgb(184, 184, 184) 0px 0px 1px;
	padding: 20px;
    font-size: 16px;
	text-align: justify;
}

img {
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
}

footer {
	background-color: rgba(255, 255, 255, 0.8);
	border: #ffffff 2px solid;
    box-shadow: #ffffff 0px 0px 2.5px;
    text-align: center;
    color: #000000;
	text-shadow: rgb(184, 184, 184) 0px 0px 1px;
	letter-spacing: 1px;
}


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

.koiralista table {
    border: 1px solid #f2f2f2;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
    text-transform: uppercase;
    font-size: 14px;
}

.koiralista th {
    border: 1px solid #f2f2f2;
    background-color: #e2e9e3;
    color: #000000;
    padding: 5px;
    width: 100%;
}

.koiralista td {
    border: 1px dashed #f2f2f2;
    background-color: #ffffff;
    color: #000000;
    margin: auto;
    padding: 10px;
}

.kasvattilista {
    overflow: auto;
    width: 100%;
    font-size: 13px;
}

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

.kasvattilista th {
    border: 1px dashed #f2f2f2;
    background-color: transparent;
    color: #000000;
    padding: 5px;
    text-transform: uppercase;
}

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

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

.tapahtumat table {
    border: 1px dashed #f2f2f2;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
    font-size: 13px;
}

.tapahtumat th {
    border: 1px dashed #f2f2f2;
    background-color: transparent;
    color: #000000;
    padding: 5px;
}

.tapahtumat td {
    border: 1px dashed #f2f2f2;
    background-color: transparent;
    color: #000000;
    padding: 5px;
}

.tekstilaatikko {
	text-align: center;

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

#sukutaulu {
    padding: 0px;
	width: 100%;
	background: rgba(255, 255, 255, 0.4);
	border-collapse: separate;
    border: #15151536 1.5px solid;
    margin-bottom: 50px;
    font-size: 14px;
}

#sukutaulu td {
	padding: 5px 10px;
	border: #15151536 1.5px solid; 
}

.tieto table {
    border: 1.5px solid #dededf;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
    font-size: 14px;
}

.tieto th {
    border: 1.5px solid #15151536;
    background-color: rgba(0, 0, 0, 0.03);
    color: #000000;
    padding: 10px;
    text-align: left;
}

.tieto td {
    border: 1.5px solid #15151536;
    background-color: rgba(255, 255, 255, 0.4);
    color: #000000;
    padding: 8px;
    text-align: center;
}

* { 
	box-sizing: border-box; 
}

.box { 
	float: left; 
	width: 50%; 
	padding: 5px; 
	height: auto;
	text-align: center;
}
 .clearfix::after { 
	content: ""; 
	clear: both; 
	display: table; 
}
@media (max-width: 600px) {
            .container {
                padding: 10px;
            }

            .item {
                flex: 1 1 100%; /* Each item takes full width */
            }
        }