@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@200..800&display=swap');

*{
    font-family: Oxanium; /* Set the font to Oxanium */
    margin: 0; /* Set the overall margin to 0 */
}

body{
    background-color: #191919; /* Overall background */
    transition: background-color 0.3s; /* For the overlay */
    overflow-x: hidden; /* To disable the x axis or bottom scrollbar */
}

html {
    scroll-behavior: smooth; /* For the nav scroll */
}

/* Overlay */
.overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Scroll */
.scroll{
    margin: 0 200px;
    margin-top: -100px;
    position: relative;
}

.scroll h1{
    width: 11rem;
    color: #FAF7F0;
    font-size: 15px;
    letter-spacing: 5px;
    text-align: center;
    font-weight: 100;
    opacity: 60%;
}

.scroll::before{
    content: '';
    position: absolute;
    left: 5.3rem;
    top: 200%;
    height: 400px;
    width: 1px; 
    background-color: #FAF7F0;
    opacity: 30%;
}

/* Scramble */
.scramble-link {
    white-space: nowrap;
    text-align: center;
    overflow: hidden; 
  }

@media only screen and (max-width: 1629px){
    .scroll{
        margin: 0 100px;
        margin-top: -60px;
    }
}

@media only screen and (max-width: 1400px){
    .scroll{
        margin: 0 100px;
        margin-top: -100px;
    }
}

@media only screen and (max-width: 1200px){
    .scroll{
        margin: 0 50px;
        margin-top: -120px;
    }
}

@media only screen and (max-width: 1000px){
    .scroll{
        margin: 0 50px;
        margin-top: -40px;
    }
}

@media only screen and (max-width: 800px){
    .scroll{
        margin: 0 20px;
        margin-top: -30px;
    }
}

@media only screen and (max-width: 500px){
    .scroll{
        margin: 0 20px;
        margin-top: -100px;
    }

    .scroll h1{
        width: 9rem;
        color: #FAF7F0;
        font-size: 10px;
        letter-spacing: 5px;
        text-align: center;
        font-weight: 100;
    }
    
    .scroll::before{
        content: '';
        position: absolute;
        left: 4.3rem;
        top: 200%;
        height: 400px;
        width: 1px; 
        background-color: #FAF7F0; 
        opacity: 50%;
    }
}














/* Navigation Bar */
.nav-bar{
    margin: 40px 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.logo{
    text-decoration: none;
    color: #FAF7F0;
    letter-spacing: 2px;
    font-weight: 900;
}

.nav-ul{
    display: flex;
    gap: 25px;
}

.nav-ul li{
    list-style-type: none;
}

.nav-ul li a{
    text-decoration: none;
    color: #FAF7F0;
    letter-spacing: 2px;
}

.nav-toggle{
    display: none;
}

@media only screen and (max-width: 1629px){
    .nav-bar{
        margin: 40px 100px;
    }
}

@media only screen and (max-width: 1200px){
    .nav-bar{
        margin: 40px 50px;
    }
}

@media only screen and (max-width: 800px){
    .nav-bar{
        margin: 30px 20px;
    }

    .nav-toggle {
        margin-top: 10px;
        display: block;
        cursor: pointer;
        z-index: 2; 
    }
    
    .bar {
        width: 25px;
        height: 3px;
        background-color: #FAF7F0;
        margin: 5px 0;
        transition: 0.4s;
    }

    .bar:nth-child(4) {
        opacity: 0;
    }

    .bar:nth-child(3) {
        opacity: 0;
    }
    
    .change .bar:nth-child(1) {
        transform: translate(0, 0);
        background-color: #FAF7F0;
    }
    
    .change .bar:nth-child(2) {
        transform: rotate(90deg) translate(3px, 11px);
        background-color: #FAF7F0;
    }
    
    .change .bar:nth-child(3) {
        transform: rotate(90deg) translate(-3px, -11px);
        background-color: #FAF7F0;
        opacity: 1;
    }

    .change .bar:nth-child(4) {
        transform: translate(0, 0);
        background-color: #FAF7F0;
        opacity: 1;
    }

    .nav-links {
        display: none;
    }

    .nav-links.show {
        display: flex;
        right: 0;
        margin-top: 10px;
        margin-right: 30px;
        z-index: 2;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 50px;
        background-color: #FAF7F0;
        width: 12rem;
        height: 30vh;
        text-align: center;
        border-radius: 10px; 
    }

    .nav-ul{
        flex-direction: column;
        padding-left: 0;
        margin-left: 0;
    }

    .nav-ul li a{
        font-size: 25px;
        color: #191919;
    }
}

@media only screen and (max-width: 375px){
    .nav-bar{
        margin: 30px 20px;
    }

    .nav-toggle {
        margin-top: 10px;
        display: block;
        cursor: pointer;
        z-index: 2; 
    }
    
    .bar {
        width: 25px;
        height: 3px;
        background-color: #FAF7F0;
        margin: 5px 0;
        transition: 0.4s;
    }

    .bar:nth-child(4) {
        opacity: 0;
    }

    .bar:nth-child(3) {
        opacity: 0;
    }
    
    .change .bar:nth-child(1) {
        transform: translate(0, 0);
        background-color: #FAF7F0;
    }
    
    .change .bar:nth-child(2) {
        transform: rotate(90deg) translate(3px, 11px);
        background-color: #FAF7F0;
    }
    
    .change .bar:nth-child(3) {
        transform: rotate(90deg) translate(-3px, -11px);
        background-color: #FAF7F0;
        opacity: 1;
    }

    .change .bar:nth-child(4) {
        transform: translate(0, 0);
        background-color: #FAF7F0;
        opacity: 1;
    }

    .nav-links {
        display: none;
    }

    .nav-links.show {
        display: flex;
        right: 0;
        margin-top: 10px;
        margin-right: 30px;
        z-index: 2;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 50px;
        background-color: #FAF7F0;
        width: 12rem;
        height: 30vh;
        text-align: center;
        border-radius: 10px; 
    }

    .nav-ul{
        flex-direction: column;
        padding-left: 0;
        margin-left: 0;
    }

    .nav-ul li a{
        font-size: 20px;
        color: #191919;
    }
}















/* Header */
.header{
    display: flex;
    margin: 0 200px;
    justify-content: space-between;
    align-items: center;
}

.left-header{
    position: relative;
    width: 50%;
    margin-top: 200px;
    margin-bottom: 200px;
}

.header-h1 h1{
    color: #FAF7F0;
    font-size: 110px;
    font-weight: 100;
    letter-spacing: 2px;
}

.header-h1 h1 span{
    font-weight: 900;
}

.left-header h6{
    margin-top: 40px;
    color: #FAF7F0;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 100;
    letter-spacing: 1.5px;
}

.left-header h6 span{
    font-weight: 900;
}

.left-header a{
    width: 200px !important;
    color: #191919;
    background-color: #FAF7F0;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.left-image{
    position: absolute;
    width: 30rem;
    top: 59%;
    left: 36%;
}

.left-image img{
    width: 100%;
}

.right-header{
    width: 45rem;
}

.right-header img{
    width: 100%;
}

@media only screen and (max-width: 1629px){
    .header{
        margin: 0 100px;
    }

    .left-header{
        margin-top: 100px;
        margin-bottom: 200px;
    }

    .left-image{
        width: 30rem;
        top: 57%;
        left: 200px;
    }
    
    .left-image img{
        width: 100%;
    }

    .header-h1{
        width: 42rem;
    }

    .header-h1 h1{
        font-size: 6rem;
    }

    .right-header{
        width: 45rem;
    }
}

@media only screen and (max-width: 1200px){
    .header{
        margin: 0 50px;
    }

    .left-header{
        width: 100%;
        margin-top: 100px;
        margin-bottom: 200px;
    }
}

@media only screen and (max-width: 800px){
    .header{
        margin: 0 20px;
    }

    .left-header{
        width: 100%;
        margin-top: 100px;
        margin-bottom: 200px;
    }

    .left-image{
        width: 20rem;
        top: 54%;
        left: 160px;
    }
    
    .left-image img{
        width: 100%;
    }

    .header-h1{
        width: 30rem;
        line-height: 80px;
    }

    .header-h1 h1{
        font-size: 4.2rem;
    }

    .left-header h6{
        font-size: 15px;
    }

    .right-header{
        display: none;
    }
}

@media only screen and (max-width: 500px){
    .header{
        margin: 0 20px;
    }

    .left-header{
        width: 100%;
        margin-top: 150px;
        margin-bottom: 200px;
    }

    .left-image{
        width: 12rem;
        top: 47%;
        left: 125px;
    }
    
    .left-image img{
        width: 100%;
    }

    .header-h1{
        width: 20rem;
        line-height: 50px;
    }

    .header-h1 h1{
        font-size: 2.7rem;
    }

    .left-header h6{
        margin-top: 30px;
        font-size: 12px;
    }

    .left-header a{
        font-size: 12px;
    }

    .right-header{
        display: none;
    }
}

@media only screen and (max-width: 340px){
    .header{
        margin: 12rem 20px;
    }

    .left-header{
        width: 100%;
    }

    .left-image{
        width: 18rem;
        top: 28%;
        left: 5%;
    }
    
    .left-image img{
        width: 100%;
    }

    .header-h1{
        width: 20rem;
        line-height: 50px;
    }

    .header-h1 h1{
        font-size: 2.7rem;
    }

    .left-header h6{
        margin-top: 15px;
        font-size: 12px;
    }

    .left-header a{
        font-size: 12px;
    }

    .right-header{
        display: none;
    }
}



















/* About */
.about{
    margin: 0 200px;
    margin-top: 450px;
    margin-bottom: 100px;
}

.about h1{
    color: #FAF7F0;
    font-size: 80px;
    letter-spacing: 3px;
}

.about p{
    color: #FAF7F0;
    font-weight: 100;
    line-height: 30px;
    letter-spacing: 1px;
    font-size: 15px;
}

@media only screen and (max-width: 1629px){
    .about{
        margin: 0 100px;
        margin-top: 450px;
        margin-bottom: 100px;
    }
}

@media only screen and (max-width: 1200px){
    .about{
        margin: 0 50px;
        margin-top: 450px;
        margin-bottom: 100px;
    }
}

@media only screen and (max-width: 800px){
    .about{
        margin: 0 20px;
        margin-top: 450px;
        margin-bottom: 200px;
    }

    .about h1{
        font-size: 50px;
        letter-spacing: 3px;
    }
}




















/* Projects */
.projects {
    margin: 0 200px;
    margin-top: 200px;
    margin-bottom: 100px;
}

.project-h1 {
    color: #FAF7F0;
    font-size: 80px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.project-slide {
    display: flex !important;
    gap: 30px;
    position: relative;
}

.project-image-p1,
.project-image-p2,
.project-image-p3 {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%; 
    height: 50vh;
    left: 0;
    z-index: 2; 
    transition: width 1s ease; 
    background-color: #FAF7F0;
}

.project-image-p1 {
    background-image: url('../images/bencladding.png');
}

.project-image-p2 {
    background-image: url('../images/greenviro.png');
}

.project-image-p3 {
    background-image: url('../images/palbites.png');
}

.project-content {
    margin-top: 25px;
    width: 50%;
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.project-content h1 {
    color: #FAF7F0;
    font-size: 50px;
    letter-spacing: 2px;
    font-weight: 400;
}

.project-content p {
    color: #FAF7F0;
    line-height: 30px;
    letter-spacing: 1px;
    font-weight: 100;
    font-size: 15px;
    margin-bottom: 20px;
}

.project-content a{
    width: 100px !important;
    background-color: #FAF7F0;
    color: #191919;
    padding: 12px 20px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    font-size: 13px;
}

.project-content h6 {
    color: #FAF7F0;
    position: absolute;
    bottom: 40px;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 100;
}

.project-content h2 {
    position: absolute;
    bottom: -37px;
    right: 0;
    font-size: 100px;
    padding: 0;
    margin: 0;
    color: #FAF7F0;
    opacity: 50%;
    font-weight: 400;
}

.swiper-slide-active .project-image-p1,
.swiper-slide-active .project-image-p2,
.swiper-slide-active .project-image-p3 {
    width: 100%; 
    z-index: 1; 
}

.swiper-slide-active .project-content {
    opacity: 1; 
}

.swiper-navigation {
    display: flex;
    position: absolute;
    bottom: 0;
    gap: 5px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;
}

.swiper-button-prev,
.swiper-button-next {
    position: static !important;
    color: #000 !important;
    font-size: 25px !important;
    cursor: pointer;
    background-color: white;
    padding: 0;
    margin: 0;
    width: 2rem !important;
    height: 50% !important;
}

@media only screen and (max-width: 1629px){
    .projects {
        margin: 0 100px;
        margin-top: 100px;
        margin-bottom: 100px;
        overflow-x: hidden;
        padding: 100px 0;
    }
}

@media only screen and (max-width: 1200px){
    .projects {
        margin: 0 50px;
        margin-top: 100px;
        margin-bottom: 100px;
        overflow-x: hidden;
        padding: 100px 0;
    }
}

@media only screen and (max-width: 800px){
    .projects {
        margin: 0 20px;
        margin-top: -50px;
        margin-bottom: 100px;
        overflow-x: hidden;
        padding: 100px 0;
    }

    .project-content {
        margin-top: 10px;
        width: 100%;
        position: relative;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.8s ease;
    }

    .project-h1 {
        color: #FAF7F0;
        font-size: 50px;
        letter-spacing: 3px;
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 500px){
    .projects {
        margin: 0 20px;
        margin-top: 100px;
        margin-bottom: 200px;
        overflow-x: hidden;
        overflow-y: hidden;
        padding: 0;
    }

    .project-content {
        margin-top: 10px;
        width: 100%;
        position: relative;
        z-index: 1;
        opacity: 0;
        transition: opacity 3s ease;
    }

    .project-content h1 {
        font-size: 30px;
    }
    
    .project-content p {
        font-size: 12px;
    }
    
    .project-content h6 {
        font-size: 10px;
    }
}






















/* Contact */
.contact{
    margin: 0 200px;
    margin-top: 200px;
    margin-bottom: 100px;
}

.contact h1{
    font-size: 80px;
    color: #FAF7F0;
    letter-spacing: 3px;
}

.contact p{
    color: #FAF7F0;
    font-weight: 100;
    line-height: 30px;
    letter-spacing: 1px;
    font-size: 15px;
    margin-bottom: 10px;
}

.connect{
    display: flex;
    gap: 25px;
    align-items: center;
}

.connect a{
    text-decoration: none;
    color: #191919;
    padding: 10px 15px;
    background-color: #FAF7F0;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.connect h2{
    font-size: 15px;
    color: #FAF7F0;
    letter-spacing: 1px;
    font-weight: 400;
}

@media only screen and (max-width: 1629px){
    .contact{
        margin: 0 100px;
        margin-top: 100px;
        margin-bottom: 100px;
    }
}

@media only screen and (max-width: 1200px){
    .contact{
        margin: 0 50px;
        margin-top: 100px;
        margin-bottom: 100px;
    }
}

@media only screen and (max-width: 800px){
    .contact{
        margin: 0 20px;
        margin-top: -50px;
        margin-bottom: 100px;
    }

    .contact h1{
        font-size: 50px;
    }

    .connect{
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .connect a{
        font-size: 12px;
    }

    .connect h2{
        font-size: 10px;
    }
}

@media only screen and (max-width: 500px){
    .contact{
        margin: 0 20px;
        margin-top: 200px;
        margin-bottom: 200px;
    }

    .contact h1{
        font-size: 50px;
    }

    .connect{
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .connect a{
        font-size: 12px;
    }

    .connect h2{
        font-size: 10px;
    }
}























/* Footer */
.footer{
    margin: 0 200px;
    margin-top: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 0.1px solid rgba(243, 243, 243, 0.5);
    margin-bottom: 10px;
}

.footer h1{
    margin-top: 10px;
    font-size: 15px;
    color: #FAF7F0;
    letter-spacing: 1px;
    font-weight: 100;
}

.footer-icons{
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-icons a{
    text-decoration: none;
    color: #FAF7F0;
    font-size: 20px;
}

@media only screen and (max-width: 1629px){
    .footer{
        margin: 0 100px;
        margin-top: 200px;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 1200px){
    .footer{
        margin: 0 50px;
        margin-top: 200px;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 800px){
    .footer{
        margin: 0 20px;
        margin-top: 100px;
        margin-bottom: 10px;
    }

    .footer h1{
        margin-top: 10px;
        font-size: 10px;
    }

    .footer-icons{
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }
    
    .footer-icons a{
        text-decoration: none;
        color: #FAF7F0;
        font-size: 15px;
    }
}

@media only screen and (max-width: 500px){
    .footer{
        margin: 0 20px;
        margin-top: 100px;
        margin-bottom: 10px;
    }

    .footer h1{
        margin-top: 10px;
        font-size: 10px;
    }

    .footer-icons{
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }
    
    .footer-icons a{
        text-decoration: none;
        color: #FAF7F0;
        font-size: 15px;
    }
}










