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

html{
    scroll-behavior:smooth;
    box-sizing: border-box;
}


@font-face {
    font-family: Vishalji;
    src: url('../fonts/Mona-Sans.ttf');
}

@property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
:root{
    --easing: cubic-bezier(0.86, 0, 0.07, 1);
    --gradient-brand: radial-gradient(at 60% 40%, rgba(0, 0, 0, 0.95) 0px, rgba(0, 0, 0, 0.85) 50%), radial-gradient(at 50% 80%, rgba(0, 0, 255, 0.5) 0px, transparent 50%), radial-gradient(at 70% 30%, rgba(0, 51, 102, 0.6) 0px, transparent 50%), radial-gradient(at 20% 60%, rgba(0, 0, 102, 0.5) 0px, transparent 50%), radial-gradient(at 80% 10%, rgba(0, 102, 204, 0.4) 0px, transparent 50%), radial-gradient(at 40% 50%, rgba(0, 153, 255, 0.4) 0px, transparent 50%), radial-gradient(at 60% 20%, rgba(0, 76, 153, 0.5) 0px, transparent 50%);
    --background-light: #ffffff;
    --background-dark: #161211;
    --text-light: #000000;
    --text-dark: #ffffff;

}

body.light-mode{
    background-color: #ffffff; /* Light background */
    color: #000000; /* Dark text */
    transition: background-color 0.3s ease, color 0.3s ease;
    background-image: url("https://vishal2376.github.io/assets/images/hero-bg-light.webp");
    background-size:cover;
    background-attachment: fixed;
    overflow-x: hidden;
    cursor: url('../images/mouse.png'),auto;
}

body.light-mode .hero {
    background-color: rgba(255, 255, 255, 0.8); /* Light hero section */
}

body.light-mode .nav-link {
    color: #000000; /* Dark text for navigation links */
}

body.light-mode .footer {
    background-color: #f0f0f0; /* Light footer background */
    color: #000000; /* Dark footer text */
}

body.light-mode .footer-social i {
    background-color: #000000; /* Dark icons */
    color: #ffffff; /* Light icon text */
}

body.light-mode .hero .resume{
    background-color: #000000; /* Dark buttons */
    color: #ffffff; /* Light button text */
}

body.light-mode .hero button:hover {
    background-color: #333333; /* Slightly lighter hover effect */
}

body {
    background-image: url("../images/hero-bg.webp");
    background-size:cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden; 
    cursor: rotate(30deg);
    cursor:url('../images/cursor.png'),auto;
    
}

.container{
    cursor: url('../images/cursor.png'),auto;
}

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #ff9800;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    z-index: 9999;
    background-color: #ff9900b4;
}




.buttons{
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 20vh 15vh;
}

.buttons .nav-link {
    background-color: transparent;
    border: none;
    color: white;
    font-family: Vishalji;
    font-size: 55px;
    font-weight: 900;
    margin: 15px 30px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: block;
}

body.light-mode .buttons .nav-link {
    color: white;
}

.buttons .nav-link:hover {
    cursor: pointer;
    /* color: #ff5e99; */
    transform: translateX(10px);
}

/* Remove the old button styles */
.buttons button {
    display: none;
}

#off-nav {
    position: fixed;
    top: 0;
    left: -120%; /* Change from -250px to -100% */
    width: 100%; /* Set specific width */
    height: 100vh;
    background: #111;
    color: white;
    background-color: #ff5e99;
    background-image: var(--gradient-brand);
    z-index: 1000;
    transition: 450ms var(--easing);
    padding: 20px;
    
}

#off-nav.active {
    left: 0;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    
}

#overlay.active {
    display: block;
    opacity: 1;
}

.container .close{
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px 100px;  
}

.container a{
    text-decoration: none;
    color: white;
}

.offcanvas{
    position: sticky;
    top: 5%;
}

.close button{
    background-color: #161211;
    border: 1px solid #353130;
    border-radius: 30px;
    color: white;
    font-size: 21px;
    font-weight: 1000;
    cursor: pointer;
    padding: 8px 40px;
    
}

.close button:hover{
    cursor: pointer;
}

#menu{
    position: fixed;
    top: 20px;
    left: 85%;
    z-index: 998; /* Lower than nav and overlay */
    color: white;
    cursor: pointer;
    background-color: #161211;
    border: 1px solid #353130;
    border-radius: 30px;
    font-size: 21px;
    font-weight: 900;
    padding: 8px 40px;
}
/*Main info section */

.hero{
    height: 230vh;
    margin-bottom: -110px;
    background-image: linear-gradient(#0000008b, #000000e6);
    width: 100%;
}

body.light-mode .hero{
    background-image: none;
}

.container1{
    padding: 15vh 0;
}

.images{
    width: 100vw;
    height: 110vh;
    overflow: hidden;
    position: relative;
}

.images img{
    object-fit: cover;
    width: 100vw;
    height: 110vh;
}

.info{
    margin: 0px 0px 0px 80px;
}
.info h1{
    font-size: 50px;
    font-family: Vishalji;
    font-weight: 700;
    color: white;
    margin: 20px 0px;
    font-stretch: 125%;
    
}
 
body.light-mode .info h1{
    color: var(--text-light);
}

.info p{
    font-size: 25px;
    font-family: Vishalji;
    font-weight: 400;
    color: gray;
    margin: 20px 0px;
}

.work-sec button{
    font-size: 20px;
    font-family: Vishalji;
    font-weight: 700;
    padding: 20px 60px;
    border-radius: 10px;
    
}

.work-sec button a{
    text-decoration: none;
    color: white;
}

.resume{
    background-color: #ffffff;
    color: black;
    margin-right: 20px;
    border: 0px solid transparent;
    
}

.work{
    background-color: transparent;
    border: 1px solid rgb(77, 75, 75);
    color: white;
    cursor: pointer;
}


.work:hover{
    border: 1px solid white;
    transition: all 0.5s ease;
}

.resume:hover{
    position: relative;
    cursor: pointer;
    
}
body.light-mode .work a{
    color: black;
}

body.light-mode .work:hover a{
    color: white;
}



.social{
    margin: 40px 0px;
}

.social i{
    font-size: 20px;
    color: black;
    margin: 0px 20px;
    cursor: pointer;
    background-color: white;
    border-radius: 50%;
    padding: 10px;
    
}


.projects{
    background-color: black;
    border-top-left-radius: 20vh;
    border-top-right-radius: 20vh;
}

body.light-mode .projects {
    background-color: var(--background-light);
    box-shadow: 0 10px 30px black;
}

body.light-mode .projects h1 {
    color: var(--text-light);
}
body.light-mode .projects h2 {
    color: var(--text-light);                                   
}

.body.light-mode.project button {
    color: var(--text-light);
    background-color: var(--background-light);
}

 .container2 > div{
    height: 100vh;
}

.projects h1{
    font-size: 50px;
    font-family: Vishalji;
    font-weight: 700;
    color: white;
    padding: 100px 0px;
    text-align: center;
}

.project{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.project-image{
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    width: max-content;
    height: max-content;
    
}


.projects img{
    z-index: 997;
    position: relative;
    transition: all 1s var(--easing);
    object-fit: cover;
}

.projects h2{
    font-size: 30px;
    font-family: Vishalji;
    font-weight: 700;
    color: white;
    padding: 20px 80px;
    
}

.projects p{
    font-size: 20px;
    font-family: Vishalji;
    font-weight: 400;
    color: gray;
    padding: 0px 80px;
}

.project img:hover{
    transform: scale(1.05);
    
}

.project button{
    text-decoration: none;
    border: none;
    color: white;
    background-color: transparent;
    font-size: 20px;
    font-family: Vishalji;
    font-weight: 700;
    padding: 20px 80px;
}


.projects a{
    text-decoration: none;
    color: white;
}
body.light-mode .projects a{
    color: black;
}

.projects .contact{
    height: 100vh;
    margin: 80px 0px 80px 0px;
}

.contact-info{
     
    display: flex;
    justify-content: stretch;
    margin: 0px 80px;
    border: 3px solid #161211;
    border-radius: 20px;
}
.available{
    width: 30%;
    height: 100%;
    padding: 40px 20px;
}

/* SKills section */

.my-skills h2{
    font-size: 50px;
    font-family: Vishalji;
    font-weight: 700;
    color: white;
    padding: 20px 0px 40px 0px;
    text-align: center;
}



.my-skills img{
    height: 135px;
    width: auto;
    margin: 50px 60px;
    transform: rotate(-20deg);   
    transition: transform 0.5s ease;
    z-index: 996;
    overflow: hidden;
}

body.light-mode .my-skills img{
    box-shadow: 2px 10px 10px black;
    border-radius: 32px;
}

.my-skills img:hover{
    transform: rotate(-360deg);
    border: 2px solid lightblue;
    border-radius: 33%;
    overflow: hidden;
    z-index: 996;
}


.img-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 0px;
    flex-wrap: wrap;

}




.form{
    width: 70%;
    height: 100%;
    background-color: #161211;
    border-bottom-right-radius: 15px;
    border-top-right-radius:15px;
    
}



.contact h1{
    font-size: 50px;
    font-family: Vishalji;
    font-weight: 700;
    color: white;
    padding: 10px 0px 40px 0px;
    text-align: center;
}

.available button{
    background-color: black;
    font-size: 16px;
    font-family: Vishalji;
    font-weight: 700;
    color: white;
    
    border: 1px solid rgb(46, 43, 43);
    border-radius: 20px;
    padding: 10px 30px;
}

.indicator{
    /* background-color: red; */
    
    position: relative;
    margin: 20px;
    z-index: 1;
}

.indicator::after,.indicator ::before{
    content: "";
    position: absolute;
    width: 66.5%;
    height: 100%;
    background-image: conic-gradient(from var(--angle), #ff4545, transparent, transparent, transparent, transparent );
    top: 50%;
    left: 33%;
    transform: translate(-50%,-50%);
    border-radius: 20px;
    z-index: -1;
    padding: 3px;
    animation: 3s spin linear infinite;
}
.card::before{
    filter: blur(1.5rem);
    opacity: 0.5;
  }
  @keyframes spin{
    from{
      --angle: 0deg;
    }
    to{
      --angle: 360deg;
    }
  }

.available p{
    color: grey;
    font-size: 20px;
    font-family: Vishalji;
    font-weight: 400;
    padding: 10px 20px;

}



.contact-info .form label{
    font-size: 20px;
    font-family: Vishalji;
    font-weight: 400;
    color: white;
    margin: 0px 40px;
}

form{
    padding: 20px 0px;
}
.contact-info .form input,textarea{
    font-size: 20px;
    font-family: Vishalji;
    font-weight: 400;
    color: white;
    margin: 10px 40px;
    padding: 20px 20px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #242120;
    width: 85%;
}
.contact-info .form input:focus,textarea:focus{
    outline: none;
    border-bottom: 1px solid white;
}

form button{
    background-color: white;
    color: black;
    padding: 16px 50px;
    font-size: 25px;
    font-family: Vishalji;
    font-weight: 700;
    margin: 10px 40px;
    border: 1px solid transparent;
    border-radius: 10px;
}

form button:hover{
    cursor: pointer;
}

hr{
    width: 100%;
    margin: 0px auto;
    border: 1px solid #161211;
}

.footer{
    background-color: black;
    height: 40vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.footer-social i{
    font-size: 20px;
    color: black;
    margin: 0px 20px;
    cursor: pointer;
    background-color: white;
    border-radius: 50%;
    padding: 10px;
}



.projects-links button:hover,.projects-links a:hover{
   padding-bottom: 10px;
   transition: padding-bottom 0.5s ease-out;
    transition: tranform 0.5s var(--easing);
}

.projects-links a{
    position: relative; 
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 10px;
  }
  
.projects-links a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: grey;
    transition: width 0.5s ease;
  }

  .projects-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    
    background-color: rgb(255, 255, 255);
    transition: width 0.5s ease;
  }
  
  .projects-links a:hover::after {
    width: 100%;
  }

  .theme {
    display: flex;
    gap: 10px;
    align-items: center;
  }


.theme-toggle{
    padding: 4px 20px;
    font-size: 1rem;
    border-radius: 30px;
    border: none;
    background-color: #D7AEFB;
    cursor: url('../images/cursor.png'),auto;
}

body.light-mode .theme-toggle{
    cursor:url('../images/mouse.png'),auto;
}


.theme-toggle .dark-light{
    height: 30px;
    width: 30px;
    /* border: 1px solid black; */
    border-radius: 50%;
    background-color:white;
    /* box-shadow: 0 0 10px black; */
    position: relative;
    right: -50%;
}


.theme h1{
    color: white;
    font-weight: 100;
    font-size: var(1rem,2vw,2rem);
    
}

body.light-mode .theme h1{
    color: black;
}







