@font-face {
    font-family: Gabarito-VariableFont_wght;
    src: url(../Gabarito-VariableFont_wght.ttf);
    font-weight: 100;

}



body {
    font-family: Gabarito-VariableFont_wght;
    src: url(../Gabarito-VariableFont_wght.ttf);
    color: #000000;
    font-size: 14px;
    overflow-x: hidden;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.5s ease;
    background-color: #EEEAD5;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

nav a:hover {
    color: rgb(136, 111, 11);
}

.footer a:hover {
    text-decoration: underline;
}


.pagecontent {
    overflow-x: hidden;

}

.donate {
    font-weight: 600;
    padding-right: 2vw;
    font-size: 1.3rem;
    color: #5a4722;
}

.donate.scrolled {
    color: #dfdbc6;
}

.leftnav {
    display: flex;
    gap: 3vw
}

.bothnavs {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;

}

nav {
    background-color: rgb(238, 234, 213, 0.8);
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 2%;
    align-items: center;
    justify-self: center;
    font-size: 1.1rem;
    position: fixed;
    transition: background-color 0.3s ease;
    color: #000000;
    z-index: 1000;
}

nav.scrolled {
    background-color: rgba(18, 20, 28, 0.8);
    color: #EEEAD5;
}

.about,
.ourphilosophy,
.ideaspace,
.donate {
    align-self: center;
    text-align: center;
}

.logo1 {
    height: auto;
}

.logo1 svg {
    width: 4rem;
    height: 4rem;
    padding: 0.2rem 0rem 0rem 0.4rem;
}

.logo2 {
    height: auto;
}

.logo2 svg {
    width: 4rem;
    height: 4rem;
    padding: 0.2rem 0rem 0rem 0.4rem;
}

.logo1,
.logo2 {
    transition: opacity 0.4s ease;
}

.animacija1 {
    display: block;
    height: fit-content;
    width: 100%;
    color: #000000;
    padding-top: 4.6rem;
}

.animacija2 {
    display: none;
    height: fit-content;
    width: 100%;
    color: #000000;
    padding-top: 4.6rem;
}

.valuessection {
    color: #a5a086;
    font-size: 1.4vw;
    text-align: center;
    font-family: Rubik80sFade-Regular;
    src: url(../Rubik80sFade-Regular.ttf);
}

.mi {
    margin-top: 5rem;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-self: center;
    background-image: url('../img/pagrindas.png');
    /* nepamirsti .. pries img, kadangi nerodys backround paspaudus is folder */
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
}

.understandingimgh img {
    display: none;
}

.understanding,
.perspectives,
.empathy {
    margin: 2rem 0rem 2rem 0rem;
    display: flex;
    flex-direction: row;
    /* background-color: rgba(140, 145, 92, 0.7); */
    justify-content: space-around;
    padding: 3rem;
    color: #b1ac95;
    font-weight: 100;
    align-items: center;
    backdrop-filter: blur(13.7px);
    -webkit-backdrop-filter: blur(13.7px);
    backdrop-filter: blur(13.7px);
}

.understanding h2,
.perspectives h2,
.empathy h2 {
    font-family: Rubik80sFade-Regular;
    src: url(../Rubik80sFade-Regular.ttf);
    font-size: 3vw;

}


.perspectivestext,
.understandingtext,
.empahytext {
    font-size: 2vw;
    font-weight: 100;
    font-family: 'Courier New', Courier, monospace;

}


.perspectivesimg {
    padding: 0 3vw 0 0;
}

.understandingimg {
    padding: 0 0 0 3vw;

}

.empathyimg {
    padding: 0 3vw 0 0;
}

/* .perspectivesimg:hover+.perspectivesimg2 {
    display: inline;
    transition: opacity 0.3s ease;
} */

.understandingimg img,
.perspectivesimg img,
.empathyimg img,
.understandingimgh img {
    width: 30vw;
    padding: auto;
}



.footer p {
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.footer {
    background-color: #352e1c;
    color: #dfdbc6;
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 2rem;
    font-weight: 100;
    gap: 1vw;
}

.contacticons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1.8vw;
    align-items: center;
    margin-top: 0.3rem;
}

.topfooter1 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: baseline;
}

.topfooter1 h4 {
    font-size: 1.5rem;
    color: #e0d4bd;
}

.topfooter1 h5 {
    font-size: 1rem;
    background-color: #805a0e;
    text-align: center;
    border-radius: 2rem;
    padding: 0.4rem 1rem 0.4rem 1rem;
}

h5,
h4 {
    margin-block-start: 0em;
    margin-block-end: 0em;
}


.pagecontentprotection {
    padding: 5rem 3vw 3rem 3vw;
}

.pagecontentprotection .bottomtxtt {
    font-size: 1rem;
}

.pagecontentprotection .curiositytxt {
    font-size: 1.2rem;
    margin-top: 3rem;


}

.pagecontentprotection h2 {
    font-size: 2rem;
    color: #4a3408;
}

.pagecontentprotection p {
    font-size: 1rem;
}

.pagecontentprotection h3 {
    text-decoration: underline;
    font-size: 1.3rem;
}

.pagecontentprotection h4 {
    font-size: 1.2rem;
    font-weight: 400;
}

.pagecontentprotection li {
    padding-left: 1rem;
    font-size: 1rem;
    list-style-type: circle;
}

.pagecontentprotection a {
    text-decoration: underline;
    color: #805a0e;
}

@media (max-width: 920px) {



    .footer {
        display: grid;
        grid-template-columns: 50% 50%;
        gap: 2.5vw;
        font-size: 2vw;
        font-size: min(4vw, 1rem);


    }


    .topfooter1 h4 {
        font-size: 1.4rem
    }

    .topfooter1 h5 {
        text-align: left;
        width: fit-content;

    }

    .contacticons {

        justify-content: flex-start;
        gap: 2vw;
    }

    .understanding,
    .perspectives,
    .empathy {
        font-size: 7vw;
    }

    .donate {
        font-size: 1rem;
    }


    nav {
        font-size: 1rem;
    }
}


@media (max-width: 465px) {




    nav {
        font-size: 3.5vw;

    }

    .mi {
        margin-top: 2rem;
    }

    .donate {
        font-size: 3.5vw;
    }

    .animacija1 {
        display: none;
        padding-top: 4.6rem;
    }

    .animacija2 {
        display: block;
        padding-top: 4.6rem;
    }



    .valuessection {
        color: #dcd091;
        font-size: 3vw;
    }

    .topfooter1 h5 {
        background-color: #805a0e;
        text-align: center;
        border-radius: 2rem;
        padding: 0.4rem 1rem 0.4rem 1rem;
        font-size: 2vw;

    }

    .footer {
        display: flex;
        gap: 2rem;
        flex-direction: column;
    }

    .topfooter1 h4 {
        font-size: 5vw
    }

    .topfooter1 {
        align-items: center;

    }

    .contacticons {
        display: flex;
        flex-direction: row;
        gap: 6vw;
    }

    .topfooter1 h5 {
        font-size: 1rem;
        background-color: #805a0e;
        text-align: center;
        padding: 0.2rem 2rem 0.2rem 2rem;
    }

    .understanding,
    .perspectives,
    .empathy {
        flex-direction: column;


    }

    .understandingimgh img {
        display: block;
        width: 80%;
    }

    .understandingimgh img,
    .perspectivesimg img,
    .empathyimg img {
        width: 100%;


    }

    .understandingimg img {
        display: none;
    }

    .perspectivesimg {
        padding: 0;
    }

    .understandingimgh {
        padding: 0;

    }

    .empathyimg {
        padding: 0;
    }



    .understanding h2,
    .perspectives h2,
    .empathy h2 {

        font-size: 6vw;
        text-align: center;
    }


    .perspectivestext,
    .understandingtext,
    .empahytext {
        font-size: 3.6vw;
        text-align: center;
    }
}