*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}
body{
    overflow-x: hidden;
    background-color: black;
}
.main-width{
    width: 1280px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0px 20px;
}
.hero{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.9),rgba(0,0,0,0.9)), url(../img/backgound4.jpeg);
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: rgba(0, 0, 0);
}
header{
    padding: 40px 0 30px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}
.logo img{
    height: 85px; 
    width: 85px; 
    /* 55px */
    background: transparent;
    /* border: 2px solid #7a2ecc;
    color: #7a2ecc;
    border-radius: 50%; */
    /* filter: saturate(0); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}
nav .hamb{
    width: 35px;
    height: 24px;
    right: 3%;
    top: 60px;
    z-index: 5;
    background: transparent;
    position: absolute;
    cursor: pointer;
    display: none;
}
nav .hamb span{
    display: block;
    background: white;
    width: 100%;
    height: 3px;
    transition: .3s;
    transition-property: transform,opacity;
}
nav .hamb span:nth-child(2){
    margin: 7px 0px;
}
nav .nav-list {
    list-style: none;
}
nav .nav-list li{
    display: inline-block;
}
nav .nav-list li a{
    display: inline-block;
    color: #eee;
    margin-left: 55px;
    font-size: 15px;
    font-weight: 600;
}
nav .nav-list li:not(:last-child) a:hover{
    color:#7a2ecc;
    transition: .4s;
}
nav .nav-list li.btn a{
    display: inline-block;
    background: transparent;
    border: 2px solid #7a2ecc;
    padding: 9px 28px;
    border-radius: 30px;
    line-height: 1.3;
    color: #7a2ecc;
    font-weight: 500;
}
nav .nav-list li.btn:hover a{
    background: #7a2ecc;
    color: white;
    border: 2px solid transparent;
    transition: .4s;
}
.container{
    padding-top: 190px;
}
.container .hero-text{
    margin-bottom: 40px;
}
.container .hero-text h1{
    color:white;
    font-size: 47px;
    font-weight: 900;
    line-height: 1.2;
    margin: 20px 0px 20px;
}
span{
    color:#7a2ecc;
}
.container .hero-text h3{
    color: #eee;
    font-weight: 400;
    font-size: 17px;
}
.container .hero-text p{
    width: 440px;
    max-width: 100%;
    color: #eee;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 30px;
}
.social a{
    width: 37px;
    height: 37px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #eee;
    cursor: pointer;
    margin-right: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 35px;
}
.social a:hover{
    transform: scale(1.1);
    background: #7a2ecc;
    transition: .4s;
}
.container .hero-text button{
    color: #eee;
    background: #7a2ecc;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 8px 30px;
    border: 2px solid #7a2ecc;
    border-radius: 30px;
    cursor: pointer;
}
.container .hero-text button:hover{
    background: transparent;
    border: 2px solid #7a2ecc;
    color: #7a2ecc;
    transition: .4s;
}
.bottom{
    margin-top: 100px;
    padding-bottom: 40px;
}
.bottom p{
    color: #eee;
    letter-spacing: 2px;
    font-size: 15px;
}
.more-about-me-btn a {
    color: white;
  }

@media screen and (max-width: 930px){
    /* nav ul {
        list-style: none;
        display: flex;
        justify-content: space-around;
        padding: 10px;
        background-color: #333;
      }
      
      nav ul li a {
        text-decoration: none;
        color: #fff;
        font-weight: bold;
      } */
    /* body {
        overflow: hidden; 
    }
    .hero{
        background-color: black;
    }
    nav .hamb{
        display: initial;
    }
    .click{
        top: 46px;
    }
    .click span{
        position: absolute;
        margin-top: 12px;
    }
    .click span:first-child{
        transform: rotate(-40deg);
    }
    .click span:nth-child(2){
        opacity: 0;
        margin: 0;
    }
    .click span:last-child{
        transform: rotate(40deg);
        top: 0;
    }
    nav .nav-list{
        position: absolute;
        top: 90px;
        right: -65%;
        bottom: 0;
        width: 60%;
        height: 50%;
        background: black;
        z-index: 2;
        padding: 6% 9%;
        transition: .3s right;
        border-radius: 10px;
        transition: .3s transform, .3s opacity; 
    }
    nav .nav-list li{
        display: block;
    }
    nav .nav-list li a{
        display: block;
        text-align: center;
        font-size: 18px;
        font-weight: 400;
        margin-left: 0;
        margin-bottom: 40px;
    }
    nav .nav-list li.btn a{
        position: absolute;
        bottom: 0%;
        right: 20%;
        left: 20%;
        padding: 7px 15px;
        font-size: 14px;
    }
    nav .nav-list.open{
        right: 0;
        transform: translateX(0%);
    } */
     /* Add this CSS for the mobile navigation */
     nav .nav-list {
        position: fixed; /* Change to fixed position for mobile navigation */
        top: 5%; /* Position it at the top */
        right: -100%; /* Initially hide it off the screen */
        bottom: 0;
        width: 70%; /* Adjust the width as needed */
        height: 70%;
        background: rgb(0, 0, 0);
        z-index: 2;
        padding: 6% 9%;
        transition: .3s right;
        border-radius: 15px; /* Remove border-radius for mobile navigation */
    }

    nav .nav-list.open {
        right: 0; /* Slide it in from the right when open */
    }

    /* Add this CSS for the hamburger icon */
    nav .hamb {
        display: initial;
        position: absolute; /* Position it absolutely */
        top: 8%; /* Adjust the top position as needed */
        right: 20px; /* Adjust the right position as needed */
    }

    .click span {
        position: absolute;
        margin-top: 0;
    }

    .click span:first-child {
        transform: rotate(-45deg); /* Adjust rotation for first line */
        top: 7px; /* Adjust the top position */
    }

    .click span:nth-child(2) {
        opacity: 0;
        margin: 0;
    }

    .click span:last-child {
        transform: rotate(45deg); /* Adjust rotation for last line */
        top: 7px; /* Adjust the top position */
    }

    nav .nav-list li{
        display: block;
    }
    nav .nav-list li a{
        display: block;
        text-align: center;
        font-size: 18px;
        font-weight: 400;
        margin-left: 0;
        margin-bottom: 40px;
    }
    nav .nav-list li.btn a{
        position: absolute;
        bottom: 0%;
        right: 20%;
        left: 20%;
        padding: 7px 15px;
        font-size: 14px;
    }
}