html {
    scroll-behavior: smooth;
}

body {
    background: url("./piqsels.com-id-zvaew.jpg");
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: aliceblue;
    font-size: 1rem;
    margin: 0;
    overflow-x: hidden;
}



nav {
    z-index: 10;
    height: 4rem;
    top: 1rem;
    min-width: 20%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    align-items: center;

    width: 80%;
    margin: 0 auto;
    position: sticky;

    background: rgba(21, 34, 3, 0.218);
    backdrop-filter: blur(5px);

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;


    .profile {
        display: flex;
        position: absolute;
        justify-content: start;
        left: 1rem;
        gap: 0.75rem;
        align-items: center;
    }

    .touch {
        display: flex;
        position: absolute;
        justify-content: end;
        right: 1.5rem;
    }

    .touch button {
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        padding: 0.5rem 0.9rem;
        border-radius: 9999px;
        font-size: 0.9rem;

        border: solid transparent 0.05px;
        min-height: 2.75rem;
        width: auto;

    }



    .profile img {
        height: 3rem;
        width: 3rem;
        border-radius: 50%;
        border: solid gray 1%;
    }

    .profile span {
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
    }

    .navlinks {
        position: relative;
        display: flex;
        gap: 2.5rem;
        justify-content: space-evenly;
        text-align: center;
        font-weight: 600;

    }



    .navlinks a {
        font-weight: 600;
        transition: color 0.2s ease;
    }

    .navlinks a:hover {
        color: #0000;
        background: linear-gradient(90deg, #354138 0%, #354721 100%);
        -webkit-background-clip: text;
        background-clip: text;
        transform: scale(1.05);
    }




}



a {
    text-decoration: none;
    color: inherit;
}



section {
    min-height: 100vh;
    width: 100%;

    padding-top: 12vh;
    position: relative;
    font-size: 2rem;
    font-family: "Roboto Slab", serif;
}



section .title {
    font-weight: 800;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

section .description {
    color: #c5c5c5;
    background-clip: text;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    max-width: 50%;

}

.description a {
    color: #3b82f6;
    text-decoration: none;
}

.description a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

section>div {
    margin-left: 10%;
    margin-right: 10%;
}



.stacks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.stacks span {
    display: flex;
    text-align: center;
    justify-content: center;
    gap: 5px;
    padding: 0.55rem 0.8rem;
    color: #dbe5d5;
    background: rgba(21, 34, 3, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 0.8rem;

    svg {
        width: 1rem;
        height: 1rem;


    }
}

.hero {
    top: 15vh;
    max-width: 100%;

    .title {
        font-size: 3rem;
        font-weight: 600;
        font-family: "Roboto Slab", serif;
    }

    .title span {
        color: #0000;
        display: inline;
        background: linear-gradient(90deg, #354138 0%, #354721 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }

    .description {
        margin-top: 2rem;
        font-size: 1rem;
        max-width: 50%;
    }
}


.social {
    font-size: 1rem;
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    grid-template-columns: repeat(4, 2.75rem);
}


.circular {
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    padding: 0.35rem;

    background: rgba(21, 34, 3, 0.218);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50%;
}


.circular svg {
    display: flex;
    height: 1.25rem;
    width: 1.25rem;
    color: rgb(144, 143, 143);
}

.circular:hover svg {

    color: rgb(215, 215, 215);
}

.circular:hover {
    border: 1px solid rgb(250, 250, 250);

}


.cards {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, 1fr);

    .card {
        position: relative;
        width: 100%;
        min-height: 23rem;
        margin-top: 50px;
        display: flex;
        background: rgba(21, 34, 3, 0.218);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 30px;
        flex-direction: column;
        align-items: center;
        padding: 1rem 1rem 1.25rem;
        text-align: center;
        box-sizing: border-box;

        .title {
            font-family:'Courier New', Courier, monospace;
            font-weight: normal;
            font-size: 2rem;
        }

        .description {
            margin-top: 10px;
            font-family: sans-serif;
            font-weight: normal;
            max-width: 100%;
            padding: 5px;
        }

        .stacks {
            margin-top: 0.2rem;
            justify-content: center;
        }
    }
}

.card-separator {
    width: 82%;
    height: 1px;
    margin: 0.75rem auto;
    background: rgba(255, 255, 255, 0.2);
}

.repos {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 2rem auto 0;
    padding: 0.7rem 1rem;
    color: #dbe5d5;
    background: rgba(21, 34, 3, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 0.9rem;
}

.repos:hover {
    background: rgba(21, 34, 3, 0.6);
    border-color: #dbe5d5;
}

@media screen and (min-width: 601px) and (max-width: 700px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);

    }

    .navlinks {
        display: none;
    }

}




@media screen and (max-width: 600px) {

    nav {
        width: calc(100% - 2rem);
        max-width: none;
    }

    .navlinks,
    .touch {
        display: none;
    }

    .profile {
        gap: 0.65rem;
    }

    .profile span {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    section>div {
        margin-left: 1.25rem;
        margin-right: 1.25rem;
    }

    section .description {
        margin-top: 8px;
        max-width: 100%;
    }

    .hero {
        top: 8rem;
        max-width: none;
    }

    .hero .title {
        font-size: 2.5rem;
        line-height: 1.05;
    }

    .hero .title span {
        color: #0000;
        display: inline;
        background: linear-gradient(90deg, #243929 0%, #384b22 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }

    .hero .description {
        font-size: 1rem;
        line-height: 1.65;
        max-width: 100%;
    }

    .social {
        grid-template-columns: repeat(4, 2.75rem);
        gap: 0.75rem;
    }

    nav .navlinks {
        display: none;
    }



    .cards {
        grid-template-columns: 1fr;

        .card {
            width: 100%;
            min-height: 0;
        }
    }

}