*{
    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(-5vw);
    filter: blur(5px);
    transition: opacity 0.2s, transform 0.2s, filter 0.3s;
}
.show{
    opacity: 1;
    transform: translateX(0px);
    filter: blur(0px);
}
/* #endregion */

/* preload */
body::before {
    content: url('../pictures/AutotalliValmis-min.jpg');
    display: none;
}

body{
    overflow-x: hidden;
    overflow-x: clip !important;    
    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;
}



.second{
    margin-top: 120px;
}

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


.secondCont h1, .thirdCont h1{
    font-weight: 500;
    font-style: normal;
    font-size: 50px;

    text-decoration: none;

    font-family: "Libre Franklin", sans-serif;

    color: #292929;

    margin: 40px 0;

    text-align: center;
}
    
.sectionCont{
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 20px 0;
}



.box p{
    color: #000000;
    text-align: balance;
    margin: 20px 0;
    font-family: "Libre Franklin", sans-serif;

    font-weight: 400;
    font-size: 21px;

    width: 100%;
}

@media (max-width:700px){
    .secondCont h1, .thirdCont h1{
        font-size: 35px !important;
    }

    .thirdCont, .secondCont{
        width: 90% !important;
    }
}


.card3{
    border: #cccccc 2px solid;
    border-radius: 5px;
    padding: 20px;
    box-shadow: #aeaeae 0 0 10px;
    background-image: linear-gradient(to right bottom, #eee 0%, #ffffff 100%);

    min-width: 362px;

    min-height: 150px;
}

.row1, .row2, .row3, .row4{
    display: flex;
    height: fit-content;
    align-items: center;
    text-align: left;
}
i{
    margin: 20px 0;
    font-size: 25px;
    color: #323b2d;
    width: 20px;
}

.thirdCont p{
    font-size: clamp(0.5rem, 5vw, 1.25rem);

    font-family: "Libre Franklin", serif;
    font-weight: 400;
    font-style: normal;

    margin-left: 20px;

    color: #80986c;

    /* text-shadow: 0px 0px 1px #e3e3e3; */
}

@media (max-width: 520px){
    .thirdCont{
        width: 90%;
    }

    .card3{
        min-width: 0px;
        margin: 20px 0;
    }

    i{
        margin: 10px 0;
    }
}

.thirdCont{
    width: 70%;
    margin: auto;
    height: fit-content;
    padding-bottom: 50px;
    justify-content: space-between;
}
