.navbar {
    display: flex;
    align-items: center;
    max-width: 1500px;
    background-color: lightskyblue;
    margin: -9.9px;
    justify-content: space-between;
    padding-right: 100px;
}

.navbar .hamburger-btn {
    display: none;
    color: #fff;
    cursor: auto;
    font-size: 1.5rem;
}

.navbar .logo {
    gap: 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar .logo img {
    width: 40px;
    border-radius: 50%;
    margin-left: 20px;
}

.navbar .logo h2 {
    color: #fff;
    font-weight: 600;
    font-size: 1.7rem;
    font-family: Georgia;
}

.navbar .links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.navbar .close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    display: none;
    color: #000;
    cursor: pointer;
}

.navbar .links a {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: 0.1s ease;
    font-family: Georgia;
}

.navbar .links a:hover {
    color: #008080;
}

.news-container {
    padding: 50px;
    background: linear-gradient(to bottom, #87CEEB, #90EE90); 
}

.news-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: white; 
    background-color: #008080; 
    padding: 10px 20px; 
    border-radius: 5px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    margin-bottom: 20px; 
    font-family: Georgia, 'Times New Roman', Times, serif 
}

.news-article {
    margin-bottom: 30px;
    background-color: #ffffff; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.news-article h2 {
    margin-bottom: 10px;
    color: #008080; 
}

.news-article p {
    margin-bottom: 20px;
    color: #444444; 
}

.news-article a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #008080; 
    color: #ffffff; 
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.news-article a:hover {
    background-color: #006666; 
}
.back-link {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 10px 20px;
    background-color: #008080; 
    color: #ffffff; 
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    color: #004080;
}
.navbar .links a {
    display: inline-flex;
    margin: 20px 0;
    font-size: 1.2rem;
    color: white;
    animation: fadeIn 0.5s ease forwards; 
    opacity: 0; 
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-out {
    animation: fadeOut 1s ease;
    opacity: 0;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
#arrow-link {
    animation: slideToLeft 1s ease forwards; 
}

@keyframes slideToLeft {
    from {
        margin-left: 50px; 
    }
    to {
        margin-left: 0; 
    }
}
.navbar .links a {
    display: inline-flex;
    margin: 20px 0;
    font-size: 1.2rem;
    color: white;
    animation: fadeIn 0.5s ease forwards; 
    opacity: 0; 
}
.header-text p {
    font-size: 1.2rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .header-text p {
        font-size: 1rem; 
        line-height: 1.3; 
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column; 
        height: auto;
        padding-right: 0; 
    }

    .navbar .hamburger-btn {
        display: block; 
    }

    .navbar .logo {
        margin-top: 10px; 
        margin-bottom: 10px; 
        text-align: center; 
    }

    .navbar .links {
        display: none; 
        flex-direction: column; 
        width: 100%; 
        text-align: center; 
    }

    .navbar .links a {
        margin: 10px 0; 
    }

    .navbar .close-btn {
        display: block; 
        position: static; 
    }

    .navbar .hamburger-btn.clicked ~ .links {
        display: flex;
    }
}

.navbar .links.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: lightskyblue; 
    position: absolute;
    top: 100px; 
    left: 0;
    width: 100%;
    z-index: 999; 
}
.links {
    display: none; 
}

.links.active {
    display: block; 
}
