/* main landing page's css code */
@font-face {
    font-family: canopee-regular;
    src: url(./fonts/Canopee-Regular.otf);
}


@font-face {
    font-family: domain;
    src: url(./fonts/domain.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

html{
    scrollbar-width: none; 
} 

#main{
    background-color: #cdc6be;
}

body {
    height: 100%;
    position: relative;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    mix-blend-mode: multiply;
     
}

#nav {
    height: 80px;
    width: 100%;
    display: flex;
    /* justify-content: space-between; */
    position: fixed;
    background: inherit;
    padding: 0 30px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #222;
    z-index: 1;
    
}

#nav img {
    height: 30px;
    width: 30%;
}

#nav h5 {
    font-size: 20px;
    font-weight: 100;
    flex: 1;
    font-family: canopee-regular, sans-serif;
    color: #2f2f2f;
    opacity: .8;
}
#nav div:nth-child(3){
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
#menu-btn {
    width: 30%;
    
    color: #2f2f2f;
    font-size: 24px;
    text-decoration: none;
}

/* Hamburger Menu Button Styles */
#menu-btn {
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.line {
    position: absolute;
    height: 2px;
    width: 100%;
    background: #2f2f2f;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.line:nth-child(1) { top: 0; }
.line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.line:nth-child(3) { bottom: 0; }

/* Active State Animation */
#menu-btn.active .line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
#menu-btn.active .line:nth-child(2) {
    opacity: 0;
}
#menu-btn.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

#elems {
    height: 430px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 60px;
    margin-top: 100px;
}

#elem1, #elem2, #elem3 {
    width: 30%;
    height: 100%;
}

#elem2 {
    border-right: 2px solid #656565;
    padding: 20px 20px;
    text-align: center;
    border-left: 2px solid #656565;
    position: relative;
}

#elems #redac3{
    position: absolute;
    top: 0.2rem;
    left: 2.2rem;
    border: none;
    width: 350px;
    height: auto;
}

#elme1 #image-div, #elme3 #image-div {
    height: 60%;
    width: 100%;
    overflow: hidden;
}

#image-div:hover img {
    transform: scale(1.1);
}

#image-div img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all ease 0.5s;
    border: 2px solid black;
}

#elem1 h4, #elem3 h4 {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: canopee-regular, sans-serif;
}

#elem1 h4 span, #elem3 h4 span {
    background-color: #B43B12;
    color:#CDC6BE;
    font-weight: 100;
    font-size: 18px;
    padding: 4px;
    margin-left: 10px;
    border-radius: 5px;
}

#elem3 p, #elem1 p {
    font-size: 23px;
    font-family: domain;
    font-weight: 100;
    color: #656565;
}

#elem2 h2 {
    font-family: canopee-regular, sans-serif;
    font-size: 75px;
    font-weight: 100;
}

#elem2 h3 {
    font-family: domain;
    font-size: 50px;
    color: #4b4b4b;
    font-weight: 100;
    margin: 20px 0;
}

#elem2 h6 {
    font-family: domain;
    font-size: 20px;
    color: #4b4b4b;
    font-weight: 100;
}

#page1 {
    
    width: 100vw;
    background-color: #CDC6BE;
    position: relative;
    overflow: hidden;
    margin: 0%;
}

#page1 h1 {
    font-size: 630px;
    letter-spacing: -20px;
    font-weight: 100;
    font-family: canopee-regular, sans-serif;
    background-color: #1C1C19;
    color: #CDC6BE;
    line-height: 530px;
    width: 96%;
    margin-left: 2%;
    padding: 0 10px;
    
}

#page2 {
    height: 150vh;
    width: 100%;
    background-color: #CDC6BE;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 90px 40px;
    
}

#page2-left {
    position: relative;
    height: 100%;
    width: 35%;
    padding-right: 40px;
    border-right: 1px solid #4b4b4b;
}

#page2-left h2 {
    font-size: 100px;
    font-family: canopee-regular, sans-serif;
    line-height: 130px;
    font-weight: 100;
    text-decoration: line-through;
    text-decoration-thickness: 2px; 
    text-decoration-color: rgba(0, 0, 0, 1);
    text-underline-offset: -2px; 
}

#page2-left h2 span {
    font-size: 190px;
    font-weight: 900;
    
}

#page2-left #tape1{
    position: absolute;
    top: 14em;
    right: -5em;
    border: none;
    width: 250px;
    height: auto;
    box-shadow: none;
}

#page2-left #tape2{
    position: absolute;
    top: 14em;
    left: -5em;
    border: none;
    width: 200px;
    height: auto;
    box-shadow: none;
}

#page2-left #torn1{
    position: absolute;
    bottom: 12.72rem;
    right: 2.5rem; 
    width: 28.5rem;
    height: auto;
    box-shadow: none;
    border: none;
}

#page2-left #redac1{
    position: absolute;
    bottom: 8.2rem;
    left: 10.5rem;
    border: none;
    width: 90px;
    height: auto;
    box-shadow: none;
}

#page2-left #redac2{
    position: absolute;
    bottom: 10.4rem;
    right: 1.3rem;
    border: none;
    width: 260px;
    height: auto;
    box-shadow: none;
}

#page2-left #redac4{
    position: absolute;
    bottom: -1.8rem;
    left: 5rem;
    border: none;
    width: 180px;
    height: auto;
    box-shadow: none;
}

#page2-left img {
    height: 50%;
    width: 100%;
    object-fit: cover;   
}

#page2-left p {
    font-size: 1.45vw;
    line-height: 2.5vw;
    font-family: "domain" , sans-serif;
    color: #2f2f2f;
    text-align: left;    
}

#page2-left p::first-letter{
    font-size: 7vw;
    font-feature-settings: "ss03";
    float: left;
    line-height: 5vw;  
    margin: .7vw 1vw 1vw 0vw;
    color: #CDC6BE; 
    background-color: #1b1b1b; 
    padding: .75vw .4vw .5vw .5vw; 
    font-family: canopee-regular, sans-serif;
}

#page2-right {
    position: relative;
    height: 100%;
    width: 70%;
    padding: 0 60px;
}

#page2-right #tape3{
    position: absolute;
    top: -3em;
    left: -1em;
    border: none;
    width: 190px;
    height: auto;
    box-shadow: none;
}

#page2-right #tape4{
    position: absolute;
    top: -3em;
    right: -2em;
    border: none;
    width: 190px;
    height: auto;
    box-shadow: none;
}



#page2-right img {
    height: 30%;
    width: 100%;
    object-fit: cover;
}

#page2-right h1 {
    font-family: canopee-regular, sans-serif;
    font-size: 115px;
    font-weight: 100;
        
}

.intersect-text #coffee1{
    position: absolute;
    right: -2em;
    bottom: 2em;
    width: 30em;
    height: auto;
    border: none;
    box-shadow: none;
}

.underline h1{
    text-decoration: underline;
    text-decoration-thickness: 2px; 
    text-underline-offset: 3px;
    color: inherit; 
    text-decoration-color: rgba(0, 0, 0, 1);        
}

.underline .line5{
    background: linear-gradient(to right, #1b1b1b 85%, transparent 50%);
    background-size: 100% 1.5px;
    background-position: 0 70%;
    background-repeat: no-repeat;
}

.underline .line6{
    background: linear-gradient(to right, #1b1b1b 17%, transparent 5%);
    background-size: 100% 1.5px;
    background-position: 0 75%;
    background-repeat: no-repeat;
}

.line-through .line1{
    background: linear-gradient(to right, #1b1b1b 55%, transparent 50%);
  background-size: 100% 1.5px;
  background-position: 0 50%;
  background-repeat: no-repeat;
}

.line-through .line2{
    background: linear-gradient(to right, #1b1b1b 45%, transparent 40%);
  background-size: 100% 1.5px;
  background-position: 0 55%;
  background-repeat: no-repeat;
}

.line-through .line3{
    background: linear-gradient(to right, #1b1b1b 95%, transparent 70%);
    background-size: 100% 1.5px;
    background-position: 0 60%;
    background-repeat: no-repeat;
}

.line-through .line4{
    background: linear-gradient(to right, #1b1b1b 70%, transparent 70%);
    background-size: 100% 1.5px;
    background-position: 0 65%;
    background-repeat: no-repeat;
}

#page3 {
    position: relative;
    background-color: #CDC6BE;
    display: flex;
    align-items: center;
}

#page3 h1 {
    font-size: 400px;
    font-weight: 100;
    letter-spacing: -10px;
    font-family: canopee-regular, sans-serif;
    background-color: #1C1C19;
    width: fit-content;
    margin-left: 2%;
    padding: 0 20px;
    line-height: 350px;
    color:#CDC6BE;
    position: relative;
}

#page3 img {
    height: 380px;
    position: absolute;
    top: -3%;
    right: 6%;
    
}

#page4 {
    height: 100vh;
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: space-between;
    background-color:#CDC6BE;
}

#page4-left {
    position: relative;
    width: 65%;
    height: 100%;
    padding: 80px 60px;
}

#page4-left #tape7{
    position: absolute;
    top: 6em;
    right: -1em;
    border: none;
    width: 150px;
    height: auto;
}

#page4-left #tape8{
    position: absolute;
    top: 5em;
    left: 1em;
    border: none;
    width: 130px;
    height: auto;
}

#page4-left img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border: 0.8px solid black;
}

#page4-left #coffee2{
    position: absolute;
    bottom: -8rem;
    right: -2rem;
    border: none;
    width: 200px;
    height: auto;
}

#page4-right {
    position: relative;
    width: 40%;
    height: 100%;
    padding: 80px 60px;
}

#page4-right #ransom1{
    position: absolute;
    top: 2rem;
    left: -1rem;
    transform: rotate(-7deg);
    width: 90%;
    height: auto;
}

#page4-right #ransom2{
    position: absolute;
    top: 8rem;
    right: 2rem;
    transform: rotate(-7deg);
    width: 70%;
    height: auto;
}


/* techical expertise */
#skills-section {
    margin-bottom: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    
}

.lang-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.lang-item span {
    font-family: domain;
    font-size: 28px;
    color: #2f2f2f;
    font-weight: 500;
    position: relative;
    top: 10rem ;
}

#page4-right #anda {
    height: 180px;
    background-color:#d7cfc5;
    border: 1px solid #2f2f2fc6;
    position: relative;
    top: -20%;
    border-radius: 50%;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
}

#anda h1 {
    font-size: 50px;
    padding-top: 70px;
    padding-right: 35px;
    font-weight: 100;
    font-family: canopee-regular, sans-serif;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    transform: translateX(-26%);
    transition: all ease 0.6s;
}

#anda img {
    height: 60px;
    transition: all ease 0.6s;
    transform: translateX(-120%);
}

#anda:hover img {
    transform: translateX(76%);
}

#anda:hover h1 {
    transform: translateX(100%);
}

#reviews {
    /* display: flex; */
    position: relative;
    margin-bottom: 400px;
    margin-top: 20px;
    width: 100%;
    padding-left: 50px;
}

.review {
    border: 3px solid black;
    border-radius: 10px;
    box-shadow: -4px 4px 6px rgba(29, 29, 27, .2);
    padding: 10px;
    width: 500px;
    height: 350px;
    background: #cdc6be;
    position: absolute;
    will-change: transform;
}

.review-1 {
    z-index: 1;
}

.review-2, .review-2:hover {
    z-index: 2;
    --left : 18vw;
    transform: translate3d(var(--left), 0, 0);
    transition: transform ease-out 0.35s;
}

.review-3, .review-3:hover {
    z-index: 3;
    --left : 36vw;
    transform: translate3d(var(--left), 0, 0);
    transition: transform ease-out 0.3s;
}

.review-4 {
    z-index: 4;
    --left: 54vw;
    transform: translate3d(var(--left), 0, 0);
    transition: transform ease-out 0.3s;
}


.review-1:hover ~ .review{
    transform: translate3d(calc(var(--left) + 10vw), 0, 0);
}

.review-2:hover ~ .review{
    transform: translate3d(calc(var(--left) + 10vw), 0, 0);
}

.review-3:hover ~ .review{
    transform: translate3d(calc(var(--left) + 10vw), 0, 0);
}

.review-4:hover ~ .review{
    transform: translate3d(calc(var(--left) + 10vw), 0, 0);
}

.review-inside {
    width: 100%;
    height: 100%;
    padding: 20px;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'><rect width='100%25' height='100%25' fill='none' rx='8' ry='8' stroke='%23333' stroke-width='4' stroke-dasharray='6%2c 14' stroke-dashoffset='4' stroke-linecap='square'/%3e%3c/svg%3e");
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 25px;
    line-height: 35px;
    letter-spacing: -1px;
    
}

.review-inside #redac5{
    border: none;
    position: absolute;
    right: 14rem;
    bottom: 17.8rem;
    width: 6rem;
    height: auto;
}

.review-inside #redac6{
    border: none;
    border-radius: 0;
    position: absolute;
    right: 14rem;
    bottom: 17.8rem;
    width: 15rem;
    height: auto;
}

.review-inside #redac7{
    border: none;
    border-radius: 0;
    position: absolute;
    right: 2rem;
    bottom: 17.8rem;
    width: 15rem;
    height: auto;
}

.review-inside #redac8{
    border: none;
    border-radius: 0;
    position: absolute;
    right: 17rem;
    bottom: 15.8rem;
    width: 13rem;
    height: auto;
}

.review-inside #redac9{
    border: none;
    border-radius: 0;
    position: absolute;
    right: 7rem;
    bottom: 13.5rem;
    width: 5rem;
    height: auto;
}

.review-inside #redac10{
    border: none;
    border-radius: 0;
    position: absolute;
    left: 1.3rem;
    bottom: 15.3rem;
    width: 13rem;
    height: auto;
}

.review-inside .desciption{
    opacity: .7;
    text-decoration: underline;
}

.review-inside h2 {
    font-family: canopee-regular, sans-serif, sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    color: #1b1b1b;    
}

.review-inside h6{
    font-weight: 400;    
}

.review-inside img{
    border: 1px solid #5e5e5e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5vw;
    grid-column: 1/2;
    grid-row: 1/3;
}

.Contri{
    display: grid;
    grid-template-columns: 0fr 1fr;
    column-gap: 10px;
    /* align-items: center; */

}

.Contri h2{
    grid-column: 2/3;
    align-self: flex-end;
}

.Contri h6{
    grid-column: 2/3;
    align-self: flex-start;
}

#page5 {
    padding: 25px 0;
    width: 100%;
    background-color:#CDC6BE;
    border-top: 1px solid #2f2f2f;
    border-bottom: 1px solid #2f2f2f;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

#page5::-webkit-scrollbar {
    display: none;
}

#page5 h1 {
    font-size: 100px;
    font-family: domain;
    font-weight: 100;
    display: inline-block;
    animation-timing-function: linear;
    margin-right: 30px;
    animation-name: scroll;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

#page5 h1 span {
    font-family: canopee-regular, sans-serif;
    background-color: #1b1b1b;
    color:#CDC6BE;
    padding: 0 12px;   
}

#page5 a{
    text-decoration: none;
    font-size: 80px;
    background-color: #1b1b1b;
    color: #CDC6BE;
    padding: 0px 10px;
}

#page6 {
    height: 100px;
    width: 100%;
    background-color:#CDC6BE;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 45px;
    
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% - 34px));
    }
}

#page5:hover h1 {
    animation-play-state: paused;
}

#page6-left{
    display: flex;
    align-items: center;
    gap: 30px;
}

#page6-left h1 {
    position: relative;
    right: -4%;
    font-family: canopee-regular, sans-serif;
    font-weight: 100;
    color: #2f2f2f;
}

#page6-left img {
  width: 40px;
}

a{
    font-family: canopee-regular, sans-serif;
    text-decoration: none;
    color: #2f2f2f;
    font-size: 30px;
    margin: 0 3px;
}

/* Tablet and Mobile Landscape (768px - 1024px) */
@media (max-width: 1024px) {
    #page1 h1 {
        margin-top: 100px;
        font-size: 360px;
        letter-spacing: -10px;
        line-height: 250px;
    }

    #elems {
        display: none;
    }

    #elem1, #elem2, #elem3 {
        width: 100%;
        margin-bottom: 30px;
    }

    #elem2 {
        border: none;
        padding: 0;
    }

    #page2 {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
    }

    #page2-left, #page2-right {
        width: 100%;
        padding: 0;
    }

    #page2-left {
        border-right: none;
        margin-bottom: 40px;
    }

    #tape1, #tape2, #tape3, #tape4, #tape5, #tape6, #tape7, #tape8{
       display: none;
    }

    #torn1{
       display: none;
    }

    #coffee1, #coffee2{
       display: none;
    }

    #redac1, #redac2, #redac3, #redac4, #redac5, #redac6, #redac7, #redac8, #redac9, #redac10{
       display: none;
    }

    #page4-right #ransom1{
        width: 25rem;
        height: auto;
        left: 1rem;
    }

    #page2-left h2 {
        font-size: 60px;
        line-height: 60px;
    }

    #page2-left h2 span {
        font-size: 80px;
    }

    #page2-left p {
        font-size: 18px;
        line-height: 24px;
    }

    #page3 h1 {
        font-size: 200px;
        line-height: 180px;
    }

    #page3 img {
        height: 200px;
        right: 3%;
    }

    #page4 {
        flex-direction: column;
        height: auto;
    }

    #page4-left, #page4-right {
        width: 100%;
        padding: 40px 20px;
    }

    #skills-section{
        margin-bottom: 200px;
    }

    #skills-section h2 {
        grid-column: 1/3;
        
    }

    #anda {
        width: 100%;
        height: 200px;
    }

    #reviews {
        flex-direction: column;
        padding: 20px;
        margin-bottom: 50px;
    }

    .review {
        position: static !important;
        width: 100% !important;
        margin-bottom: 20px;
        transform: none !important;
    }

    .review-inside img{
        height: 100px;
        width: 100px;
        border-radius: 50%;
    }
    
     
    .review-2 h2{
        font-size: 40px;
    }

    .review-2 a{
        margin-top: 20px;
    }
    
    

    #page5 h1 {
        font-size: 40px;
    }

    #page5 a {
        font-size: 30px;
    }

    #page6 {
        flex-direction: column;
        height: auto;
        padding: 20px;
        text-align: center;
    }

    #page6-left {
        margin-bottom: 20px;
    }

}

/* Mobile Portrait (<= 767px) */
@media (max-width: 776px)  {
  

    #nav{
        height: 7vh;
    }

    #nav h5 {
        font-size: 14px;
    }

    #nav img {
        height: 25px;
    }

    #menu-btn{
        height: 2vh;
    }

    #page1 h1 {
        font-size: 8rem;
        line-height: 120px;
        margin-top: 70px;
        letter-spacing: 2px;
        text-align: center;
        padding: 8px 0;
    }

    #page2-left img {
        float: right;
        height: 50%;
        width: 50%;
        margin-top: -50px;
        margin-right: 5px;
    }

   
    
    #page2-left p{
        margin-top: 20px;
        font-size: 25px;   
    }

    #page2-left p::first-letter{
        font-size: 5em;
        padding: 12vw .4vw 10vw .4vw;
    }
    #page2-left h2 {
        font-size: 75px;
        line-height: 60px;
    }

    #page2-left h2 span {
        font-size: 60px;
    }

    #page2-right img {
        height: 100%;
        width: 100%;
    }

    #page2-right h1{
        font-size: 40px;
    }

    .line-through .line1{
        width: 90%;
        background: linear-gradient(to right, #1b1b1b 45%, transparent 55%);
      background-size: 100% 1.5px;
      background-position: 0 50%;
      background-repeat: no-repeat;
    }
    
    .line-through .line2{
        width: 100%;
        background: linear-gradient(to right, #1b1b1b 40%, transparent 40%);
      background-size: 100% 1.5px;
      background-position: 0 55%;
      background-repeat: no-repeat;
    }
    
    .line-through .line3{
        width: 100%;
        background: linear-gradient(to right, #1b1b1b 85% , transparent 70%);
        background-size: 100% 1.5px;
        background-position: 0 60%;
        background-repeat: no-repeat;
    }
    
    .line-through .line4{
        background: linear-gradient(to right, #1b1b1b 50%, transparent 67%);
        background-size: 100% 1.5px;
        background-position: 0 65%;
        background-repeat: no-repeat;
    }

    .underline .line5{
        background: linear-gradient(to right, #1b1b1b 78%, transparent 50%);
        background-size: 100% 1.5px;
        background-position: 0 70%;
        background-repeat: no-repeat;
    }
    
    .underline .line6{
        background: linear-gradient(to right, #1b1b1b 12%, transparent 5%);
        background-size: 100% 1.5px;
        background-position: 0 75%;
        background-repeat: no-repeat;
    }

    #page3 h1 {
        font-size: 80px;
        line-height: 70px;
        letter-spacing: .1px;
        padding: 10px 10px;
    }

    #page3 img {
        height: 150px;
        margin-top: -30px;
    }

    #page4-left img{
        height: 50vh;    
    }

    #page4-right h2{
        margin-top: -70px;
        font-size: 3em;
    }

    .lang-item span {
        font-size: 30px;
    }

    #anda h1{
        font-size: 60px;
        margin-left: 10px;
        padding: 10px 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .review{
        height: 400px;
    }


    #page5 a{
        font-size: 50px;
    }

    #page6-left{
        display: flex;
        justify-content: space-between;
    }

    #page6-left h1{
        font-size: 80px;
    }

    #page6-left img{
        width: 20%;
    }

    #page6-right a{
        font-size: 20px;
    }

    #main {
        display: block;
    }
}

@media (max-width: 376px) {
    #page4-right #ransom1{
        width: 22rem;
    }
}


