body { /* Taustakuvan asettaminen */
    background-image: url('../media/backdrop11.png');
    background-size: cover; /* Pitää huolen, että kuva kattaa koko sivun */
    background-repeat: no-repeat; /* Estää kuvaa toistumasta */
    background-attachment: fixed; /* Tämä pitää kuvan paikallaan, kun sivua selataan */
    background-position: center center; /* Keskittää taustakuvan */
    padding-top: 50px; 
    font-family: 'League Spartan';font-size: larger;
    margin: 0;
}

p {
    color: #333; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.219); 
}

button {
    background-color: #ffffff;
    color: #5e579a;
    border-radius: 5px;
    font-weight: bold;
    border-color: #5e579a;
    font-size: large;
}
button:hover {
    background-color: #e0e0e0;
}

.top-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: fixed; /* Pitää bannerin aina sivun yläreunassa */
    top: 0; /* Linjaa bannerin sivun yläreunaan */
    width: 100%; /* Bannerin leveys vie aina 100% ikkunan leveydestä */
    background: #5e5594; 
    color: white; 
    padding: 10px 0; 
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.575); /* Varjo bannerille */
    z-index: 1000; /* Pitää huolen että banneri pysyy aina päällimmäisen */
}
.top-banner img { /* bannerin kuva */
    height: 50px; 
    width: auto; 
    margin-right: 20px;
}
.top-banner button {/* bannerin painikkeet */
    margin-right: 4px;
}
.page { /* Valkoinen tausta keskelle ruutua, jotta teksti erottuu paremmin taustakuvasta */
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.856); 
    border-radius: 10px; 
    padding: 20px; 
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.705);
}
@media screen and (max-width: 768px) {
    .page {
        text-align: center;
        max-width: 300px;
        margin: 0 auto;
        background-color: rgba(255, 255, 255, 0.856); 
        border-radius: 10px; 
        padding: 20px; 
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.705);
    }
    body {
        font-size: small;
    }
    button {
        font-size: medium;
    }
}
.isoTekstiBoxi { /* Isompien tekstilaatikkojen määritykset */
    width: 100%;       
    height: 150px;     
    padding: 10px;     
    font-size: 1em;   
    border: 1px solid #ccc; 
    border-radius: 5px; 
    box-sizing: border-box; 
    resize: vertical; 
    overflow: auto; 
}
.pieniTekstiBoxi { /* Pienempien tekstilaatikkojen määritykset */
    width: 100%;    
    height: 37px;     
    padding: 10px;     
    font-size: 1em;    
    border: 1px solid #ccc; 
    border-radius: 5px; 
    box-sizing: border-box; 
    resize: vertical; 
    overflow: auto; 
}
/* Rivi- ja saraketyyppisille flexboxeille omat määritykset */
.flex-container-row { 
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
}
.flex-container-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}
.flex-container-col-img {
    display: flex;
    flex-direction: column;
    align-items: center; 
    max-width: 100%;
}
.flex-container-col-img img {
    max-width: 100%;
    height: auto;
}
.checkbox-label {
    display: flex;
    align-items: center; 
    margin-bottom: 10px; 
}
.checkbox-label input[type="checkbox"] { /* Valintaruutujen oikealle puolelle 5px:n tila */
    margin-right: 5px; 
}

