@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    scroll-behavior: smooth;
}

:root { 
    --bg: #222831;
    --blue: #00FFF5;
}

* { 
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: var(--bg);
    color: white;
}

.container {
    width: 80%; 
    max-width: 1200px; 
    margin: 0 auto;
}

.header {
    width: 100%;
}

.scroll-container {
    height: 100vh; 
    overflow-y: auto; 
}

header {
    width: 100%;
    position: fixed;
}

header nav {
    position: sticky;
    top: 0;
    left:0;
    right:0;
    background: var();
    z-index: 1000; 
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 0 20px;
    height: 15vh;
    margin: 0; 
    
}

header h1 {
    font-size: 45px;
    color: var(--blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
}

header ul {
    
    gap: 1rem;
    list-style: none;
  
}

header a {
    display: block;
    color: white;
    text-decoration: none;
    border-radius: .2rem;
    padding: .5rem 1rem;
    transition: .2s ease-in;
    border-bottom: 2px solid var(--blue);
    overflow: hidden;
    position: relative;
    position: sticky;
}

header a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: .1rem;
    z-index: -1;
    transition: .2s ease-in;
    transform: translateX(-101%);
    background: var(--blue);
}

header a:hover::before {
    transform: translateX(0);
}

header a:hover {
    color: black;
}

#btn {
    all: unset;
    cursor: pointer;
    transition: .5s ease-out;
}

#btn:hover {
    transform: rotate(180deg);
    color: var(--blue);
}

.s-container {
    min-height: 90vh;
    width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR1nzGdpUtdu2pEX16sQmVhyBThlOvtnISkyA&usqp=CAU");
    background-size: cover;
    
}

img {
    width: 350px;
    border-radius: 50%;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 60%;
}

.heading {
    text-decoration: underline;
}

.subtitle {
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: .5rem;
}

.title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 3rem;
    margin-bottom: 1rem;
}

.title span {
    font-weight: 700;
}

.description {
    line-height: 1.5rem;
    margin-bottom: 2rem;
    color: #dfdfdf;
}

.buttons {
    display: flex;
    gap: 1rem;
}

.buttons button, .buttons a {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: black;
    padding: .8rem .1rem;
    outline: none; 
    border: none;
    border-radius: 10px;
    transition: .3s ease-out;
    cursor: pointer;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}


.scroller-controller {
    overflow: visible;
}

.buttons button:hover, .buttons a:hover {
    transform: scale(1.1);
}

.buttons a {
    text-decoration: none;
    background: var(--blue);
}

.buttons button:hover {
    background-color: var(--blue);
} 

#img-section {
    border: 1px solid #3498db;
    padding: 20px;
    border: none;
}

#I, #II {
    width: 6rem;
}

#three {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: linear-gradient(var(--bg)); 
    padding: 20px;
}

#linkedin, #github {
    background-color: var(--bg);
    padding: 10px;
    font-size: 0.8rem;
    border-radius: 5px;
}

#all {
    display: flex;
    justify-content: space-evenly;
}

#four, #five, #six {
    color: var(--blue);
    background-color: transparent; 
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    min-width: 200px; 
}

#four:hover, #five:hover, #six:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(186, 182, 182, 0.2);
}

.about_title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: underline;
}

.about_content {
    border: 1px solid white;
    width: 100%; 
    max-width: 600px; 
    margin: auto; 
    border: none;
    margin-top: 5px;
}

.btn-btn--download {
    padding: 16px 32px;
    font-size: 16px;
    color: var(--blue);
    bottom: 27px;
    left: calc(50% - 96px);
    z-index: 100;
    box-shadow: 0 6px 23px rgba(0, 0 , 0 , 0.45);
    animation: fade-up 0.5s 0.4s backwards;
}

.u-bolder::after {
    content: '\21D3';
    font-size: 1.5rem;
    position: absolute;
    padding-left: 10px;
    opacity: 0; 
    animation: down 1s linear infinite;
}

footer {
    background-color: var(--bg);
    color: white;
    padding: 2rem;
    text-align: center;
}

#contact {
    text-align: center;
    &:hover {
        text-decoration: underline ;

    }
}

footer p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--blue);
}

#about {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; 
}

.about_content {
    width: 100%; 
    max-width: 600px; 
}

#img-mahak {
    
    width: 100%; 
    max-width: 300px; 
    margin-top: 70px;
}

.header-project {
    text-align: center;
    font-size: 70px;
    text-decoration: underline dotted;
    margin: 2rem 0;
}

.project-card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto; 
}

.project-link {
    background-color: var(--bg);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 6px;
    transition: transform 0.3s ease;
    text-align: center;
    max-width: 300px; 
}

.project-link:hover {
    transform: translateY(-10px);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 15px;
}

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

.skill-card {
    background-color: var(--bg);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 6px;
    transition: transform 0.3s ease;
    margin: 10px;
    flex: 1; 
    min-width: 250px; 
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 15px;
}


/* Media Queries */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
    
header {
    width: 100%;
    position: relative;
}

header nav {
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 1000; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 15vh;
    margin: 0; 
}
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    header ul {
        flex-direction: column;
        gap: 2rem;
    }

    .container {
        width: 95%;
    }
    
    .s-container {
        flex-direction: column;
        text-align: center;
    }
    
    .content {
        max-width: 100%;
    }

    #about {
        flex-direction: column;
        align-items: center;
    }
    
    #img-mahak {
        margin: 0 auto;
        margin-top: 20px;
    }

    .skill-card {
        min-width: 200px; 
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    #navbar {
        display: none;
        flex-direction: column;
        gap: 1rem; /* Adjust gap as needed */
    }
    
    /* Navbar visible state */
    #navbar.show {
        display: flex;
    }
    
    /* Button style */
    #btn {
        cursor: pointer;
        background: none;
        border: none;
        font-size: 1.5rem; /* Adjust as needed */
    }
    
    .buttons button, .buttons a {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .skill-card {
        min-width: 150px; 
    }
}



@media only screen and (max-width: 1318px ) {
html {
    scroll-behavior: smooth;
}
:root { 
    --bg : #222831;
    --blue : #00FFF5;
}

* { 
    padding : 0;
    margin : 0;
    box-sizing : border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background : var(--bg);
    color : white;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 90%;
    margin: 0 auto;
}

header nav {
    height : 15vh;
    width : 80%;
    margin : 10px 10px;
    position: sticky;
    display : flex;
    justify-content: space-evenly;
    align-items: center;
}

header h1 {
    font-size : 45px;
    color : var(--blue);
    font-weight : 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    position: sticky;
}

header ul {
    display : flex ;
    gap : 5rem;
    list-style : none;
}

header a {
    display : block;
    color : white;
    text-decoration : none;
    border-radius : .2rem;
    padding : .5rem 1rem;
    transition : .2s ease-in;
    border-bottom: 2px solid var(--blue);
    overflow : hidden;
    position : relative;
}

header a::before {
    content : '';
    position : absolute;
    left : 0;
    top : 0;
    width : 100%;
    height : 100%;
    border-radius : .1rem;
    z-index : -1;
    transition: .2s ease-in;
    transform: translateX(-101%);
    background: var(--blue);
}

header a:hover::before {
    transform : translateX(0);
} 

header a:hover {
    color : black;
}

#btn {
    all : unset;
    cursor : pointer;
    transition : .5s ease-out;
}

#btn:hover {
    transform : rotate(180deg);
    color : var(--blue);
}

.s-container {
    min-height: 90vh;
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    background-image: url('https://e1.pxfuel.com/desktop-wallpaper/1020/131/desktop-wallpaper-developer-backgrounds-posted-by-ryan-johnson-front-end-developer.jpg');
    background-size: cover;
    background-repeat: no-repeat; 
}


img {
    width : 350px;
    border-radius : 50%;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width : 40%;
}

.heading {
    text-decoration: underline;
}

.subtitle {
    letter-spacing: 2px;
    font-weight : 600;
    margin-bottom : .5rem;
}

.title {
    font-size : 2.5rem;
    font-weight : 400;
    line-height : 3rem;
    margin-bottom : 1rem;
}

.title span {
    font-weight : 700;
}

.description {
    line-height : 1.5rem;
    margin-bottom: 2rem;
    color: #dfdfdf;
}

.buttons {
    display:flex;
    gap : 1rem;
}

.buttons button , .buttons a {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: black;
    padding : .8rem .1rem;
    outline: none; border: none;
    border-radius: 10px;
    transition: .3s ease-out;
    cursor: pointer;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4)
}

.buttons button:hover , .buttons a:hover {
    transform : scale(1.1)
}

.buttons a {
    text-decoration: none ;
    background: var(--blue);
}

.buttons button:hover {
    background-color: var(--blue);
} 

#img-section {
    border: 1px solid #3498db;
    padding: 20px;
    border : none;
}

#I, #II {
    width: 6rem;
}

#three {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: linear-gradient(var(--bg)); 
    padding: 20px;
}

#linkedin, #github {
    background-color: var(--bg);
    padding: 10px;
    font-size: 0.8rem;
    border-radius: 5px;
}

#all {
    display: flex;
    justify-content: space-evenly;
}

#four, #five, #six {
    color: var(--blue);
    background-color: transparent; 
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    padding: 20px;
    margin: 10px;
    border-radius: 10px; 
   

&:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(186, 182, 182, 0.2);
}
}

.about_title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: underline;
}

.about_content {
    border: 1px solid white;
    width:  600px;
    margin: left;
    border:none
}

.btn-btn--download {
    padding: 16px 32px;
    font-size: 16px;
    color: var(--blue);
    bottom: 27px;
    left: calc(50% - 96px);
    z-index: 100;
    box-shadow: 0 6px 23px rgba(0, 0 , 0 , 0.45);
    animation: fade-up 0.5s 0.4s backwards;
}

.u-bolder::after {
    content: '\21D3';
    font-size: 1.5rem;
    position: absolute;
    padding-left: 10px;
    opacity: 0; 
    animation: down 1s linear infinite;
}

footer {
    background-color: var(--bg);
    color: white;
    padding: 2rem;
    text-align: center;
}

footer p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--blue);
}

#about {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about_content {
    width: 50%;
}

#img-mahak {
    border: 1px solid black;
    width: 300px;
    
    margin-top: 50px;
    margin-right: 75px;
}

.header-project {
    text-align: center;
    font-size: 70px;
    text-decoration: underline dotted;
    margin: 2rem 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 25rem;
}

.project-link {
    background-color: var(--bg);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    width: 100%;
    max-width: 500px;
}

.project-link img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.project-link p {
    font-size: 1rem;
    line-height: 1.5rem;
    color: #dfdfdf;
}

.small-project-cards {
    display: flex; 
    flex-wrap: wrap; 
    gap: 1rem; 
    justify-content: center; 
}

.small-card {
    display: flex;
    flex-direction: row; /* Arrange items in a row */
    width: 250px; /* Set a fixed width */
    background-color: var(--bg);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    text-align: center;
    box-sizing: border-box;
    gap: 20
}

.small-card img {
    width: 210px;
    height: 150px; 
    border-radius: 10px;
    margin-right: 10px; 
}
&:hover{
    img{
        transform: scale(1.1)
    }
}


.small-card p {
    margin: 0; 
}


.swiper-container {
    width: 100%;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    width: 100%;
    display: flex;
    justify-content: center;
}

}


/* For screens larger than 850px */
@media only screen and (min-width: 851px) {
    html {
        scroll-behavior: smooth;
    }
    :root { 
        --bg : #222831;
        --blue : #00FFF5;
    }
    
    * { 
        padding : 0;
        margin : 0;
        box-sizing : border-box;
        font-family: "Poppins", sans-serif;
    }
    
    body {
        background : var(--bg);
        color : white;
        font-family: Arial, sans-serif;
    }
    
    .container {
        max-width: 70%;
        margin: 0 auto;
    }
    
    header nav {
        height : 15vh;
        width : 80%;
        margin : 10px 10px;
        position: sticky;
        display : flex;
        justify-content: space-evenly;
        align-items: center;
    }
    
    header h1 {
        font-size : 45px;
        color : var(--blue);
        font-weight : 800;
        text-transform: uppercase;
        letter-spacing: 5px;
        position: sticky;
    }
    
    header ul {
        display : flex ;
        gap : 5rem;
        list-style : none;
    }
    
    header a {
        display : block;
        color : white;
        text-decoration : none;
        border-radius : .2rem;
        padding : .5rem 1rem;
        transition : .2s ease-in;
        border-bottom: 2px solid var(--blue);
        overflow : hidden;
        position : relative;
    }
    
    header a::before {
        content : '';
        position : absolute;
        left : 0;
        top : 0;
        width : 100%;
        height : 100%;
        border-radius : .1rem;
        z-index : -1;
        transition: .2s ease-in;
        transform: translateX(-101%);
        background: var(--blue);
    }
    
    header a:hover::before {
        transform : translateX(0);
    } 
    
    header a:hover {
        color : black;
    }
    
    #btn {
        all : unset;
        cursor : pointer;
        transition : .5s ease-out;
    }
    
    #btn:hover {
        transform : rotate(180deg);
        color : var(--blue);
    }
    
    .s-container {
        min-height : 90vh;
        width : 90%;
        margin : auto;
        display: flex;
        justify-content: center;
        align-items: center ;
        gap : 5rem;
        background-image: url("https://e1.pxfuel.com/desktop-wallpaper/1020/131/desktop-wallpaper-developer-backgrounds-posted-by-ryan-johnson-front-end-developer.jpg");
        background-size: cover;
    }
    
    img {
        width : 350px;
        border-radius : 50%;
    }
    
    .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width : 40%;
    }
    
    .heading {
        text-decoration: underline;
    }
    
    .subtitle {
        letter-spacing: 2px;
        font-weight : 600;
        margin-bottom : .5rem;
    }
    
    .title {
        font-size : 2.5rem;
        font-weight : 400;
        line-height : 3rem;
        margin-bottom : 1rem;
    }
    
    .title span {
        font-weight : 700;
    }
    
    .description {
        line-height : 1.5rem;
        margin-bottom: 2rem;
        color: #dfdfdf;
    }
    
    .buttons {
        display:flex;
        gap : 1rem;
    }
    
    .buttons button , .buttons a {
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 2px;
        color: black;
        padding : .8rem .1rem;
        outline: none; border: none;
        border-radius: 10px;
        transition: .3s ease-out;
        cursor: pointer;
        box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4)
    }
    
    .buttons button:hover , .buttons a:hover {
        transform : scale(1.1)
    }
    
    .buttons a {
        text-decoration: none ;
        background: var(--blue);
    }
    
    .buttons button:hover {
        background-color: var(--blue);
    } 
    
    #img-section {
        border: 1px solid #3498db;
        padding: 20px;
        border : none;
    }
    
    #I, #II {
        width: 6rem;
    }
    
    #three {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        background: linear-gradient(var(--bg)); 
        padding: 20px;
    }
    
    #linkedin, #github {
        background-color: var(--bg);
        padding: 10px;
        font-size: 0.8rem;
        border-radius: 5px;
    }
    
    #all {
        display: flex;
        justify-content: space-evenly;
    }
    
    #four, #five, #six {
        color: var(--blue);
        background-color: transparent; 
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
        padding: 20px;
        margin: 10px;
        border-radius: 10px; 
       
    
    &:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 15px rgba(186, 182, 182, 0.2);
    }
    }
    
    .about_title {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: underline;
    }
    
    .about_content {
        border: 1px solid white;
        width:  600px;
        margin: left;
        border:none
    }
    
    .btn-btn--download {
        padding: 16px 32px;
        font-size: 16px;
        color: var(--blue);
        bottom: 27px;
        left: calc(50% - 96px);
        z-index: 100;
        box-shadow: 0 6px 23px rgba(0, 0 , 0 , 0.45);
        animation: fade-up 0.5s 0.4s backwards;
    }
    
    .u-bolder::after {
        content: '\21D3';
        font-size: 1.5rem;
        position: absolute;
        padding-left: 10px;
        opacity: 0; 
        animation: down 1s linear infinite;
    }
    
    footer {
        background-color: var(--bg);
        color: white;
        padding: 2rem;
        text-align: center;
    }
    
    footer p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .footer-links a {
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-links a:hover {
        color: var(--blue);
    }
    
    #about {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .about_content {
        width: 50%;
    }
    
    #img-mahak {
        border: 1px solid black;
        width: 300px;
        
        margin-top: 50px;
        margin-right: 75px;
    }
    
    .header-project {
        text-align: center;
        font-size: 70px;
        text-decoration: underline dotted;
        margin: 2rem 0;
    }
    
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .project-card {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 2rem 25rem;
    }
    
    .project-link {
        background-color: var(--bg);
        color: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
        width: 100%;
        max-width: 500px;
    }
    
    .project-link img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .project-link p {
        font-size: 1rem;
        line-height: 1.5rem;
        color: #dfdfdf;
    }
    
    .small-project-cards {
        display: flex; 
        flex-wrap: wrap; 
        gap: 1rem; 
        justify-content: center; 
    }
    
    .small-card {
        display: flex;
        flex-direction: row; /* Arrange items in a row */
        width: 250px; /* Set a fixed width */
        background-color: var(--bg);
        color: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
        text-align: center;
        box-sizing: border-box;
        gap: 20
    }
    
    .small-card img {
        width: 210px;
        height: 150px; 
        border-radius: 10px;
        margin-right: 10px; 
    }
    &:hover{
        img{
            transform: scale(1.1)
        }
    }
    
    
    .small-card p {
        margin: 0; 
    }
    
    
    .swiper-container {
        width: 100%;
    }
    
    .swiper-wrapper {
        display: flex;
    }
    
    .swiper-slide {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
}

/* For screens between 550px and 850px */
@media only screen and (max-width: 850px) {
    html {
        scroll-behavior: smooth;
    }
    :root { 
        --bg : #222831;
        --blue : #00FFF5;
    }
    
    * { 
        padding : 0;
        margin : 0;
        box-sizing : border-box;
        font-family: "Poppins", sans-serif;
    }
    
    body {
        background : var(--bg);
        color : white;
        font-family: Arial, sans-serif;
    }
    
    .container {
        max-width: 70%;
        margin: 0 auto;
    }
    
    header nav {
        height : 15vh;
        width : 80%;
        margin : 10px 10px;
        position: sticky;
        display : flex;
        justify-content: space-evenly;
        align-items: center;
    }
    
    header h1 {
        font-size : 45px;
        color : var(--blue);
        font-weight : 800;
        text-transform: uppercase;
        letter-spacing: 5px;
        position: sticky;
    }
    
    header ul {
        display : flex ;
        gap : 5rem;
        list-style : none;
    }
    
    header a {
        display : block;
        color : white;
        text-decoration : none;
        border-radius : .2rem;
        padding : .5rem 1rem;
        transition : .2s ease-in;
        border-bottom: 2px solid var(--blue);
        overflow : hidden;
        position : relative;
    }

    #navbar {
        display: none;
        flex-direction: column;
        gap: 1rem; /* Adjust gap as needed */
    }
    
    /* Navbar visible state */
    #navbar.show {
        display: flex;
    }
    
    /* Button style */
    #btn {
        cursor: pointer;
        background: none;
        border: none;
        font-size: 1.5rem; /* Adjust as needed */
    }
    
    
    header a::before {
        content : '';
        position : absolute;
        left : 0;
        top : 0;
        width : 100%;
        height : 100%;
        border-radius : .1rem;
        z-index : -1;
        transition: .2s ease-in;
        transform: translateX(-101%);
        background: var(--blue);
    }
    
    header a:hover::before {
        transform : translateX(0);
    } 
    
    header a:hover {
        color : black;
    }
    
    #btn {
        all : unset;
        cursor : pointer;
        transition : .5s ease-out;
    }
    
    #btn:hover {
        transform : rotate(180deg);
        color : var(--blue);
    }
    
    .s-container {
        min-height : 90vh;
        width : 90%;
        margin : auto;
        display: flex;
        justify-content: center;
        align-items: center ;
        gap : 5rem;
        background-image: url("https://e1.pxfuel.com/desktop-wallpaper/1020/131/desktop-wallpaper-developer-backgrounds-posted-by-ryan-johnson-front-end-developer.jpg");
        background-size: cover;
    }
    
    img {
        width : 350px;
        border-radius : 50%;
    }
    
    .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width : 40%;
    }
    
    .heading {
        text-decoration: underline;
    }
    
    .subtitle {
        letter-spacing: 2px;
        font-weight : 600;
        margin-bottom : .5rem;
    }
    
    .title {
        font-size : 2.5rem;
        font-weight : 400;
        line-height : 3rem;
        margin-bottom : 1rem;
    }
    
    .title span {
        font-weight : 700;
    }
    
    .description {
        line-height : 1.5rem;
        margin-bottom: 2rem;
        color: #dfdfdf;
    }
    
    .buttons {
        display:flex;
        gap : 1rem;
    }
    
    .buttons button , .buttons a {
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 2px;
        color: black;
        padding : .8rem .1rem;
        outline: none; border: none;
        border-radius: 10px;
        transition: .3s ease-out;
        cursor: pointer;
        box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4)
    }
    
    .buttons button:hover , .buttons a:hover {
        transform : scale(1.1)
    }
    
    .buttons a {
        text-decoration: none ;
        background: var(--blue);
    }
    
    .buttons button:hover {
        background-color: var(--blue);
    } 
    
    #img-section {
        border: 1px solid #3498db;
        padding: 20px;
        border : none;
    }
    
    #I, #II {
        width: 6rem;
    }
    
    #three {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        background: linear-gradient(var(--bg)); 
        padding: 20px;
    }
    
    #linkedin, #github {
        background-color: var(--bg);
        padding: 10px;
        font-size: 0.8rem;
        border-radius: 5px;
    }
    
    #all {
        display: flex;
        justify-content: space-evenly;
    }
    
    #four, #five, #six {
        color: var(--blue);
        background-color: transparent; 
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
        padding: 20px;
        margin: 10px;
        border-radius: 10px; 
       
    
    &:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 15px rgba(186, 182, 182, 0.2);
    }
    }
    
    .about_title {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: underline;
    }
    
    .about_content {
        border: 1px solid white;
        width:  600px;
        margin: left;
        border:none
    }
    
    .btn-btn--download {
        padding: 16px 32px;
        font-size: 16px;
        color: var(--blue);
        bottom: 27px;
        left: calc(50% - 96px);
        z-index: 100;
        box-shadow: 0 6px 23px rgba(0, 0 , 0 , 0.45);
        animation: fade-up 0.5s 0.4s backwards;
    }
    
    .u-bolder::after {
        content: '\21D3';
        font-size: 1.5rem;
        position: absolute;
        padding-left: 10px;
        opacity: 0; 
        animation: down 1s linear infinite;
    }
    
    footer {
        background-color: var(--bg);
        color: white;
        padding: 2rem;
        text-align: center;
    }
    
    footer p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .footer-links a {
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-links a:hover {
        color: var(--blue);
    }
    
    #about {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .about_content {
        width: 50%;
    }
    
    #img-mahak {
        border: 1px solid black;
        width: 300px;
        
        margin-top: 50px;
        margin-right: 75px;
    }
    
    .header-project {
        text-align: center;
        font-size: 70px;
        text-decoration: underline dotted;
        margin: 2rem 0;
    }
    
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .project-card {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 2rem 25rem;
    }
    
    .project-link {
        background-color: var(--bg);
        color: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
        width: 100%;
        max-width: 500px;
    }
    
    .project-link img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .project-link p {
        font-size: 1rem;
        line-height: 1.5rem;
        color: #dfdfdf;
    }
    
    .small-project-cards {
        display: flex; 
        flex-wrap: wrap; 
        gap: 1rem; 
        justify-content: center; 
    }
    
    .small-card {
        display: flex;
        flex-direction: row; /* Arrange items in a row */
        width: 250px; /* Set a fixed width */
        background-color: var(--bg);
        color: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
        text-align: center;
        box-sizing: border-box;
        gap: 20
    }
    
    .small-card img {
        width: 210px;
        height: 150px; 
        border-radius: 10px;
        margin-right: 10px; 
    }
    &:hover{
        img{
            transform: scale(1.1)
        }
    }
    
    
    .small-card p {
        margin: 0; 
    }
    
    
    .swiper-container {
        width: 100%;
    }
    
    .swiper-wrapper {
        display: flex;
    }
    
    .swiper-slide {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}
@media only screen and (min-width: 660px) and (max-width: 944px) {
    html {
        scroll-behavior: smooth;
    }
    :root { 
        --bg : #222831;
        --blue : #00FFF5;
    }
    
    * { 
        padding : 0;
        margin : 0;
        box-sizing : border-box;
        font-family: "Poppins", sans-serif;
    }
    
    body {
        background : var(--bg);
        color : white;
        font-family: Arial, sans-serif;
    }
    
    .container {
        max-width: 70%;
        margin: 0 auto;
    }
    
    header nav {
        height : 15vh;
        width : 80%;
        margin : 10px 10px;
        position: sticky;
        display : flex;
        justify-content: space-evenly;
        align-items: center;
    }
    
    header h1 {
        font-size : 45px;
        color : var(--blue);
        font-weight : 800;
        text-transform: uppercase;
        letter-spacing: 5px;
        position: sticky;
    }
    
    header ul {
        display : flex ;
        gap : 5rem;
        list-style : none;
    }
    
    header a {
        display : block;
        color : white;
        text-decoration : none;
        border-radius : .2rem;
        padding : .5rem 1rem;
        transition : .2s ease-in;
        border-bottom: 2px solid var(--blue);
        overflow : hidden;
        position : relative;
    }

    #navbar {
        display: none;
        flex-direction: column;
        gap: 1rem; /* Adjust gap as needed */
    }
    
    /* Navbar visible state */
    #navbar.show {
        display: flex;
    }
    
    /* Button style */
    #btn {
        cursor: pointer;
        background: none;
        border: none;
        font-size: 1.5rem; /* Adjust as needed */
    }
    
    
    header a::before {
        content : '';
        position : absolute;
        left : 0;
        top : 0;
        width : 100%;
        height : 100%;
        border-radius : .1rem;
        z-index : -1;
        transition: .2s ease-in;
        transform: translateX(-101%);
        background: var(--blue);
    }
    
    header a:hover::before {
        transform : translateX(0);
    } 
    
    header a:hover {
        color : black;
    }
    
    #btn {
        all : unset;
        cursor : pointer;
        transition : .5s ease-out;
    }
    
    #btn:hover {
        transform : rotate(180deg);
        color : var(--blue);
    }
    
    .s-container {
        min-height : 90vh;
        width : 90%;
        margin : auto;
        display: flex;
        justify-content: center;
        align-items: center ;
        gap : 5rem;
        background-image: url("https://e1.pxfuel.com/desktop-wallpaper/1020/131/desktop-wallpaper-developer-backgrounds-posted-by-ryan-johnson-front-end-developer.jpg");
        background-size: cover;
    }
    
    img {
        width : 350px;
        border-radius : 50%;
    }
    
    .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width : 40%;
    }
    
    .heading {
        text-decoration: underline;
    }
    
    .subtitle {
        letter-spacing: 2px;
        font-weight : 600;
        margin-bottom : .5rem;
    }
    
    .title {
        font-size : 2.5rem;
        font-weight : 400;
        line-height : 3rem;
        margin-bottom : 1rem;
    }
    
    .title span {
        font-weight : 700;
    }
    
    .description {
        line-height : 1.5rem;
        margin-bottom: 2rem;
        color: #dfdfdf;
    }
    
    .buttons {
        display:flex;
        gap : 1rem;
    }
    
    .buttons button , .buttons a {
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 2px;
        color: black;
        padding : .8rem .1rem;
        outline: none; border: none;
        border-radius: 10px;
        transition: .3s ease-out;
        cursor: pointer;
        box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4)
    }
    
    .buttons button:hover , .buttons a:hover {
        transform : scale(1.1)
    }
    
    .buttons a {
        text-decoration: none ;
        background: var(--blue);
    }
    
    .buttons button:hover {
        background-color: var(--blue);
    } 
    
    #img-section {
        border: 1px solid #3498db;
        padding: 20px;
        border : none;
    }
    
    #I, #II {
        width: 6rem;
    }
    
    #three {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        background: linear-gradient(var(--bg)); 
        padding: 20px;
    }
    
    #linkedin, #github {
        background-color: var(--bg);
        padding: 10px;
        font-size: 0.8rem;
        border-radius: 5px;
    }
    
    #all {
        display: flex;
        justify-content: space-evenly;
    }
    
    #four, #five, #six {
        color: var(--blue);
        background-color: transparent; 
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
        padding: 20px;
        margin: 10px;
        border-radius: 10px; 
       
    
    &:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 15px rgba(186, 182, 182, 0.2);
    }
    }
    
    .about_title {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: underline;
    }
    
    .about_content {
        border: 1px solid white;
        width:  600px;
        margin: left;
        border:none
    }
    
    .btn-btn--download {
        padding: 16px 32px;
        font-size: 16px;
        color: var(--blue);
        bottom: 27px;
        left: calc(50% - 96px);
        z-index: 100;
        box-shadow: 0 6px 23px rgba(0, 0 , 0 , 0.45);
        animation: fade-up 0.5s 0.4s backwards;
    }
    
    .u-bolder::after {
        content: '\21D3';
        font-size: 1.5rem;
        position: absolute;
        padding-left: 10px;
        opacity: 0; 
        animation: down 1s linear infinite;
    }
    
    footer {
        background-color: var(--bg);
        color: white;
        padding: 2rem;
        text-align: center;
    }
    
    footer p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .footer-links a {
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-links a:hover {
        color: var(--blue);
    }
    
    #about {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .about_content {
        width: 50%;
    }
    
    #img-mahak {
        border: 1px solid black;
        width: 300px;
        
        margin-top: 50px;
        margin-right: 75px;
    }
    
    .header-project {
        text-align: center;
        font-size: 70px;
        text-decoration: underline dotted;
        margin: 2rem 0;
    }
    
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .project-card {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 2rem 25rem;
    }
    
    .project-link {
        background-color: var(--bg);
        color: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
        width: 100%;
        max-width: 500px;
    }
    
    .project-link img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .project-link p {
        font-size: 1rem;
        line-height: 1.5rem;
        color: #dfdfdf;
    }
    
    .small-project-cards {
        display: flex; 
        flex-wrap: wrap; 
        gap: 1rem; 
        justify-content: center; 
    }
    
    .small-card {
        display: flex;
        flex-direction: row; /* Arrange items in a row */
        width: 250px; /* Set a fixed width */
        background-color: var(--bg);
        color: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
        text-align: center;
        box-sizing: border-box;
        gap: 20
    }
    
    .small-card img {
        width: 210px;
        height: 150px; 
        border-radius: 10px;
        margin-right: 10px; 
    }
    &:hover{
        img{
            transform: scale(1.1)
        }
    }
    
    
    .small-card p {
        margin: 0; 
    }
    
    
    .swiper-container {
        width: 100%;
    }
    
    .swiper-wrapper {
        display: flex;
    }
    
    .swiper-slide {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* For screens 550px and smaller */
@media only screen and (max-width: 648px) and (min-width: 375px) {
    .content {
        width: 100%;
    }

    img {
        width: 300px;
        display: block;
        margin: 0 auto;
    }

    header ul {
        width: 80%;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
header ul {
    display: flex;
    gap: 5rem;
    list-style: none;
}


/* Default navbar state (hidden) */
#navbar {
    display: none;
    flex-direction: column;
    gap: 1rem; /* Adjust gap as needed */
}

/* Navbar visible state */
#navbar.show {
    display: flex;
}

/* Button style */
#btn {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem; /* Adjust as needed */
}


header a {
    display: block;
    color: white;
    text-decoration: none;
    border-radius: .2rem;
    padding: .5rem 1rem;
    transition: .2s ease-in;
    border-bottom: 2px solid var(--blue);
    overflow: hidden;
    position: relative;
}

header a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: .1rem;
    z-index: -1;
    transition: .2s ease-in;
    transform: translateX(-101%);
    background: var(--blue);
}

header a:hover::before {
    transform: translateX(0);
} 

header a:hover {
    color: black;
}

#btn {
    all: unset;
    cursor: pointer;
    transition: .5s ease-out;
}

#btn:hover {
    transform: rotate(180deg);
    color: var(--blue);
}


    .small-project-cards {
        grid-template-columns: 1fr;
    }

    .header-skill {
        flex-direction: column;
    }

    .skill-card {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .swiper-container {
        margin: auto;
        width: 100%;
        display: flex;
        align-content: center;
        padding: 0 10px;
    }

    #about {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about_content {
        width: 100%;
        overflow: hidden;
        text-align: center;
        border: none;
        margin-bottom: 10px;
    }

    #all {
        display: flex;
        flex-direction: column;
    }

    #projects {
        font-size: 55px;
    }

    .contact {
        font-size: 25px;
    }

    .swiper-container {
        margin: auto;
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0 10px;
    }

    .swiper-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}
