/* Header Code */
.header {
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
    padding: 20px 5%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    position: relative;
    font-size: 25px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;
    animation: Animation 1s ease forwards;
    animation-delay: .4s;
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar a {
    text-decoration: none;
    font-size: 17px;
    color: #fff;
    font-weight: 300;
    margin-left: 30px;
    transition: 0.4s;
}

.navbar a:hover, .navbar a.active {
    color: #69a0b8;
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.menu-btn span:nth-child(1) {
    top: 0;
}

.menu-btn span:nth-child(2) {
    top: 9px;
}

.menu-btn span:nth-child(3) {
    top: 18px;
}

/* Mobile Menu Open State */
.menu-open .menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-open .menu-btn span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Footer Code */
.footer {
    padding: 20px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer p {
    font-size: clamp(14px, 0.9vw, 15px);
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #69a0b8;
    border-radius: 50%;
    font-size: 20px;
    color: #69a0b8;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: 0.5s;
}

.footer-social a:hover {
    color: #030027;
    transform: translateY(-3px);
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #69a0b8;
    z-index: -1;
    transition: .5s;
}

.footer-social a:hover::before {
    width: 100%;
}

/* Media Queries */
@keyframes Animation {
    0% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #030027;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 80px;
        transition: 0.5s ease;
    }

    .menu-open .navbar {
        right: 0;
    }

    .navbar a {
        margin: 0 0 20px 40px;
        display: block;
    }

    .menu-btn {
        display: block;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 500px) {
    .header {
        padding: 15px 5%;
    }

    .logo {
        font-size: 22px;
    }

    .navbar {
        width: 200px;
    }

    .navbar a {
        font-size: 15px;
        margin-left: 30px;
    }
}