* {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

.banner {
    width: 100%;
    height: 100vh;
    position: relative;
    background-image: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url(background.jpg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.navbar {
    width: 85%;
    margin: auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.logo {
    width: 90px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    animation: rotateIn 2s ease-in-out;
}

.navbar ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar ul li {
    list-style: none;
    margin: 0 10px;
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    color: #D3D3D3;
    text-transform: uppercase;
}

.navbar ul li::after {
    content: '';
    height: 2px;
    width: 0%;
    background: #000000;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.5s;
}

.navbar ul li:hover::after {
    width: 100%;
}

.animated-button {
    background: none;
    border: 2px solid #000000;
    color: #D3D3D3;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.5s, color 0.5s, transform 0.5s, box-shadow 0.5s;
    position: relative;
    z-index: 2;
    animation: buttonPulse 2s infinite;
}

.animated-button:hover {
    background: #000000;
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #00a2ff, 0 0 40px #00a2ff;
}

.content {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #D3D3D3;
    font-size: 16px;
    z-index: 1;
    padding: 0 10px;
}

.content h1 {
    font-size: 40px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(-20px) scale(0.8) rotate(-10deg);
    animation: textCoolIn 2s ease-in-out forwards;
}

.content p {
    margin: 10px auto;
    font-weight: 100;
    line-height: 20px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    animation: textCoolIn 2s ease-in-out forwards;
    animation-delay: 1s;
}

.banner2, .banner3 {
    width: 100%;
    height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner2 {
    background-image: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url(background2.jpg);
}

.banner3 {
    background-image: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url(background3.PNG);
}

.content2, .content3 {
    text-align: center;
    color: #D3D3D3;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    animation: textCoolIn 2s ease-in-out forwards;
    animation-delay: 1s;
}

.content2 h1, .content3 h1 {
    font-size: 40px;
    animation: textCoolIn 2s ease-in-out forwards;
    animation-delay: 1.5s;
}

.content2 ul, .content3 p {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    animation: textCoolIn 2s ease-in-out forwards;
    animation-delay: 2s;
}

.content2 ul li, .content3 p {
    color: #D3D3D3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-360deg);
    }
    to {
        opacity: 1;
        transform: rotate(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    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 textZoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes textListFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    60% {
        opacity: 1;
        transform: translateY(30px);
    }
    80% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* 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 {
        display: inline-block;
        width: auto;
        margin: 5px auto;
        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;
    }
}
