@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

@media (max-width: 600px) {
    body {
        padding: 8vh 0 0;
    }
    .info {
        font-size: 14px;
    }
    .project-info {
        right: 3%;
        text-align: right;
    }
    .info #project-tag {
        top:0vw;
    }
    .info #project-tag.move-down{
        top: 60vw;
    }
    .navigation {
        margin-bottom: 5px;
    }

    .navigation .logo {
        font-size: 37px;
    }
    
    .navigation .logo-text {
        font-size: 39px;
    }
    .navigation li {
        font-size: 17.5px;
    }
    .rrss-bar {
        order: 4;
        flex-direction: row-reverse;
        width: 100%;
        height: 30px;
    }
    .rrss-bar .instagram {
        margin: 10px 0 0 13px;
        height: 75%;
    }   
    .rrss-bar .behance {
        margin: 9px 0 0 13px;
        height: 90%;
    }
    .rrss-bar .scroll-indicator {
        visibility: hidden;
        width: 0;
        height: 0;
    }
    .gallery-container {
        width: 100%;
        aspect-ratio: 1/1.15;
    }
    .gallery .description {
        margin: 0 3% 15px;
        font-size: 14px;
    }
    .copyright-mobile {
        visibility: visible;
        font-size: 14px;
    }
    .copyright-middle {
        visibility: hidden;
        height: 0;
        width: 0;
        margin: 0;
    }
    .new-web-disclaimer {
        font-size: 14px;
        margin-right: 20px;
    }
}

@media (min-width: 601px) {
    .info {
        font-size: 17px;
    }

    .navigation .logo {
        font-size: 37px;
    }

    .navigation .logo-text {
        font-size: 39px;
    }
    .navigation li {
        font-size: 18.5px;
    }
    .rrss-bar .instagram {
        margin-top: 30%;
        width: 90%;
    }
    .rrss-bar .behance {
        margin-top: 30%;
        width: 90%;
    }
    .rrss-bar .scroll-indicator {
        width: 90%;
    }
    .gallery .description {
        font-size: 17px;
    }
    .copyright-mobile {
        visibility: hidden;
        width: 0;
        height: 0;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    body {
        padding: 15vh 0 0;
    }
    .project-info {
        right: 3%;
        text-align: right;
    }
    .info #project-tag {
        top:0vw;
    }
    .info #project-tag.move-down{
        top: 38vw;
    }
    .gallery-container {
        width: 100px;
        flex-grow: 1;
        aspect-ratio: 1/1.15;
        max-height: 65vh;
        order: 4;
    }
    .gallery .description p {
        margin: 0 3% 15px;
    }
    .rrss-bar {
        align-items: flex-end;
        width: 30px;
        flex-direction: column-reverse;
        margin: 0 10px 0 12px;
    }
    .copyright-middle {
        visibility: visible;
        height: 65vh;
        width: 78px;
        margin: 0 10px 0 0;
    }
}

@media (max-width: 1024px) {
    body {
        flex-wrap: wrap;
    }
    .info {
        width: calc(100% - 140px);
    }
    .info .project-info {
        top: 37.5%;
    }
    .gallery-container .gallery-blinds {
        width: 100%;
        height: 0%;
    }
    .gallery-container .gallery-blinds.gallery-blinds-close{
        visibility: visible;
        height: 100%;
    }
    .copyright-desktop {
        visibility: hidden;
    }
}

@media (min-width: 1025px) {
    body {
        padding: 15vh 0 0;
    }
    .info {
        width: 25%;
    }
    .info #project-tag {
        left: 8%;
    }
    .info .project-info {
        top: 45%;
    }
    .gallery-container {
        width: 0px;
        flex-grow: 1;
        height: 100%;
    }
    .gallery-container .gallery-blinds {
        width: 0%;
        height: 100%;
    }
    .gallery-container .gallery-blinds.gallery-blinds-close{
        visibility: visible;
        width: 100%;
    }
    .gallery .description p {
        margin: 0 21px 15px;
    }
    .rrss-bar {
        align-items: flex-start;
        width: 30px;
        margin-left: 10px;
        flex-direction: column-reverse;
    }
    .copyright-desktop {
        visibility: visible;
    }
    .copyright-middle {
        visibility: hidden;
        height: 0;
        width: 0;
        margin: 0;
    }
}

:root {
    --info-color: rgb(247, 245, 243);
    --description-color: rgb(230, 231, 230);
    --nav-text-color: rgb(132, 132, 132);
    --taronja-erre: #FF6D49;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Outfit", sans-serif;
    width: 90%;
    aspect-ratio: 5/4;
    max-width: 115vh;
    margin: 0 auto;
    display: flex;
}
.navigation {
/*     border: 1px solid black; */
    width: 140px;
    padding: 0 10px 0 0;
    position: relative;
}
.navigation .navigation-background {
    background-color: white;
    position: absolute;
    width: 100%;
    height: calc(100% + 10px);
    z-index: -1;
}

.navigation .logo {
    text-align: right;
    margin: 0 0 20px;
    padding: 0;
}

.navigation .logo-box {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.navigation .logo-box .logo {
    width: 23%;
}

.navigation .logo-box .logo-text {
    font-family: "Merriweather";
    font-weight: 600;
    color: var(--taronja-erre);
    text-align: right;
    margin: 0;
    padding: 0;
}
.navigation ul {
    text-align: right;
    list-style: none;
    margin: 0 2px 0 0;
    padding: 0;
}
.navigation li {
    cursor: pointer;
    color: var(--nav-text-color);
    font-weight: 450;
    margin: 5px 0;
    position: relative;
}
.navigation li.current {
    color: black;
    font-weight: 500;
}
.navigation li .highlighter {
    position: absolute;
    left: 0;
    width: 0;
    transition-property: width, left;
    transition-duration: 300ms;
    transition-timing-function: ease-in;
    height: calc(100% + 5px);
    transform: translate(0,-1px);
    background-color: var(--info-color);
    z-index: -1;
}
.navigation li.current .highlighter {
    left:0;
    border-left: 2px solid black;
}
.navigation li .highlighter-transition-in, .navigation li.current .highlighter {
    width: 141px;
}
.navigation li.current .highlighter.highlighter-transition-out {
    left: 141px;
}
.info {
    position: relative;
    background-color: var(--info-color);
    margin: 0;
}
.info .project-info {
    position: absolute;
    opacity: 0%;
    z-index: 3;
    transition: opacity 0.4s ease-in-out;
}

.info #project-tag{
    position: absolute;
    width: 100%;
    height: 100%;
    transition: 
    top 0.6s ease-in-out,
    left 0.6s ease-in-out;
}
.info #project-tag.move-left{
    left: 115%;
}
.info .project-info p {
    margin: 0 0 12pt;
}
.info .tag-visible {
    opacity: 100%;
}
.info>.close-curtain {
    position: absolute;
    background-color: var(--info-color);
    background-clip: content-box;
    width: 97%;
    height: 92%;
    z-index: 6;
    padding-right: 100%;
    transition: padding-right 300ms ease-out 300ms;
}
.info .close-curtain.close-transition {
    padding-right: 0%;
}
@keyframes open-curtain {
    from {padding-left: 0%;}
    to {padding-left: 100%;}
}
.info>.open-curtain {
    position: absolute;
    background-color: var(--info-color);
    background-clip: content-box;
    width: 97%;
    height: 92%;
    z-index: 6;
    padding-left: 0;
    animation: open-curtain 500ms ease-in-out 1 forwards;
}
.info hr {
    border-style: none;
}
.gallery-container {
    position: relative;
}
.gallery-container .gallery-blinds {
    background-color: var(--info-color);
    position: absolute;
    z-index: 1;
    transition: width 600ms ease-in-out, height 600ms ease-in-out;
    visibility: hidden;
}
.gallery {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--description-color);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-y:scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: hidden;
}
.gallery::-webkit-scrollbar {
    display: none;
}
.gallery a {
    width: 100%;
    aspect-ratio: 1/1;
    text-decoration: none;
}
.gallery a img {
    width: 50%;
    transform: translate(50%,50%) scale(2.005);
    transition: filter 0.2s ease-in-out;
    cursor: pointer;
}
.gallery a img:hover {
    filter:brightness(0.8);
}
.gallery .description {
    background-color: var(--description-color);
    top: 0;
    width: 100%;
    padding-top: 30px;
}
.gallery .description hr {
    width: calc(100% - 40px);
    border: none;
    border-bottom: 1px solid black;
}
.rrss-bar {
    display: flex;

}
.rrss-bar .scroll-indicator {
    flex-grow: 1;
    position: relative;
    
}
@keyframes scroll-indicator {
    0% {opacity: 0%;
        height: 5%;
        top: 45%;
    }
    30% {
        opacity: 100%;
        height: 5%;
    }
    40% {
        top: 45%;
    }
    50% {
        opacity: 100%;
        height: 10%;
    }
    70% {
        opacity: 100%;
        height: 5%;
        top: 57%;
    }
    85% {
        opacity: 0%;
        height: 5%;
        top: 57%;
    }
    100% {
        opacity: 0%;
        height: 5%;
        top: 57%;
    }

}
.rrss-bar .scroll-indicator>div {
    position: absolute;
    left: 46%;
    top: 45%;
    background-color: black;
    width: 2px;
    height: 10%;
    opacity: 100%;
    animation: scroll-indicator 2s ease-in-out 0.7s 6 both;
}

.copyright-desktop {
    position: absolute;
    font-size: 14px;
    font-weight:450;
    text-align: right;
    bottom: 0;
    margin: 0;
}

.copyright-middle {
    display: flex;
    font-size: 14px;
    font-weight:450;
    text-align: right;
    align-items: flex-end;
}

.new-web-disclaimer {
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px 20px 0 0;
    color: var(--taronja-erre);
    font-style: italic;
}