* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	--bg-color: #fcfcfc; 
	--text-color: #080808; 
	--border-color: #222; 
	--footer-text-color: #000;
	--footer-bg-color: #f0f0f0;
    --overlay-bg-color-r: 0;
    --overlay-bg-color-g: 0;
    --overlay-bg-color-b: 0;
}

/* Dark Mode Styles */
[data-theme="dark"] {
	--bg-color: #080808; 
	--text-color: #fcfcfc; 
	--border-color: #222; 
	--footer-text-color: #f0f0f0;
	--footer-bg-color: #000;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color); 
    color: var(--text-color); 
}

.container {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
	align-items: center;
}

header {
	padding: 10px 0;
	padding-bottom: 0px;
	margin-bottom: 10px;
	background-color: var(--bg-color); 
	color: var(--text-color); 
	text-align: center; 
}

header a {
	text-decoration: none;
}

header a:hover {
	text-decoration: underline;
}

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

.header-container a {
    width: 100%;
}

.header-text,
.footer-text {
	font-style: italic;
	font-size: 48px; 
	text-decoration: none;
	margin: 0; 
	background: linear-gradient(to bottom, var(--bg-color) 20%, var(--text-color) 50%, var(--bg-color) 90%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.footer-text {
	text-align: center;
}

nav {
	text-align: left; 
	border-bottom: 1px solid var(--border-color); 
	line-height: 1.4;
}

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

nav ul li {
	display: flex;
	align-items: center;
	position: relative;
}

nav ul li a {
	text-decoration: none;
	flex: 1;
	color: var(--text-color); 
	padding: 10px; 
	display: block; 
}

nav ul li:hover {
	text-decoration: underline;
}

nav ul li:hover > .dropdown {
    display: block;
}

.dropdown {
	display: none;
	position: absolute;
	background-color: var(--bg-color); 
	color: var(--text-color);
	list-style: none;
	padding: 0.5rem 0;
	top: 100%;
	left: 0; 
	white-space: nowrap; 
	min-width: 200px; 
	z-index: 1000; 
}

.dropdown.show {
    display: block;
}

.dropdown li {
	display: block;
	padding: 0.5rem 1rem;
	margin: 5px 0;
}

.dropdown li a {
    color: var(--text-color); 
    text-decoration: none;
    display: block; 
    padding: 5px; 
}

.submenu-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 0.25rem;
    color: inherit;
    display: inline-flex;
    align-items: center;
}


nav ul li:hover .dropdown {
    display: block;
    width: auto; 
    left: 0; 
}

main {
    padding: 50px 0;
}

.main-bt {
	max-width: 1200px;
	text-align: center;
	margin: 0 auto;
	background-image: url("../images/Boreas_map_outline.png");
	background-position: center; 
	background-repeat: no-repeat; 
	background-size: cover; 
}

.about-para {
	width: 80%; 
	padding: 20px 0;
	margin: 0 auto;
	align-items: center;
    text-align: justify;
    line-height: 1.6;
    font-size: 1rem;
}

.about-para::first-letter {
    float: left;
    font-size: 6rem;
    line-height: 1;
    margin-right: 0.3rem;
}

.privacy-text,
.terms-text,
.bt-text {
	text-align: left;
	padding: 10px 0;
}

.privacy-bullet,
.terms-bullet {
	text-align: left;
}

.privacy-ul,
.terms-ul {
	padding: 0 20px;
}

footer {
	padding: 10px 0;
	color: var(--footer-text-color);
	background-color: var(--footer-bg-color); 
	display: block;
	justify-content: space-between;
	align-items: center;
}

footer a {
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content {
	display: flex;
	justify-content: center;
	align-items: center;
	border-top: 1px solid var(--border-color); 
	padding-top: 10px;
    flex-wrap: wrap; 
    gap: 2rem;
}

.footer-social {
	line-height: 1.0;
	display: flex;
	align-items: center;
}

.footer-left {
	align-items: left;
	margin-right: auto; 
}

.footer-right {
	align-items: right;
	margin-left: auto; 
}

.footer-copy {
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.footer-menu ul,
.footer-social ul {
	list-style: none;
	line-height: 1.0;
	padding: 0;
	margin: 0;
    display: flex;
}

.footer-menu ul {
    gap: 1rem;
}

.footer-social ul {
    gap: 0.5rem;
}

.footer-menu ul li,
.footer-social ul li {
    display: inline;
}

.footer-menu ul li:not(:last-child),
.footer-social ul li:not(:last-child) {
    margin-right: 10px;
}

.footer-menu a,
.footer-social a {
    color: var(--footer-text-color); 
    text-decoration: none;
}
.footer-social ul {
    display: flex; 
    align-items: center; 
}

.footer-social ul li {
    margin-left: 10px; 
}

.footer-social img {
    width: 30px; 
    height: 30px; 
}

.contact {
	font-size: 20px;
}

.contact label {
	padding-top: 20px;
}

.form_button {
	font-size: 20px;
	max-width: 865px;
	line-height: 1.8;
	width: 100%;
}

.image-container {
	width: 98%;
	max-width: 450px;
	margin-top: 20px;
	align-items: center;
	margin: 0 auto;
}

.image-container img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0%;
	padding: 0 auto;
}

.release {
	display: flex;
	justify-content: space-between;
	flex-direction: column; 
	margin: 0 auto;
	align-items: center;
	gap: 1rem;
}

.release-text-container {
	height: 100%;
	vertical-align: middle;
	text-align: justify;
}

.release-text {
	font-size: 1.2rem;
}

.release-text h2 {
	margin-top: 0;
}

.release-text h3 {
	text-transform: uppercase;
}

.release-text h3::first-letter {
	text-transform: uppercase;
	font-size: 1.4em;
}

.release-img img {
	max-width: 100%;
	height: auto;
	border: 2px solid var(--text-color);
	margin: 10px;
}

.release-header {
	text-align: center;
	font-size: 1.4rem;
}
	

.feedback-response {
	font-weight: bold;
	font-size: 1.2em;
	display: none;
}

.ring-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 2rem; 
}

.ring-chart-container {
    display: inline-block;
    margin: 1rem;
}

.ring-chart {
	display: block;
	max-width: 100%;
	height: auto;
}

@keyframes draw-ring {
  from {
    stroke-dasharray: 0 100;
  }
  to {
    stroke-dasharray: var(--dasharray) 100;
  }
}

.ring-fg {
  animation: draw-ring 1.5s ease forwards;
}

.ring-bg {
	transition: stroke 0.3s ease;
}

.content-warning-tile {
	background-color: var(--footer-bg-color);
	color: var(--footer-text-color);
	border-radius: 6px;
	display: inline-block;
	font-size: 1.1em;
	padding: 4px 8px 4px;
	margin-left: 1px;
	margin-right: 8px;
	margin-top: 1px;
	margin-bottom: 12px;
}

.ytvideo {
    position: relative;
    width: 100%;
    max-width: 1200px; 
    margin: 1rem auto; 
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 8px; 
    background: #000; 
}

.ytvideo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

#nav-menu {
    display: flex;
    flex-wrap: wrap;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 10px; 
    flex-shrink: 0;
}

input[type="text"],
input[type="email"] {
    width: 100%;
}

label {
    display: block;
    align-items: left;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    flex-wrap: wrap; 
    word-break: break-word;   
    text-align: left;
}

label:hover,
label:has(input:focus) {
    background-color: rgba(var(--overlay-bg-color-r), var(--overlay-bg-color-g), var(--overlay-bg-color-b), 0.05);
}

.loading-overlay {
    display: none;              
    position: fixed;
    inset: 0;
    background: rgba(var(--overlay-bg-color-r), var(--overlay-bg-color-g), var(--overlay-bg-color-b), 0.6);
    color: var(--bg-color);
    z-index: 9999;
    justify-content: center;   
    align-items: center;
    text-align: center;
}

.loading-overlay.show {
    display: flex;
}

.octagon {
    width: 110px;
    height: 110px;
    margin: 0 auto 14px;
}

.octagon .edge {
    stroke: var(--bg-color);
    stroke-width: 3;
    stroke-linecap: round;
    opacity: 1;
    --cycle: 8s;
    animation: hide-slot var(--cycle) linear infinite;
    animation-delay: 0s;
}

.octagon .edge:nth-of-type(1) { animation-delay: calc(-1 * (0/8) * var(--cycle)); }
.octagon .edge:nth-of-type(2) { animation-delay: calc(-1 * (1/8) * var(--cycle)); }
.octagon .edge:nth-of-type(3) { animation-delay: calc(-1 * (2/8) * var(--cycle)); }
.octagon .edge:nth-of-type(4) { animation-delay: calc(-1 * (3/8) * var(--cycle)); }
.octagon .edge:nth-of-type(5) { animation-delay: calc(-1 * (4/8) * var(--cycle)); }
.octagon .edge:nth-of-type(6) { animation-delay: calc(-1 * (5/8) * var(--cycle)); }
.octagon .edge:nth-of-type(7) { animation-delay: calc(-1 * (6/8) * var(--cycle)); }
.octagon .edge:nth-of-type(8) { animation-delay: calc(-1 * (7/8) * var(--cycle)); }

@keyframes hide-slot {
    0% { opacity: 0; }
    12.5% { opacity: 0; }   
    12.5001% { opacity: 1; }
    100% { opacity: 1; }
}


.loading-message p {
    margin-top: 10px;
    font-family: 'Montserrat', monospace;
    font-size: 1.05rem;
    white-space: nowrap;
}

.loading-image {
    display: block;
    width: 200px; 
    height: auto;
    margin: 0 auto 40px;
}

.newsletter-bg-container {
    position: relative;
    width: 100%; 
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;  
}

.newsletter-bg-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.newsletter-bg-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    color: var(--text-color);
}


@media (max-width: 600px) {
	.nav-toggle {
        display: block;
    }

    .nav-close {
        display: none;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--text-color);
        cursor: pointer;
        z-index: 1001;
    }

    .nav-close.show {
        display: block;
    }

    #nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 100vh; 
        background: var(--bg-color);
        color: var(--text-color);
        position: fixed;
        top: 0;
        left: 0;
        padding-top: 4rem; 
        z-index: 999;
    }

    #nav-menu.show {
        display: flex;
    }

    #nav-menu li {
        width: 100%;
        text-align: center;
    }

    #nav-menu li a {
        display: block;
        padding: 1rem;
        width: 100%;
    }
	
	nav ul li {
		display: block;
		text-align: center;
        background: var(--bg-color);
		color: var(--text-color);
	}

	nav ul li a {
		padding: 8px;
        background: var(--bg-color);
		color: var(--text-color);
	}
	
}

@media (max-width: 768px) {
	.nav-toggle {
        display: block;
    }
    
    footer {
        display: flex;
    }
    
    #nav-close {
        display: none;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--text-color);
        cursor: pointer;
        z-index: 1001;
    }
    
    #nav-close.show {
        display:block;
    }
    
    #nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 100vh; 
        background: var(--bg-color);
        color: var(--text-color);
        position: fixed;
        top: 0;
        left: 0;
        padding-top: 4rem; 
        z-index: 999;
    }

    #nav-menu.show {
        display: flex;
    }

    #nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
        display: flex;
        poition: relative;
        justify-content: space-between;
        align-items: center;
        padding: 0.3rem 0 0.4rem 0;
        border-bottom: 0.01rem solid var(--text-color);
    }

    #nav-menu li:first-child {
        border-top: 0.01rem solid var(--text-color);
    }

    #nav-menu li a {
        flex-grow: 1;
        text-align: center;
        display: block;
        padding: 1rem;
    }
    	
	nav ul {
		flex-direction: column;
		align-items: center;
        width: 100%;
	}
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-container h1.footer-text {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

   
	.footer-content {
		flex-direction: column;
        align-items: center;
		text-align: center;
	}
    
    .footer-left {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .footer-menu ul {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.3rem;
    }
    
    .footer-copy {
        order: 2; 
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }
    
    .footer-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .footer-right
    .footer-text {
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .footer-social {
        display: flex;
        flex-direction: column; 
        align-items: center;
        gap: 0.5rem;
    }
       
    .footer-social ul {
        list-style: none;
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin: 0.5rem 0 0;
        padding: 0;
    }
	
	.header-text,
	.footer-text {
		font-size: 32px;
	}
	
	.release-text {
		text-align: center;
	}

    .submenu-toggle {
        margin-left: auto;
        margin-right: 0;
        background: none;
        position: absolute;
        border: none;
        font-size: 1.2rem;
        cursor: pointer;
        color: var(--text-color);
        right: 0;
        top: 0;
        bottom: 0;
        width: 5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .dropdown {
        position: fixed;
        top: 0;
        left: 100%; 
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        color: var(--text-color);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding-top: 4rem; 
        transition: left 0.3s ease-in-out;
        z-index: 1000;
    }

    .dropdown.active {
        left: 0; 
    }
    
    .dropdown.exit {
        left: 100%;
    }

    .dropdown li {
        border-bottom: 1px solid var(--text-color);
        padding: 0.3rem 0 0.4rem 0;
        text-align: center;
    }

    .dropdown li.back {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: bold;
        text-align: left;
        font-weight: bold;
        cursor: pointer;
    }

    .dropdown li.back a {
        display: block;
        align-items: center;
        width: 100%;             
        padding: 0.3rem 0 0.4rem 0;
        text-decoration: none;
        color: inherit;
        position: relative;
        text-align: center; 
    }
    
    .dropdown li.back .back-text {
        display: inline-block;
        text-align: center;
        font-weight: bold;
    }

    .dropdown li.back .back-arrow {
        position: absolute;
        font-size: 1.2rem;
        margin-left: auto;
        padding-right: 1rem;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }
    
    .ring-container {
        flex-direction: column;
        align-items: center;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    select,
    textarea {
        width: 100%;
        box-sizing: border-box; 
    }

    label {
        padding: 6px 8px;
    }

    .loading-message p {
        white-space: normal;
        max-width: 80%;
    }

}

@media (max-width: 992px) {

	.release {
		flex-direction: column;
		text-align: center;
	}

	.release-img img {
		width: 80%;
		height: auto;
	}
	
	.release-text {
		text-align: center;
	}
    
}

@media (min-width: 769px) {
    .has-submenu:hover > .dropdown {
        display: block;
        position: absolute;
        background: var(--bg-color);
        padding: 0.5rem;
        border-radius: 4px;
    }

    .has-submenu {
        position: relative;
    }

    .submenu-toggle {
        display: none; 
    }
	
    .release {
        flex-direction: row; 
        align-items: flex-start;
		width: 100%;
    }
	
    .release-img {
        flex: 0 0 25%; 
    }
	
    .release-text-container {
        flex: 1 0 75%; 
        padding-left: 1.5rem;
    }
	
	.release-text {
		flex: 1 0 100%;
	}
    
    .nav-close {
        display: none;
    }
    
    .dropdown li.back {
        display: none;
    }
    
    .ring-container {
        flex-direction: row;
    }

    .newsletter-bg-container {
        width: 50%;
    }
    
}

