/* Reset CSS */
html,body,div,span,h1,h2,h3,h4,h5,h6,p,img,a,ul,ol,li,video,table,thead,tbody,tr,th,td,form,fieldset,legend,button,textarea,input{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}ul,ol{list-style:none}a{text-decoration:none}img{display:block;max-width:100%;height:auto}table{border-collapse:collapse;border-spacing:0}th,td{padding:0;text-align:left}button,select{text-transform:none}

@font-face {
  font-family: 'PPNeueMachina-InktrapRegular';
  src: url('Fonts/PPNeueMachina-InktrapRegular.otf') format('opentype');
}
@font-face {
  font-family: 'PPNeueMachina-PlainLight';
  src: url('Fonts/PPNeueMachina-PlainLight.otf') format('opentype');
}

@font-face {
  font-family: 'PPNeueMachina-PlainUltrabold';
  src: url('Fonts/PPNeueMachina-PlainUltrabold.otf') format('opentype');
}

@font-face {
  font-family: 'GTFGoodSansTRIAL-Light';
  src: url('Fonts/GTFGoodSansTRIAL-Light.otf') format('opentype');
}

@font-face {
  font-family: 'GTFGoodSansTRIAL-Medium';
  src: url('Fonts/GTFGoodSansTRIAL-Medium.otf') format('opentype');
}


body {
	font-family: 'PPNeueMachina-InktrapRegular', sans-serif;
  font-weight: 200;
  font-size: 14px;
  background: #316584;
}

@media (max-height: 1000px) {
  body {
    zoom: 75%;
  }
}
@media (max-height: 800px) {
  body {
    zoom: 65%;
  }
}
@media (max-height: 700px) {
  body {
    zoom: 55%;
  }
}


.bg {
  z-index: -3;
}

/*-------- GENERAL ---------*/
.reading-text {
  font-size: 28px;
  line-height: 42px;
}

strong  {
  font-family: 'GTFGoodSansTRIAL-Medium', sans-serif;
  color: rgba(255, 255, 255, 0.8);;
}

button {
  color: #FFFFFF;
  font-size: 16px;
  padding: 15px 25px;
  height: 72px;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  text-transform: uppercase;
}

button:hover {
  background: rgba(255, 255, 255, 0.6);
}

.Big-Title {
  font-family: 'PPNeueMachina-PlainUltrabold', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  color: #FFFFFF;

  position: absolute;
  top: 50px;
  left: 60px;
}


/* ----------- INTRO ------------*/
.intro-2 {
  display: none;
}

.section-intro {
  display: flex;
  align-items: center;
  height: 100VH;
}

.intro {
  max-width: 1350px;
  min-height: 800px;
  margin: 0 auto 0 auto;
  color: #FFFFFF;
  padding: 100px 100px 50px 100px;
  display: flex;
  box-sizing: border-box;
  
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(7.5px);
}

.intro-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  height: 100%;
}

.intro-text-image {
  display: flex;
  flex-direction: row;
  height: 100%;
}

.intro h1 {
  font-size: 40px;
  line-height: 38px;
  text-transform: uppercase;
  margin-bottom: 50px;
  letter-spacing: 0.03em;
}

.intro p {
  margin-bottom: 15px;
  font-family: 'GTFGoodSansTRIAL-Light', sans-serif;
  font-size: 28px;
  line-height: 38px;
  color: #F0F6F8;
}

.intro-image-1, .intro-image-2 {
  width: 560px;
  height: 560px;
}

.intro-page {
  font-size: 14px;
  letter-spacing: 1px;
}

#closeIntro {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 9px;
  box-sizing: border-box;
}

#closeIntro:hover {
  background: rgba(255, 255, 255, 0.6);;
}

#closeIntro img {
  width: 32px;
  height: 32px;
}

/* ----------- UI ------------*/
.UI-Button {
  height: 50px;
  width: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 25px;
}

.UI-Button:hover {
  background: rgba(255, 255, 255, 0.6);
  border: none;
}

#HideUI.selected {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #FFFFFF;
  box-sizing: border-box;
}

.UI-Buttons {
  position: absolute;
  top: 20px;
  left: 20px;  
  display: flex;
  flex-direction: row;
  gap: 15px;
}



/* ----------- MENU ------------*/
.menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  height: 90px;
  width: 750px;
  /* BG-2 */

  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(7.5px);
  /* Note: backdrop-filter has minimal browser support */
  border-radius: 20px;
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  display: flex;
  flex-direction: horizontal;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
  padding: 5px;
}

.menu .link-block {
  font-family: 'PPNeueMachina-InktrapRegular', sans-serif;
  color: #FFFFFF;
  text-transform: uppercase;
  border-radius: 17px;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#TML.selected {
  background: rgba(255, 122, 47, 0.2);
  border: 1px solid #FFA471;
  border-radius: 16px;
  color: #FFA471;
  box-sizing: border-box;
}

#FL.selected {
  background: rgba(47, 243, 255, 0.3);
  border: 1px solid #2FF3FF;
  border-radius: 16px;
  color: #2FF3FF;
  box-sizing: border-box;
}

#Fantastyc.selected {
  background: rgba(225, 138, 239, 0.2);
  border: 1px solid #E7A7EB;
  border-radius: 16px;
  color: #E7A7EB;
  box-sizing: border-box;
}

/* ----------- CHALLENGES ------------*/
.challenges {
  position: absolute;
  bottom: 20px;
  
  right: 20px;
  width: 380px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(7.5px);
  /* Note: backdrop-filter has minimal browser support */

  border-radius: 20px;
  padding: 20px 0 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.challenge {
  /* Auto layout */
  color: #FFFFFF;
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 2px 0px 0px 25px;
  gap: 9px;
  box-sizing: border-box;

  width: 185px;
  height: 50px;

  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
  /* Note: backdrop-filter has minimal browser support */

  border-radius: 50px;

  /* Inside auto layout */

  flex: none;
  order: 0;
  flex-grow: 0;
}

.challenge:hover {
  background: rgba(255, 255, 255, 0.5);
}

.image-hover {
  display: none;

}

.image-hover.show {
  display: block;
  position: absolute;
}

.challenges img {
  width:  340px;
  height: 340px;
}

.challenge img {
  padding-bottom: 3px;
  width: 25px;
  height: 25px;
}

.challenges .link-block {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px 12px 0px 15px;
  gap: 9px;

  width: 182px;
  height: 60px;

  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  /* Note: backdrop-filter has minimal browser support */

  border-radius: 50px;

  /* Inside auto layout */

  flex: none;
  order: 0;
  flex-grow: 0;
}

.link-block:hover {
  background: rgba(255, 255, 255, 0.2);
}

.challenges .selected {
  background: rgba(255, 255, 255, 0.8);
  color: #356777;
}

.challenge img {
  display: inline;
}

.challenge img.selected-icon {
  display: none;
}

.challenge.selected img.selected-icon {
  display: inline;
}

.challenge.selected img.regular-icon {
  display: none;
}


.loader {
  display: none;
  background-color: red;
  height: 25px;
  width: 0%;

}
/* ------------ ARROW ------------- */
.arrow {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------VIDEO ------------- */
.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.fade-in.show {
  opacity: 1;
}

.fade-out {
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.fade-out.hide {
  opacity: 0;
}



.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-container video, .bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*---------- TEXT INFO ---------*/
.text-info {
 color: #FFFFFF;
 position: absolute;
 top: 20px;
 right: 20px;
 width: 380px;

 /* Auto layout */

 display: flex;
 flex-direction: column;
 align-items: flex-start;
 gap: 10px;

 background: rgba(255, 255, 255, 0.2);
 box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
 backdrop-filter: blur(15px);
/* Note: backdrop-filter has minimal browser support */

border-radius: 20px;
}

.text-info .text-challenge {
  display: none;
}

.text-challenge {
  padding: 25px 30px 15px 30px;
}

.text-info p {
  font-family: 'GTFGoodSansTRIAL-Light';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 10px;
}

.text-info h1 {
  font-family: 'PPNeueMachina-InktrapRegular';
  font-style: normal;
  text-transform: uppercase;
  font-size: 26px;
  line-height: 26px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

#signature {
  font-size: 10px;
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: rgba(255, 255, 255,0.2);
}

#signature:hover {
  color: rgba(255, 255, 255,1.0);
}

.orange  { color: #FFA471; }
.blue  { color: #2FF3FF; }
.purple  { color: #E7A7EB; }