*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'open sans', Helvetica, Arial, sans-serif;

    overflow-y:initial;
}

/* https://coolors.co/272727-4c404f-9bc995-157a6e-57c4e5 */

/* https://coolors.co/272727-eb5e28-53dd6c-ffffff-57c4e5 parempi*/

/* https://coolors.co/323b2d-80986c-a1ba8e-e1e1e1-ffffff nykyinen */

/*kopioi metsuri nettisivu !!!!!!!!!!!!!!!!!!! */

/*#region HIDDEN AND SHOW  */

.hidden{
    opacity: 0;
    transform: translateX(-10%);
    filter: blur(5px);
    transition: opacity 0.3s, transform 0.3s, filter 0.5s;
}
.show{
    opacity: 1;
    transform: translateX(0px);
    filter: blur(0px);
}
/* #endregion */

body{
    overflow-x: hidden;
    overflow-x: clip !important;

    min-width: 320px;

    background-color: #b9dda1;
}

.overlay{
    width: 100vw;
    height: 100%;
    position: absolute;
    z-index: 100;
    background-color: #000000;
    color: #333333;
    top: 0;
    left: -100vw;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease;
    display: flex;

    padding-top: 200px;

    cursor: pointer;

    display: none;
}

.overlay-is-active{
    opacity: 0.3;
    visibility: visible;

    display: block;
}


/*#region FIRST*/	

.first{
    z-index: 1;
    background-color: #b9dda1;
    margin-top: 100px;
}

.firstCont{
    display: flex;
    min-height: 80vh;
    padding-bottom: 50px;
}

/* .firstCont::after{
    content: "";
    width:80vw;
    height: 70vh;
    border-bottom-right-radius: 50% 100%;
    background-color: #e8e8e8;
    position: absolute;
    z-index: 1;
    background-image: url("/pictures/GIMPtree.png");
    background-repeat: repeat;
    background-size: 130px;
} */

.firstCont .text{
    z-index: 2;
    width: fit-content;
    height: 100%;
    max-width: 50%;
    margin: auto;
}

.textCont{
    height: fit-content;
    margin: auto;
    width: 100%;
    margin-top: 50px;
    padding-left: 100px;
}

.textCont h1{

    font-weight: 500;
    font-style: normal;
    font-size: 55px;

    text-decoration: none;

    font-family: "Libre Franklin", serif;


    color: #292929;
    text-align: left;

    text-wrap:  balance;
}

.textCont p{
    width: 100%;
    color: #292929;
    text-align: left;
    margin: 20px 0;
    line-height: 23px;
    font-family: "Libre Franklin", serif;
    font-size: 23px;
}

.firstImg{
    width: 50%;
    display: flex;
    z-index: 3;
    margin: auto 0;
    margin-right: 20px;
}

.roundCorners{
    width: 90%;
    margin:  auto;
    border-radius: 10px;
    overflow: hidden;
}

.firstImg img{
    width: 100%;
}

.firstCont .text .textCont button{  
    width: fit-content;
    border-radius: 100px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
    padding: 15px 30px;
    margin-top: 20px;
    border: none;
}

.firstCont .text .textCont button:hover{
    transform: translateY(-10px);
}

.firstCont .text .textCont .btn1{
    background-color: #a1ba8e;
    color: #ffffff;
    border: transparent;
    padding: 14px 26px;
    border-radius: 40px;
    transition: all 0.2s ease;
}


@media(max-width:1052px){
    .textCont p{
        font-size: 20px;
    }
}

@media (max-width: 960px) {

    .first{
        margin-top: 70px;
    }

    .firstCont{
        height: calc(100vh-70px);
        background-position-y: 50% 0%;
        background-position-x: auto;
        margin-top: 0;
    }

    .textCont h1{
        font-size: 50px;
    }
}

@media (max-width: 800px){

    .firstCont .text{
        text-align: center;
        margin: 0;
        padding: 0;
        width: 80%;
        height: fit-content;
        margin: 40px auto;
        max-width: max-content;
    }

    .text p{
        text-align: center;
        margin: 20px auto;
    }

    .firstCont{
        flex-direction: column;
    }


    .firstImg{
        width: 100%;
    }

    .roundCorners{
        width: 70%;
        margin: auto;
    }

    .textCont{
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    .textCont h1{
        font-size: 50px;
        margin-bottom: 10px;
        margin-top: 20px;
        line-height: 60px;
        width: 100%;
        text-align: center;
    }
    
    .firstCont .text .textCont p{
        font-size: 21px;
        text-align: center;
        line-height: 25px;
    }
}

@media (max-width: 620px){
    .roundCorners{
        width: 90%;
    }
}

@media (max-width: 460px){
    .textCont h1{
        font-size: 40px;
        word-wrap: break-word;
    }


}


/* #endregion */

/* #region THIRD  */

.third{
    width: 100%;
    margin: 20vh 0;
    padding-bottom: 20vh;
}

@media screen {
    .third{
        margin-bottom: 2vh;
    }

}

.thirdCont{
    width: 90%;
    display: flex;
    /* justify-content: ; */

    margin: auto;
}

.thirdCont2{
    width: fit-content;
    margin: auto;
    display: flex;
    justify-content: space-around;
}


.card2{
    width: 50%;
    margin: 0;

    height: 350px;

    display: flex;
    flex-direction: column;

    padding: 20px;

    padding-top: 0; 

    text-align: center;

    margin: auto;
}

.card2 p{
    font-size: 20px;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: 0px;
    font-family: "Libre Franklin", serif;
    font-weight: 400;

    width: 100%;
}






.line{
    display: flex;
    align-items: center;
}

@media (max-width: 1100px){

    .third{
        padding-bottom: 5vh;
    }
    .thirdCont{
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }


    .card2{
        margin-bottom: 10px;
    }

    .card2{
        width: 100%;
        margin: auto;
    }

    .thirdCont2{
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 700px){

    .third{
        margin-top: 70px;
    }

    .card2{
        width: 90%;
        margin: auto;
        height: 100%;
        padding: 20px 0;
    }

}

/* #endregion */


