/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana;
    font-size: 14px;
}

/* Header styles */
header {
    padding: 30px 5px;
}

.header-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.logo img {
    max-height: 70px;
    width: 100%;
}

/* Navigation styles */
.nav {
    background-color: #335;
    position: relative;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.nav a {
    color: white;
    font-size: smaller;
    text-decoration: antiquewhite;
    padding: 5px 15px;
    border-spacing: 2.5rem;
    display: block;
}

.nav a:hover {
    background-color: green;
}

/* Desktop Menu */
.menu.desktop {
    display: flex;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    background-color: #444;
    min-width: 200px;
    z-index: 1000;
}

.menu-item:hover .submenu {
    display: block;
}

.submenu a {
    padding: 10px 15px;
    border-bottom: 1px solid #555;
}

/* Mobile Menu Button */
.menu-button {
    display: none;
    cursor: pointer;
    color: white;
    padding: 2px;
    background-color: #335;
    border: none;
    font-size: small;
    transition: background-color 0.3s;
}

.menu-button:hover {
    background-color: darkgreen;
    /*background-color: rgb(100, 47, 255);*/
}

.menu-button:active {
    background-color: #666;
}

/* Mobile Menu */
.menu.mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 50%;
    background-color: #335;
    flex-direction: column;
    z-index: 9999;
}

.menu.mobile.active {
    display: flex !important;
}

    .menu.mobile .menu-item {
        width: 100%;
     }

        .menu.mobile .menu-item > a {
            padding: 15px;
            border-bottom: 1px solid #444;
        }

    .menu.mobile .submenu {
        position: static;
        display: none;
        width: 100%;
        background-color: #444;
        border-bottom: 1px solid #444;
        padding-left: 15px;
    }

.menu.mobile .submenu.active {
    display: block;
}

.menu.mobile .submenu a {
    padding-left: 25px;
}
menu.mobile .arrow {
    font-size: larger;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /*background-color: rgba(0, 0, 0, 0.5);*/
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

    menu.mobile .arrow.prev {
        left: 10px;
    }

    menu.mobile .arrow.next {
        right: 10px;
    }
/* Media Queries */
@media (max-width: 768px) {
    .menu.desktop {
        display: none;
    }
    .menu-button {
        display: block;
    }
}

/* Main content styles */
main {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 15px;
    /* align:justify */
}

section {
    margin-bottom: 40px;
}

/*h2 {
    margin-bottom: 10px;
    color: #333;*/
    /*padding-left: 75px;*/
/*}*/

blockquote {
    border-left: 4px solid #ddd;
    padding: 10px 20px;
    background-color: #f9f9f9;
    font-size: inherit;
    text-align: justify;
    line-height: 1.0rem;
    font-family: 'Times New Roman', Times, serif;
}
@media screen and (max-width: 767px) {
    main {
        font-size: 12px;
        font-style: italic;
        color: black;
        background-color: #f9f9f9;
        border-left: 2px solid green;
        padding: 0 10px;
        text-align: justify;
        width: 100%;
    }
}

.float-img {
    float: right;
    margin-right: 15px;
    margin-bottom: 10px;
    max-width: 150px;
}
.float-imgNews {
    float: center;
    margin-right: 5px;
    margin-bottom: 15px;
    width: 100%;
}

/* Toggle text functionality */
.hidden-text {
    display: none;
}

.toggle-link {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}



/* Popup overlay (hidden by default) */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Hidden initially */
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

    /* Visible state */
    .popup-overlay.show {
        display: flex;
    }

/* Popup box */
.popup-content {
    
    position: relative; /* instead of absolute */
    background: white;
    padding: 20px;
    width: 420px;
    font-size: 9px;
    text-align: justify;
    border-radius: 10px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.7); /* darker + larger shadow */
    transform: translateY(-20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10001; 
    /* make sure it’s above the overlay */
}

    /* Optional image inside popup */
    .popup-content img {
        max-width: 100%;
        margin: 15px 0;
    }

/* Close button */
.close-btn {
    background-color: green;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    position: absolute;
    top: 10px;
    right: 20px;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 5px 0;
}

table caption {
    font-weight: bold;
    margin-bottom: 10px;
}

th, td {
    padding: 8px;
    border: 1px solid #ddd;
    font-size: smaller;
}

th {
    background-color: #f2f2f2;
}
.tab-space {
  display: inline-block; /* Essential to apply margins to an inline element */
  margin-left: 40px; /* Adjust the value as needed */
}