
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(207, 232, 255);
    color: #1f1f1f;
}

.etusivu, .header, .nav, .footer {
    
}

.container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px;
    background-color: rgb(255, 255, 255);
}

.header {
    background-image: url(header.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 220px;
    display: flex;
    align-items: center;
    background-color: #bee6f4;
    backdrop-filter: blur(8px);
    padding: 20px;
    text-align: center;
    
}

.nav {
    background-color: #e6f5f8;
    display: flex;
    text-align: center;
    padding: 10px;
}

.nav a {
    color: rgb(38, 98, 187);
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
    text-align: center;
    
}

.nav a:hover {
    opacity: 0.7s;
}


h1 {
    font-size: 40px;
    text-align: center;
}

.main {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

iframe {
    border: 10px ridge #2ec4ff;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img, iframe {
    max-width: 100%;
}

.footer {
background-color: #bee6f4;
color: rgb(38, 98, 187);
padding: 30px;
margin-top: 60px;
clear: both;
}

.viivat td {
    border: 1px solid #660000;
    padding: 4px 8px;
}
table {
border-collapse: collapse;
}
th {
text-align: left;
}
.raidat tr:nth-child(even) {
background-color: #cdf3ff;
}
.raidat th,.raidat td {
    padding: 4px 8px;
}

.kuvat {
    display: flex;
    width: 33%;
    gap: 10px;
    max-width: 255px;
    size-adjust: 50px;
}

.box h2 {
    font-size: 38px;
    margin-bottom: 20px;
}
.box p {
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
}

.contact section {
    background: #acecf5;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.contact-container {
    width: 100%;
    max-width: 700px;
}

.contact-container h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 40px;
    color: #003366;
    font-weight: bold;
}

form {
    display: flex;
    flex-direction: column;
}
label {
    margin-bottom: 8px;
    font-weight: bold;
    margin-top: 15px;
}

input, select, textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    margin-top: 25px;
    padding: 14px;
    border: none;
    background: #0066cc;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}