@font-face {
    font-family: 'CC Up Up And Away Outline';
    src: url('font/CCUpUpAndAway-Outline.eot');
    src: local('CC Up Up And Away Outline'), local('CCUpUpAndAway-Outline'),
        url('font/CCUpUpAndAway-Outline.eot?#iefix') format('embedded-opentype'),
        url('font/CCUpUpAndAway-Outline.woff2') format('woff2'),
        url('font/CCUpUpAndAway-Outline.woff') format('woff'),
        url('font/CCUpUpAndAway-Outline.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CC Up Up And Away Inline';
    src: url('font/CCUpUpAndAway-Inline.eot');
    src: local('CC Up Up And Away Inline'), local('CCUpUpAndAway-Inline'),
        url('font/CCUpUpAndAway-Inline.eot?#iefix') format('embedded-opentype'),
        url('font/CCUpUpAndAway-Inline.woff2') format('woff2'),
        url('font/CCUpUpAndAway-Inline.woff') format('woff'),
        url('font/CCUpUpAndAway-Inline.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CC Up Up And Away Shadow';
    src: url('font/CCUpUpAndAway-Shadow.eot');
    src: local('CC Up Up And Away Shadow'), local('CCUpUpAndAway-Shadow'),
        url('font/CCUpUpAndAway-Shadow.eot?#iefix') format('embedded-opentype'),
        url('font/CCUpUpAndAway-Shadow.woff2') format('woff2'),
        url('font/CCUpUpAndAway-Shadow.woff') format('woff'),
        url('font/CCUpUpAndAway-Shadow.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CC Up Up And Away';
    src: url('font/CCUpUpAndAway.eot');
    src: local('CC Up Up And Away'), local('CCUpUpAndAway'),
        url('font/CCUpUpAndAway.eot?#iefix') format('embedded-opentype'),
        url('font/CCUpUpAndAway.woff2') format('woff2'),
        url('font/CCUpUpAndAway.woff') format('woff'),
        url('font/CCUpUpAndAway.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CC Up Up And Away Popup';
    src: url('font/CCUpUpAndAway-Popup.eot');
    src: local('CC Up Up And Away Popup'), local('CCUpUpAndAway-Popup'),
        url('font/CCUpUpAndAway-Popup.eot?#iefix') format('embedded-opentype'),
        url('font/CCUpUpAndAway-Popup.woff2') format('woff2'),
        url('font/CCUpUpAndAway-Popup.woff') format('woff'),
        url('font/CCUpUpAndAway-Popup.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'avenir next regular';
    src: url('font/avenir-next-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


#body {
	font-family: 'avenir next regular', Arial;
    display: flex;
	flex-direction: column;
	/* align-items: center; */
	margin: 0;
    padding: 0;
	background-color: #f4f4f4;
	/* background-image: url('/images/background.png'); */
	/* background-attachment:fixed; */
    /* background-repeat: no-repeat; */
    /* background-size: cover; */
	/* margin-bottom: 100px; */
	/* min-height: 400px; */
	min-height: 100vh; 
}

#body_black {
	font-family: 'avenir next regular', Arial;
	color: white;
    display: flex;
	flex-direction: column;
	/* align-items: center; */
	margin: 0;
    padding: 0;
	background-color:#201d1d;
	background-attachment:fixed;
    background-repeat: no-repeat;
    background-size: cover;
	/* margin-bottom: 100px; */
	/* min-height: 400px; */
	min-height: 100vh; 
}

#black {
	font-family: 'avenir next regular', Arial;
	color: black;
    display: flex;
	flex-direction: column;
	/* align-items: center; */
	margin: 0;
    padding: 0;
	background-color:#201d1d;
	background-attachment:fixed;
    background-repeat: no-repeat;
    background-size: cover;
	/* margin-bottom: 100px; */
	/* min-height: 400px; */
	min-height: 100vh; 
}


/*header*/
.logo {
	font-size: 24px;
	font-weight: bold;
}

.logo img {
	height: 60px;
	z-index: 5;
	position: relative;
}

.header_li {
	font-size: 24px;
	font-weight: bold;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
	padding-bottom: 25px;
}

.menu {
			display: flex;
			flex-wrap: wrap;
			gap: 20px;
			justify-content: center;
			flex: 1 1 auto;
		}

.nav-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
    margin-right: 10px;
	padding-right: 25px;
    padding-left: 25px;
	height: 40px;
	
}

.nav-links li form{
	margin-top: 15px;
}

.header_li img {
	height: 170px;
	margin-top: -50px;
}

.header_li a:hover {
	text-decoration: underline;
}

.header_div {
	height: 60px;
	width: 140px;
	position: fixed;
	display : none;
}

.header_a_img {
		display: block;
}

.header_img {
		display: none;
}

#burger {
    display: none;
    cursor: pointer;
}

main {
	flex: 1;
}

/*footer*/
footer {
	font-family: 'avenir next regular';
	background-color: #333;
	color: #fff;
	padding: 10px;
	text-align: center;
	display: block;
	height: 40px;
	z-index: 1;
}

footer p {
	width : 100%;
	text-align : center;
}


.container {
    max-width: 800px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
	font-family: 'CC Up Up And Away', Arial;
    text-align: center;
}

h2 {
	font-family: 'avenir next regular';
	margin: 0;
}

p {
	font-family: 'avenir next regular';
    text-align: center;
}
.align-center {
    text-align: center;
}

#quiz {
    margin-top: 20px;
}

#choices {
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    background-color: #c94f4f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #e05d5d;
}

#result {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}


/* Toggle language button */
.switch {
  position: fixed;
  display: inline-block;
  display: none;
  margin: 0 5px;
  right: 0;
}

.switch > span {
  position: absolute;
  top: 14px;
  pointer-events: none;
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  width: 50%;
  text-align: center;
}

input.check-toggle-round-flat:checked ~ .off {
  color: #F36F25;
}

input.check-toggle-round-flat:checked ~ .on {
  color: #fff;
}

.switch > span.on {
  left: 0;
  padding-left: 2px;
  color: #F36F25;
}

.switch > span.off {
  right: 0;
  padding-right: 4px;
  color: #fff;
}

.check-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.check-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input.check-toggle-round-flat + label {
  padding: 2px;
  width: 97px;
  height: 35px;
  background-color: #F36F25;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}
input.check-toggle-round-flat + label:before, input.check-toggle-round-flat + label:after {
  display: block;
  position: absolute;
  content: "";
}

input.check-toggle-round-flat + label:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background-color: #F36F25;
  -webkit-
  
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}
input.check-toggle-round-flat + label:after {
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: 48px;
  background-color: #fff;
  -webkit-border-radius: 52px;
  -moz-border-radius: 52px;
  -ms-border-radius: 52px;
  -o-border-radius: 52px;
  border-radius: 52px;
  -webkit-transition: margin 0.2s;
  -moz-transition: margin 0.2s;
  -o-transition: margin 0.2s;
  transition: margin 0.2s;
}

input.check-toggle-round-flat:checked + label {
}

input.check-toggle-round-flat:checked + label:after {
  margin-left: 44px;
}

/*slider years*/
.noUi-connect {
	/* background: #c039ff; */
	background: #c94f4f;
}

/*True / false toggle*/
/* The switch - the container */
/* .switch-true { */
  /* position: relative; */
  /* display: inline-block; */
  /* width: 60px; */
  /* height: 34px; */
/* } */

/* Hide the default HTML checkbox */
/* .switch-true input { */
  /* opacity: 0; */
  /* width: 0; */
  /* height: 0; */
/* } */

/* The slider */
/* .slider-true { */
  /* position: absolute; */
  /* cursor: pointer; */
  /* top: 0; */
  /* left: 0; */
  /* right: 0; */
  /* bottom: 0; */
  /* background-color: red; Default color when false */
  /* transition: 0.4s; */
  /* border-radius: 34px; */
  /* display: flex; */
  /* align-items: center; */
  /* justify-content: center; */
  /* color: white; Text color */
  /* font-size: 14px; */
  /* font-weight: bold; */
/* } */

/* Checked state - move the slider to the right */
/* input:checked + .slider-true { */
  /* background-color: green; Color when true */
/* } */

/* Style for the toggle switch container */
.toggle-container {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: 100px;
    height: 50px;
    margin: 10px;  /* Add margin for spacing between switches */
}

/* Hide the default checkbox */
.toggle-checkbox {
    display: none;
}

/* Toggle switch label */
.toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    cursor: pointer;
}

/* True section style */
.true-section, .false-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5em;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Green check mark for True when selected */
.true-section.selected {
    background-color: green;
    color: white;
}

/* Red cross for False when selected */
.false-section.selected {
    background-color: red;
    color: white;
}

/* Grayed out when not selected */
.true-section:not(.selected), .false-section:not(.selected) {
    background-color: #ccc;
    color: #999;
}


/* mobile responsive */
@media screen and (max-width: 768px) {
	header {
		color: white;
		padding: 20px;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		/* background-image: url('/images/background.png'); */
		/* background-color:#c65656; */
		background-attachment:fixed;
		background-repeat: no-repeat;
		background-size: cover;
	}

    .nav-links {
		z-index: 100;
        flex-direction: column;
        text-align: center;
        position: fixed;
        top: 0px;
        left: -100%;
        width: 100%;
        padding-top: 20px;
		padding-bottom: 20px;
		/* background-image: url('/images/background.png'); */
		background-color:#c65656;
		opacity: 0.9;
    }

    .nav-links li {
        display: block;
        margin: 10px 0;
    }
	
	.nav-links li form{
		margin-top: 0px;
	}

    #burger {
		z-index: 150;
        display: flex;
		position: fixed;
		left : 1%;
    }
	#burger:before {
		content: "\2630";
		display: inline-block;
		transform: scale(2);
	}
	.nav-active #burger:before {
		content: "\2715";
		transform: scale(2);
	}

    ul.nav-active {
        left: 0%;
    }
	
	.header_div {
		display: block;
		width: 93%;
	}
	
	.header_a_img {
		display: none;
	}
	
	.header_img {
		display: inline;
	}
	
	footer {
		padding-bottom: env(safe-area-inset-bottom);
	}

}

