html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	font-family: Arial, sans-serif;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('resources/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	z-index: -1;
}

.content-container {
	background-color: rgba(0, 0, 0, 0.8);
	color: #ffffff;
	padding: 20px;
}

header {
	padding: 20px;
	position: relative;
    display: flex;
    justify-content: space-between; /* Align items horizontally */
    align-items: center; /* Align items vertically */
}

.left, .center, .right {
    flex: 1;
}

.left-aligned {
    text-align: left;
}

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

.right-aligned {
    text-align: right;
}

#background {
	position: absolute;
	top: 0px;
	right: 0px;
	max-height: 120px;
	width: auto;
}

a {
	color: #ffffff;
}

a:visited {
	color: #ffffff;
}

h1 {
	margin: 0;
}

nav {
	padding: 10px 0;
	text-align: center;
}

nav a {
	color: #ffffff;
	text-decoration: none;
	margin: 5px 5px;
	border: 2px solid transparent;
	border-radius: 5px;
	transition: border 0.3s, color 0.3s;
	position: relative;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
	padding: 5px 5px;
}

nav a:hover {
	border-color: #ffffff;
    color: #ffffff;
}

nav a.active {
    border-color: #ffffff;
    color: #ffffff;
    font-weight: bold;
}

main {
	text-align: left;
	margin: 20px;
}

footer {
	padding: 10px 0;
	text-align: center;
}

footer p {
    word-wrap: break-word;
}

.pdf-container {
	width: 100%;
	height: 500px; /* Adjust height as needed */
	margin-top: 20px;
}

.std-list {
	text-align: left;
	margin: 0;
	padding-left: 20px;
}

.hidden {
	display: none;
}

.recaptcha-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
	min-height: 150px;
}

.grecaptcha {
	margin: 0 auto;
}

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

.paragraph-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.paragraph-container {
    word-wrap: break-word;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    flex-basis: calc(38% - 20px);
    box-sizing: border-box;
    min-height: 50vh;
    max-height: 80vh;
    overflow-y: auto;
}

.paragraph-container:nth-child(even) {
    flex-basis: calc(62% - 20px);
}

.paragraph-container h2 {
    color: #ffffff;
    font-size: 24px;
    margin-top: 0;
}

.paragraph-container p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

iframe {
    max-width: 100%;
    height: 315px;
    display: block;
    margin: 0 auto; /* Center the iframe */
}

/* Mobile menu icon */
.mobile-menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 2;
    background-color: #0052CC; /* Blue background */
    color: #ffffff; /* White text */
    border: none; /* Remove border */
    padding: 10px; /* Adjust padding as needed */
    border-radius: 5px; /* Add rounded corners */
}

.language-selector {
    position: absolute;
    top: 0;
    left: 48%;
    z-index: 3;
    padding: 0px;
    display: flex;
    align-items: center;
}

.language-selector label,
.language-selector select {
    color: #ffffff;
}

@media (max-width: 1081px) {
	.paragraph-row {
		flex-direction: column; /* Stack items vertically on smaller screens */
	}

	.paragraph-container {
		flex-basis: 100%; /* Full width for single column on small screens */
	}

    .background-container {
        background-size: 400%;
    }

    header {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items vertically */
    }
    
    .left, .center, .right {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        right: 0;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 10px;
        z-index: 1;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    /* Display the mobile menu icon on mobile */
    #mobile-menu-icon {
        display: block;
    }

    .paragraph-container {
        flex-basis: calc(100% - 20px);
        padding: 10px;
        margin: 10px;
        max-height: none;
        overflow-y: auto;
    }

    main {
        text-align: left;
        margin: -10px;
    }

    .language-selector {
        left: 0;
        top: 0;
    }
}

.main-button {
    font-family: 'Courier New', monospace;
	--button-border: #ffffff;
	background-color: var(--button-background);
    display: inline-block;
    margin-top: 0px;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    padding: 5px 10px;
    border: 2px solid var(--button-border);
    border-radius: 5px;
	font-size: 18px;
}

.main-button.with-blinker::before {
    font-family: 'Courier New', monospace;
    content: "|"; /* The blinking cursor character */
    font-size: 26px;
    position: absolute;
    opacity: 1;
    animation: blinker 1s infinite; /* Blinking animation */
    right: 0px; /* Adjust the distance from the right side */
    top: 0px;
    animation-delay: 1.5s; /* Delay the blinking cursor animation */
}

@keyframes blinker {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.line {
    width: 1px;
    height: 100px;
    background-color: #ffffff;
    margin: 10px auto;
}

label, select {
    color: #ffffff; /* White text */
}

select, input[type="text"], input[type="password"] {
    background-color: #333333; 
    color: #ffffff; 
    border: 1px solid #ffffff; 
    padding: 5px;
    margin-bottom: 10px; /* Optional: add some spacing between form elements */
}

button[type="button"] {
    background-color: #0052CC; /* Blue background */
    color: #ffffff; /* White text */
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
}

button[type="button"]:hover {
    background-color: #003366; /* Darker blue on hover */
}

#dashboard button {
    margin-right: 10px;
}

.custom-file-button {
    background-color: #0052CC;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
}

.custom-file-button:hover {
    background-color: #003366; /* Darker blue on hover */
}
