html{
	scroll-behavior: smooth;
}
body{
	font-family: 'Source Serif Pro', serif;
	color: #2d3436;
	margin: 0;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease;
	align-items: center;
}
h1{
	display: inline-block;
	padding: 5px 20px 5px 0px;
	width: 100%;
	margin: 0px;
}
h2{
	margin: 5px 0px 10px 0px;
}
h4{
	font-weight: bold;
	margin: 10px 0;
	font-size: 2rem;
	text-align: left;
	line-height: 1;
}
p{
	padding-bottom: 5px;
	font-size: 1.1rem;
}
a{
	text-decoration: none;
	color: #2d3436;
}
a:hover{
	text-decoration: underline;
}
.glow-link {
	text-decoration: none; /* Remove default underline */
	padding: 5px 2px;
	border-radius: 5px;
	transition: color 0.3s ease-in-out;
	position: relative;
	animation: glow 1.5s infinite alternate;
  }
  
  @keyframes glow {
	0% {
	  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4), 0 0 5px rgba(255, 255, 255, 0.4),
				   0 0 15px rgba(255, 255, 255, 0.6), 0 0 15px rgb(204, 255, 101),
				   0 0 25px rgb(204, 255, 101), 0 0 25px rgb(204, 255, 101),
				   0 0 35px rgb(204, 255, 101);
	}
	100% {
	  text-shadow: 0 0 2px rgba(255, 255, 255, 0.2), 0 0 2px rgba(255, 255, 255, 0.3),
				   0 0 7px rgba(255, 255, 255, 0.4), 0 0 7px rgb(204, 255, 101),
				   0 0 10px rgb(204, 255, 101), 0 0 30px rgb(204, 255, 101),
				   0 0 17px rgb(204, 255, 101);
	}
  }
.dt{
	display: none;
}
@media (min-width: 1200px) {
	.dt{
		display: block;
	}
}
/* SIDEBAR */
.sidebar {
	position: fixed;
	top: 0;
	left: -280px;
	width: 250px;
	height: 100vh;
	background-color: #333;
	color: white;
	transition: left 0.3s ease;
	z-index: 1000;
	padding: 25px 15px;
	font-family: sans-serif;
}
.sidebar.active {
	left: 0;
}
.sidebar ul {
	list-style: none;
    padding: 0;
    margin: 0;
}

#sidebar ul li {
    position: relative;
}

#sidebar ul li:first-child{
    border-radius: 10px 10px 0px 0px;
}
#sidebar ul li:last-child{
    border-radius: 0px 0px 10px 10px;
}

#sidebar ul ul {
    display: none; /* Hide submenus */
    list-style: none;
    padding: 0;
    margin: 0;
}
#sidebar ul ul a {
    padding-left: 20px; /* Indent submenu items */
    background-color: #414141;
}
#sidebar ul ul li {	 
    border-bottom: none; /* Remove border from submenu items */
}
#menu-toggle {
    display: none; /* Hide checkbox */
}

#menu-toggle:checked + #menu-icon + #sidebar ul {
    display: block; /* Show menu when checkbox is checked */
    background-color: #f5f5dc;
}
#sidebar ul input[type="checkbox"] {
    display: none; /* Hide the submenu checkboxes */
}
#sidebar ul input[type="checkbox"]:checked + .submenu-icon {
	font-weight: bold;
	border: none;
	padding: 15px 20px;
	margin: 0;
}
#sidebar ul input[type="checkbox"]:checked + .submenu-icon + ul {
    display: block; /* Show submenus when the checkbox is checked */
}

.sidebar a {
	display: block;
	padding: 15px 20px;
	color: white;
	text-decoration: none;
}

.sidebar a:hover {
	background-color: #555;
}

.main-content {
	transition: transform 0.3s ease;
	min-height: 100vh;
}

.main-content.shifted {
	transform: translateX(250px);
}
.burger-menu {
	cursor: pointer;
	padding: 0px;
	justify-self: flex-end;
}

.burger-menu span {
	display: block;
	width: 35px;
	height: 5px;
	background-color: #ffbdbd;
	margin: 5px 0;
}
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 999;
}

.overlay.active {
	opacity: 1;
	visibility: visible;
}


nav{
	position: fixed;
	transform: translateX(-100%);
}
nav ul{
	list-style-type: none;
	transform: rotate(-90deg) translateY(-100%);
	transform-origin: 100%;
	display: flex;
	width: 100vh;
	place-content: flex-end;
}
nav ul li{
	display: inline-block;
	padding: 0px 20px 5px 20px;
}
.ul-prof{
	list-style: none;
	padding: 0;
}
.ul-prof li{
	position: relative;
	padding: 6px 0px 0px 1.6em;
	font-weight: bold;
}
.ul-prof li:before {
	content: '✓'; 
	position: absolute;
	left: 0;
	padding-right: 10px;
	color: #ffa600;
}
.main-wrapper{
	width: 70vw;
	max-width: 1200px;
	margin: 0 auto;
	margin-top: 1vh;
}
.flex-wrapper{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	align-content: space-between;
}
.quarter{
	width: 100%;
	margin-bottom: 5%;
}
.eighth{
	width: 49%;
	margin-bottom: 0;
	margin-right: 1%;
}

#header-logo{
	/*margin: 0 2vw;*/
	width: 95%;
	text-align: left;
	position: absolute;
	top: 0;
	right: 0;
	padding: 2vh 2vw;
}
#logo_img{
	width: 400px;
	height: 150px;
	background-size: contain;
	background-repeat: no-repeat;
}
@media (max-width: 800px) {
    #logo_img {
        width: 300px;
		height: 150px;
		background-size: contain;
		background-repeat: no-repeat;
    }
}
@media (max-width: 500px) {
    #logo_img {
        width: 230px;
		height: 150px;
		background-size: contain;
		background-repeat: no-repeat;
    }
}

#logo_img_small{
	width: 200px;
	height: 75px;
	background-size: contain;
	background-repeat: no-repeat;
}

#header-img{	width: 150vw; height: 53vh; min-height: 750px; }
@media (max-width: 1600px) {    
	#header-img{	width: 150vw; height: 53vh; min-height: 600px; }
}
@media (max-width: 800px) {    
	#header-img{	width: 150vw; height: 610px; min-height: 455px; 	}
}
@media (max-width: 500px) {    
	#header-img{	width: 150vw; height: 450px; min-height: 455px; 	}
}

#person{ height: 89%; bottom: 0;left: -2%; width: 380px; background-repeat: no-repeat;}
@media (max-width: 1600px) {   #person{ height: 500px; bottom: 0;left: -2%; width: 315px; } }
@media (max-width: 800px) {    #person{ height: 520px; bottom: 0;left: -11%; width: 329px; } }
@media (max-width: 500px) {    #person{ height: 388px; bottom: 0;left: -11%; width: 244px; } }


#header-text{
	/*margin: 0 2vw;*/
	width: 89%;
	text-align: left;
	background-color: #fff;
	padding: 4vh 0 0 0;
}
.left-col{
	width: 100%; 
}
.right-col{
	display: flex; 
	flex-wrap: wrap; 
	justify-content: space-between; 
	align-items: flex-start; 
	align-content: space-between; 
	width: 100%;
	margin-bottom: 20px;
}
.thirds{
}
.small-img-course{
	width: 100%;
	padding: 33% 0;
	background: #fff;
	background-size: cover;
	opacity: 0.9;
	filter: brightness(0.9)
}
.small-img-book{
	width: 100%;
	padding: 68% 0;
	background: #fff;
	background-size: cover;
	opacity: 0.9;
}
.tiny-img{
	width: 20%;
	padding: 0% 0;
	background: #fff;
	background-size: cover;
	opacity: 0.9;
	filter: brightness(0.9);
	padding-top: 16%;
	border-radius: 7px;
	margin: 0 10px 0 0;
}
.small-img{
	width: 100%;
	padding: 22% 0;
	background: #fff;
	background-size: cover;
	opacity: 0.9;
	position: relative;
}
.outer-img{
	margin-top: 15%;
	position: relative;
	border-radius: 10px;
	background-position: center;
	background-size: 100%;
	transition: background-size 500ms ease-in;
}
.quarter:hover > .outer-img{
	background-size: 110%;
}
.inner-img{
	background-repeat: no-repeat;
	background-size: cover;
	width: 75%;
	height: 145%;
	position: absolute;
	border-radius: 10px;
	top: -45%;
	right: 5%;
}
.cost{
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 20px;
}
.costsmall{
	font-size: 1rem;
}
button{
	color: #fff;
	background: #2d3436;
	padding: 10px 25px 10px 25px;
	margin-top: 10px;
	border: none;
	cursor: pointer;
}
button:hover{
	background: #636e72;
}
#courses, #levels {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 0px 10px 10px 0px;
}
.course{
	display: flex;
	margin: 5px 0px;
	flex-flow: column-reverse wrap;
}
.level{
	display: none;
	background-color: #fbffcb;
	margin: 10px 0px;
	padding: 10px 20px;
	text-align: justify;
}
#basketForm{
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	background: #fff9f9;
	padding: 15px;
	column-gap: 15px;
	border-radius: 2px;
	margin-bottom: 40px;
	border: 1px solid #e5e5e5;
}
.basket{
	margin-bottom: 15px;
	flex-direction: column;
}
#basketItems{
	width: 100%;
	padding: 0px;
}
.basketItem{
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fcfcfc;
	padding: 15px 15px;
	border-radius: 2px;
	border: 1px solid #e5e5e5;
	margin-bottom: 10px;
}
.basketItem h3 a{
	color: #000;
}
.basketItemDescr{
	width: 70%;
	align-items: center;
}
.subTotal{
	padding: 10px;
}
#basketTotal{
	width: calc(100% - 20px);
	padding: 0px 10px;
}
#payTotal{
	width: 100%;
}
#collectifs, #schedule, #contactDetails{
	display: none;
}
.warning{
	color: red;
}
form{
	width: 100%
}
input[type=radio], input[type=checkbox]{
	display: none;
}
input[type=radio] ~ label {
	padding: 5px 10px;
    	border: 1px solid #2d3436;
	margin-right: 10px;
	cursor: pointer;
}
input[type=checkbox] ~ label{
	padding: 20px 10px;
    	border: 1px solid #2d3436;
	background-color: #fff;
	color: #000;
	margin: 0px 10px 5px 0px;
	cursor: pointer;
}
.coord{
	padding: 10px 0px;
	color: #000;
	display: block;
}
input[type=text], input[type=password]{
	padding: 10px 10px;
    	border: 1px solid #2d3436;
	background-color: #fff;
	color: #000;
	display: block;
}
input[type=radio]:checked + label{
	border: 1px solid #000;
	background-color:  #2d3436; 
	color: #fff;
}
button.submit{
	border: 1px solid #000;
	background-color:  #2d3436; 
	color: #fff;
	display: block;
	text-align: center;
	font-size: 1.1rem;
}
#errorHint{
	color: red;
}
input[type=checkbox]:checked + label{
	border: 1px solid #000;
	background-color:  #fbffcb; 
	color: #000;
}
#message{
	width: 100%;
	min-height: 100px;
	padding: 10px;
}
.availability{
	display: inline-block;
	padding: 5px 7px;
	border-radius: 5px;
	font-size: 0.9rem;
	margin: 5px 5px 5px 0px;
}
footer{
	background-color: #000;
	width:100%;
	margin: 0 auto;
}
.footer-wrapper{
	display: flex;
	flex-wrap: wrap; 
	width: 70vw;
    max-width: 1200px;
	margin: 0 auto;
}
.footer-ul {
	list-style-type: none;
	padding: 10px 0 10px 0;
	color: #fff;
}
.footer-ul li a{
	color: #fff;	
}
.fade{
	opacity: 0.2;
	filter: saturate(0.5);
}
.rent{
	cursor: pointer;
	display: flex;
	overflow: hidden;
	position: relative;
}
.rent:hover{
	filter: drop-shadow(2px 2px 6px black);
}
.rentButton{
	display: none;
}
.rent:hover > .rentButton{
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #00ffc0ad;
	color: #000;
	font-weight: bold;
	font-size: 1em;
	text-align: center;
}

/* Styles for the standard dropdown menus.
------------------------------------------------------- */
#main_menu {
    position: fixed;
    top: 0px; /* Adjust as needed */
    right: 0px; /* Adjust as needed */
    z-index: 1000; /* Ensure menu is above other content */
    text-align: right;
    padding: 0px 10px 10px 10px
}

#menu_nav {
    list-style: none;
    padding: 0;
    margin: 0 15px 0 0;
    display: none; /* Hide menu initially */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Optional: box shadow for menu */
    border: 1px solid #ddd; /* Optional: border for menu */
    border-radius: 10px;
}

#menu_nav li {
    position: relative;
    background-color: #f5f5dc;
}

#menu_nav li:first-child{
    border-radius: 10px 10px 0px 0px;
}
#menu_nav li:last-child{
    border-radius: 0px 0px 10px 10px;
}

#menu_nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
}

#menu_nav a:hover {
    background-color: #f0f0f0;
    border-radius: 10px;
    font-weight: bold;
}

#menu_nav ul {
    display: none; /* Hide submenus */
    list-style: none;
    padding: 0;
    margin: 0;
}

#menu_nav ul li {
    border-bottom: none; /* Remove border from submenu items */
}

#menu_nav ul a {
    padding-left: 20px; /* Indent submenu items */
    background-color: #fff;
}

#menu-toggle {
    display: none; /* Hide checkbox */
}

#menu-toggle:checked + #menu-icon + #menu_nav {
    display: block; /* Show menu when checkbox is checked */
    background-color: #f5f5dc;
}

#menu_nav input[type="checkbox"] {
    display: none; /* Hide the submenu checkboxes */
}
#menu_nav input[type="checkbox"]:checked + .submenu-icon {
	font-weight: bold;
	border: none;
}

#menu_nav input[type="checkbox"]:checked + .submenu-icon + ul {
    display: block; /* Show submenus when the checkbox is checked */
}

.submenu-icon {
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
    margin-top: 0px;
}

.submenu-icon:hover {
    background-color: #f0f0f0;
	background-color: #555;
    border-radius: 10px;
    font-weight: bold;    
}

#submenu-icon[type="checkbox"] {
    display: none; /* Hide the submenu checkboxes */
}

#menu_nav input[type="checkbox"]:checked + .submenu-icon + ul {
    display: block; /* Show submenus when the checkbox is checked */
}
#menu_nav label {
	margin: 0 0 0 0;
	padding: 10px 10px 10px 15px;
	background-color: #f5f5dc;
}

#menu-icon {
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 10px 9px 6px 9px;
    border: none;
    border-radius: 50%;
    background-color: #00000000;
    color: #ff0026;
    display: inline-block;
}

#menu-icon:hover {
    color: #ff96a5;
}
 .file-grid {
        display: flex;
        gap: 10px;
        padding: 20px 0px;
        flex-wrap: wrap;
 }

 .file-item {
        text-align: center;
        padding: 4px;
        background-color: #e8f0ff;
        border-radius: 8px;
 }

 .pdf-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
 }

 .file-name {
        font-size: 14px;
        color: #333;
        font-wight: bold;
        text-decoration: none;
        word-wrap: break-word;
		max-width: 135px;
 }

 .file-name a[href] {
        text-decoration: none;
        font-weight: bold;
        color: #333;
 }

 .file-item:hover {
        background-color: #ece2f4;
 }
#signatureWrapper{
	background-color: #e7fffb;
	padding: 5px;
	margin: 1em 0em;

}
#signatureCanvas{
	border: 3px solid black;
	box-sizing: border-box;
	cursor: crosshair;
	display: block;
	width: 303px;
	height: 150px;
	touch-action: none;
	user-select: none;
	background-color: #fff;
}