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

@font-face {
    font-family: neu;
    font-weight: 100;
    src: url(./NeueHaasDisplayLight.ttf);
}

@font-face {
    font-family: neu;
    font-weight: 200;
    src: url(./NeueHaasDisplayRoman.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: neu;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    width: 100%;
}

#main {
    background-color: #EFEAE3;
    position: relative;
    z-index: 10;
    min-height: 100vh;
    width: 100%;
}

#home {
    min-height: 100vh;
    width: 100%;
    background-color: #EFEAE3;
    position: relative;
    padding: 0 2vw;
}

nav {
    padding: 2vw 0vw;
    width: 100%;
    /* background-color: red; */
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    justify-content: space-between;
}

#nav-part2 {
    display: flex;
    align-items: center;
    gap: 1vw;
}

#nav-part2 h4 {
    padding: 10px 20px;
    border: 1px solid #0000003c;
    border-radius: 50px;
    font-weight: 500;
    color: #000000bb;
    transition: all ease 0.4s;
    position: relative;
    font-size: 18px;
    overflow: hidden;
}

#nav-part2 h4::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: black;
    left: 0;
    bottom: -100%;
    border-radius: 50%;
    transition: all ease 0.4s;
}

#nav-part2 h4:hover::after {
    bottom: 0;
    border-radius: 0;
}

#nav-part2 h4 a {
    color: #000000bb;
    text-decoration: none;
    position: relative;
    z-index: 9;
}

#nav-part2 h4:hover a {
    color: #fff;
}

nav h3 {
    display: none;
    cursor: pointer;
}

#center {
    height: 60vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid #0000003c;
    padding-bottom: 2.5vw;
}



#left h3 {
    width: 25vw;
    font-size: 1.2vw;
    line-height: 1.2vw;
}

#center h1 {
    font-size: 9vw;
    text-align: right;
    line-height: 7vw;
}


#content {
    margin-top: 1vw;
    max-width: 50%;
    float: right;
    text-align: right;
    line-height: 1.6;
    font-weight: 300;
    font-size: clamp(15px, 1.2vw, 22px);
}

@media (max-width:1200px) {
    #content {
        max-width: 75%;
        float: right;
        text-align: right;
        font-size: clamp(16px, 1.8vw, 22px);
    }
}

@media (max-width:800px) {
    #content {
        max-width: 60%;
        float: right;
        text-align: right;
        font-size: clamp(15px, 2.2vw, 20px);
    }
}



@keyframes anime1 {
    from {
        transform: translate(55%, -3%);
    }

    to {
        transform: translate(0%, 10%);
    }
}

@keyframes anime2 {
    from {
        transform: translate(5%, -5%);
    }

    to {
        transform: translate(-20%, 30%);
    }
}

#about {
    min-height: 100vh;
    width: 100%;
    background-color: #EFEAE3;
    padding: 4vw 0;
}

#elem-container {
    width: 100%;
    max-width: 100%;
    padding: 0 2vw;
}

.elem {
    min-height: auto;
    width: 100%;
    position: relative;
    border-bottom: 1px solid #38383864;
    overflow: visible;
    display: flex;
    align-items: flex-start;
    padding: 3vw 2vw;
}

.elem h2 {
    font-size: clamp(18px, 2.8vw, 48px);
    position: relative;
    z-index: 9;
    font-weight: 500;
    word-wrap: break-word;
    word-break: break-word;
}

.elem h2 span {
    display: block;
    font-size: clamp(13px, 1.3vw, 22px);
    font-weight: 300;
    margin-top: 1.5vw;
    color: #666;
    line-height: 1.8;
    letter-spacing: 0.3px;
    word-wrap: break-word;
    word-break: break-word;
}

.elem h3 {
    font-size: clamp(16px, 1.6vw, 32px);
    position: relative;
    z-index: 9;
    font-weight: 500;
}

.elem h3 span {
    display: block;
    font-size: clamp(13px, 1.2vw, 20px);
    font-weight: 300;
    margin-top: 1.5vw;
    color: #666;
    line-height: 1.8;
    letter-spacing: 0.3px;
}


#project {
    min-height: 100vh;
    width: 100%;
    background-color: #EFEAE3;
    padding: 4vw 2vw;
}

#projects-elem-container {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 0;
    row-gap: 2vw;
}

.projects-elem {
    min-height: auto;
    width: 100%;
    position: relative;
    border-right: 1px solid #38383864;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 2vw;
}

.projects-elem:nth-child(4n) {
    border-right: none;
}


.projects-elem:nth-child(7n) {
    border-right: none;
}


#projects-elem1 {
    grid-column: 1 / -1;
    padding: 0 2vw 1vw 2vw;
    margin-bottom: 0.5vw;
}

#projects-elem1 h2 {
    font-size: clamp(18px, 2.8vw, 48px);
}

.projects-elem h2 {
    font-size: clamp(18px, 2.8vw, 48px);
    position: relative;
    z-index: 9;
    font-weight: 500;
    word-wrap: break-word;
    word-break: break-word;
    margin-bottom: 2vw;
}

.projects-elem:not(:first-child) h2 {
    display: none;
}

.projects-elem h2 span {
    display: block;
    font-size: clamp(13px, 1.3vw, 22px);
    font-weight: 300;
    margin-top: 1.5vw;
    color: #666;
    line-height: 1.8;
    letter-spacing: 0.3px;
    word-wrap: break-word;
    word-break: break-word;
}

.projects-elem h3 {
    font-size: clamp(16px, 1.6vw, 32px);
    position: relative;
    z-index: 9;
    font-weight: 500;
}

.projects-elem h3 span {
    display: block;
    font-size: clamp(13px, 1.2vw, 20px);
    font-weight: 300;
    margin-top: 1.5vw;
    color: #666;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.elem-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5vw;
    display: inline-block;
    position: relative;
    transition: all ease 0.3s;
}

@media (max-width: 1200px) {
    #projects-elem-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-elem:nth-child(2n) {
        border-right: none;
    }
    
    .projects-elem:nth-child(3n) {
        border-right: 1px solid #38383864;
    }
}

@media (max-width: 768px) {
    #projects-elem-container {
        grid-template-columns: 1fr;
    }
    
    .projects-elem {
        border-right: none;
    }
    
    .projects-elem:nth-child(3n) {
        border-right: none;
    }
}


#page5 {
    height: 60vh;
    width: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vw 3vw;
}

#page5 #footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3vw 0;
    gap: 4vw;
    width: 100%;
    max-width: 1400px;
}

#page5 #footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1vw;
    min-width: 200px;
    flex: 1;
}

#page5 #footer-logo img {
    width: 80px;
    height: auto;
    border-radius: 10px;
}

#page5 #footer-logo h2 {
    font-size: 2vw;
    color: #fff;
    margin: 0;
    font-weight: 600;
}

#page5 #footer-logo p {
    font-size: 1vw;
    color: #aaa;
    margin: 0;
    line-height: 1.6;
}

#page5 #footer-links {
    display: flex;
    gap: 2vw;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

#page5 .footer-link {
    color: #fff;
    text-decoration: none;
    font-size: clamp(14px, 1.2vw, 18px);
    padding: 0.8vw 1.5vw;
    border: 1px solid #ffffff33;
    border-radius: 50px;
    transition: all ease 0.3s;
    font-weight: 500;
}

#page5 .footer-link:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}


#full-scr {
    height: 100vh;
    width: 100%;
    background-color: #00000070;
    position: fixed;
    z-index: 99;
    top: -100%;
    transition: all ease 0.5s;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

#full-div1 {
    height: 50%;
    width: 100%;
    background-color: #EFEAE3;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vw;
}

#nav-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vw;
    width: 100%;
}

#nav-mobile h4 {
    width: 80%;
    text-align: center;
    font-size: 5vw;
}

#nav-mobile h4 a {
    color: #000;
}


#nav-mobile h4 a:active {
    color: #5f5f5f;
}


@media (max-width:600px) {

    #home {
        min-height: 100vh;
        width: 100vw;
        padding: 0;
        padding-top: 80px;
    }

    nav {
        padding: 4vw 5vw;
        background-color: #EFEAE3;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }

    nav img {
        transition: all ease 0.2s;
        height: 60px;
    }

    #nav-part2 {
        display: none;
    }

    #full-scr #nav-part2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5vw;
    }

    #full-scr #nav-part2 h4 {
        font-size: 5vw;
        padding: 4vw 10vw;
        width: 100%;
        text-align: center;
    }

    #full-scr #nav-part2 h4 a {
        color: #000;
    }

    #full-scr #nav-part2 h4 a:hover {
        color: #e00000;
    }

    #full-scr #nav-part2 h4 a:active {
        color: #444;
    }

    nav h3 {
        display: block;
        padding: 3vw 5vw;
        border: 1px solid #ababab;
        border-radius: 50px;
        font-size: 4vw;
        font-weight: 200;
        padding-left: 10vw;
        cursor: pointer;
    }

    #center {
        height: auto;
        min-height: 60vh;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #0000003c;
        padding: 15vw 5vw 10vw 5vw;
        flex-direction: column;
        position: relative;
        z-index: 9;
        gap: 3vw;
    }

    #left h3 {
        width: 100%;
        font-size: 5vw;
        line-height: 6vw;
        text-align: center;
        order: 2;
    }

    #center h1 {
        font-size: 12vw;
        text-align: center;
        line-height: 11vw;
        order: 1;
        font-weight: 600;
    }

    #content {
        margin-top: 6vw;
        max-width: 100%;
        float: none;
        text-align: center;
        font-size: clamp(14px, 4vw, 18px);
        line-height: 1.7;
        padding: 0 8vw;
    }

    .elem h2 {
        font-size: clamp(18px, 7vw, 32px);
        line-height: 1.3;
    }

    .elem h2 span {
        font-size: clamp(13px, 4vw, 22px);
        margin-top: 2.5vw;
        line-height: 1.8;
        letter-spacing: 0.3px;
    }

    .elem h3 {
        font-size: clamp(16px, 5.5vw, 28px);
        line-height: 1.3;
    }

    .elem h3 span {
        font-size: clamp(13px, 4vw, 20px);
        margin-top: 2.5vw;
        line-height: 1.8;
        letter-spacing: 0.3px;
    }

    #about {
        padding: 6vw 0;
    }

    #elem-container {
        padding: 0 4vw;
    }

    .elem {
        padding: 5vw 4vw;
    }

    #home video {
        position: relative;
        border-radius: 15px;
        margin-top: 4vw;
        height: 70vh;
        object-fit: cover;
        object-position: center;
        width: 92%;
        margin-left: 4%;
    }

    #page5 {
        height: auto;
        min-height: 50vh;
        padding: 8vw 5vw;
    }

    #page5 #footer-content {
        flex-direction: column;
        align-items: center;
        gap: 8vw;
        padding: 4vw 0;
    }

    #page5 #footer-logo {
        align-items: center;
        text-align: center;
        gap: 3vw;
        min-width: 100%;
    }

    #page5 #footer-logo img {
        width: 70px;
    }

    #page5 #footer-logo h2 {
        font-size: 6vw;
    }

    #page5 #footer-logo p {
        font-size: 3.5vw;
    }

    #page5 #footer-links {
        flex-direction: column;
        gap: 4vw;
        width: 100%;
    }

    #page5 .footer-link {
        font-size: 4vw;
        padding: 3vw 6vw;
        text-align: center;
        width: 100%;
        max-width: 280px;
    }

}

#loader{
    height: 100%;
    width: 100%;
    background-color: #000;
    position: fixed;
    z-index: 999;
    top: 0;
    transition: all ease 0.7s;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#loader h1{
    font-size: 4vw;
    color: transparent;
    background: #EFEAE3;
    -webkit-background-clip: text;
    position: absolute;
    opacity: 0;
    animation-name: load;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-timing-function: linear;
}
#loader h1:nth-child(2){
    animation-delay: 2s;
}
#loader h1:nth-child(3){
    animation-delay: 3s;
}

@keyframes load {
    0%{
        opacity: 0;
    }
    10%{
        opacity: 1;
    }
    90%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

@media (max-width:600px) {
    #loader h1{
        font-size: 9vw;
      
    }
}

