* {
    box-sizing: border-box;
    margin:0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif ;

}

body {
    background: #101733;
}

.navbar{
    background: rgba(30, 39, 74, 0.5);
    backdrop-filter: blur(8px);
        /* optional—makes it look glassy */
    -webkit-backdrop-filter: blur(8px);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top:0;
    z-index:999;
}

.navbar__container{
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 auto;
    background: transparent;

}

.navbar__menu{
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item{
    height: 80px;

}

.navbar__links{
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;

}
.navbar__links:hover {
    color: #e988ff;
    transition: all 0.3s ease;

}

@media screen and (max-width:960px){
    /* this is what gets displayed below a certain screen width, add in later*/
    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
        background-color: rgba(30, 39, 74, 0.65);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .navbar__menu.active {
        background: rgba(30, 39, 74, 0.65);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }

    

    .navbar__toggle{
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 40px;
        height: 40px;

    }

    .navbar__item {
        width: 100%;
        background: transparent;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
        background: transparent;

    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);

    }

    .navbar__toggle .bar{
        pointer-events: none;
        height: 3px;
        width: 100%;
        background-color: white;
        transition: all 0.3s ease;
    }
   
}

/* About me css here*/

main {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.main__container{
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    width: 100%;
    padding: 0 2rem;
    align-items: center;
    gap: 1rem;

}
.main__content{
    max-width: 500px;
    justify-self: center;
    width: 480px;
}

.main__content h1{
    font-size: 6rem;
    background-color: #101733;
    background-image: linear-gradient(to top, #E988FF, #45cedd 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content h2{
    font-size: 4rem;
    background-color: #101733;
    background-image: linear-gradient(to top, red 0%, white 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;

}

.main__content p{
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #ededf5;
    justify-self: center;
}

.main__img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 360px;
}

.main__img img {
    transition: transform 0.15s ease;
    cursor: pointer;
}

.main__img img:hover {
    animation: wiggle 0.45s ease-in-out;
}

@keyframes wiggle {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(-3deg);
    }

    50% {
        transform: translateY(-14px) rotate(3deg);
    }

    75% {
        transform: translateY(-10px) rotate(-2deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.main__links{
    display: flex;
    gap: 20px;
    margin-top: 1.5rem;
    position: relative;
    top: 8px;
}

.main__links i {
    font-size: 50px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    color:#45CEDD;
}

.main__links i:hover {
    transform: translateY(-6px);
    color: #E988FF;  
}


/* For mobile */

@media screen and (max-width: 760px){
    .main__container{
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto;
        height: 90vh;

    }

    .main__content{
        text-align: center;
        margin-bottom: 4rem;
    }
    .main__content h1{
        font-size: 2.5rem;
        margin-top: 2rem;
    }
    .main__content h2{
        font-size: 3rem;
    }
    .main__content p{
        margin-top: 1rem;
        font-size: 1.5rem;
    }

    .main__image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    #main__img {
        display: block;
        margin: 0 auto;
        width: 70%;
        height: auto;
    }

    .main__links{
        margin-top: 20px;     
        display: flex;
        justify-content: center;
        gap: 20px;            
    }
}

@media screen and (max-width: 480px) {

    .main__content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .main__content h2 {
        font-size: 2rem;
    }

    .main__content p {
        margin-top: 2rem;
        font-size: 1.5rem;
    }
}

.ctf {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: rgba(30, 39, 74, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 12px;
}

.ctf h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background-image: linear-gradient(to right, #E988FF, #45CEDD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ctf__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.ctf__item {
    padding: 1rem 1.25rem;
    background: rgba(16, 23, 51, 0.8);
    border-left: 4px solid #45CEDD;
    border-radius: 6px;
    color: #ededf5;
    line-height: 1.6;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ctf__item strong {
    font-size: 1.1rem;
    color: white;
}

.ctf__item em {
    font-style: normal;
    color: #b8c1ff;
    font-size: 0.95rem;
}

.ctf__item:hover {
    transform: translateX(6px);
    border-left-color: #E988FF;
}