@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.first-bar i {
    color: white;
    transition: all 0.3s ease-in;
}

.first-bar i:hover {
    color: #1a459c;
    transition: all 0.3s ease-out;
}


#logoImage{
    padding-left: 100px;
}
@media(max-width:1200px) {
    #logoImage{
        padding-left: 10px;
    }
}
@media(max-width:767px) {
    #logoImage{
        padding-left: 30px;
    }
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: transparent;
}

nav menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

nav .menu_logo {
    flex: 1;
}

nav menu {
    flex: 3;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav li {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #232323;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    position: relative;
    transition: all 0.3s ease-out;
}

nav a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease-out;
}

nav a li:hover {
    background: #232323;
    color: white;
    transition: all 0.3s ease-out;
}

nav .donate {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    width: 108px;
    background: #1a459c;
    padding: 10px;
    border-radius: 4px;
    margin-left: 15px;
}

nav .donate li {
    color: white;
    transition: all 0.3s ease-out;
}

nav .donate li:hover {
    background: #163d8a!important;
    color: white;
    transition: all 0.3s ease-out;
}

nav .first-bar {
    background: #232323;
}

nav .bar {
    height: fit-content;
}

nav p {
    margin: 0 !important;
}

nav .header {
    height: 130px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .donate:hover {
    background: #163d8a;
    transition: all 0.3s ease-out;
}

nav .dropdown {
    position: relative;
}

.dropdown a {
    color: #232323;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.dropdown a:hover {
    background: #232323;
    color: white;
    transition: all 0.3s ease;
}

nav .dropdown-content {
    display: block;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    max-height: 0;
    border-radius: 5px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

nav .dropdown-content a {
    color: #232323;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease-out;
    width: 100%;
}

nav .dropdown-content a:hover {
    background-color: #232323;
    color: white;
    transition: all 0.3s ease-in;
}

nav .dropdown:hover .dropdown-content {
    max-height: 200px;
    border-radius: 5px;
    transition: all 0.3s ease-in;
}

.header-title {
    position: relative;
}

.header-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: blue;
    margin-top: 5px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    color: #232323;
    margin-right: 10px;
}

@media (max-width: 1024px) {
    nav .header {
        flex-direction: row!important;
    }
    nav menu {
        display: none;
        flex-direction: column!important;
        align-items: center;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 130px;
        left: 0;
        z-index: 1000;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    }
    nav ul {
        flex-direction: column!important;
    }
    nav ul li {
        width: 100%;
        margin: 10px;
        text-align: center;
    }
    nav .burger-menu {
        display: flex;
    }
    nav.active menu {
        display: flex;
    }
}

#popup1, #popup2 {
    position: fixed;
    top: 40px;
    left: 50px;
    width: 300px;
    background: linear-gradient(135deg, #6e45e2, #88d3ce);
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 1s ease, transform 1s ease;
}

.popup.show {
    opacity: 1;
    transform: scale(1);
}

.popup-content {
    padding: 20px;
    color: #fff;
    font-family: 'Arial', sans-serif;
}

.popup-content h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.popup-content p {
    margin: 10px 0;
    font-size: 16px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: transparent;
    border: none;
    transition: transform 0.3s ease;
}

.close:hover {
    transform: rotate(90deg);
}

.popup-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #fff;
    color: #6e45e2;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.popup-button:hover {
    background-color: #6e45e2;
    color: #fff;
}

