@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap);

.nav-container,
body {
    display: flex;
    width: 100%
}

.dropdown,
.nav-container,
body,
nav,
section {
    width: 100%
}

.content h1 span,
.logo,
.logo span {
    background: -webkit-linear-gradient(#16ff00, #ffed00);
    -webkit-text-fill-color: transparent;
    cursor: pointer
}

.card,
.content h1 span,
.header-box,
.logo,
.logo span {
    cursor: pointer
}

.card,
.footer {
    text-align: center
}

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

body {
    min-height: 100vh;
    background-color: #000;
    overflow-x: hidden;
    flex-direction: column
}

section {
    flex: 1;
    height: 90vh
}

nav {
    height: 10vh;
    position: sticky
}

.nav-container {
    height: 100%;
    justify-content: space-around;
    align-items: center
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background-clip: text
}

.logo span {
    background-clip: text
}

.cancel,
.hamburg {
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: #16ff00;
    display: none;
    font-size: clamp(2.5rem, .5rem + 5vw, 3rem)
}

.nav-container .links {
    display: flex
}

.nav-container .links a {
    font-size: 1.2rem;
    color: #fff;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 550;
    transition: .3s linear
}

.content button,
.dropdown,
.dropdown .links a,
.social-links i {
    transition: .2s linear
}

.nav-container .links a:hover {
    color: #16ff00;
    border-bottom: 2px solid #16ff00
}

.dropdown {
    max-height: 100vh;
    overflow-y: auto;
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px #000
}

.dropdown .links a {
    display: flex;
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    justify-content: center;
    align-items: center
}

.dropdown .links a:hover {
    background-color: #16ff00;
    color: #000
}

.main-container {
    width: 100%;
    padding-top: 55px;
    display: flex;
    justify-content: space-evenly;
    align-items: center
}

.main-container .content {
    color: #fff;
    width: 40%;
    min-height: 100px
}

.content h1 {
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
    padding-top: 20px
}

.content h1 span {
    font-weight: 700;
    background-clip: text
}

.content .typewriter {
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 700
}

.typewriter span {
    color: #16ff00;
    font-weight: 700
}

.content p {
    font-size: clamp(0, 4rem, .2rem + 9vw, 1rem);
    margin: 10px 0
}

.social-links i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: .2rem solid #16ff00;
    border-radius: 50%;
    color: #16ff00;
    margin: 0 15px;
    font-size: 1.5rem
}

.social-links i:hover {
    scale: 1.3;
    filter: drop-shadow(0 0 10px #16ff00);
    color: #000;
    background-color: #16ff00
}

.content button {
    width: 50%;
    height: 6vh;
    margin: 30px;
    background-color: #16ff00;
    color: #000;
    border: none;
    outline: 0;
    font-size: 120%;
    font-weight: 700;
    border-radius: 5px
}

.content button:hover {
    scale: 1.1;
    color: #16ff00;
    border: 2px solid #16ff00;
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px 5px #16ff00
}

.main-container .image:hover {
    animation: 1.5s ease-in-out infinite animate
}

.main-container .image img {
    width: 25vw;
    border: 3px solid #16ff00;
    border-radius: 51% 49% 48% 52%/49% 49% 51% 51%;
    animation: 5s linear infinite borderAnimation
}

@keyframes borderAnimation {

    0%,
    100% {
        border-radius: 51% 49% 48% 52%/49% 49% 51% 51%
    }

    35% {
        border-radius: 60% 40% 57% 43%/40% 54% 46% 60%
    }

    65% {
        border-radius: 67% 33% 68% 32%/27% 70% 30% 73%
    }
}

@media (max-width:884px) {
    nav .logo {
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem
    }

    .main-container {
        display: flex;
        flex-direction: column-reverse
    }

    .nav-container .links {
        display: none
    }

    .cancel,
    .hamburg {
        display: block
    }

    .main-container .content .header-box {
        width: 80%
    }

    .social-links i {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem
    }

    .main-container .image {
        z-index: -1;
        width: 50%;
        height: 60%
    }
}

@media (max-width:440px) {

    .card,
    .header-box,
    .header-box h1 {
        text-align: center
    }

    .main-container .image {
        display: flex;
        justify-content: center;
        transform: scale(2) !important;
        margin-bottom: 60px
    }

    .nav-container {
        margin-top: 10px
    }

    .main-container .content {
        width: 80%
    }

    .content .typewriter,
    .typewriter-text {
        font-size: 30px
    }

    .typewriter {
        font-size: 3px
    }

    .main-container button {
        margin-top: 15px
    }

    .btn,
    .social-links {
        display: flex;
        justify-content: center;
        align-items: center
    }

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0
    }

    .card {
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 10px;
        width: 100%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: transform .3s, box-shadow .3s;
        margin-bottom: 20px
    }

    .header-box {
        width: 100%;
        margin: 20px auto;
        border-radius: 0;
        max-width: 100%
    }

    .card img {
        width: 100%;
        height: auto
    }

    .header-box h1 {
        font-size: 24px;
        color: #000
    }
}

.header-box {
    background-color: #16ff00;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    transition: transform .3s, box-shadow .3s;
    margin-top: 55px;
    margin-bottom: 40px;
    position: relative;
    top: 20px
}

.header-box-text {
    max-width: 70%;
    margin: 0 auto;
    background-color: #0f0;
    padding: 20px;
    border-radius: 10px;
    color: #000;
    font-family: Arial, sans-serif;
    font-weight: 700
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 40px;
    margin: 0 auto
}

.card {
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
    width: 380px;
    max-width: 100%;
    height: auto;
    padding-bottom: 20px;
    flex-direction: column;
    overflow: visible;
    display: inline-block
}

.card:hover {
    transform: translateY(-10px) scale(1.05) !important
}

.card img {
    width: 100%;
    object-fit: cover;
    transition: transform .3s;
    border-radius: 12px;
    padding: 5px
}

.card:hover img {
    transform: scale(1.04)
}

.card h3 {
    margin: 15px 0 10px;
    color: #000;
    font-size: 21px
}

.card p {
    margin: 10px;
    color: #050505;
    font-size: 18px
}

.card .date {
    font-weight: 700;
    color: #495057
}

.footer {
    background: #111;
    color: #fff;
    padding: 20px 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: auto
}

.footer a {
    color: #16ff00;
    text-decoration: none;
    font-weight: 700
}

.footer a:hover {
    color: #35a849
}