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

body{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    background-color: #f1f1f1;
    color: gray;
    min-height: 100vh;
    line-height: 1.5;
}

/*CONTAINER CLASS*/
.container{
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: visible;
}

/*HEADER*/
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    z-index: 999;
}

/*NAVIGATION (LINKS)*/
nav{
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 auto;
    justify-content: end;
    gap: 1.5rem;
    position: relative;
    bottom: 1rem;
    left: -1rem;
}

nav a {
    font-size: 1rem;
    letter-spacing: 0.04rem;
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

nav a:hover {
  color: rebeccapurple;
}



.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    right: 0;
    overflow-x: hidden;
}

.hamburger-icon {
    display: none !important; 
    font-size: 1.5rem;
    cursor: pointer;
    color: #808080FF;
}


.name {
    font-family:"Monsieur La Doulaise";
    font-size: 2.2rem;
    font-weight: 700;

    position: relative;
    left: 1rem;
    width: 80%;
    max-width: 7rem;
    height: 7rem;
    border-radius: 100px;

    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f1f1;
    line-height: 150;
}

.name::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -3px -3px -3px -3px;
    border-radius: 100px;
    background: linear-gradient(to right, #ab6dd1, #702ebd, #5d1ced, #3800bc);
    background-size: 200% 200%;
    animation: animationGradient 60s linear infinite;
    box-shadow: 0 0 15px #a00af6;
}

/* For Animation */
@keyframes animationGradient {
  to{
    background-position: 200%;
  }
}


@media (max-width: 1200px) {

    nav{
        display: none;
    }

    .hamburger-icon {
        display: block !important;
        font-size: 2rem;
    }

    .sidenav {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 1001;
        top: 0;
        right: 0;  /* Changed from left: 0 to right: 0 */
        background-color: #3609a6;
        overflow-x: hidden;
        padding-top: 60px;
        transition: 0.5s;
    }


    .sidenav a {
        padding: 15px 8px 15px 32px;
        text-decoration: none;
        font-size: 18px;
        color: #ccc;  /* Changed to match your theme */
        display: block;
        transition: 0.3s;
    }

    .sidenav a:hover {
        color: #ab6dd1;  /* Changed to match your theme */
    }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

    #main {
        padding: 20px;
    }
}
