@keyframes opacityText {
    from {
        opacity: 0;
    }

    97% {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

:-webkit-any-link {
    color: #444444;
}

:-moz-any-link {
    color: #444444;
}

:any-link {
    color: #444444;
}

aside {
    position: relative;
}

a:visited {
    color: #444444;
}

#fullscreenDiv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

#closeButton {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background-color: whitesmoke;
    color: #444444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    transition: .3s ease all;
}

#closeButton:hover {
    color: black;
    background-color: white;
}

#closeButton p {
    font-size: 20px;
    position: relative;
    top: -1px;
}

#videoIframe {
    width: 100%;
    height: 100%;
    border: none;
}

a:visited {
    color: #444444;
}

a {
    text-decoration: none;
    transition: .3s ease all;
}

body {
    background: whitesmoke;
    margin: 0;
    color: #444444;
    font-family: "acumin-pro", sans-serif;
}

.about-flex {
    display: flex;
    gap: 20px;
    -webkit-column-gap: 20px;
    row-gap: 20px;
    margin-bottom: 25px !important;
}

.about-flex p {
    margin: 0 !important;
}

.about-onearq {
    max-width: 888px;
    margin: 1em auto 4em;
    padding: 0 16px;
    text-wrap: balance;
    font-size: 18px;
    line-height: 22px;
    font-weight: 300;
    text-align: justify;
}

.about-onearq h2 {
    font-size: 18px;
}

.about-onearq p {
    margin-bottom: 2em;
}

.about-onearq .mission:nth-child(2) {
    margin-bottom: 96px !important;
}

.area {
    margin-left: 0.5em;
}

.contact-onearq {
    max-width: 90%;
    padding: 0 16px;
    margin: auto;
}

.contact-onearq [alt="logo onearq"] {
    position: relative;
    z-index: -2;
    top: -48px;
    max-width: 100%;
    padding: 0 16px;
    margin-top: -62px;

}

.copyright {
    text-align: center;
    font-size: 11px;
    position: relative;
    top: -2.5em;
}

.empty {
    cursor: default !important;
    pointer-events: none;
}

.logo-container.fadeout {
    opacity: 0;
}

.mission {
    font-size: 48px;
    line-height: 50px;
    text-align: center;
    margin-bottom: 0 !important;
}

.gradient-bg {
    background: transparent radial-gradient(closest-side at 50% 50%, #FFFFFF 0%, #c7c7c7 100%) 0% 0% no-repeat padding-box;
}


.grid-container {
    max-height: 783px;
    max-width: 245px;
    overflow-y: scroll;
}

.grid-container::-webkit-scrollbar {
    display: none;
}

.grid img {
    background-color: white;
}

.grid img,
.grid-text {
    flex-basis: calc(50% - 12px);
    margin-bottom: 24px;
    max-width: 245px;
    height: 245px;
    cursor: pointer;
    opacity: 1;
    transition: opacity ease .3s;
}

.grid img:hover,
.grid-text:hover {
    opacity: .75;

}

.grid-text {
    animation: opacityText 2.2s linear;
    overflow: hidden;
    text-align: justify;
    text-wrap: balance;
    font-size: 12px;
    margin-bottom: 0;
}

.grid-text h2 {
    font-size: 14px;
    font-weight: 400;
}

.hidden {
    display: none;
}

.image-about {
    display: flex;
    flex-direction: column;
}

.image-about img {
    margin-top: 8px;
}

p.image-text {
    font-size: 13px;
    line-height: 16px;
    margin-top: 8px !important;
}

.info {
    margin-top: -6em;
    margin-bottom: 3em;
    font-size: 18px;
    font-weight: 300;
}

.info a {
    font-size: 23px;
}

.info p {
    margin: 0;
}

.languages {
    animation: footerAnimation 12s linear;
    align-items: center;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    left: 0;
    margin: auto;
    max-width: 1610px;
    padding: 0 16px 24px;
    position: relative;
    right: 0;
    width: calc(100% - 32px);
    opacity: 1;
    transition: ease opacity .3s;
}

.languages a:hover {
    opacity: 1 !important;
}

.languages .inactive {
    opacity: .5;
}

.languages.fadeout {
    opacity: 0
}

section.languages.projects {
    position: inherit;
}

.letters {
    margin-top: 10%;
}

.logo-container {
    width: 30%;
    opacity: 1;
    transition: ease opacity .3s;
}

.logo-onearq {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 88%;

}

.logo-onearq p {
    color: black;
    font-size: 88px;
    margin: auto;
    letter-spacing: 66px;
    text-align: center;
    line-height: 88px;
}

.logo-onearq span {
    font-weight: 100 !important;
}

.navbar {
    align-items: center;
    animation: navBarAnimation 11s linear;
    background-color: rgb(236 236 236);
    display: flex;
    font-size: 14px;
    height: 68px;
    justify-content: center;
    padding: 0 172px;
}

.navbar div {
    display: flex;
    animation: navBarAnimation 12s linear;
    width: 100%;
    justify-content: space-between;
    max-width: 1610px;
}

.navbar a {
    text-transform: uppercase;
    color: #444444
}

.navbar a:hover {
    color: black;
}

.navbar .active {
    font-weight: 700;
    color: black;
}

.onearq-project {
    display: flex;
    justify-content: center;
    gap: 24px;
    -webkit-column-gap: 24px;
    row-gap: 24px;
    align-items: center;
    margin: 2em 0 2.5em;
}

.only-mobile {
    display: none;
}

.projects-onearq {
    display: flex;
    max-width: 888px;
    flex-wrap: wrap;
    gap: 24px;
    -webkit-column-gap: 24px;
    row-gap: 24px;
    margin: 3.25em auto;
    transition: ease opacity .3s;
    opacity: 0;
}

.projects-onearq a {
    cursor: pointer;
}

.projects-onearq a:hover img {
    opacity: .75;
}

.projects-onearq img {
    width: 100%;
    max-width: 280px;
    opacity: 1;
    transition: ease opacity .3s;
}

.project-text {
    max-width: 1084px;
    text-wrap: balance;
    font-size: 18px;
    line-height: 22px;
    font-weight: 300;
    width: 100%;
    text-align: justify;
}

.project-text p {
    padding: 0 1em;
}

.project-text h1 {
    font-size: 18px;
    padding: 0 1em;
    font-weight: 400;
}

.onearq-gallery img {
    width: 100%;
    max-width: 1084px;
    min-height: 520px;
    background-color: white;
}

.rrss {
    margin-top: 2em;
    display: flex;
    gap: 16px;
    -webkit-column-gap: 16px;
    row-gap: 16px;
}

.rrss a:hover img {
    opacity: .75;
}

.rrss a:nth-child(4) img {
    transform: scale(1.02);
}

.rrss img {
    max-width: 44px;
    transition: opacity ease .3s;
}

.square {
    width: 16px;
    height: 16px;
    background-color: #444444;
    transition: .3s ease all;
    animation: footerAnimation 12.25s linear;
}

.square:hover {
    background-color: black;
}

.triangle {
    position: absolute;
    bottom: 0;
    right: -58px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid #444444;
    border-right: 0 solid #444444;
    transition: ease all .2s;
}

.triangle:disabled {
    opacity: .4;
}

.triangle.otherside {
    right: -24px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 0 solid #444444;
    border-right: 14px solid #444444;
}

.triangle-svg {
    fill: #f5f5f5;
    stroke: #444444;
    stroke-width: 1;
    position: absolute;
    bottom: 0;
    right: -34px;
}

@media (width <=1920px) {
    .contact-onearq {
        max-width: 80% !important;
    }
}

@media (width <=1500px) {
    .contact-onearq {
        max-width: 1280px
    }

    .onearq-gallery img {
        max-width: 984px;
    }

    .grid img,
    .grid-text {
        max-width: 221px;
        height: 221px;
    }

    .grid-container {
        max-width: 221px;
        max-height: 710px;
    }

    .triangle {
        right: -58px;
    }

    .triangle.otherside {
        right: -26px;
    }
}

@media (width <=1366px) {
    .onearq-gallery img {
        max-width: 820px;
    }

    .grid img,
    .grid-text {
        max-width: 182px;
        height: 182px;
    }

    .grid-container {
        max-width: 182px;
        max-height: 592px;
    }
}

@media screen and (max-width: 1280px) {
    .logo-container {
        width: 35%;
    }
}

@media screen and (max-width: 1140px) {
    .onearq-gallery img {
        max-width: 720px;
    }

    .grid img,
    .grid-text {
        max-width: 158px;
        height: 158px;
    }

    .grid-container {
        max-width: 158px;
        max-height: 520px;
    }

    .triangle.otherside {
        right: -20px;
    }

    .triangle {
        right: -52px;
    }
}

@media screen and (max-width:991px) {
    aside {
        display: none;
    }

    .info {
        text-align: center;
        margin-top: 2em;
        font-size: 14px;
    }



    .rrss {
        justify-content: center;
    }

    .rrss img {
        max-width: 30px;
    }

    .onearq-gallery>img {
        display: none;
    }

    .onearq-gallery ul {
        padding: 0;
    }

    .onearq-gallery li {
        list-style: none;
        margin-bottom: 6px;
    }

    .hidden {
        display: block;
    }

    .projects-onearq {
        margin: 2em auto;
        justify-content: center;
    }

    .onearq-gallery {
        display: flex;
        flex-direction: column;
    }

    .onearq-gallery img {
        max-width: 767px;
        margin: auto;
        min-height: 260px;
    }

    .project-text {
        max-width: 767px;
    }
}

@media screen and (max-width:767px) {
    .about-onearq .mission:nth-child(2) {
        margin-bottom: 48px !important;
    }

    .contact-onearq [alt="logo onearq"] {
        margin-top: 2em;
        top: 0;
    }

    p.image-text {
        font-size: 11px;
    }

    .only-desktop {
        display: none;
    }

    .about-flex {
        flex-direction: column;
        margin-bottom: 0 !important;
    }

    .about-flex img {
        width: 100%;
    }

    .about-onearq {
        font-size: 14px;
    }

    .about-onearq br {
        line-height: 12px !important;
        display: block;
    }

    .about-onearq h2 {
        font-size: 14px;
    }

    .about-onearq p {
        margin-bottom: 20px;
    }

    .languages {
        font-size: 12px;
    }

    .logo-container {
        min-width: 300px;
    }

    .mission {
        font-size: 28px;
        line-height: 30px;
    }

    .navbar {
        font-size: 10px;
        height: 36px;
        padding: 0 16;
    }

    .square {
        width: 10px;
        height: 10px;
    }

    .projects-onearq {
        gap: 6px;
        -webkit-column-gap: 6px;
        row-gap: 6px;
    }

    .projects-onearq img {
        max-width: 180px;
    }

    .onearq-project {
        margin: 0 0 2.5em;
    }

    .onearq-gallery ul {
        margin-top: 0;
    }

    .only-mobile {
        display: block;
    }

    .project-text h1 {
        font-size: 14px;
        padding: 0 1.25em;
    }

    .project-text p {
        padding: 0 1em;
        font-size: 12px;
        line-height: 16px;
        padding: 0 1.35em;
    }
}

@media screen and (max-width:480px) {
    .copyright {
        text-align: left;
        font-size: 10px;
        top: -.5em;
        padding: 16px;
    }

    .projects-onearq img {
        max-width: 152px;
    }

}