@font-face {
    font-family: sail;
    src: url(/fonts/Sail-Regular.otf);
}
@font-face {
    font-family: code;
    src: url(/fonts/FiraCode-Regular.ttf);
}
html{
    scroll-behavior: smooth;
    overflow-x: hidden;
    
}
body{
    font-size: 100%;
    overflow:hidden ;
    overflow-y: hidden;
    overflow-y: hidden;
    cursor: none;
    background-color: #b8e0d2;
    color: #a9746e;

}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: code;
    word-spacing: normal;
    color: #a9746e;



}
/* ::-webkit-scrollbar{
    width: 10px;
}

::-webkit-scrollbar-thumb{
    background-color: #000;
    border-radius: 100px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
} */

nav {
    /* border-bottom:1px solid rgb(255, 255, 255) ; */
    position: fixed;
    top: 0px;
    overflow: hidden;
    padding: 1rem 2.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 10;
    color: #000;
    background: #fff;
    /* backdrop-filter: blur(40px); */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.5 ease;
}

.logo {
    /* color: #fff; */
    color: #a9746e;
    font-size: 3.2rem;
    text-decoration: none;
    font-family: Sail;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links li a:hover {
    color: #a0d8ef; /* Accent color */
  }

.nav-links a {
    color: #a9746e;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-size: 22px;
    cursor: none;
}
.nav-links li a.active {
    color:#a0d8ef;
}
.nav-links >li > button{
    width: 80px;
    padding: 10px;
    border: none;
    margin-top: -10px;
    background-color: #a0d8ef;
    color: #a9746e;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    &:hover {
        background-color: #88cbe3;
      }
}
 .hamburger {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    border: 2px solid #a9746e;
    border-radius: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background:#a9746e;
    margin: 5px 0;
    transition: all 0.3s ease;
}
.dot {
  position: fixed;
  background-color: #000;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.1s ease-out;
  z-index: 9999;
}  
section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    /* font-weight: bold; */
    color: white;
}
section h1 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 30px;
  }

#home { 
    /* background: #ff5733;  */
    background-color: #b8e0d2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#home > img{
    height: 350px;
    border: 4px solid #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin-top: 60px;

}
#home > h1{
    margin-top: 10px;
}
#home h1,
#home h3 {
  color: #a9746e;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
}

 
#about { 
    /* background-color: #fff;
    color: #fff; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#about > .about_section{
    height: 80vh;
}
#about > .about_section > p{
    font-size: 1.5rem;
    color: #000;
    text-align: justify;
    padding-left: 100px;
    padding-right: 100px;
}
#about > .about_section >h1{
    color: #000;
    margin-top: 35px;
}
#skills{
    display: flex;
    flex-direction: column;
}
#skills > h1{
    margin-top: 80px;
    margin-bottom: 10px;
}
#skills > .list {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(4,200px);
    gap: 10px;
}
.list >.box {
    height: 200px;
    width: 200px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid black;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    &:hover{
        border: 3px solid black;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4),
                    0 0 30px rgba(0, 0, 0, 0.2),
                    inset 0 0 10px rgba(0, 0, 0, 0.2);
    }

}

.box img {
    width: 80px;
    height: auto;
}
#projects {
    /* background-color: #fff; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    padding: 10px;
}

#projects > #pro_h1{
    margin-top:100px;
}
/* #projects >.pro >{
    display: grid;
    grid-template-columns: repeat(auto-fix,minmax(100%,1fr));
    justify-content: center;
} */
#projects >.pro{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* color: #000; */
}
#projects >.pro > .pro-box {
    width: 100%;
    height: 190px;
    font-size: 1.2rem;
    padding: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap ;
    background: #ffffffcc;
    backdrop-filter: blur(20px);
    border-radius: 10px;
    backdrop-filter: blur(40px);
    color: #000;
}
#projects >.pro > .pro-box > h2 {
    color: #a0d8ef;
}
#projects > p {
    text-align: center;
}


#contact > form{
    height: 500px;
    width: 60%;
    border-radius: 20px;
    display: flex;
    margin-top: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: none;
    padding: 40px;
}
#contact > form > label{
    display: block;
    text-align: center;
    justify-content: start;
    align-items: start;
    cursor: none;

}
#contact > form > input{
    padding: 10px;
    width: 80%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #a9746e;
    background: none;
    font-size: 16px;
    cursor: none;   
    margin-bottom: 30px;
    color: #a9746e;
    &:focus{
        border: none;
        outline: none;
        border-bottom: 2px solid #a9746e;
    }
}
#contact > form > button{
    padding: 10px;
    width: 80%;
    border-radius: 30px;
    background-color: #a0d8ef;
    color: #a9746e;
    border: 2px solid red;
    cursor: none;   
    padding: 10px;
    border: none;
    transition: 0.3s ease;
    &:hover,&:focus{
        background-color: #88cbe3;
        box-shadow: 0 0 10px rgba(160, 216, 239, 0.7);
    }
}
#contact > form > .footer > a {
    text-decoration: none;
    cursor: none;   

}
#contact > form > .footer{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
}
#contact > form > .footer > button{
    margin-left: 50%;
}
#contact > form > .footer > a > img{
    height: 40px;
    width: 40px;
    margin-right: 10px;
    margin-top: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.footer a:hover img {
    transform: scale(1.1);
    filter: brightness(1.3);
  }
input:-webkit-input-placeholder {
    font-size: 16px;
    color: #a9746e;
}

input::-webkit-input-placeholder {
    transition: 0.2s ease-in;
    color: #a9746e;
}
@media (min-width: 600px) {
   .list { grid-template-columns: repeat(1, 1fr); }
  }
  
@media (min-width: 481px) and (max-width: 767px) {
    nav {
        width: 100%;
    }
    /* #cursorDot {
        display: none;
      } */

    .hamburger {
        display: block;
        z-index: 9999;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -101%;
        height: 100vh;
        width: 101%;
        background: #ffffffcc;
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 100px 20px;
        transition: right 0.5s ease;
        border-left: 1px solid black;
        z-index: 99;
    }

    .nav-links.active {
        right: 0;
    }
    #about > .about_section >h1{
        color: #fff;
        margin-top: 0px;
    }
    #about > .about_section > p{
        font-size: 1.3rem;
        text-align: justify;
        padding: 20px;
    }
    #skills > h1{
    margin-top: 100px;
    margin-bottom: -10px;
    }

   #skills > .list {
    padding: 20px; 
    grid-template-columns: repeat(2, 1fr); 
    }
    .list >.box {
        height: 200px;
        width: 200px;
        display:flex;
        gap: 10px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border: 2px solid black;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .box img {
        width: 40px;
        height: auto;
    }
    #projects > #pro_h1{
        margin-top:-5px;
        margin-bottom: 20px;
    }

    #projects >.pro > .pro-box {
        width: 100%;
        height: 230px;
        font-size: 1rem;
        padding-left: 5px;
        margin-bottom: 20px;
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: justify;
        flex-wrap: wrap ;
        border: none;
        background: #ffffffcc;
        backdrop-filter: blur(20px); 
        border-radius: 10px;
        backdrop-filter: blur(40px);
    }
    #contact > form{
        height: 500px;
        width: 100%;
        border-radius: 20px;
        display: flex;
        margin-top: 100px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 0px;
    }

    #contact > form > input button{
        width: 100%;
    }

  
  }

  @media (min-width: 320px) and (max-width: 480px) {
    nav {
        width: 100%;
    }
    /* #cursorDot {
        display: none;
      } */

    .hamburger {
        display: block;
        z-index: 9999;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -101%;
        height: 100vh;
        width: 101%;
        background: #ffffffcc;
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 100px 20px;
        transition: right 0.5s ease;
        border-left: 1px solid black;
        z-index: 99;
    }

    .nav-links.active {
        right: 0;
    }
    #about > .about_section >h1{
        color: #fff;
        margin-top: 5px;
        margin-bottom:-5px ;
    }
    #about > .about_section > p{
        font-size: 1rem;
        text-align: justify;
        padding: 20px;
    }
    #skills > h1{
    margin-top: 80px;
    margin-bottom: -10px;
    }

   #skills > .list {
    padding: 20px; 
    grid-template-columns: repeat(2, 1fr); 
    }
    .list >.box {
        height: 150px;
        width: 180px;
        display:flex;
        gap: 10px;
        flex-direction: column;
        justify-content: center;
     	align-items: center;
        border: 2px solid black;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .box img {
        width: 40px;
        height: auto;
    }
    #projects > #pro_h1{
        margin-top:-5px;
        margin-bottom: 20px;
    }
    #projects >.pro > .pro-box {
        width: 100%;
        height: 250px;
        font-size: 1rem;
        padding-left: 5px;
        margin-bottom: 20px;
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        flex-wrap: wrap ;
        border: none;
        background: #ffffffcc;
        backdrop-filter: blur(20px); 
        border-radius: 10px;
        backdrop-filter: blur(40px);
    }
    #contact > form{
        height: 500px;
        width: 100%;
        border-radius: 20px;
        display: flex;
        margin-top: 100px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 0px;
    }

    #contact > form > input button{
        width: 100%;
    }
  }
  