/* main stuff */

body, html {
	color: rgb(51,51,51);
	/*background: white;*/
	background: rgb(235 236 234);
	font-family: Lato, Poppins, sans-serif;
	min-height: 100%;
}

body {
	margin: 0 0.5em;
	padding-bottom: 5.5em;
}

body.hp {
	overflow: hidden;
}

div, p, fieldset, section, footer {
	box-sizing: border-box;
}

a {
	color: #F00000;
}

/* HP stuff */

.HPLink {
	width: 100%;
	display: block;
	text-align: center;
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
}

.HPLink .logo {
	width: 100%;
	max-width: 600px;
}

h1 {
	font-size: 3em;
	margin-bottom: 1em;
	text-align: center;
	font-weight: normal;
	line-height: 65%;
}

/* lgnlist */

.languageListTitle {
	margin-bottom: 2em;
}

.languageList {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: 1.5em;
}

.languageList__item {
	flex-shrink: 1;
	flex-grow: 1;
	/*max-width: 250px;*/
	min-width: 180px;
	max-width: 250px;
	
	text-align: center;
	margin-bottom: 3em;

	display: flex;
	flex-direction: column;

	border-radius: 1em;
	padding: 1em 0;
	position: relative;
}

.languageList__item:hover {
	animation: pulse2 1s 1;
}

.languageList__item__flag {
	width: 60%;
	
}

.languageList__item .flag {
	position: absolute;
	width: 60px;
	height: 60px;
	top: -15px;
	z-index: 10;
	border-radius: 50%;
	display: flex;
	vertical-align: middle;
	text-align: center;
	font-weight: bold;
	font-size: 0.8em;
	display: flex;
	flex-flow: column;
	line-height: 0.9;
}

.languageList__item .flag .flagIn {
	flex-grow: 0;
	font-size: 80%;
}

.languageList__item .flag .padder {
	flex-grow: 1;
}

/* language */

h1 .titleBackLink {
	font-size: 30%;
}


.languageText p {
	margin-top: 0;
}
	
.languageText {
	flex-basis: 100%;
	width: 100%;
	order: 0;
}

.language {
	max-width: 1200px;
	margin: auto;

	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}

.language .language__main {
	flex: 3;
	min-width: 300px;
	text-align: left;
	order: 1;
}

.language .language__main img {
	width: 100%;
	margin-bottom: 1em;
	border-radius: 1em;
}

.language .language__main__btn {
	text-align: center;
	display: flex;
	justify-content: space-evenly;
	gap: 0.5em;
}

.language .language__sec  {
	flex: 8;
	min-width: 300px;

	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	justify-content: space-evenly;
	order: 2;
}

.language .language__sec::after  {
	flex: auto;
	content: "";
}

.language .language__sec__item  {
	/*dth: 150px;*/
	flex-basis: 185px;
	flex-shrink: 1;
	/*flex-grow: 1;*/


	display: flex;
	flex-direction: column;

	margin-bottom: 2em;
}

.language  .language__sec__item img  {
	max-width: 100%;
	flex: auto;
}

.language .language__sec__item__title {
	text-align: center;
	font-weight: normal;
	font-size: 0.9em;
	flex: auto;
}

.language .language__sec__item__dates {
	text-align: center;
	font-size: 70%;
	flex: 1;
	margin: 1em 0;
}

.language .language__sec__item__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	justify-content: space-evenly;
	flex: 1;
}


.language .language__sec__item__links a {
	display: flex;
	flex-wrap: wrap;
}

.language .language__sec__item.language__sec__item--passed {
	filter: grayscale(1);
}

.language .language__sec__item.language__sec__item--passed:hover {
	filter: grayscale(0);
}

.copyRightBody {
	display: none;
}

/* footer */
footer {
	position: fixed;
	bottom: 0;
	background: rgb(51,51,51);
	height: 3em;
	width: 100%;
	padding: 1em;
	color: white;
	font-size: 0.8em;
	z-index: 11;
}

footer .copyrightBody {
	display: none;
}

footer.copyrightShown {
	height: 7.5em;
}

footer.copyrightShown .copyrightBody {
	display: inline;
}


footer a {
	color: white;
	font-weight: bold;
}

/* buttons */

.btn {
	background: #F00000;
	color: white;
	border-radius: 4px;
	border: 0;
	font-weight: bold;
	padding: 0.5em 1.5em;
}

.btn a, a.btn {
	color: white;
	text-decoration: none;
}

.btn.btn--dark {
	background: rgb(51,51,51);
}

.btn.btn--small {
	padding: 0.2em 1em;
	font-size: 80%;
}

.langListBtn {
	position: relative;
	z-index: 5000;
}

/* bubbles */
.bubble {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	position: absolute;
	z-index: 1;
	pointer-events: none;
	transform: translate(-50%, -50%);
	animation: blow 4s linear infinite, blowh 4s cubic-bezier(0,0.5,0.5,1) infinite;
}

.bubble.size0 {
	/*width: 50px;
	height: 50px;
	bottom: -50px;*/


	width: 2.5vw;
	height: 2.5vw;
	bottom: -2.5vw;
}

.bubble.size1 {
	width: 4vw;
	height: 4vw;
	bottom: -4vw;
}

.bubble.size2 {
	width: 9vw;
	height: 9vw;
	bottom: -9vw;
}

.bubble.size3 {
	width:  12.5vw;
	height: 12.5vw;
	bottom: -12.5vw;
}

.bubble.color0 {
	background: #3ebe3a;
}

.bubble.color1 {
	background: #027be6;
}

.bubble.color2 {
	background: #ee760e;
}

.bubble.color3 {
	background: #fd282a;
}

.bubble.color4 {
	background: #96f2fe;
}

.pulsing {
	box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	transform: scale(1);
	animation: pulse 2s infinite;
}



@keyframes pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

@keyframes blow {
	0% {
		transform: translateY(-50%);
		opacity: 1;
	}

	100% {
		transform: translateY(-100vh);
		 opacity: 0;
	}

}

@keyframes pulse2 {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
	}
	
	20% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
	}

	100% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}
}

/* responsive stuff */


@media (max-width: 830px) {
	body {
		padding-bottom: 3em;
	}	

	footer {
		height: 3em;
	}

	footer.copyrightShown {
		height: 7.5em;
	}

	.languageList__item {
		margin-bottom: 0.5em;
	}

}

@media (max-width: 750px) {

	.booklet {
		display: none;
	}
	
	.booklet__bottom {
		display: block;
		text-align: left;
		padding: 0;
	}
	
	body {
		padding-bottom: 3em;
	}	

	footer {
		height: 3em;
	}
	
	footer.copyrightShown {
		height: 10.5em;
	}

	.language .language__main, .language .language__sec {
		flex-basis: 100%;
		width: 100%;
	}
	
	.language .language__main {
		order: 0;
	} 

	.language .language__sec {
		order: 2;
	}
	
	.languageText {
		order: 1;
	}
}

@media (max-width: 615px) {
}
@media (max-width: 660px) {
	.HPLink {
		top: 20%;
		transform: translateY(-20%);
	}

	body {
		padding-bottom: 3em;
	}	

	footer {
		height: 3em;
	}
	
	footer.copyrightShown {
		height: 13em;
	}

	h1 {
		line-height: 100%;
	}

}

@media (max-width: 400px) {
	body {
		padding-bottom: 3em;
	}	

	footer {
		height: 3em;
	}
	
	footer.copyrightShown {
		height: 15em;
	}
}

@media (max-height: 730px) {
	.HPLink {
		top: 20%;
		transform: translateY(-20%);
	}
}

@media (max-height: 680px) {
	.HPLink {
		top: 20%;
		transform: translateY(-20%);
	}

	.HPLink h1 { 
		margin-top: 0;
		margin-bottom: 0.5em;
		line-height: 1em;
		font-size: 1.5em;
	}

}


