@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideleft {
    from {
        opacity: 0;
        scale: 0%;
        transform: translatex(150px);
    }

    to {
        opacity: 1;
        scale: 100%;
        transform: translateY(0);
    }
}

@keyframes appear {
    from {
        opacity: 0;
        transform: scaleX(0);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}


body {
    background: radial-gradient(circle, #064e3b, #022c22, #000000);
    font-family: ui-sans-serif, system-ui, sans-serif;
    color: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    font-weight: bold;
    color: white;
    line-height: 2em;
    font-style: italic;
    animation: reveal 1.5s ease forwards;
}




h2 {
    font-weight: 700;
    margin: 0;
    text-align: center;
    font-size: 2rem;
    animation: slideInFromBottom 2s ease-in;
}

.logo {
    display: flex;
    font-weight: 900;
    font-style: italic;
    color: white;
    justify-content: flex-start;
    padding-left: 1rem;
    padding-right: 5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-size: 1.5rem;
}

header {
    padding: 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(5, 10, 8, 0.8);
    backdrop-filter: blur(10px);
}

.content>p {
    font-size: 1.25rem;
    line-height: 1.75rem;
    text-align: justify;
    text-justify: inter-character;
    max-width: 90%;
    margin: 1rem auto;
}

a {
    text-decoration: none;
    color: white;
    padding: 20px;
}





@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


nav {
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
}


.group {
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

ul {
    font-weight: 500;
    list-style: none;
    gap: 15px;
    text-decoration: none;
    text-transform: uppercase;
    justify-content: space-around;
    display: inline-flex;
}


li {
    color: rgb(16 185 129);
}

li:hover {
    color: #0ac687b4;
    text-decoration-line: underline;
    text-decoration-thickness: 3px;
    transition: ease-in 0.3s;
}

main {
    text-align: center;
    margin: auto;
}

img {
    display: block;
    margin: auto;
}



footer {
    font-size: 15px;
    text-align: center;
    margin: 0 auto;
    padding-top: 50px;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #10b981;
    transition: width 0.3s ease;
}


#menu-toggle,
label,
input {
    display: none;
}

.reveal {
    view-timeline-name: --reveal;
    view-timeline-axis: block;
    animation: reveal linear both;
    animation-timeline: --reveal;
    animation-range: entry 5% entry 35%;
}



@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    body {
        overflow-x: hidden;
    }

    .logo {
        display: none;
    }

    header {
        max-width: 100%;
        padding: 0.5rem;
    }

    .group>img {
        padding-left: 0px;
        margin-left: 0px;
    }

    nav {
        align-items: center;
        padding: 0px;
        display: flex;
        text-align: left;
        justify-content: space-between;
    }

    label[for="menu-toggle"] {
        display: inline-block;
        color: white;
        font-size: 1rem;
        padding: 0.5rem 1rem;
        cursor: pointer;
        margin-right: 0px;
    }

    .menu ul {
        display: none;
        flex-direction: column;
        position: absolute;
        font-size: 1rem;
        text-align: left;
        top: 60px;
        background: radial-gradient(circle, #064e3b, #022c22, #000000);
        box-shadow: 2px 2px 10px 2px rgba(255, 255, 255, 0.5);
        z-index: 1;
    }

    #menu-toggle:checked~ul {
        display: flex;
    }

    #menu-toggle {
        display: none;

    }

    .content>p {
        padding: 0 1rem;
    }
}