


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 */
}

h1 {
    color: white;
    font-family: "Yrsa", serif;
    font-weight: 600;
    padding-top: 1vh;
    padding-bottom: 1vh;
    font-size: 3em;
    text-align: center;
}
.title-h2{
    margin-block-start: 0.9em;
    margin-block-end: 0em;

font-size: 2em;
}
h2 {
    margin-block-start: 0.9em;
    margin-block-end: 0.4em;
    color: rgb(15, 92, 159);
    font-family: "Yrsa", serif;
}

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

.container {
    margin-bottom: 15vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

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

/*content-logo == h1 div*/
.content-logo {
    display: flex;
    justify-content: center;
    /* Center the content horizontally */
    align-items: center;
    /* Center the content vertically */
}

.start-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.start-text p {

    max-width: 70%;

}

.start-text a:visited {
    color: rgb(34, 47, 114);
}


.container-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.container-text-box{
    max-width: 100%;
  }

.container-text-box-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 5vw;
    padding-bottom: 2vh;
}

.inner-text {
    max-width: 40vw;
}

.end-text-container {
    padding-top: 4vh;
    padding-bottom: 5vh;
    margin-left: 2.5%;
    margin-right: 2.5%;
    padding-bottom: 2.5%;
}


@media screen and (max-width:799px) {

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

    .container {
        padding-top: 10vh;
        margin-bottom: 8vh;
    }

    .container-text {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 0.5vh;
    }

    .container-background {
        max-width: 74%;
        padding-left: 7%;
        padding-right: 7%;
        margin-left: 10%;
        margin-right: 10%;
        padding-bottom: 10%;
    }

    .container-text-box {
        max-width: 100vw;
        margin-top: 0;
    }

    .container-text-box p {
        margin-bottom: 0;

    }

    .container-text-box-2 {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .inner-text {
        max-width: 100%;
    }

    .start-text p {

        max-width: 100%;

    }
    h2{
        text-align: center;
    }


}