body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    color: #333;
    text-align: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

header {
    height: 60px;
    background-color: #00796b;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.top-nav li {
    margin-left: 20px;
}

.top-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.top-nav a:hover {
    text-decoration: underline;
}

.dynamic-content {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: -1;
}

h1 {
    font-size: 80px;
    margin: 0;
    color: #00796b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in;
    font-weight: 700;
    letter-spacing: 2px;
}

p {
    font-size: 28px;
    margin: 20px 0;
    color: #004d40;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 0.5s;
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 193, 7, 0.5);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
    opacity: 0.8;
}

@media (max-width: 600px) {
    body {
        min-height: auto;
        overflow: visible;
    }
    h1 {
        font-size: 2em;
    }
    p {
        font-size: 1em;
    }
    .nav-buttons {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

footer {
    height: 30px;
    width: 100%;
    font-size: 10pt;
    color: #666;
    padding: 5px 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

footer p {
    font-size: 10pt;
    margin: 0;
    padding: 0;
    animation: none;
    opacity: 1;
}

footer a {
    color: #666;
    text-decoration: none;
}

footer a img {
    vertical-align: middle;
    width: 15px;
    height: 15px;
    margin-right: 1px;
    position: relative;
    top: -1.5px;
}

.nav-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.nav-button {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 15px 25px;
    background-color: #00796b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    text-align: center;
    word-break: break-word;
    box-sizing: border-box;
}

.nav-button:hover {
    background-color: #005c4b;
}