@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600&display=swap');

:root{
    --yellow:#f9ca24;
}

*{
    font-family: 'Nunito', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none; border:none;
    transition: all .2s linear;
    color: white;
    list-style: none;
    text-decoration: none;
}

*::selection{
    background:var(--yellow);
    color:#333;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width:1.4rem;
}

html::-webkit-scrollbar-track{
    background:#222;
}

html::-webkit-scrollbar-thumb{
    background:var(--yellow);
}

body{
    background:#111;
    overflow-x: hidden;
    padding-left: 35rem;
    scroll-behavior: smooth;           
}

section{
    min-height: 55vh;
    padding:1rem;
}

.btn{
    padding:.7rem 3rem;
    background:#333;
    color:#fff;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 2rem;
}

.btn i{
    padding:0 .5rem;
    font-size: 1.8rem;
}

.btn:hover{
    background:var(--yellow);
}

.heading{
    text-align: center;
    margin:0 6rem;
    font-size: 4rem;
    padding:1rem;
    border-bottom: .1rem solid rgb(65, 65, 65);
    /* color:#fff; */
}

.heading span{
    color:var(--yellow);
}

header{
    position: fixed;
    top:0; left:0;
    z-index: 1000;
    height:100%;
    width:35rem;
    background:#1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
    border-right: 3px solid black;
}


header .user img{
    height:17rem;
    width:17rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border:.7rem solid var(--yellow);
}

header .user .name{
    font-size: 3.5rem;
    /* color:#fff; */
}

header .user .post{
    font-size: 2rem;
    /* color:#eee; */
}

header .navbar{
    width:95%;
}
.iconimg{
    font-size: 3rem;
    margin-left: 1rem;
}

header .navbar ul{
    list-style: none;
    padding:1rem 3rem;
    width: 100%;
}
header .navbar ul li{
    width: 100%;
}


header .navbar ul li a {
    display: block;
    padding: 1rem;
    margin: 1.5rem 0;
    background: #333;
    color: #fff;
    font-size: 2rem;
    /*border-radius: 5rem; */
    text-decoration: none;
}

header .navbar ul li a:hover{
    background:var(--yellow);
}

#menu{
    position: fixed;
    top:2rem; right:2rem;
    background:#333;
    color:#fff;
    cursor: pointer;
    font-size: 2.5rem;
    padding:1rem 1.5rem;
    z-index: 1000;
    display: none;
}
.user img:hover{
    transform: scale(1.5);

}

.home{
    display: flex;
    justify-content: center;
    flex-flow: column;
    padding:0 15rem;
}
.home .theme{
    display: flex;
    align-items: center;
    justify-content: flex-end;
   
  
}
.home .theme .themechanger{
    

    padding: 1.2rem 1.3rem;
    /* border-radius: 10px; */
    
   
  
}
.form-switch .form-check-input {
    width: 6em;
    margin-left: -2.5em;
    
    background-position: left center;
    border-radius: 2em;
    transition: background-position .15s ease-in-out;
}
.form-check-input{
    height: 3rem;
    color: white;
}
.dd{
    font-size: 1.6rem;
}


.home h3{
    font-size: 2.5rem;
    color: #616161;
    /* color:#fff; */
}

.home h1{
    font-size:5rem;
    color: #616161;
    /* color:#fff; */
}

.home h1 span{
    color:var(--yellow);
}

.home p{
    font-size:2rem;
    /* color:#eee; */
    padding: 1rem 0;
}

.home .box-container {
    display: flex;
    flex-direction: column; /* Stack items in a column */
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.home .box-container .box {
    height: 20rem;
    width: 26rem;
    border-radius: 1rem;
    margin: 2rem;
    overflow: hidden;
    cursor: pointer;
}

.home .box-container .box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.home .box-container .box:hover img {
    transform: scale(1.2);
}

.about .row{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:1rem 0;
}

.about .row .info{
    flex:1 1 48rem;
    padding:2rem 1rem;
    padding-left: 6rem;
}

.about .row .info h3{
    font-size: 2rem;
    color:var(--yellow);
    padding:1rem 0;
    font-weight: normal;
}

.about .row .info h3 span{
    /* color:#eee; */
    padding:0 .5rem;
}

.about .row .counter{
    flex:1 1 48rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.about .row .counter .box{
    width:24rem;
    background:#222;
    text-align: center;
    padding: 2rem;
    margin:2rem;
}

.about .row .counter .box span{
    font-size: 4rem;
    color:var(--yellow);
}

.about .row .counter .box h3{
    font-size: 2rem;
    /* color:#fff; */
}

.education .box-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding:1rem 0;
    padding-left: 3rem;
}

.education .box-container .box{
    width:27rem;
    margin:4rem 1rem;
    padding-left: 4rem;
    border-left: .2rem solid #fff;
    position: relative;
}

.education .box-container .box span{
    font-size: 1.3rem;
    background:#222;
    /* color:#fff; */
    border-radius: 5rem;
    padding:.5rem 2.5rem;
}

.education .box-container .box h3{
    font-size: 2rem;
    /* color:#fff; */
    padding-top: 1.5rem;
}

.education .box-container .box p{
    font-size: 1.4rem;
    /* color:#eee; */
    padding: 1rem 0;
}

.education .box-container .box i{
    position: absolute;
    top:-1.5rem; left:-2.5rem;
    height:5rem;
    width: 5rem;
    border-radius: 50%;
    line-height: 5rem;
    text-align: center;
    font-size: 2rem;
    /* color:#fff; */
    background:var(--yellow);
}

.portfolio .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:2rem 0;
}

.portfolio .box-container .box{
    height: 20rem;
    width:26rem;
    border-radius: 1rem;
    margin:2rem;
    overflow: hidden;
    cursor: pointer;
}

.portfolio .box-container .box img{
    height:100%;
    width:100%;
    object-fit: cover;
}

.portfolio .box-container .box:hover img{
    transform: scale(1.2);
}

.project .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.project .box-container .box {
    height: 20rem;
    width: 26rem;
    margin: 2rem;
    cursor: pointer;
    text-align: center;
}

.project .box-container .box img {
    height: 18rem;
    width: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.project .box-container .box:hover img {
    transform: scale(1.1);
}

.project .box h3, .project .box p {
    margin: 0.5rem 0;
    color: #fff;
}

.project .box p {
    font-size: 1rem;
    color: #ccc;
}

.contributions .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.contributions .box-container .box {
    height: 20rem;
    width: 26rem;
    margin: 2rem;
    cursor: pointer;
    text-align: center;
}

.contributions .box-container .box img {
    height: 18rem;
    width: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.contributions .box-container .box:hover img {
    transform: scale(1.1);
}

.contributions .box h3, .project .box p {
    margin: 0.5rem 0;
    color: #fff;
}

.contributions .box p {
    font-size: 1rem;
    color: #ccc;
}

.popup, .overlay {
    display: none; /* Hide by default */
}

/* Popup window styling */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333; /* Dark background for the popup */
    color: #f1f1f1; /* Light text color for contrast */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
    max-width: 500px;  /* Set maximum width */
    min-width: 300px;  /* Set minimum width */
    width: 80%;        /* Set relative width */
    height: auto;      /* Adjust height automatically based on content */
    text-align: center;
}

.popup h3 {
    margin: 0;
    font-size: 24px;
    color: #ffcc00;
}

.popup h4 {
    margin: 0;
    font-size: 15px;
    color: #ffcc00;
}

.popup p {
    font-size: 16px;
    margin: 10px 0;
}

.popup button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}

.popup button:hover {
    background-color: #0056b3;
}

/* Overlay background */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#popupExtraInfo {
    margin-top: 20px;
    padding: 10px;
    background-color: #707070;
    border-radius: 5px;
}

.hireme .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.hireme .box-container .box {
    height: auto;
    width: 80%;
    border-radius: 1rem;
    margin: 2rem;
    overflow: hidden;
    cursor: pointer;
}

.hireme a {
    color: #28a745; /* Green links in the 'hireme' section */
}

.hireme a:hover {
    color: #218838;
}

.contact .row{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.contact .row .content{
    flex:1 1 30rem;
    padding:4rem;
    padding-bottom: 0;
}

.contact .row form{
    flex:1 1 45rem;
    padding:2rem;
    margin:2rem;
    margin-bottom: 4rem;
}

.contact .row form .box{
    padding:1.5rem;
    margin:1rem 0;
    background:#3333;
    /* color:#fff; */
    text-transform: none;
    font-size: 1.7rem;
    width:100%;
}

.contact .row form .message{
    height: 15rem;
    resize: none;
}

.contact .row .content .title{
    text-transform: uppercase;
    /* color:#fff; */
    font-size: 3rem;
    padding-bottom: 2rem;
}

.contact .row .content .info h3{
    display: flex;
    align-items: center;
    font-size: 2rem;
    /* color:#eee; */
    padding:1rem 0;
    font-weight: normal;
}

.contact .row .content .info h3 i{
    padding-right: 1rem;
    color:var(--yellow);
}

.top{
    position: fixed;
    bottom:7.5rem; right: 2rem;
    z-index: 100;
    display: none;
}
.down img{
    height: 3.2rem;
    width: 3.4rem;
}
.info a{
    font-size: 2.6rem;
    
    /* color: white; */
    border-radius: 22px;
    
    padding: 0 10px;
    
    
}
.info a:hover{
    text-decoration: underline;
    color: var(--yellow);;
    
}
#messages{
    color: red;
}
#gut{
    color:white;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 12px;
    font-family: 'Nunito', sans-serif;
}
#btnn {
    color: black;
    background-color: white;
    padding: 8px 10px;
    border-radius: 10px;
    transition: all .61 ease-in-out .2s;
}
#btnn:hover {
    color: black;
    font-size: 1.5rem;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-decoration: underline;
    background-color:var(--yellow);

}
#round{
    border-radius: 50%;
}


/* HIRE ME */

.fw-pricing {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    margin: 0 auto;
}

.fw-package-wrap {
    background-color: #2a2a2d;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    width: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.fw-package-wrap:hover {
    transform: scale(1.05);
}

.fw-heading-row span {
    font-size: 20px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #fff;
}

.fw-pricing-row span {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
}

.fw-button-row a {
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 5px;
    color: #fff;
    padding: 10px 30px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.fw-button-row a:hover {
    border-color: #ffee00;
    color: #fff;
}

/* Gold & Platinum Button Custom Colors */
.highlight-col .fw-button-row a {
    border-color: #ffee00;
}

.highlight-col .fw-button-row a:hover {
    background-color: #272727;
    color: #ffee00;
}

/* Text and Margin for Features */
.fw-default-row {
    font-size: 16px;
    margin-top: 10px;
    color: #b0b0b0;
    position: relative;
    padding-left: 20px;
    text-align: left;
}

.fw-default-row::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b1b1b1;
    font-weight: bold;
}

/* Space between Pricing Cards */
.fw-pricing .fw-package-wrap:not(:last-child) {
    margin-right: 20px;
}

.email-color {
    color: #ffcc00; /* Change this to your desired color */
    font-weight: bold; /* Optional: make it bold */
}

.head-color {
    color: rgb(0, 140, 255); /* Change this to your desired color */
    font-weight: bold; /* Optional: make it bold */
}

/* media queries  */

@media (max-width:1200px){

    html{
        font-size: 55%;
    }

    .home{
        padding:1rem 4rem;
    }

}

@media (max-width:991px){

   header{
       left:-120%;
   }

   #menu{
       display: block;
   }

   header.toggle{
    left:0%;
   }

   body{
       padding:0;
   }

}

@media (max-width:768px){

    html{
        font-size: 50%;
    }
 
 }

@media (max-width:416px){

    header{
        width: 100vw;
    }

    .heading{
        margin:0 3rem;
    }

    .about .row .counter .box{
        width: 100%;
    }
 
    .education .box-container .box{
        width:100%;
    }

    .portfolio .box-container .box{
        width:100%;
    }

    .project .box-container .box{
        width:100%;
    }
    .contact .row form{
        margin:3rem 0;
    }
    .down img{
        size: 50px;
    }
    #gut{
        font-size: 1.4rem;
        margin: 6px;
       background-size: cover;
       width: 100%;
       height: 100%;
    }
}

@media (min-width: 768px) {
    .hireme .box-container .box {
        width: 30%; /* Display in a row when the screen is wider */
    }
}

/* Add media query for smaller screens */
@media (max-width: 767px) {
    .hireme .box-container {
        flex-direction: column;
    }
    .hireme .box-container .box {
        width: 80%;
    }
}

/* Style for the modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); 
}

/* Modal content */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
.caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* Add Animation */
.modal-content, .caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}