@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lobster&family=Rubik:ital,wght@0,300;0,700;0,800;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@900&display=swap');

:root {
    --black: #131313;
    --dbrown: #482F2A;
    --lbrown: #82553E;
    --yochur: #B6844C;
    --dyellow: #DFBA5A;
    --lyellow: #F9F871;
    --gb: #69C5B2;
    --lgreen: #00B16D;
    --dgreen: #377352;
    --dblue: #009BA4;
    --lblue: #3F97E3;
    --tfont: 'Rubik', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: 1px;
}

html {
    font-size: 100%;
}

html::-webkit-scrollbar {
    width: 0.5vw;
}

html::-webkit-scrollbar-thumb {
    background-color: var(--lyellow);
    border-radius: 1rem;
}

html::-webkit-scrollbar-track {
    background-color: var(--black);
}

body {
    overflow-x: hidden;
    background-color: var(--black);
}

/* _______________________________________________PRELOADER */


.load {
    position: fixed;
    top: 0;
    z-index: 10000;
    width: 100vw;
    height: 100vh;
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.limg {
    background-image: url('l-gb.png');
    background-size: cover;
    height: 4rem;
    width: 4rem;
    animation: logo-rotate 5s ease-in-out infinite alternate-reverse;
}

@keyframes logo-rotate {
    0% {
        transform: rotateY(0deg);
        fill: var(--gb);
    }

    16.66% {
        transform: rotate(180deg);
        fill: white;
    }

    33.32% {
        transform: rotate(360deg);
        fill: var(--dblue);
    }

    49.98% {
        transform: rotateY(540deg);
        fill: var(--lyellow);
    }

    66.64% {
        transform: rotateY(720deg);
        fill: var(--lblue);
    }

    83.3% {
        transform: rotate(900deg);
        fill: var(--lgreen);
    }

    100% {
        transform: rotateY(1080deg);
        fill: var(--dyellow);
    }
}

.progress-bar {
    margin: 3rem 3rem;
    width: 40%;
    height: 0.2rem;
    background-color: #1b1b1b;

}

.progress {
    height: 100%;
    background-color: var(--gb);
    animation: progres 5s ease infinite forwards;
}

@keyframes progres {
    0% {
        width: 0%;
    }

    16.66% {
        width: 16.66%;
        background-color: white;
    }

    33.32% {
        width: 33.32%;
        background-color: var(--dblue);
    }

    49.98% {
        width: 49.98%;
        background-color: var(--lyellow);
    }

    66.64% {
        width: 66.64%;
        background-color: var(--lblue);
    }

    83.3% {
        width: 83.3%;
        background-color: var(--lgreen);
    }

    100% {
        width: 100%;
        background-color: var(--dyellow);
    }
}

.name {
    position: absolute;
    bottom: 2rem;
    color: white;
    padding: 2rem;
    margin: 0 auto;
    text-align: center;
    font-family: var(--tfont);
    font-size: 1rem;
    letter-spacing: 0.6rem;
}

/* ____________________________________________________NAVBAR */



.container {
    top: 0;
    width: 100vw;
    display: flex;
}

#navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.left {
    width: 50%;
    margin: 0.5rem 5rem;
    display: flex;
    align-items: center;
}

#logo {
    width: 1.9rem;
    height: 1.9rem;
    background-size: contain;
    fill: white;
}

.right {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0.5rem 5rem;
}

.nav-element {
    position: relative;
    text-decoration: none;
    color: white;
    font-family: var(--tfont);
    font-size: 0.875rem;
    padding: 1.4rem 1.5rem;
    transition: 0.3s ease;
    text-transform: capitalize;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-element:hover {
    color: var(--lyellow);
}

.nav-element::before {
    content: '';
    position: absolute;
    left: 15%;
    top: 45%;
    width: var(--navDotSize, 0rem);
    height: var(--navDotSize, 0rem);
    background-color: var(--nElementBeforeColor, #F9F871);
    border-radius: 50%;
}

.nav-element:hover::before {
    content: '';
    position: absolute;
    left: 15%;
    top: 45%;
    width: 0rem;
    height: 0rem;
    background-color: var(--nElementBeforeColor, #F9F871);
    border-radius: 50%;
    animation: navelement 0.3s ease-in-out 1 forwards;
}

@keyframes navelement {
    from {
        left: 0;
        width: 0rem;
        height: 0rem;
    }

    to {
        left: 15%;
        width: 0.3rem;
        height: 0.3rem;
        border-radius: 0.3rem;
    }
}

#access {
    display: none;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

.hb {
    background-image: url('hb.png');
    background-size: contain;
    background-repeat: no-repeat;
}

#crs {
    position: relative;
    width: 3rem;
    height: 3rem;
    display: none;
    cursor: pointer;
}

.cross {
    background-image: url('cross-b.png');
    background-size: contain;
}

#mobile-nav {
    padding: 2rem;
    padding-top: 8rem;
    position: fixed;
    z-index: 900;
    box-shadow: 0px 10px 50px 20px rgb(19 19 19);
    border-bottom: 1px solid var(--black);
    background-color: rgb(255, 255, 255);
    border-bottom-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.8s ease;
    transform: translateY(-130%);
}

#mobile-nav .nav-element {
    text-align: center;
    padding: 0rem;
}

#mobile-nav .nav-element a {
    padding: 2rem 100vw;
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--tfont);
    text-decoration: none;
}

#mobile-nav .smi {
    opacity: 1;
    width: 40%;
    display: flex;
    justify-content: center;
}

#mobile-nav .smi .elements {
    opacity: 1;
    width: 4rem;
    height: 4rem;
}

#fb {
    background-image: url('fb.png');
    background-size: contain;
}

#insta {
    background-image: url('insta.png');
    background-size: contain;
}

#lin {
    background-image: url('linkedin.png');
    background-size: contain;
}

/* _____________________________________________________HERO */

#body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.hero-video {
    display: block;
    object-fit: cover;
    aspect-ratio: auto;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
}

.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(19, 19, 19, 0) 0%, #131313 94.95%);
}

.hero-content {
    position: absolute;
    bottom: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-head {
    position: relative;
    text-transform: uppercase;
    z-index: 5;
    color: white;
    font-size: 8rem;
    letter-spacing: 3px;
    font-family: 'Oswald', sans-serif;
    line-height: 8rem;
    padding-bottom: 2rem;
}

.portfolio {
    text-transform: uppercase;
    font-size: 1rem;
    font-family: var(--tfont);
    letter-spacing: 6px;
    color: var(--lyellow);
}

.hero-text {
    font-family: var(--tfont);
    font-weight: 200;
    color: rgba(255, 255, 255, 0.644);
    width: 60%;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    padding-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
}

.other-works {
    background-color: var(--lyellow);
    color: var(--black);
    position: relative;
    z-index: 15;
    padding: 0.8rem 1.5rem;
    border-radius: 0.4rem;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 2px;
    font-family: var(--tfont);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: 0.3s ease;
}

.other-works:hover {
    color: var(--lyellow);
    background-color: transparent;
    border: 2px solid var(--lyellow);
}

.btn {
    position: relative;
    z-index: 15;
    padding: 0.8rem 1.5rem;
    color: var(--lyellow);
    border: 2px solid var(--lyellow);
    border-radius: 0.4rem;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 2px;
    background-color: transparent;
    font-family: var(--tfont);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease;
    margin-left: 1.5rem;
}

.btn:hover {
    background-color: var(--lyellow);
    color: var(--black);
}


/*_________________________________________________WORK */


.display-works {
    position: relative;
    background-color: var(--black);
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 6rem 2rem;
}

.container-body {
    width: 80%;
}

.featuring {
    display: flex;
    justify-content: center;
    background-color: #292929;
    padding: 2.5rem;
    border-radius: 2rem;
}

.featuring-head {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--lyellow);
    padding-bottom: 0.5rem;
}

.featuring-image {
    height: 50%;
    width: 50%;
    border-radius: 1rem;
    transition: 0.5s ease;
    cursor: pointer;
}

.featuring-image:hover {
    transform: scale(1.02);
}

.featuring-text {
    padding: 0rem 2rem;
    font-family: var(--tfont);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.f-text-head {
    text-align: left;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
}

.f-text {
    color: rgba(255, 255, 255, 0.651);
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 200;
    padding: 2rem 0rem;
}

.buttons {
    display: flex;
}

.view-post {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.marquee-wrapper {
    width: 100vw;
    margin-bottom: 2.5rem;
    display: flex;
    overflow: hidden;
    background-color: var(--lyellow);
}

.marquee {
    display: flex;
}

.marquee p {
    font-family: 'spartan';
    text-transform: uppercase;
    font-weight: 500;
    font-size: 2rem;
    padding: 0.5rem 3rem;
    -webkit-text-stroke: 1px var(--black);
    color: transparent;
    animation: marquee 2s linear infinite;
}

.marquee2 p {
    animation-delay: 1s;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.remaining-img-1 {
    flex-direction: row-reverse;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.remaining-img-2 {
    background-color: transparent;
}

.alternative-text {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 2rem;
    margin-left: 2rem;

}

.alternative-text-2 {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 2rem;
    margin-left: 0rem;
    padding: 2rem;

}

.fi-2 {
    border-radius: 2rem;
}

#two {
    padding: 2rem 0rem;

}

.rev {
    margin-top: 2rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
}

#four {
    margin-top: 2rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

#five {
    margin-top: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;


}

.five-img {
    width: 100%;
    border-radius: 2rem;
    margin-bottom: 2rem;
}

/* ______________________________________LIGHT-BOX */

.lightbox {
    position: absolute;
    top: 250%;
    z-index: -1;
    height: 100vh;
    width: 100vw;
    background-color: #1313138a;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.back-to-main {
    position: absolute;
    top: 5%;
    left: 6%;
    width: 4rem;
    height: 4rem;
    background-size: 2.5rem;
    background-image: url('arrow-white.png');
    background-position: 50% 50%;
    background-repeat: no-repeat;
    transform: rotateZ(180deg);
    border-radius: 20%;
    border: 1px solid rgba(255, 255, 255, 0.452);
    opacity: 0.8;
    cursor: pointer;
}

.lightbox-img {
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    width: 80%;
    height: 80%;
}

#lightbox-img-1 {
    background-image: url('l0.jpg');
}

#lightbox-img-2 {
    background-image: url('l1.jpg');
}

#lightbox-img-3 {
    background-image: url('l2.jpg');
}

#lightbox-img-4 {
    background-image: url('l3.jpg');
}

#lightbox-img-5 {
    background-image: url('l4.jpg');
}

#lightbox-img-6 {
    background-image: url('l5.jpg');
}

#lightbox-img-7 {
    background-image: url('l6.jpg');
}

#lightbox-img-8 {
    background-image: url('l7.jpg');
}

#lightbox-img-9 {
    background-image: url('l8.jpg');
}


/* Slideshow container */
.slideshow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    position: relative;
}

/* Hide the images by default */
.mySlides {
    height: 80vh;
    width: 80vw;
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    z-index: 9999;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    transition: 0.6s ease;
    user-select: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    opacity: 0.7;
}

/* Position the "next button" to the right */
.next {
    background-image: url('r-arrow-lyellow.png');
    background-size: 2rem;
    right: -3rem;
}

.prev {
    background-image: url(l-arrow-lyellow.png);
    background-size: 2rem;
    left: -3rem;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    opacity: 1;
}



/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 3rem;
    width: 3rem;
    margin: 0 0.5rem;
    background-color: rgb(255 255 255 / 40%);
    background-size: cover;
    background-position: 50%;
    border-radius: 10px;
    border: 3px solid transparent;
    display: inline-block;
    transition: 0.3s ease;
}

.dot:nth-child(1) {
    background-image: url('l0.jpg');
}

.dot:nth-child(2) {
    background-image: url('l1.jpg');
}

.dot:nth-child(3) {
    background-image: url('l2.jpg');
}

.dot:nth-child(4) {
    background-image: url('l3.jpg');
}

.dot:nth-child(5) {
    background-image: url('l4.jpg');
}

.dot:nth-child(6) {
    background-image: url('l5.jpg');
}

.dot:nth-child(7) {
    background-image: url('l6.jpg');
}

.dot:nth-child(8) {
    background-image: url('l7.jpg');
}

.dot:nth-child(9) {
    background-image: url('l8.jpg');
}

.active,
.dot:hover {
    border: 2px solid var(--lyellow);
    transform: scale(1.3);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4;
        transform: translate(5rem);
    }

    to {
        opacity: 1;
        transform: translate(0);
    }
}

/* ____________________________________Other works */

.o-works {
    padding: 3rem 0rem;
}

.mini-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.poster {
    position: relative;
    height: 25rem;
    border-radius: 1rem;
    transition: 0.3s ease;
}

.poster:hover {
    transform: scale(1.1);
}


.img {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: 50%;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    background-size: cover;
}

#img-1 {
    background-image: url('poster_hero-mini-view.gif');
}

#img-2 {
    background-image: url('illustration_hero-mini-view.gif');
}

#img-3 {
    background-image: url('random_hero-mini-view.gif');
}

.overlay {
    height: 80%;
    width: 100%;
    bottom: 0;
    position: absolute;
    z-index: 10;
    background: linear-gradient(180deg, rgba(19, 19, 19, 0) 0%, #131313 94.95%);
}


.text {
    position: absolute;
    z-index: 20;
    bottom: -15%;
    padding: 2.5rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.p-head {
    position: relative;
    border-radius: 1rem;
    color: white;
    font-size: 2.8rem;
    font-weight: 500;
    text-align: left;
    font-family: 'spartan';
    text-transform: uppercase;
}

.p-head::before {
    content: 'Portfolio';
    position: absolute;
    bottom: 110%;
    font-size: 0.6rem;
    font-family: var(--tfont);
    letter-spacing: 3px;
    color: var(--lyellow);
}

.visit {
    border-radius: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-transform: lowercase;
    font-size: 0.7rem;
    padding: 0.3rem 1rem;
}

.p-text {
    color: rgba(255, 255, 255, 0.671);
    font-family: var(--tfont);
    width: 100%;
    padding-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 200;
    text-align: left;
}

/* _________________________________________________FOOTER */

.footer {
    margin-top: 5rem;
    padding: 3rem;
    border-top: 1px solid white;
    opacity: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .container-body {
    width: 60%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;

}

.footer-details #logo {
    width: 3rem;
    height: 3rem;
    margin: 0.5rem 0rem;
}

.footer-name {
    letter-spacing: 2px;
    font-size: 1.2rem;
    font-weight: 200;
    font-family: 'oswald';
    text-transform: uppercase;
    color: white;

}

.footer-name span {
    font-size: 0.7rem;
    letter-spacing: 0.5rem;
    display: block;
    font-family: var(--tfont);
}

.footer-details .other-works {
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 4px;
    font-weight: 200;
    width: 7rem;
    margin: 1rem 0rem;
    color: var(--black);
}

.footer-details a {
    font-family: var(--tfont);
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.5rem 1rem;
}

.footer-details a:hover {
    color: var(--lyellow);
}

.smi {
    opacity: 1;
    display: flex;
}

.smi .elements {
    width: 1.7rem;
    height: 1.7rem;
}

#fb {
    background-image: url('fb.png');
    background-size: contain;
}

#insta {
    background-image: url('insta.png');
    background-size: contain;
}

#lin {
    background-image: url('linkedin.png');
    background-size: contain;
}

footer {
    opacity: 0.5;
    padding: 1.5rem;
    width: 100vw;
    text-align: center;
    font-family: var(--tfont);
    border-top: 1px solid white;
    color: white;
    font-size: 0.9rem;
}

/* ______________________________________________OTHER DEVICES */

@media (max-width:375px) {
    html {
        font-size: 70%;
    }

    .name {
        bottom: 5rem;
    }


    .left {
        margin: 1.8rem 2rem;
    }

    .c-logo {
        display: none;
    }

    .right {
        margin: 1.8rem 2rem;
    }

    .right .nav-element {
        display: none;
    }

    .left #logo {
        background-image: url('logo-w.png');
        width: 2.9rem;
        height: 2.9rem;
    }

    #access {
        display: inline;
        width: 2rem;
        height: 2rem;
    }

    #crs {
        width: 1.9rem;
        height: 1.9rem;
    }

    .hero-head {
        font-size: 7rem;
    }

    .hero-text {
        width: 80%;
        font-size: 1.2rem;
    }

    /*_________________________________________________WORK */

    .display-works {
        padding: 6rem 0.5rem;
    }

    .container-body {
        width: 95%;
    }

    .featuring {
        padding: 1.5rem;
        border-radius: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .featuring-image {
        height: 100%;
        width: 100%;
    }

    .featuring-text {
        padding: 2rem 1rem;
    }

    .featuring-head {
        font-size: 0.9rem;
    }

    .f-text-head {
        font-size: 2.5rem;
        text-align: center;
    }

    .f-text {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .view-post {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }

    #zero .other-works {
        margin-right: 0rem;
    }

    .display-works .other-works {
        margin-right: 0rem;
    }

    .alternative-text {
        margin-left: 0;
        margin-top: 2rem;
        padding: 2rem;
    }

    #four {
        padding: 1.5rem;
    }

    .five-img {
        margin-bottom: 0rem;
    }

    #five .featuring-text {
        padding: 2rem;
    }

    .o-works {
        padding: 4rem 2rem;
    }

    .mini-view {
        grid-template-columns: repeat(1, 1fr);
        gap: 6rem;
    }

    .p-head {
        font-size: 3.2rem;
        letter-spacing: 2px;
        text-align: left;
    }

    .p-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .footer {
        padding: 2rem 0rem;
        font-size: 130%;
    }

    .footer .container-body {
        width: 80%;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        place-items: initial;

    }

    .footer-details a {
        padding: 0.5rem 0rem;
    }

    .footer-details #logo {
        width: 4rem;
        height: 4rem;
        margin: 0.5rem 0rem;
    }

    .footer-details .c-logo {
        display: block;
    }

    .footer-name {
        font-size: 2rem;
    }

    .footer-name span {
        font-size: 0.9rem;
        letter-spacing: 1rem;
        margin-top: 0.2rem;
    }

    .footer-details .other-works {
        font-size: 1rem;
        width: 8.6rem;

    }

    .footer .smi .elements {
        width: 3rem;
        height: 3rem;
        margin-right: 1rem;
    }

    footer {
        font-size: 1rem;
    }

}

@media (min-width: 376px) and (max-width:640px) {
    html {
        font-size: 85%;
    }

    .name {
        bottom: 5rem;
    }

    .left {
        margin: 2rem;
    }

    .c-logo {
        display: none;
    }

    .right {
        margin: 2rem;
    }

    .right .nav-element {
        display: none;
    }

    .left #logo {
        background-image: url('logo-w.png');
        width: 3.5rem;
        height: 3.5rem;
    }

    #access {
        display: inline;
        width: 2.5rem;
        height: 2.5rem;
    }

    #crs {
        width: 2.4rem;
        height: 2.4rem;
    }

    .hero-head {
        font-size: 7rem;
    }

    .hero-text {
        width: 80%;
        font-size: 1.2rem;
    }

    /*_________________________________________________WORK */

    .display-works {
        padding: 6rem 0.5rem;
    }

    .container-body {
        width: 95%;
    }

    .featuring {
        padding: 1.5rem;
        border-radius: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .featuring-image {
        height: 100%;
        width: 100%;
    }

    .featuring-text {
        padding: 2rem 1rem;
    }

    .featuring-head {
        font-size: 0.9rem;
    }

    .f-text-head {
        font-size: 2.5rem;
        text-align: center;
    }

    .f-text {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .view-post {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }

    #zero .other-works {
        margin-right: 0rem;
    }

    .display-works .other-works {
        margin-right: 0rem;
    }

    .alternative-text {
        margin-left: 0;
        margin-top: 2rem;
        padding: 2rem;
    }

    #four {
        padding: 1.5rem;
    }

    .five-img {
        margin-bottom: 0rem;
    }

    #five .featuring-text {
        padding: 2rem;
    }

    .o-works {
        padding: 4rem 0rem;
    }

    .mini-view {
        grid-template-columns: repeat(1, 1fr);
        gap: 6rem;
    }

    .text {
        padding: 2rem;
    }

    .p-head {
        font-size: 3.2rem;
        letter-spacing: 2px;
        text-align: left;
    }

    .p-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .footer {
        padding: 2rem 0rem;
        font-size: 130%;
    }

    .footer .container-body {
        width: 80%;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        place-items: initial;

    }

    .footer-details a {
        padding: 0.5rem 0rem;
    }

    .footer-details #logo {
        width: 4rem;
        height: 4rem;
        margin: 0.5rem 0rem;
    }

    .footer-details .c-logo {
        display: block;
    }

    .footer-name {
        font-size: 2rem;
    }

    .footer-name span {
        font-size: 0.9rem;
        letter-spacing: 1rem;
        margin-top: 0.2rem;
    }

    .footer-details .other-works {
        font-size: 1rem;
        width: 8.6rem;

    }

    .footer .smi .elements {
        width: 3rem;
        height: 3rem;
        margin-right: 1rem;
    }

    footer {
        font-size: 1rem;
    }

}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 641px) and (max-width:1007px) {
    html {
        font-size: 90%;
    }

    .name {
        bottom: 5rem;
    }


    .left {
        margin: 3rem;
    }

    .c-logo {
        display: none;
    }

    .right {
        margin: 3rem;
    }

    .right .nav-element {
        display: none;
    }

    .left #logo {
        background-image: url('logo-w.png');
        width: 4.5rem;
        height: 4.5rem;
    }

    #access {
        display: inline;
        width: 3.4rem;
        height: 3.4rem;
    }

    #crs {
        width: 3.25rem;
        height: 3.25rem;
    }

    #mobile-nav {
        padding-top: 11rem;
    }

    #mobile-nav .smi {
        padding: 1.3rem 0rem;
    }

    #mobile-nav .nav-element a {
        font-size: 2.5rem;
        margin: 1.5rem;
    }

    #mobile-nav .smi .elements {
        width: 5rem;
        height: 5rem;
        padding: 0rem 3rem;
    }


    .hero-text {
        width: 85%;
        font-size: 1.5rem;
        line-height: 1.8;
        padding-bottom: 2rem;
    }

    .hero-head::before {
        font-size: 1.2rem;
    }

    .other-works {
        font-size: 1.6rem;
        padding: 1rem 2rem;
    }

    .btn {
        font-size: 1.6rem;
        padding: 1rem 2rem;
    }

    /*_________________________________________________WORK */

    .marquee p {
        font-size: 3rem;
    }

    .display-works {
        padding: 6rem 0.5rem;
    }

    .container-body {
        width: 85%;
    }

    .featuring {
        padding: 2.5rem;
        border-radius: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .featuring-image {
        height: 100%;
        width: 100%;
    }

    .featuring-text {
        padding: 3rem 1rem;
    }

    .featuring-head {
        font-size: 1.2rem;
    }

    .f-text-head {
        font-size: 3.5rem;
        text-align: center;
    }

    .f-text {
        font-size: 1.8rem;
        line-height: 1.8;
    }

    .view-post {
        font-size: 1.6rem;
        padding: 1rem 2rem;
    }

    #zero .other-works {
        margin-right: 0rem;
    }

    .display-works .other-works {
        margin-right: 0rem;
    }

    .alternative-text {
        margin-left: 0;
        margin-top: 2rem;
        padding: 4rem 2rem;
    }

    #four {
        padding: 2.5rem;
    }

    .five-img {
        margin-bottom: 0rem;
    }

    #five .featuring-text {
        padding: 3rem 2rem;
    }

    .dot {
        height: 4rem;
        width: 4rem;
        margin: 0 0.8rem;
    }

    .o-works {
        padding: 4rem 2rem;
    }

    .mini-view {
        grid-template-columns: repeat(1, 1fr);
        gap: 6rem;
    }

    .text {
        padding: 3rem;
    }

    .p-head {
        font-size: 3.5rem;
        letter-spacing: 2px;
        text-align: left;
    }

    .p-head::before {
        bottom: 115%;
        font-size: 0.9rem;
    }

    .p-text {
        font-size: 1.5rem;
        line-height: 1.7;
    }

    .footer {
        padding: 4rem 0rem;
        font-size: 160%;
    }

    .footer .container-body {
        width: 80%;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        place-items: initial;

    }

    .footer-details a {
        padding: 1rem 0rem;
    }

    .footer-details #logo {
        width: 4rem;
        height: 4rem;
        margin: 0.5rem 0rem;
    }

    .footer-details .c-logo {
        display: block;
    }

    .footer-name {
        font-size: 2rem;
    }

    .footer-name span {
        font-size: 0.9rem;
        letter-spacing: 1rem;
        margin-top: 0.2rem;
    }

    .footer-details .other-works {
        font-size: 1rem;
        width: 8.6rem;

    }

    .footer .smi .elements {
        width: 3rem;
        height: 3rem;
        margin-right: 1rem;
    }

    footer {
        font-size: 1.3rem;
    }

}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 1008px) {
    html {
        font-size: 100%;
    }

    #mobile-nav {
        display: none;
    }
}