:root {
  --black: #1F1F1F;
  --brand-green: #007932;

  --texture-green-light: url('/public/images/wwf/wwf_texture_green_light.png');
  --texture-green-dark: url('/public/images/wwf/wwf_texture_green_dark.png');
  --texture-yellow-dark: url('/public/images/wwf/wwf_texture_yellow.png');
  --texture-yellow-light: url('/public/images/wwf/wwf_texture_yellow_light.png');

  --pipa: url('/public/images/wwf/pipa.svg');

  --bs-nav-link-font-size:20px;
}

.landing {
  width: 70%;
}


@font-face {  font-family: 'WWF_Font';  src:    url('/public/fonts/WWF_Font/WWF.woff2') format('woff2'), url('/public/fonts/WWF_Font/WWF.woff') format('woff');  font-weight: normal; font-style: normal;  }

@font-face {  font-family: "Open Sans";  src: url('/public/fonts/Open_Sans/OpenSans-Regular.ttf') format("truetype");  font-weight: 400;  font-style: normal;  font-display: swap;  }
@font-face {  font-family: "Open Sans";  src: url('/public/fonts/Open_Sans/OpenSans-Bold.ttf') format("truetype");  font-weight: 700;  font-style: normal;  font-display: swap;  }

/* Open Sans SemiBold */
@font-face {
  font-family: "Open Sans";
  src: url('/public/fonts/Open_Sans/OpenSans-SemiBold.ttf') format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Open Sans Light */
@font-face {
  font-family: "Open Sans";
  src: url('/public/fonts/Open_Sans/OpenSans-Light.ttf') format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Open Sans ExtraBold */
@font-face {
  font-family: "Open Sans";
  src: url('/public/fonts/Open_Sans/OpenSans-ExtraBold.ttf') format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Open Sans Italic (normál) */
@font-face {
  font-family: "Open Sans";
  src: url('/public/fonts/Open_Sans/OpenSans-Italic.ttf') format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Open Sans Bold Italic */
@font-face {
  font-family: "Open Sans";
  src: url('/public/fonts/Open_Sans/OpenSans-BoldItalic.ttf') format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

body {
  background-image: url('/public/images/wwf/wwf_background.png'); /* Replace with your actual file path */
  background-size: cover; /* Ensures the image covers the entire viewport */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents repeating */
  background-attachment: fixed; /* Keeps the background fixed when scrolling */

  margin: 0;
  padding: 0;


  color: #1f1f1f;
  font-family: 'WWF_Font', "Open Sans", sans-serif; /* Fallback to sans-serif */
  font-weight: 400; /* normál */
  text-transform: uppercase; /* Converts text to uppercase */
  font-size: 20px;
  line-height: 25px;

}

.nav-link:focus, .nav-link:hover {
  color: var(--brand-green)
}

header a:visited {
  color: var(--brand-green);
}

a {
  color: #1f1f1f; /* Default link color */
}

a:visited {
  color: #1f1f1f; /* Color for visited links */
}

a:hover {
  color: #1f1f1f; /* Color when hovering */
}

a:active {
  color: #1f1f1f; /* Color when clicked */
}

h1 {font-size: 60px; line-height: normal;}
h2 {font-size: 48px; line-height: normal;}
h3 {font-size: 30px; line-height: normal;}

h4, .h4 {
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

h5, .h5 {
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  display: inline-block;
}

h6, .h6 {
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

p {
  color: var(--black);
  font-family: "Open Sans", serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: none;
}

ul, li {
  color: var(--black);
  font-family: "Open Sans", serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: none;
}


.button {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background-image: url('/public/images/wwf/wwf_texture_green_dark.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f7f7f7;
  font-family: 'WWF_Font', Roboto, sans-serif;

  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 3px 4px 0px #1f1f1f;
  transition: all 0.3s ease-in-out;

  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 2px;
}

.button.secondary {

  /*Round, outline, but color*/
  outline: 5px solid #71B830;
  outline-offset: -2px;
  -moz-outline-radius: 999px;


  /*
  border: 5px solid #51bf9a;

  border: 5px solid var(--Texture-Green-Light);

  border-image-source: url('/public/images/wwf/wwf_texture_green_light.png');
  border-image-slice: 30;
  border-image-width: 5px;
  border-image-repeat: round;
  */

  background: var(--white, #F7F7F7);
  color: #007932;
  box-shadow: 4px 7px 0px #1F1F1F;

}

.button:focus {
  outline: none;
}

.button:disabled {
  opacity: 0.2;
}

.button:hover:not(:disabled) {
  transform: scale(1.1); /* Slight scale effect on hover */
}

.button:active:not(:disabled) {
  border: none;
  /*transform: scale(0.97);*/ /* Click effect */
}

.button.secondary:active:not(:disabled) {
  /*Round, outline, but color*/
  outline: 5px solid #71B830;
  outline-offset: -2px;
  -moz-outline-radius: 999px;
  /*transform: scale(0.97);*/ /* Click effect */
}


.greenText {
  color: var(--brand-green);
}

.responsiveImage {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
}

.responsiveImage.small {
  max-width: 135px;
  margin: 0 auto;
}

.vertical-align-center {
  align-items: center;
}

.horizontal-algin-left {
  text-align: left;
}

.row {
  padding-bottom: 10vh;
}

.green-square {
  width: 12px;
  height: 12px;

  background-image: var(--texture-green-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: inline-block;

  flex-shrink: 0;
}

.green-check {
  width: 25px;
  height: 25px;
  background-image: var(--pipa);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  margin-right: 1vh;
}

.bold {
  font-weight: bold;
}

.ellipse {
  aspect-ratio: 1 / 1; /* mindig négyzet, így lesz kör a border-radius miatt */
  width: 100%;
  max-width: 400px; /* vagy bármilyen arányos max méret */
  border-radius: 50%;

  background-image: var(--texture-green-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 5px 10px 0 0 #F0DE78;
  margin: 0 auto;
  position: relative;
}

.ellipse img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
}

.goldframe {
  padding: 3vh;

  width: 70%;
  margin: 0 auto;

  background-image: var(--texture-yellow-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 8px 8px 0px 0px #1F1F1F;
}

.goldframe p {
  width: 70%;
  margin: 3vh auto;
}
.space {
  margin-bottom: 3vh;
}
.mirrorHorizontal {
  transform: scaleX(-1);
  transform-origin: center;
}







.landing-form{
}

.landing-form input,
.landing-form textarea {
  width: 100%;
  font-family: "Open Sans";

  padding: 15px;
  margin-bottom: 60px;
  font-size: 16px;
  border: 0px solid #ccc;
  border-radius: 0px;
  box-shadow: 3px 4px 0px #8CC63F; /* Fully opaque black shadow */
  background-color: #F7F7F7!important;
}
.landing-form label {
  font-size: 30px;
  line-height: normal;
}

input:focus, textarea:focus {
  outline: none;
  box-shadow: 3px 4px 0px var(--brand-green); /* Fully opaque black shadow */
}


/* Checkbox container */
.checkbox-container {
  display: flex;
  align-items: center;
}

/* Style the checkbox */
.checkbox-container input[type="checkbox"] {
  width: 30px;
  height: 30px;
  margin-right: 20px;
  margin-bottom: 20px;
  cursor: pointer;
  border: none;
}

.checkbox-container input[type="checkbox"]:checked, .checkbox-container input[type="checkbox"]:hover {
  background-color: green!important;
  border-color: green!important;
}

/* Style the checkbox label */
.checkbox-container label {
  font-size: 20px;
  cursor: pointer;
}



.custom-checkbox {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.custom-checkbox input {
  display: none;
}

.checkbox-indicator {
  width: 30px;
  height: 30px;
  border: 1px solid #000;
  border-radius: 0px;
  display: inline-block;
  transition: background-color 0.3s;
  position: relative;
  box-shadow: 3px 4px 0px #8CC63F;
  margin-right: 20px;
}

.custom-checkbox input:checked + .checkbox-indicator {
  background-color: #007932;
}

.custom-checkbox input:checked + .checkbox-indicator::after {
  content: '✔'; /* The checkmark */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* Color of the checkmark */
  font-size: 14px;
}







.laptop-container {
  max-width: 400px;
  position: relative;
}

.laptop-image {
  width: 100%;
  height: auto;
  display: block;
}

.play-wrapper {
  position: absolute;
  top: 40%;
  left: 65%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  animation: pulse 3s infinite;
  cursor: pointer;
}

.play-circle {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.play-icon {
  position: absolute;
  width: 45%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.cursor-icon {
  position: absolute;
  bottom: -20%;
  right: 10%;
  width: 30%;
  animation: cursorMove 3s infinite;
}

@keyframes cursorMove {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3vh);
  }
  100% {
    transform: translateY(0);
  }
}



.modal {
  --bs-modal-border-radius:0px;
}


.vjs-volume-level,
.vjs-play-progress,
.vjs-slider-bar {
  background: #F5D200!important;
  color: #F5D200!important;
}

.video-js {
  background-color: transparent!important;
  width: 100%;
  height: auto;
}

.video-js .vjs-big-play-button {

  font-size: 10em;
  line-height: 1.5em;

  height: 1.5em;
  width: 1.5em;

  top: 50%;
  left: 50%;
  border: 5px solid #fff;
  background-color: #2B333F;
  background-color: rgba(43, 51, 63, 0.7);
  border-radius: 999em;

  padding: 0;
  margin: -0.75em;
}

.video-js .vjs-picture-in-picture-control {
  display: none;
}






/* Mobil optimalizáció (max 768px) */
@media (max-width: 768px) {

  h1 { font-size: 32px; }
  h4 { font-size: 24px; }
  h5 { font-size: 20px; }
  h6 { font-size: 18px; }
  p, ul, li { font-size: 14px; }

  .landing {
    width: 90%;
  }

  .responsiveImage {
    max-width: 100%;
  }

  .ellipse {
    max-width: 250px;
  }

  .laptop-container {
    max-width: 300px;
  }

  .goldframe {
    width: 100%;
    padding: 20px;
  }

  .goldframe p {
    width: 100%;
    margin: 20px auto;
  }

  .landing-form input,
  .landing-form textarea {
    margin-bottom: 30px;
    font-size: 14px;
    padding: 12px;
  }

  header {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
  }

  .play-wrapper {
    width: 60px;
    height: 60px;
  }

  .cursor-icon {
    bottom: -10%;
    right: 10%;
    width: 25%;
  }

  [class*="col-sm-6"] {
    margin-bottom: 2rem;
  }

  .ellipse {
    margin-bottom: 2rem;
  }

}



@media (max-width: 992px) {

  .ellipse {
    margin-bottom: 2rem;
  }

  .landing {
    width: 80%;
  }

  .responsiveImage {
    max-width: 90%;
  }

  .goldframe {
    width: 100%;
  }

  .ellipse {
    max-width: 350px;
  }

  .laptop-container {
    max-width: 350px;
  }

  header {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
  }
  .col* {
    padding-bottom: 5vh;
  }
}


header {
  background-color: transparent;
  position: sticky;
  top: 0;
  z-index: 1000;

  padding-top: .5rem !important;
  padding-bottom: .5rem !important;
}

header img {
  max-height: 50px;
}

.nav-link {
  font-weight: 600;
  text-transform: uppercase; /* Converts text to uppercase */
  font-family: 'WWF_Font', "Open Sans", sans-serif; /* Fallback to sans-serif */

}

.navbar {
  background-color: transparent;
  padding-top: .5rem !important;
  padding-bottom: .5rem !important;
}

.nav-link {
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'WWF_Font', "Open Sans", sans-serif;
  font-size: 20px;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%231f1f1f' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  width: 1.5em;
  height: 1.5em;
}




/*region Quiz*/
.quiz-container {
  background-image: url('/public/images/wwf/wwf_background_quiz.png'); /* Replace with your actual file path */
  padding: 0;
  width: 90%;
}

.question-header {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

.question-title {
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

.question-section {
  flex: 1;
  padding-right: 20px;
}
.answer-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
}

.answer {
  width: 100%;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;



  background-image: url("/public/images/wwf/wwf_background_2.png");
  background-size: cover; /* Ensures the image covers the entire viewport */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents repeating */

  margin-bottom: 20px;
  border: 3px solid black;

  box-shadow: 3px 4px 0px #1f1f1f; /* Fully opaque black shadow */

  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;

  transition: all 0.3s ease-in-out;

}

.answer:hover:not(.disabled) {
  transform: scale(1.05);
}

.letter {
  background: url('/public/images/wwf/wwf_quiz_answer_option_background_rect.png') no-repeat center center/cover;;
  padding-right: 5px;
  margin-right: 10px;
  border-radius: 5px;

  text-shadow: 3px 4px 0px #1F1F1F, 0px 0px 0px #1F1F1F;

  width: 60px;
  height: 60px;
  text-align: center;
  color: #F6D202;

  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}
.answer.selected {
  background: url('/public/images/wwf/wwf_texture_yellow_light.png') no-repeat center center/cover;
  transform: scale(1.05);
}
.answer.correct {
  background-image: url('/public/images/wwf/wwf_texture_green_light.png');
}
.answer.wrong {
  background-image: url('/public/images/wwf/wwf_texture_red.png');
}
/*endregion*/

/*region Modal */
.modal-content {
  background-image: url('/public/images/wwf/wwf_background_2.png'); /* Replace with your actual file path */
  background-position: center;
  background-size: cover;
  border-radius: 0;
  border: 0;
  padding: 0.5rem;
}

.modal-header {
  border: 0;
  padding: 0;
}

.modal-footer {
  border: 0;
}

.modal-header .close {
  background-image: url('/public/images/wwf/wwf_close.png'); /* Replace with your actual file path */
  background-size: cover; /* Ensures the image covers the entire viewport */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents repeating */
  background-attachment: initial; /* Keeps the background fixed when scrolling */

  margin: 0;
  opacity: 1;

  transition: all 0.3s ease-in-out;

  cursor: pointer;

  height: 30px;
  width: 30px;

  z-index: 1000;
  position: absolute;
  right: 10px;
  top: 10px
}

h2 {
  font-size: 64px;
  line-height: 64px;
  padding-bottom: 20px;
}

h1 {font-size: 64px; line-height: normal;}
h2 {font-size: 48px; line-height: normal;}
h3 {font-size: 30px; line-height: normal;}

p.message {
  font-size: 30px;
  line-height: 34px;
}

p.details {
  font-size: 30px;
  line-height: 34px;
}


.modalSingleWithBadgeAndPoint_Message {
  font-size: 26px;
  line-height: normal;
  /*text-transform: uppercase;*/
}

.studentReward {
  display: flex;
  justify-content: center;
}

.modalSingleWithBadgeAndPoint_TextContainer {
  text-align: center;
}

.modalSingleWithBadgeAndPoint_Badges {
  background: url('/public/images/wwf/wwf_menu_badge.png') no-repeat center center/cover;

  padding-top: 0px;

  margin-right: 25px;
  margin-bottom: 25px;

  width: 75px;
  height: 75px;
  text-align: center;
  color: black;

  font-family: 'WWF_Font'!Important;
  /*font-size: 18px!important;*/
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;

  align-content: center;
}

.modalSingleWithBadgeAndPoint_Points {
  background: url('/public/images/wwf/wwf_menu_pontok.png') no-repeat center center/cover;
  padding-top: 0px;
  margin-bottom: 25px;
  width: 75px;
  height: 75px;
  text-align: center;
  color: black;

  padding-right: 10px;
  font-family: 'WWF_Font'!Important;
  /*font-size: 18px!important;*/
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;

  align-content: center;
}

.modalDividedImage {
  width: 100%;
}
.modal-body .row {
  padding-bottom: 0!important;
}
/**/