*::before,
*::after {
    box-sizing: border-box;
}

/*body {
    overflow-x: hidden;
}*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    position: relative;
}

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("../images/top.png") center/cover;
        filter: blur(2px);
        z-index: -1;
    }

p {
    text-align: justify;
} 

a {
    text-decoration: none;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(to right, #001A53, #00091C);
    color: white;
    /* padding: 10px 0px; */
    width: 80%;
    margin: auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: auto;
}

.nav-item {
    position: relative;
    padding: 20px;
}

    .nav-item a {
        color: white;
        text-decoration: none;
    }

    .nav-item:hover .sub-tabs {
        display: block;
    }

.sub-tabs {
    display: none;
    position: absolute;
    background: linear-gradient(to right, #001A53, #00091C);
    padding: 10px;
    list-style: none;
    width: max-content;
    line-height: 2;
    z-index: 10;
    border-radius: 0 0 10px 10px;
}

.sub-tabs li a {
    display: block;
    padding: 10px 15px;
    color: white;
}

.nav-item:hover .sub-tabs {
    display: block;
}

/* Base Styles */
/*.navbar {
    background-color: #002244;
    padding: 10px 20px;
    color: white;
    margin: auto;
    position: relative;
    height: auto;
}*/

/*.nav-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;*/
    /* centers the container */
/*}*/

/*.nav-menu {
    display: flex;
    justify-content: center;*/
    /* center menu items */
    /*flex-wrap: wrap;
    gap: 15px;
}

.nav-item {
    position: relative;
}

.nav-item>a {
    color: white;*/
    /* margin:20px; */
    /*text-decoration: none;
}

.nav-item:hover>a {
    background: linear-gradient(to right, #FF5F6D, #FFC371);
    border-radius: 4px;
}*/

/* Sub-tabs */
/*.sub-tabs {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(to right, #FF5F6D, #FFC371);
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 220px;
    border-radius: 4px;
    z-index: 100;
}

.sub-tabs li a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
}

.sub-tabs li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item:hover .sub-tabs {
    display: block;
}*/

/* Hamburger Toggle (Mobile only) */
.menu-toggle {
    display: none;
}

.hamburger {
    font-size: 28px;
    cursor: pointer;
    display: none;
    user-select: none;
}

/* Responsive Menu */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .navbar {
        height: 20px;
        width: 100%;
        padding: 10px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
    }

    /* When menu toggle is checked, show nav */
    .menu-toggle:checked~.nav-menu {
        display: flex;
    }

    .sub-tabs {
        position: static;
/*        background-color: #004466;
*/    }
}

@media (max-width: 900px) {
    .hamburger {
        display: block;
    }

    .navbar {
        height: 30px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
    }

    .menu-toggle:checked ~ .nav-menu {
        display: flex;
    }

    .sub-tabs {
        position: static;
/*        background-color: #004466;
*/    }
}



/* Banner */
.banner {
    background: url('../../Scripts/Images/arctic-banner.jpg') no-repeat center center/cover;
    height: 210px;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 10px;
    text-shadow: 2px 2px 10px black;
    text-align: center;
    flex-direction: column;
    position: relative;
    width: 80%;
    margin: auto;
}

    .banner img {
        max-height: 80px;
        margin-bottom: 10px;
    }

.banner-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2em;
}

.btn-top {
    display: flex;
    justify-items: flex-end;
    gap: 20px;
    position: absolute;
    bottom: 15px;
    right: 20px;
}

    .btn-top button {
        height: 40px;
        width: 200px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        background: linear-gradient(to right, #001A53, #00091C);
        color: white;
        border-radius: 10px;
        border: none;
    }

/*.banner-official {
    background: whitesmoke;
    color: #34495e;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    right: 20px;
    bottom: 10px;
}*/

.content {
    background-color: white;
    width: 80%;
    margin: auto;
    line-height: 1.5rem;
}

.txt {
    padding: 20px;
}

.underlined-title h2 {
    font-size: 1.9em;
    text-transform: uppercase;
    color: #2f5a6d;
    margin: 0;
    padding: 10px 0;
}

.underlined-title span {
    text-transform: none;
    color: #000;
}

.lb-yellow-underline {
    width: 61px;
    height: 3px;
    background-color: #ff6c6d;
    margin-bottom: 4px;
}

/*.content {
    background-color: white;
    width: 80%;
    margin: auto;
    padding: 20px;
}*/

/* Buttons */
/*.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;*/
    /* Optional: limits container width */
/*}

.container-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1 1 300px;
}*/

/*.btn-idx {
    width: 100%;
    height: 50px;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    background: #002244;
    color: white;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}*/

/*.btn-idx:hover {
    background: #c0c0c0;
    transform: scale(1.02);
}*/

/*.homeimage img{
    width: 50%;*/ /* Make the image take up full width */
    /*height: auto;*/ /* Maintain the aspect ratio */
    /*max-width: 80%;*/ /* Prevent it from exceeding 100% of its container */
    /*object-fit: contain;*/ /* Optional, adjust if needed */
    /*padding:5px;
}*/

/*.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
}*/

/*.content {
    padding:10px;
    flex: 1 1 60%;
}*/

/*.content1{
    min-height:422.5px;
}*/

/*.container {
    flex: 1 1 30%;
}

.right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:center;
    padding: 20px;
    gap: 20px;
    flex: 1 1 30%;
    width: 100%;*/ /* or a fixed width like 750px */
    /*max-width: 750px;
}*/
p {
    font-size: 15px;
    margin-bottom: 0;
}

@media (max-width: 1360px) {
    .main-container {
        flex-direction: column;
    }

    .right-column {
        order: 1;
    }

    .content {
        order: 2;
    }
}

@media (max-width: 1200px) {
    .homeimage img{
        max-width: 40%; /* Full width for larger screens */
    }
}


/* Footer */
footer {
    background: linear-gradient(to right, #001A53, #00091C);
    border-top: 1px solid #bbb;
    font-family: sans-serif;
    color: #333;
    width: 80%;
    margin: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer a {
    color: whitesmoke;
    text-decoration: underline;
}

.bottom-strip {
    text-align: center;
    background: #c0c0c0;
    padding: 10px;
    font-size: 14px;
}

h4{
    color:white;
}

.bottom-strip a {
    color: blue;
}

.emaillink {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-title {
        font-size: 1.7em;
    }

    .nav-menu {
        flex-direction: column;
    }

    @media (max-width: 768px) {
        .homeimage img{
            max-width: 40%; /* Slightly larger size for medium-sized screens */
        }
    }

    .container {
        flex-direction: column;
        align-items: center;
        display: block;
        width: 180%;
        padding: 10px;
    }

    .banner-official {
        font-size: 1em;
        position: static;
        margin-top: 10px;
        margin:5px;
    }

    .underlined-title {
        font-size: 13px;
        line-height: 0.00002;
    }

    lable .hamburger {
        padding: 0;
        margin: 0;
    }

    .navbar {
        padding: 0px 0 18px 5px;
        height: 20px;
        margin: 0;
    }

    .email h4,
    .email-p {
        color: white;
        display: inline;
    }

    .emaillink {
        color: white;
    }

    .btn-idx {
        padding: 2px;
        margin: 5px;
        width: 250px;
    }

    .bottom-strip {
        padding: 9px;
        font-size: 13.5px;
        color: #000;
    }

    .bottom-strip a {
        color: black;
    }
}

@media (max-width: 768px) {
    .content1 {
        flex-direction: column;
        align-items: center;
    }

    .content,
    .container-block {
        width: 100%;
        max-width: 100%;
    }

    .content {
        width: 90%;
        padding: 10px;
    }

    .homeimage {
        max-width: 40%;
        height: auto;
        align-self: center;
        margin: 10px;
    }
}

@media (max-width: 500px) {
    .homeimage {
        max-width: 40%; /* Limit the max-width to 80% for better scaling on smaller screens */

    }

    .banner{
    width:100%;
    }
}

