:root {
    /* --dark_green: #45453A; */
    --dark_blue:   #194a70;
    --green:        #4E664F;
    --light_blue:  rgb(0, 115, 230);
    --orange:       #E48C56;
    --dark_orange:  rgb(228, 140, 86);
    --red:          #E05650;
    --yellow:       #F0E873;
    --white:        #FFEEEE;

    /* --max_width: 960px; */
    --max_width: 720px;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400&display=swap');

/* General Styles for All Devices */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    padding: 0;
    color: #333;
    background-color: var(--dark_blue);
    margin: 0 auto; /* Centers the body within the viewport */
    padding: 1em;
    padding-top: 0px;
    max-width: var(--max_width); 
    box-sizing: border-box; /* Ensures padding and borders are included in the max-width */
}

header {
    background: url('images/NT-Banner-88.png') no-repeat center/cover;
    color: white;
    /* padding: 1em 0; */
    padding: 0 0;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;

    max-width: 1024px; /* Restricts the header to a maximum width */
    margin: 0 auto; /* Centers the header within the viewport */
    overflow: hidden; /* Ensures the background image doesn't overflow */
    box-sizing: border-box; /* Includes padding in the max-width */
    background-size: cover;
    border-radius: 0px 0px 0px 0px;
}

.header-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    text-align: center;
}

.header-left,
.header-right {
    /* flex: 1;  */
    flex: 0 0 calc(50% - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em; 
}

  
.header-right {
    font-size: 1.5em; 
    font-style: italic;
    font-weight: 100; 
    color: #f6f5ef; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.open-quote-mark {
    font-style: italic;
    font-size: 1.3em; 
    margin: 0 0.2em; 
}

.close-quote-mark {
    font-style: italic;
    font-size: 1.3em;
    margin: 0 0.0em; 
}

.bigger {
    font-size: 1.5em; 
    margin: 0 0.0em; 
}

.header-left {
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


header h1 {
    margin: 0;
    font-size: 2em;
}

/* Navigation Bar */

.nav-container {
    position: relative; /* Needed for absolute positioning */
    display: flex;
    justify-content: center; 
    align-items: center; /* Vertically aligns everything */
    width: 100%;
    /* padding: 10px; */
}
.right-button {
    /* position: absolute; */
    /* right: 1em;  */
} 


nav {
    background: #eee;
    /* padding: 0.25em; */
    text-align: center;
    border-radius: 0 0 5px 5px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
}

nav ul li img {
vertical-align: middle;
/* max-height: 2em; */
}

nav ul li a {
    color: var(--light_blue);
    text-decoration: none;
}

.push-right {
    margin-left: auto;
}


 #dark-mode-toggle {
    display: inline-block;
    width: 30px;
    height: 30px;
}

#dark-mode-toggle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}


main {
    padding: 1em;
    padding-left:0px;
    padding-right:0px;
}

main a {
    color: var(--light_blue);
}
main section {
    background: #eee;
    margin: 1em 0;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main section h2 {
    margin-top: 0;
}


.video-container {
    position: relative;
    width: 100%; /* Adjusts to parent width */
    max-width: 720px; /* Optional: Limit max width */
    text-align: center;
}
  
video {
    display: block; /* Removes extra space below the video */
    width: 100%;
    height: auto; /* Keeps the aspect ratio */
}

.gif {
    
    width: 100%;
    height: auto; /* Keeps the aspect ratio */
}


footer {
    color: var(--light_blue);
    text-align: center;
    padding: 1em 0;
    margin: 0; 
}

footer a {
    color: var(--light_blue);
}

.floating-home {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-home img {
    width: 30px;
    height: 30px;
}

.floating-home:hover {
    transform: scale(1.3); 
}

/* Localization */
.hidden { 
    display: none; 
}

#language-toggle { 
    cursor: pointer; 
    padding: 5px 10px; 
    background: var(--light_blue);
    color: white; 
    border: none; 
}

/* Media Queries */

/* For Mobile Devices */

@media (max-width: 768px) {
    header {
        height: 100px;
    }
    header h1 {
        font-size: 1.4em;
    }
    .header-right {
        font-size: 1.0em;
    }

    .open-quote-mark {
        font-size: 1.2em; 
        margin: 0 0.2em; 
    }

    .close-quote-mark {
        font-size: 1.2em; 
        margin: 0 0.0em; 
    }

    nav ul li {
        display: inline-block;
        margin-right: 10px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    main section {
        margin: 1em 0;
        /* margin-left: 10px;
        margin-right: 10px; */
        padding: 1em;
        padding: 1em;
    }
} 

/* For Tablets and Small Desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    /* header h1 {
        font-size: 1.8em;
    } */
    /* .header-right {
        font-size: 1.5em;
    } */
    nav ul li {
        margin-right: 10px;
    }

    nav ul li a {
        font-size: 1.2em;
    }

    main section {
        margin: 1em 0;
        padding: 1em;
    }

    form label {
        font-size: 1em;
    }

    form input, form textarea, form button {
        font-size: 1em;
        padding: 0.5em;
    }
}

/* For Large Desktops */
/* @media (min-width: 1025px) {
    header h1 {
        font-size: 2.5em;
    }

    nav ul li {
        margin-right: 20px;
    }

    nav ul li a {
        font-size: 1.2em;
    }

    main {
        padding: 1em;
        padding-left:0px;
        padding-right:0px;
    }

    main section {
        margin: 1.5em 0;
        padding: 1.5em;
    }

    form input, form textarea, form button {
        font-size: 1.1em;
        padding: 0.7em;
    }
} */

/* Dark Mode */
/* body.dark-mode main section {
    background: #2a2a2a; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); 
    color: #eee; 
}

header.dark-mode {
    background: url('images/NT-Banner-dark.png') no-repeat center/cover;
    filter: brightness(0.8); 
}

nav.dark-mode {
    background: #333;
    filter: brightness(0.8); 
}

nav.dark-mode ul li a {
    color: #89cff0; 
}

body.dark-mode a {
    color: #89cff0; 
} */

 /* Dark mode ends */