
body {
    margin: 0;
 
    font-family: Arial;
    background-image: url('tausta-indexfi.jpg');
    background-size: cover;

    background-repeat: no-repeat;
    /* Make the background image cover the entire area */
    background-position: top center;
/* Center the background image */


}

/*HERO-IMAGE*/
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 50px;
}

.hero-image-text-container {
    font-family: "Yrsa", serif;

    color: white;
    max-width: 30em;
    text-align: center;
}

.airplane-picture {
    width: 100%;
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/*container starts*/
.container {
    padding-top: 4vh;
    margin-bottom: 6vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.container-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding-top: 15px;
}



.container-background {
    width: 100%;
    max-width: 68%;
    background-color: white;
    border-radius: 30px;
    padding: 25px;
    padding-left: 3%;
    padding-right: 3%;
    box-shadow: 0 5px 10px rgba(14, 47, 88, 0.348);
    margin-right: 5%;
    margin-left: 5%;
}

.hth-container-text {
    font-family: "Yrsa", serif;
    color: rgb(15, 92, 159);
    text-align: center;
    font-size: 2em;
    padding: 0;
    margin: 0;
    padding-bottom: 1.5%;

}  

.container-arrow  .material-symbols-outlined{
    rotate: 90deg;
 }


.container-text {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 30px;
}

.container-index-text {
 
    max-width: 25em;
    margin-block-start: 0;
    margin-block-end: 0;

}

.sivustokartta-header-text {
    font-family: "Yrsa", serif;
    color: rgb(15, 92, 159);
    text-align: center;
    margin-block-start: 0;

}

.container2 {


    margin-bottom: 15vh;
    display: flex;

    align-items: center;
    justify-content: center;
    flex-direction: column;


}

.container-background2 {
    width: 100%;
    max-width: 68%;

    background-color: white;
    border-radius: 30px;
    padding: 25px;
    box-shadow: 0 5px 10px rgba(14, 47, 88, 0.348);
    margin-right: 8%;
    margin-left: 8%;
    text-align: center;
    padding-left: 3%;
    padding-right: 3%;
}

.guide-container {
    text-align: left;
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-bottom: 10vh;
    margin: 0px 30px 30px;
    padding-top: 1.5%;

}
.guide-container-text a {
    text-decoration: none;
}

h3 {
    font-family: "Yrsa", serif;
    font-size: 1.5em;
    color: rgb(15, 92, 159);
}

hr {
    height: 1px;
    background-color: rgba(126, 149, 192, 0.721);
    border: none;
    max-width: 1000px;
}

.guide-container-text {
    margin-left: 5%;
    margin-right: 5%;
  
    max-width: 25vw;
    margin-block-start: 0;
    margin-block-end: 0;

}

@media screen and (max-width:799px) {
 
.container-arrow .material-symbols-outlined{
   rotate: 180deg;
}

    .container-hr {
        display: none;
    }

    .hero-image {
        padding-top: 10vh;
    }

    .hero-image-text-container {
        max-width: 20em;
    }

    body {
        background-size: cover;
        background-image: url('tausta-indexfi-mobile-index.jpg');
    }

    .container-background,
    .container-background2 {
       
        max-width: 80%;
    }
.container-background{
    padding-top: 8%;
}

    .airplane-picture {
        max-width: 80%;
    }

    .hth-container-text {
        padding-bottom: 4.5%;
    }

    .container-index-text {
        font-size: 1em;
        max-width: 50vh;
        margin-right: 2vh;
        margin-left: 2vh;
    }

    .container-arrow {
        padding-top: 35px;
    }

    .container-text {
        align-items: center;
        text-align: center;
        flex-direction: column;
        padding-right: 2%;
        padding-left: 2%;

    }

    .guide-container {
        margin-right: 30px;
        margin-left: 30px;
        flex-direction: column;
      
    }

 .guide-container h3{

    margin-block-end:0;
}
.guide-container p{

    margin-block-start:0.6em;
    margin-block-end: 2em;
}

    .guide-container-text {
        font-size: 1em;
        max-width: 30em;
    }
}

@media screen and (max-width: 360px) {
    .hero-image-text-container {
        font-size: 0.9em;
    }
}