* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

.banner {
    width: 100%;
    height: 100vh;
    position: relative;
    background-image: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url(tellmemoreback.jpg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.navbar {
    width: 85%;
    margin: auto;
    padding: 35px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.logo {
    width: 90px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    animation: logo-slide-in 2s ease-in-out;
}

@keyframes logo-slide-in {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.navbar ul {
    display: flex;
    align-items: center;
}

.navbar ul li {
    list-style: none;
    margin: 0 15px;
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    color: #ff0000;
    text-transform: uppercase;
}

.navbar ul li::after {
    content: '';
    height: 3px;
    width: 0%;
    background: #ff0000;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.5s;
}

.navbar ul li:hover::after {
    width: 100%;
}

.animated-button {
    background: none;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.5s, color 0.5s, transform 0.5s, box-shadow 0.5s;
    position: relative;
    z-index: 2;
    animation: buttonGlow 2s infinite;
}

.animated-button:hover {
    background: #ffffff;
    color: #3d0e0e;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000, 0 0 40px #ff0000;
}

.content {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #ffffff;
    font-size: 20px;
    z-index: 1;
}

.content h1 {
    font-size: 50px;
    margin-top: 80px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(-20px) scale(0.8) rotate(-10deg);
    animation: textCoolIn 2s ease-in-out forwards;
}

.content p {
    margin: 15px auto;
    font-weight: 100;
    line-height: 25px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    animation: textCoolIn 2s ease-in-out forwards;
    animation-delay: 1s;
}

.content a {
    color: #0077ff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textCoolIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8) rotate(-10deg);
    }
    50% {
        opacity: 0.5;
        transform: translateY(10px) scale(1.1) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0);
    }
}

@keyframes buttonGlow {
    0% {
        box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000, 0 0 20px #ff0000;
    }
    50% {
        box-shadow: 0 0 20px #ff0000, 0 0 30px #ff0000, 0 0 40px #ff0000, 0 0 50px #ff0000;
    }
    100% {
        box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000, 0 0 20px #ff0000;
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px 0;
    }

    .navbar ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar ul li {
        margin: 5px;
    }

    .content h1, .content2 h1, .content3 h1 {
        font-size: 30px;
        margin-top: 20px;
    }

    .content p, .content2 ul li, .content3 p {
        font-size: 14px;
        line-height: 20px;
    }

    .logo {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.7); /* Ensure the navbar is visible on top */
    }

    .content {
        padding-top: 60px; /* Add padding to account for the navbar */
    }

    .logo {
        display: none;
    }

    .navbar ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar ul li {
        margin: 5px;
    }

    .animated-button {
        padding: 5px 10px;
        font-size: 12px;
    }

    .content h1, .content2 h1, .content3 h1 {
        font-size: 24px;
    }

    .content p, .content2 ul li, .content3 p {
        font-size: 12px;
        line-height: 18px;
    }
}
