@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;
}

.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;
}


.philosophypagecontent {
    padding-top: 3rem;
    min-height: 90vh;

}

.first-text {
    font-size: 1.8vw;
    width: 100%;
    text-align: right;
    padding-top: 2rem;
}


.second-text {
    padding: 1rem 2rem 2rem 2rem;
    font-size: 1.6vw;
}

.philosophy-top {
    height: auto;
    display: flex;
    flex-direction: row;
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 4rem 2rem 0rem 2rem;

}

.philosophy-img img {
    width: 100%;
}



.bellow {
    bottom: 0;
}

.bottom-page {
    padding: 4rem 2rem 0rem 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.middleimage img {
    width: 100%;
}

.bottomimage img {
    width: 30vw;
    padding: 1rem 1rem 1rem 1rem;
}

@media (max-width: 920px) {

    .donate {
        font-size: 1rem;
    }


    nav {
        font-size: 1rem;
    }




    .first-text {
        font-size: 2vw;
    }

    .second-text {
        font-size: 2vw;
    }
}


@media (max-width: 700px) {
    .philosophy-top {
        flex-direction: column;
        align-items: center;
    }


    .philosophy-img img {
        width: 70vw;
    }


    .first-text {
        font-size: 1.1rem;
        width: unset;
        text-align: left;
    }


    .second-text {
        font-size: 1.1rem;
    }
}



@media (max-width: 465px) {
    nav {
        font-size: 3.5vw;

    }

    .donate {
        font-size: 3.5vw;
    }


}