html
{
	-webkit-tap-highlight-color: transparent;
	scroll-behavior: smooth;
}

.mobile
{
	display: none !important;
}

.center-text
{
	width: 100%;
	text-align: center !important;
}

body
{
	overflow-x: hidden;
	margin: 0;
	padding: 0;
	left: 0;
	top: 0;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	background: var(--background0);
	-webkit-tap-highlight-color: transparent;
	font-family: Helvetica, sans-serif;
	color: var(--font1);
}

h1, h2
{
	font-weight: 600;
}

h1
{
	font-size: 1.625rem;
}

h2
{
	font-size: 1.325rem;
}

h3
{
	font-size: 2.25rem;
	margin-top: 0.5rem;
}

a
{
	color: var(--fontAccent2);
}

.underline
{
	text-decoration: underline;
	cursor: pointer;
}

.link
{
	filter: brightness(1);
	transition: color 0.3s ease, filter 0.2s ease;
}

.link:hover
{
	color: var(--fontAccent1);
}

.link:active
{
	filter: brightness(0.8);
}

.small-text
{
	font-size: 0.95rem;
}

.big-text
{
	font-size: 1.05rem;
}

#logo
{
	position: relative;
	top: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	display: inline-block;
	white-space: nowrap;
}
	
#logo-img
{
	border-radius: 0.25rem;
	width: 7.5rem;
	display: inline;
	position: relative;
	top: -0.5rem;
	margin-right: 0.25rem;
}

#logo-text
{
	position: relative;
	display: inline;
	font-size: 2.375rem;
	top: -2.125rem;
	background: linear-gradient(90deg, var(--fontAccent2), var(--fontAccent1));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 150% 100%;
	background-position: right;
	
}

#logo-slogan
{
	position: relative;
	display: inline;
	white-space: nowrap;
	font-size: 1.1rem;
	top: -2.5rem;
	margin-left: 1.25rem;
	color: var(--fontAccent1);
}

#fading
{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 12rem;
	background: linear-gradient(to bottom, var(--fade) 0%, transparent 100%);
}

#opener
{
	width: 100%;
}

#opener-img
{
	display: block;
	margin: 3rem auto 3rem auto;
	height: 30rem;
	max-height: 65vh;
	width: auto;
	box-shadow: 0 0 1rem 0.25rem rgba(0,0,0,0.025);
	border-radius: 0.25rem;
}

header
{
	position: relative;
	z-index: 10;
}

nav ul
{
	display: inline-block;
	position: relative;
	margin-top: 0;
	margin-bottom: 0.5rem;
	left: 50%;
	transform: translateX(-50%);
	list-style: none;
	padding: 0;
	white-space: nowrap;
}

nav ul > li
{
	display: inline;
	padding: 0 0.5rem;
}	

nav a
{
	font-size: 1.35rem;
	filter: brightness(1);
	transition: color 0.3s ease, filter 0.2s ease;
}

nav a:hover
{
	color: var(--fontAccent1);
}

nav a:active
{
	filter: brightness(0.8);
}

.choice-button
{
	position: relative;
	transform: translate(10.25rem,-4rem);
	height: 1.5rem;
	width: 1.5rem;
}

.choice
{
	font-size: 1.1rem;
	line-height: 1.75rem;
	text-decoration: underline;
}

.choices
{
	cursor: pointer;
	visibility: hidden;
	position: absolute;
	background: var(--background1);
	color: var(--font1);
	border-radius: 0.25rem;
	padding: 0.5rem;
	opacity: 0;
	overflow-y: auto;
	overflow-x: hidden;
	box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
	transition: opacity 0.2s 0.2s ease, transform 0.2s 0.2s ease, visibility 0.2s 0.2s ease;
}

.choices#choices1
{
	transform: translate(0,-0.25rem);
	left: 0.75rem;
}

.choices#choices2
{
	left: calc(50% + 3rem);
	transform: translate(-50%,-0.25rem);
}

.choices#choices3
{
	transform: translate(0,-0.25rem);
	right: 0.75rem;
}

.choice-button:hover ~ .choices, .choices:hover
{
	visibility: visible;
	opacity: 1;
}

.choice-button:hover ~ .choices#choices1, .choices#choices1:hover
{
	transform: translate(0,0.125rem);
}

.choice-button:hover ~ .choices#choices2, .choices#choices2:hover
{
	transform: translate(-50%,0.125rem);
}

.choice-button:hover ~ .choices#choices3, .choices#choices3:hover
{
	transform: translate(0,0.125rem);
}

.choices::-webkit-scrollbar
{
	width: 0.25rem;
}

.choices::-webkit-scrollbar-thumb
{
	background-color: var(--accent);
	border-radius: 0.25rem;
}

.choices::-webkit-scrollbar-track
{
	background-color: transparent;
}

.choices::-webkit-scrollbar-button
{
	display: none;
}

.choices::-webkit-scrollbar-corner
{
	background-color: transparent;
}

#main .content
{
	display: block;
	margin: 0 auto;
	width: 52.5rem;
	max-width: 90%;
	background: var(--background1);
	padding: 1.5rem;
	margin-top: 2rem;
	border-radius: 0.25rem;
	font-size: 1.1rem;
	box-shadow: 0 0.5rem 1rem 0.25rem rgba(0,0,0,0.025);
}

#main .list-content
{
	display: block;
	margin: 0 auto;
	width: 52.5rem;
	max-width: 90%;
	background: var(--background1);
	padding: 1.5rem;
	margin-top: 2rem;
	border-radius: 0.25rem;
	font-size: 1.1rem;
	box-shadow: 0 0.5rem 1rem 0.25rem rgba(0,0,0,0.025);
}

#details
{
	display: block;
	margin: 0 auto;
	width: 31rem;
	background: var(--background1);
	padding: 1rem 3rem 2rem 3rem;
	margin-top: 2rem;
	border-radius: 0.25rem;
	font-size: 1.1rem;
	box-shadow: 0 0.5rem 1rem 0.25rem rgba(0,0,0,0.025);
}

#details span:not(.wrap-text)
{
	width: 100%;
}

.wrap-text
{
	display: inline-block;
	width: 19rem;
	float: right;
}

.image
{
	display: block;
	margin: 0 auto 1.5rem auto;
	width: 65vw;
	max-width: 52.5rem;
	height: 33vw;
	max-height: 28.75rem;
	object-fit: cover;
	box-shadow: 0 0 1rem 0.25rem rgba(0,0,0,0.025);
	border-radius: 0.25rem;
}

.image-small
{
	display: block;
	margin: 0 auto 1rem 0;
    width: 7.5rem;
	height: 11.05rem;
	object-fit: cover;
    box-shadow: 0 0 1rem 0.25rem rgba(0,0,0,0.025);
	border-radius: 0.25rem;
}

.image-smallmedium
{
	display: block;
	margin: 0 auto 1rem 0;
    width: 9.25rem;
	height: 12.7765625rem;
	object-fit: cover;
    box-shadow: 0 0 1rem 0.25rem rgba(0,0,0,0.025);
	border-radius: 0.25rem;
}

.float.image.desktop
{
	position: relative;
	float: right;
	margin: 0 auto -3rem 0;
    width: 20rem;
	height: 15rem;
	object-fit: cover;
}

.float.image.mobile
{
	position: relative;
	float: right;
	margin: 0 0-3rem 0;
    width: 7.75rem;
	height: 14.5rem;
	object-fit: cover;
}
.courses
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 1rem;
	margin-bottom: 1rem;
}

.strong
{
	font-weight: bold;
}

.online-course
{
	background: var(--ui3);
	border-radius: 0.25rem;
	position: relative;
	width: 85%;
	margin: 0 auto;
	padding: 1.25rem !important;
	font-size: 1rem;
	white-space: normal;
	box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
	transform: scale(1);
	transition: transform 0.3s ease;
}

.online-course:hover
{
	transform: scale(1.025);
}

.course-template, .hidden-course
{
	display: none !important;
	width: 20rem;
}

.course
{
	background: var(--ui3);
	border-radius: 0.25rem;
	display: inline-block;
	list-style: none;
	width: 20rem;
	max-height: 17rem;	
	overflow: hidden;
	padding: 1.25rem;
	font-size: 1rem;
	white-space: normal;
	box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
	transform: scale(1);
	scrollbar-width: none;
	-ms-overflow-style: none;
	transition: transform 0.3s ease, max-height 1s 0.2s ease;
}

.course:hover
{
	max-height: 100rem;
	transform: scale(1.025);
}

.list-content hr
{
	margin-top: 0.75rem;
	margin-bottom: 1.25rem;
	width: 90%;
	height: 0.125rem;
	background: var(--ui1);
	opacity: 0.825;
	border: 0 solid transparent;
	border-radius: 0.25rem;
}

.course li
{
	padding: 0.5rem;
}

.course li:nth-child(1)
{
	font-size: 1.25rem;
	font-weight: bold;
	color: var(--font2);
}

.course a
{
	filter: brightness(1);
	transition: color 0.3s ease, filter 0.2s ease;
}

.course a:hover
{
	color: var(--fontAccent1);
}

.course a:active
{
	filter: brightness(0.8);
}

.dropdown-content
{
	display: block;
	visibility: hidden;
	text-align: left;
	opacity: 0;
	height: auto;
	max-height: 0;
	z-index: -1;
	margin-top: 0;
	transition: opacity 0.4s 0.2s ease, max-height 0.5s 0.7s ease, margin 1s 3.2s ease, visibility 0.1s 1.2s ease, z-index 0s 1.2s;
}

.course:hover .dropdown-content
{
	visibility: visible;
	overflow: visible;
	z-index: 2;
	max-height: 100%;
	opacity: 1;
	margin-top: 2rem;
	transition: opacity 0.3s 0.3s ease, max-height 0.3s 0.2s ease, margin 0.3s 0.2s ease, visibility 0.1s 0.2s ease, z-index 0s 0.4s;
}

.infos
{
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.infos img
{
	width: 100%;
	height: auto;
}

.dropdown-arrow
{
	position: absolute;
	display: inline-block;
	font-size: 2rem;
	width: 1.5rem;
	height: 1.75rem;
	right: 2.25rem;
	margin-top: -1.25rem;
	cursor: pointer;
}

.dropdown-arrow span
{
	content: "";
	position: absolute;
	top: 0.53rem;
	width: 0.325rem;
	height: 1rem;
	background-color: var(--uiAccent);
	border-radius: 1rem;
	transition: transform 0.2s ease-out, top 0.2s ease-out, background-color 0.15s ease-in;
}

.dropdown-arrow span:nth-of-type(1)
{
	left: 0.3rem;
	transform: rotate(-50deg);
}

.dropdown-arrow span:nth-of-type(2)
{
	left: 0.9rem;
	transform: rotate(50deg);
}

.course:hover .dropdown-arrow span:nth-of-type(1)
{
	transform: rotate(-130deg);
	top: 0.48rem;
}

.course:hover .dropdown-arrow span:nth-of-type(2)
{
	transform: rotate(130deg);
	top: 0.48rem;
}

.ghost
{
	display: none !important;
	filter: saturate(25%) contrast(75%);
}

.stars
{
	opacity: 0.5;
}

.button
{
	cursor: pointer;
	color: var(--font2);
	font-size: 0.9rem;
	background: var(--ui1);
	border-radius: 0.25rem;
	border: 0.125rem solid var(--uiAccent);
	padding: 0.375rem 0.75rem;
	cursor: pointer;
	text-decoration: none;
	transform: translate(0,-2rem);
	filter: saturate(100%);
	transition: background 0.2s ease, transform 0.2s ease, border 0.2s ease, filter 0.2s ease;
}

.button:hover
{
	filter: saturate(130%);
}

.button:active
{
	background-color: var(--ui2);
	border: 0.125rem solid var(--uiAccent);
	transform: translate(0,-1.95rem);
}

.course .button
{
	position: relative;
	top: 0.825rem;
}

.scroll-down-button
{
	position: relative;
	top: -0.75rem;
	left: 0.25rem;
	padding: 0.825rem 0.5rem 0 0.5rem;
	border-radius: 0.25rem;
	background: var(--ui1);
	color: var(--font1);
	text-decoration: none;
	font-size: 1.125rem;
	font-weight: 600;
}

footer svg
{
	position: relative;
	margin-bottom: -0.5rem;
	padding: 0.125rem 0.325rem 0.25rem 0.325rem;
	border-radius: 0.25rem;
	background: var(--ui1);
	color: var(--font1);
	text-decoration: none;
	font-size: 1.125rem;
	font-weight: 600;
}

footer
{
	position: relative;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: var(--background1);
	font-weight: 400;
	padding: 1.25rem 0 0.75rem 0;
	bottom: 0;
	left: 0;
	margin-top: 5rem;
	border-radius: 0.25rem 0.25rem 0 0;
	box-shadow: 0 -0.5rem 1rem 0.25rem rgba(0,0,0,0.025);
}

footer a
{
	text-decoration: none;
}

#footer-links a,  #footer-copy a, #footer-copy span
{
	font-size: 1.05rem;
}

#footer-links a
{
	color: var(--font1);
	transition: color 0.3s ease, filter 0.2s ease;
}

#footer-copy a
{
	opacity: 0.75;
	color: var(--font1);
}

#footer-links a:hover
{
	color: var(--fontAccent2);
}

#footer-links a:active
{
	filter: brightness(0.8);
}

footer li
{
	display: inline;
}

#footer-links
{
	justify-content: center;
	align-items: center;
}

#footer-copy
{
	line-height: 2rem;
	justify-content: center;
	align-items: center;
}

footer ul
{
	padding: 0;
	margin: 0.5rem 0;
}

#footer-links li:nth-child(1)::after, 
#footer-links li:nth-child(2)::after
{
	content: "|";
	margin: 0 0.5rem;
	color: var(--font1);
}

@media only screen and (max-width: 900px)
{
	#opener-img
	{
		max-width: 80vw;
		height: auto;
	}
}

@media only screen and (min-width: 3000px)
{
	html
	{
		font-size: 32px;
	}
}

@media only screen and (min-width: 2000px)
{
	html
	{
		font-size: 20px;
	}
}


@media only screen and (min-width: 801px)
{
	.list-content p, .list-content h2:first-of-type
	{
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	.list-content h2:not(:first-of-type)
	{
		padding-left: 5%;
	}
}

@media only screen and (max-width: 800px)
{
	#logo-img
	{
		width: 8rem;
	}
	
	#logo-text
	{
		font-size: 2.525rem;
		top: -1.625rem;
	}
	
	#logo-slogan
	{		
		display: block;
		top: -0.75rem;
		margin-left: initial;
	}
	
	.courses
	{
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 0.25rem;
		margin-bottom: 0.25rem;
	}
	
	.course
	{
		max-width: 82.5%;
	}
	
	.course li:nth-child(1)
	{
		font-size: 1.05rem;
	}
	
	.course li:not(:nth-child(1))
	{
		font-size: 0.9rem;
	}

	.course li
	{
		padding: 0.325rem;
	}
	
	.list-content p, .list-content h2:first-of-type
	{
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}

	.list-content h2:not(:first-of-type)
	{
		padding-left: 2.5%;
	}
	
	.list-content hr
	{
		margin-top: 0.75rem;
		margin-bottom: 1.25rem;
		width: 95%;
	}
}	

@media only screen and (max-width: 600px)
{
	.mobile
	{
		display: initial !important;
	}
	
	.desktop
	{
		display: none;
	}

	#logo-img
	{
		width: 6.5rem;
	}
	
	#main .content
	{
		margin-top: 3rem;
		max-width: 80vw;
	}
	
	#main .list-content
	{
		padding: 1rem;
		margin-top: 3rem;
		max-width: 80vw;
	}

	#details
	{
		margin-top: 3rem;
		max-width: 72.5vw;
		padding: 1rem 1.825rem 2.125rem 1.825rem;
	}
	
	#opener-img
	{
		max-width: 90vw;
		height: auto;
	}
	
	.image
	{
		width: 80vw;
		max-width: 80vw;
		height: 44vw;
	}
	
	.image-smallmedium
	{
		display: block;
		margin: 0 auto 1rem auto;
		position: relative;
		left: 50%;
		transform: translate(-50%);
		width: 10rem;
		height: 15rem;
		object-fit: cover;
		box-shadow: 0 0 1rem 0.25rem rgba(0,0,0,0.025);
		border-radius: 0.25rem;
	}
	
	.wrap-text
	{
		display: block;
		width: 100%;
		float: initial;
	}
	
	nav ul
	{
		margin-top: 1.25rem;
	}
	
	nav a
	{
		font-size: 1.25rem
	}
}

@media only screen and (max-width: 360px)
{
	html
	{
		font-size: 15px;
	}
}

@media only screen and (max-width: 320px)
{
	html
	{
		font-size: 13.5px;
	}
}