:root {
  --bg-dark: #121212;
  --bg-dark-rgb: 18, 18, 18;
  --bg-light: #181818;
  --bg-light-rgb: 24, 24, 24;
  --text-white: #ffffff;
  --highlight1: #f4e800;
  --highlight2: #f3ca0d;
  --highlight2-rgb: 243, 202, 13;
}

* {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  box-sizing: border-box;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: transparent;  
  position: fixed;                 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 50px;
  transition: background-color 0.3s ease; 
  
}

header.scrolled {
  background-color: var(--bg-dark);
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--highlight2);
  display: flex;
  align-items: center;
}

header .logo a {
  text-decoration: none;
  color: var(--highlight2);
}

header img {
  height: 50px;
}

header nav {
  margin-right: 4rem;
}

header nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text-white);
  font-weight: 500;
}
header nav a:hover {
  color: var(--highlight2);
}

.hamburger {
  display: none;
  position: absolute;
  top: 30px;
  right: 80px;
  z-index: 1001;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 35px;
  height: 4px;
  background: var(--text-white);
  border-radius: 2px;
}

@media (max-width: 768px) {
header {
    justify-content: space-between;
  }
    .hamburger {
    display: none;
  }

  header nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: var(--bg-dark);
    padding: 1rem 2rem;
  }

  header nav.active {
    display: flex;
  }
}

@media(max-width: 480px) {
  header {
    padding: 1rem 0;
  }

  .hamburger {
    right: 10px;
  }
}

@media (min-width: 1600px) {
  header {
    height: 75px;
  }

  header .logo {
    font-size: 2rem;
  }

  header img {
    height: 75px;
  }

  header nav a {
    font-size: 1.5rem;
  }
}

@media (min-width: 2350px) {
  header {
    height: 100px;
  }

  header .logo {
    font-size: 3rem;
  }

  header img {
    height: 100px;
  }
}
section {
  padding: 2rem 4rem;
  scroll-margin-top: 50px;
}

.highlight {
  color: var(--highlight2);
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  min-height: 550px;
  overflow: hidden;
  background-image: url("../images/hero-background-better.png");
  background-color: rgb(var(--bg-dark-rgb), 0.2);
  background-size: cover;
  background-repeat: no-repeat;     
  background-position: center;    
  background-blend-mode: multiply;
  padding: 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   
  align-items: center;          
  text-align: center;
  height: 100%;
  flex: 1;
  min-width: 120%;
  z-index: 2;
  position: relative;
  padding: 0;
  padding-top: 100px;
  overflow: hidden;
  position: relative;
}

.hero-left h1 {
  font-size: 2.8rem;
}

.hero-left p {
  font-size: 1.2rem;
  max-width: 600px;
}

.hero-left form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  justify-content: center;
  align-items: center;
  text-align: center;  
  width: 100%;

}
.checkbox-wrapper-4 {
  display: flex;
  align-items: left;
  min-width: 40vw;
  max-width: 50vw;
}

.checkbox-wrapper-4 .highlight:hover {
  opacity: 0.9;
}
.checkbox-wrapper-4 * {
  box-sizing: border-box;
}

.checkbox-wrapper-4 .cbx {
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  padding: 6px 8px 6px 1px;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s ease;
  display: inline-block;
}
.checkbox-wrapper-4 .cbx:not(:last-child) {
  margin-right: 6px;
}
.checkbox-wrapper-4 .cbx:hover {
  background: rgba(var(--highlight2-rgb),0.03);
}
.checkbox-wrapper-4 .cbx span {
  float: left;
  vertical-align: middle;
  transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-4 .cbx span:first-child {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  transform: scale(1);
  border: 1px solid #cccfdb;
  transition: all 0.2s ease;
  box-shadow: 0 1px 1px rgba(0,16,75,0.05);
}
.checkbox-wrapper-4 .cbx span:first-child svg {
  position: absolute;
  top: 3px;
  left: 2px;
  fill: none;
  stroke: var(--bg-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: 16px;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-4 .cbx span:last-child {
  padding-left: 8px;
  line-height: 18px;
}
.checkbox-wrapper-4 .cbx:hover span:first-child {
  border-color: var(--highlight2);
}
.checkbox-wrapper-4 .inp-cbx {
  position: absolute;
  opacity: 0;
}
.checkbox-wrapper-4 .inp-cbx:checked + .cbx span:first-child {
  background: var(--highlight2);
  border-color: var(--highlight2);
  animation: wave-4 0.4s ease;
}
.checkbox-wrapper-4 .inp-cbx:checked + .cbx span:first-child svg {
  stroke-dashoffset: 0;
}
.checkbox-wrapper-4 .inline-svg {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  user-select: none;
}
@media screen and (max-width: 640px) {
  .checkbox-wrapper-4 .cbx {
    width: 100%;
    display: inline-block;
  }
}
@-moz-keyframes wave-4 {
  50% {
    transform: scale(0.9);
  }
}
@-webkit-keyframes wave-4 {
  50% {
    transform: scale(0.9);
  }
}
@-o-keyframes wave-4 {
  50% {
    transform: scale(0.9);
  }
}
@keyframes wave-4 {
  50% {
    transform: scale(0.9);
  }
}

.hero-left input[type="email"],
.hero-left button {
  padding: 0.8rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  margin: 0.3rem;
  box-sizing: border-box;
  min-width: 40vw;
  max-width: 50vw;
}

.hero-left button {
  background-color: var(--highlight2);
  font-weight: bold;
  cursor: pointer;
}

.hero-left button a {
  color: black;
}

.hero-left button:hover {
  opacity: 0.9;
}

.error {
  display: none;
  color: red;
  font-size: 14px;
  margin-top: 5px;
}

.arrow {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform: rotate(0deg);
}

.arrow span {
    display: block;
    width: 24px;
    height: 24px;
    border-bottom: 5px solid white;
    border-right: 5px solid white;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

.hero-right {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;  
  text-align: center;
  height: 100%;
  flex: 1;
  z-index: 1;
  position: relative;
  padding: 0;
}

.hero-right img {
  height: 100%;
  max-height: 100vh;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  object-fit: contain;
  display: block;
  margin-top: 50px;
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.3)) brightness(80%);
}

 @media (max-width: 768px) {
  .hero-right {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    height: 100vh;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;   
    text-align: center;
    height: 100%; 
    min-width: 100%;
  }
  .hero-left input[type="email"],
  .hero-left button {
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    margin: 0.3rem;
    width: 70vw;
  }

}

.checkbox-wrapper-4 {
  max-width: 80vw;
}

@media (max-width: 480px) {
  .hero-left input[type="email"],
  .hero-left button {
    max-width: 90vw;
  }

  .hero-left h1 {
    font-size: 2rem;
  }
}

@media (min-width: 1600px) {
  .hero-left h1 {
    font-size: 3.5rem;
  }

  .hero-left p {
    font-size: 1.4rem;
  }

  .hero-left input[type="email"],
  .hero-left button {
    width: 25vw;
  }
}

@media (max-width: 1080px) and (orientation: landscape) {
  .hero-right {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    height: 100vh;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;   
    text-align: center;
    height: 100%; 
    min-width: 100%;
  }
  .hero-left input[type="email"],
  .hero-left button {
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    margin: 0.3rem;
    width: 70vw;
  }
}

@media (min-width: 2350px) {
  .hero-left h1 {
    font-size: 5rem;
  }

  .hero-left p {
    font-size: 3rem;
  }

  .hero-left input[type="email"],
  .hero-left button {
    padding: 0.8rem;
    border: none;
    min-height: 8vh;
    border-radius: 15px;
    font-size: 3rem;
  }

  .checkbox-wrapper-4 {
    transform: scale(2);
    transform-origin: top left;
    overflow: hidden;
  }
}
 #about {
  background-color: var(--bg-light);
  display: block;
  height: calc(100vh - 80px);
  padding: 2rem 0;
}

 #about img {
  height: inherit;
  width: auto;
  border-radius: 10px;
}

 #about a {
  color: var(--highlight2); 
  text-decoration: none;
}

.about_section {
  display: flex;          
  width: 60vw;    
  height: 30vh;     
  min-height: 200px;
  background-color: var(--bg-dark);   
  margin: 2rem 0;  
  padding: 0 1rem 2rem 1rem;
  position: relative;
}

.about_section:nth-child(2) {
  float: right;
  text-align: right;
}

.about_text:nth-child(2) {
  margin-left: 30vh;
}

.about_text:nth-child(1) {
  margin-right: 30vh;
}

#bitcoin {
  position: absolute;
  left: -150px; 
  top: 10px;   
  width: 100px;
  height: 100px;
  opacity: 0;
  transform: rotate(0deg);
  transition: transform 2s ease-out, left 2s ease-out, opacity 1s ease-in;
}

#bitcoin.animate {
  left: 1rem; 
  transform: rotate(720deg);
  opacity: 1;
}

#ethereum {
  position: absolute;
  right: -150px;
  top: 10px;    
  width: 100px;
  height: 100px;
  opacity: 0;
  transform: rotate(0deg);
  transition: transform 2s ease-out, right 2s ease-out, opacity 1s ease-in;
}

#ethereum.animate {
  right: 1rem; 
  transform: rotate(-720deg);
  opacity: 1;
}

@media (min-width: 768px) {
    #about {
      min-height: 500px;
    }
    .about_section {
      min-width: 700px;
    }
}

@media (max-width: 768px) {
  #about {
    padding: 1rem 0 ;
  }

  #about img {
    display: none;
  }

  .about_section {
    width: auto;
    height: 30vh;     
    background-color: var(--bg-dark);   
    margin: 2rem 0rem;  
    padding: 2rem 1rem;
    text-align: center;
  }

  .about_section:nth-child(2) {
    text-align: center;
  }

  .about_text:nth-child(2) {
    margin-left: 0;
  }

  .about_text:nth-child(1) {
    margin-right: 0;
  }
}

@media (min-width: 1600px) {
  .about_section p {
    font-size: 1.5rem;
  }  
  
  .about_section h2 {
    font-size: 2rem;
  }
}

@media (min-width: 2350px) {
  .about_section p {
    font-size: 2rem;
  }

  .about_section h2 {
    font-size: 3rem;
  }
}

.course_header {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding-top: 1rem;
}
 #course {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.module {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 5px solid var(--highlight2);
  transition: transform 0.2s ease;
  will-change: transform;
  position: relative;
  z-index: 1;
  color: var(--text-white);
}

.module:hover {
  background-color: rgba(var(--bg-light-rgb), 0.6);
  border-left: rgba(var(--highlight2-rgb), 0.8) solid 5px;
}

@media (max-width: 1080px) {
  #course {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #course {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 1600px) {
  .module p {
    font-size: 1.5rem;
  }  
  
  .module h3 {
    font-size: 1.75rem;
  }
}

@media (min-width: 2350px) {
  .module p {
    font-size: 2rem;
  }

  .module h3 {
    font-size: 2.5rem;
  }
}

#video {
  position: relative;
  height: auto;
  text-align: center;
  padding: 2rem 0;
  padding-bottom: 5rem;
}

#video h2 {
  font-size: 2rem;
  color: var(--text-white);
  margin-bottom: 2rem;
}

#video a {
  font-size: 1.2rem;
  color: var(--bg-dark);
  background-color: var(--highlight2);
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

#video a:hover {
  background-color: rgba(var(--highlight2-rgb), 0.9);
}

@media (min-width: 1600px) {
  #video a {
    border-radius: 10px;
    font-size: 2.5rem;
    padding: 0.75rem 1.5rem;
  }  

  #video h2 {
    font-size: 2.5rem;
  } 
}

@media (min-width: 2350px) {
  #video a {
    font-size: 3rem;
    padding: 1.5rem 3rem;
  } 

  #video h2 {
    font-size: 3rem;
  } 
}

footer {
  background-color: var(--bg-light);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 !important;
}

footer strong {
  font-size: 1.5rem;
}

footer .socials, footer .sponsors, footer .socials {
  margin: 1rem 0;
}

footer .contact {
  padding-top: 3rem;
  margin-top: 2rem;
}

footer a {
  color: var(--highlight2);
  margin: 0 0.5rem;
  text-decoration: none;
}

footer a:hover {
  opacity: 0.9;
}

.sponsors {
  max-height: 3rem;
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.3));
}

.social_icon {
  max-height: 4rem;
}

#Facebook {
  filter: drop-shadow(0 0 2px rgba(24, 119, 242, 1));
}

#YouTube {
  filter: drop-shadow(0 0 2px rgba(255, 0, 0, 1));
}

#twitter {
  filter: drop-shadow(0 0 2px rgb(255, 255, 255));
}

@media (max-width: 768px) {
  #about {
    grid-template-columns: 1fr;
  }

  footer {
    margin: 0;
    padding: 2rem 0;
  }
  
  .sponsors {
    max-height: 2rem;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
  }

  .social_icon {
    max-height: 3rem;
  }
}

@media (min-width: 1080px) {

  footer {
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    padding: 1rem 6rem;
    font-size: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0;
  }

  footer .contact, footer .sponsors, footer .socials {
    margin: 0;
    padding-top: 0;
  }

  .sponsors {
    max-height: 2.5rem;
  }
  .social_icon {
    max-height: 3rem;
  }
}

@media (min-width: 1600px) {

  footer {
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 1rem 6rem;
    font-size: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  footer strong {
    font-size: 2.5rem;
  }

  footer .contact, footer .sponsors, footer .socials {
    margin: 0;
    padding-top: 0;
  }

  .social_icon {
    max-height: 5rem;
  }

  .sponsors {
    max-height: 3.5rem;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
    padding: 0;
    margin: 0;
  }
}

@media (min-width: 2350px) {
  footer {
    font-size: 3rem;
  }

  footer strong {
    font-size: 4rem;
  }

  .social_icon {
    max-height: 7rem;
  }

  .sponsors {
    max-height: 6rem;
  }
}

.kurs {
  height: auto;
  width: 100vw;
  padding: 50px 0 0 0;
  margin: 0;
  margin-bottom: 100px;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; 
  background-color: var(--bg-dark); 
  padding: 0;
  padding-top: 50px;
  margin: 0;
}

video {
  width: 80%;
  max-width: 1000px;
  height: auto;
  border-radius: 8px; 
  box-shadow: 0 0 20px rgba(var(--bg-dark-rgb), 0.5); 
  margin: 0;
}

#error {
  height: 100vh;
  display: block;
  text-align: center;
}

#error img {
  max-height: 50vh;
}

#error h2 {
  font-size: 2rem;
  color: var(--text-white);
  margin-bottom: 2rem;
}

#error a {
  font-size: 1.2rem;
  color: var(--bg-dark);
  background-color: var(--highlight2);
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

#error a:hover {
  background-color: rgba(var(--highlight2-rgb), 0.9);
}

@media (min-width: 1600px) {
  #error a {
    border-radius: 10px;
    font-size: 2.5rem;
    padding: 0.75rem 1.5rem;
  }  

  #error h2 {
    font-size: 2.5rem;
  } 
}

@media (min-width: 2350px) {
  #error a {
    font-size: 3rem;
    padding: 1.5rem 3rem;
  } 

  #error h2 {
    font-size: 3rem;
  } 
}

  .copy-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #f3ca0d;
  }

  .copy-container:hover {
    opacity: 0.9;
  }

  .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #f3ca0d;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
  }

  .tooltip.show {
    opacity: 1;
  }
  .cc-window {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: #121212 !important;
    color: #ffffff !important;
    font-family: sans-serif !important;
    text-align: center !important;
    padding: 20px !important;
    z-index: 9999 !important;
  }

  .cc-message {
    font-size: 16px !important;
    margin-bottom: 15px !important;
  }

  .cc-link {
    color: #f3ca0d !important;
    text-decoration: underline !important;
  }

  .cc-compliance {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 10px !important;
  }

  .cc-btn {
    padding: 10px 20px !important;
    border: none !important;
    font-weight: bold !important;
    cursor: pointer !important;
    border-radius: 4px !important;
  }

  .cc-button:hover, .cc-allow:hover, .cc-deny:hover {
    opacity: 0.9;
  }

  .cc-allow {
    background-color: #f3ca0d !important;
    color: #121212 !important;
  }

  .cc-deny {
    background-color: #444444 !important;
    color: #ffffff !important;
  }

  .cc-revoke {
    display: none !important;
  }

  #button {
    font-size: 1.2rem;
    color: var(--bg-dark);
    background-color: var(--highlight2);
    padding: 0.6rem 1rem;
    border-radius: 7px;
    text-decoration: none;
    font-weight: bold;
  }

  #button:hover {
    opacity: 90%;
  }

.alert.success {
  color: var(--highlight2);
  padding: 2px;
  width: 100%;
  opacity: 0;
  animation: fadeIn 1s forwards; 
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}