@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
 scrollbar-width: thin;
 -ms-overflow-style: none;
}

/* #region scrollbar */


/* body::-webkit-scrollbar {
    display: none;
} */

/* Style the scrollbar to be transparent */
::-webkit-scrollbar {
    height: 8px;
    width: 6px; /* Adjust width as needed */
    background-color: #f0f0f0;
}
::-webkit-scrollbar-thumb {
    background-color: #aaa;
    border-radius: 4px;
}

.night-mode::-webkit-scrollbar {
    background-color: black;
}

.night-mode::-webkit-scrollbar-thumb {
    background-color: white;
}




/* ::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 0, 0);
} */
/* #endregion */


/* #region navbar */

#lowtext {
    font-size: 1.2rem;;
    font-weight: 300;
}

.container {
  max-width: 1250px;
  width: 90%;
  margin: auto;
}

.navbar {
    position: relative;
    z-index: 1;
  width: 100%;
  box-shadow: 0 1px 4px rgb(146 161 176 / 25%);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
}

.navbar .menu-items {
  display: flex;
}

.navbar .nav-container li {
  list-style: none;
}

.navbar .nav-container a {
  text-decoration: none;
  color: #0e2431;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 0.7rem;
}

.navbar .nav-container a:hover{
    font-weight: bolder;
}

.navbar a.active {
    font-weight: bold;
    color: red;
}

.nav-container {
  display: block;
  position: relative;
  height: 60px;
}

.nav-container .navcheckbox {
  position: relative;
  display: block;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  display: block;
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #0e2431;
}

.nav-container .hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
  padding-top: 120px;
  box-shadow: inset 0 0 2000px rgba(0,0,0, 0.2);
  height: 100vh;
  width: 30%;
  transform: translate(-210%);
  display: flex;
  flex-direction: column;
  position: fixed; /* Changed position to fixed */
  left: 0; /* Set left to 0 to cover the left portion of the screen */
  top: 0;
  /* margin-left: -45%; */
  padding-left: 5%;
  transition: transform 0.5s ease-in-out;
  /* text-align: center; */
}

.navbar .menu-items li {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.logo {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 1.2rem;
  color: #0e2431;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo{
  display: none;
}

/* #endregion navbar */


/* #region text scaling & styling */
.h1--scalingSize {
    font-size: calc(1rem - -5vw);
    position: relative;
  }
  
  .h2--scalingSize {
      font-size: calc(0.8rem - -1vw);
      position: relative;
  }
  
  .h3--scalingSize {
      font-size: calc(0.8rem - -1vw);
      position: relative;
  }

/* #endregion */


/*#region rays effect */

/*houdini*/
@property --blink-opacity {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

/* #fallback @keyframes blink-animation {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}*/

@keyframes blink-animation {
  0%,
  100% {
    opacity: var(--blink-opacity, 1);
  }
  50% {
    opacity: 0;
  }
}
/*houdini*/

/*base*/
:root {
  font-family: Inter, sans-serif;

  --stripe-color: #fff;
  --bg: var(--stripe-color);
  --maincolor: var(--bg);
}

.wrapper {
  width: 100cqw;
  min-height: 100cqh;
  display: flex;
  place-content: center;
  place-items: flex-start center;
  background: var(--bg);
}

/*custom*/

@keyframes smoothBg {
  from {
    background-position: 50% 50%, 50% 50%;
  }
  to {
    background-position: 350% 50%, 350% 50%;
  }
}

.wrapper {
  width: 100%;
  height: auto;
  position: relative;
}

.hero {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  place-content: center;
  place-items: center;
  --stripes: repeating-linear-gradient(
    100deg,
    var(--stripe-color) 0%,
    var(--stripe-color) 7%,
    transparent 10%,
    transparent 12%,
    var(--stripe-color) 16%
  );

  --rainbow: repeating-linear-gradient(
    100deg,
    #60a5fa 10%,
    #e879f9 15%,
    #60a5fa 20%,
    #5eead4 25%,
    #60a5fa 30%
  );
  background-image: var(--stripes), var(--rainbow);
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;

  filter: blur(10px) invert(100%);

  mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
  &::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--stripes), var(--rainbow);
    background-size: 200%, 100%;
    animation: smoothBg 60s linear infinite;
    background-attachment: fixed;
    mix-blend-mode: difference;
  }

    --stripes: repeating-radial-gradient(
    circle,
    var(--stripe-color) 0%,
    var(--stripe-color) 20%,
    transparent 40%
  );

  --rainbow: repeating-radial-gradient(
    circle,
    #60a5fa 0%,
    #60a5fa 20%,
    #5eead4 40%
  );
}

.content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  place-content: center;
  place-items: center;
  flex-flow: column;
  gap: 4.5%;
  text-align: center;
  mix-blend-mode: difference;
  -webbkit-mix-blend-mode: difference;
  filter: invert(1);
}

#switch {
  appearance: none;
  -webkit-appearance: none;
  opacity: 0;
  z-index: 2;
}

[for="switch"] {
  cursor: pointer;
  transition: 0.15s linear(0 0%, 0.16 16.85%, 0.32 31.73%, 1 100%);
  will-change: transform, font-weight;
  padding: 0.5rem;
}

[for="switch"]:where(:hover, :active, :focus-within) {
  /*transform: scale(1.2);
  font-weight: 900;*/
  transition: 0.3s ease;
  animation: animSwitch 0.2s alternate;
  & .switchicon {
    animation-play-state: paused;
  }
}

@keyframes animSwitch {
  50% {
    transform: scale(1.2);
    font-weight: 900;
  }
}

/*icon houdini*/
.switchicon {
  width: 1lh;
  height: 1lh;
  aspect-ratio: 1/1;
  padding: 0.25em 0.35rem;
  border-radius: calc(1px / 0);
  border: 1px dashed;
  --blink-opacity: 1;
  animation: blink-animation 2s ease-in-out infinite running;
}

/*delete this?? wtf*/
/* challenge */
.h1--scalingSize::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: white;
  text-shadow: 0 0 1px #ffffff;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: white;
  -webkit-mask: linear-gradient(#000 0 0) luminance;
  mask: linear-gradient(#000 0 0) luminance, alpha;
  backdrop-filter: blur(19px) brightness(12.5);
  -webkit-text-stroke: 1px white;
  display: flex;
  margin: auto;
  z-index: 1;
  pointer-events: none;
}
 
/* #endregion */


/* #region contact button */

/* .contactButton{
    outline: none; 
    color: white;
    cursor: pointer;
    font-size: calc(0.8rem - -1vw);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25); 
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); 
    backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );
    border: 1px solid rgba(0, 0, 0, 0.18); 
    
}
   */


   .contactButton {
    border-radius: 4px;
    background-color: #5ca1e1;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 32px;
    padding: 16px;
    width: 220px;
    margin: 36px;
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    display: inline-block;
    position: relative;
    text-decoration: none; /* Remove link underline */
    transition: all 0.5s;
  }
  
  .contactButton:after {
    content: '»';
    position: absolute;
    opacity: 0;  
    top: 14px;
    right: -20px;
    transition: opacity 0.5s, right 0.5s;
  }
  
  .contactButton:hover {
    padding-right: 24px;
    padding-left: 8px;
  }
  
  .contactButton:hover:after {
    opacity: 1;
    right: 10px;
  }
  
  
/* #endregion */


/* #region top button */

#myBtn {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 2;
    font-size: 18px;
    color: black;
    padding: 15px;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25); /* Change background to a suitable color */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); /* Adjust box shadow */
    backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );
    border: 1px solid rgba(0, 0, 0, 0.18); /* Adjust border color */
}

.night-mode #myBtn{
    background: rgba( 255, 255, 255, 0.25 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    color:white;
    border: 1px solid rgba( 255, 255, 255, 0.38 );
}

#myBtn.show {
    opacity: 1;
    transform: translateY(0);
}

#myBtn:hover {
    transform: translateY(-10px) rotateX(-20deg) rotateY(-30deg);
}

/* #endregion */


.intro{
    margin:auto;
    max-width: 70%;
}

/* #region accordion menu */


/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    /* background-color: #eee; */
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.8s;
}

.accordion-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.accordion-item {
    background-color: #222;
    border-radius: .4rem;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: .5rem 2px .5rem rgba(0, 0, 0, 0.1);
}

.accordion-link {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    /* background-color: #283042; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.accordion-link ion-icon {
    /* padding: .5rem; */
    padding-right:1rem;
}

.answer {
    max-height: 0;
    overflow: hidden;
    position: relative;
    background-color: #222;
    transition: max-height 650ms ease-in-out;
}

.answer::before {
    content: "";
    position: absolute;
    width: .6rem;
    height: 90%;
    background-color: #89BBFC;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.answer p {
    color: rgba(255, 255, 255, .6);
    font-size: calc(0.6rem - -1vw) !important;
    position: relative;
    padding: 2rem;
    margin: 0;
}


.hidden {
    display: none;
}

/* #endregion */


/* #region night mode */
.night-mode {
    --stripe-color: #000;
  }
  .night-mode .hero,
  .night-mode .hero::after {
      filter: blur(10px) opacity(50%) saturate(200%);
      pointer-events: none;
  }
  
  .night-mode .intro {
      background-color: #000;
      color: #fff;
  }
  
  .night-mode .navbar{
      background-color: #000;
      color: #fff;
  }
  
  .night-mode .logo{
      background-color: #000;
      color: #fff;
  }
  
  .night-mode .line{
      background: #fff !important;
  }
  
  .night-mode a{
      color: #fff !important;
  }
  
  .night-mode .navbar a.active{
      font-weight: bold;
      color: cornflowerblue !important;
  }
  
  .night-mode body{
      background-color: #000;
  }
  

  .night-mode .navbar .menu-items {
    box-shadow: inset 0 0 2000px rgba(255, 255, 255, 0.2);
  }


/* #endregion */


/* #region media queries  */
@media screen and (max-width: 1800px) {

    /* .navbar .menu-items {

        margin-left: -10px;

      } */
    
      .container{
        width: auto;
      }
  }

  @media screen and (max-width: 700px) {

    /* .navbar .menu-items {

        margin-left: -10px;

      } */
    
      .intro{
        max-width: 90%;
      }

      .accordion-container{
        max-width: 100%;
        width: 100%;
        padding: 0px;
      }

      /* .answer p{
        font-size: 10px
      } */
  }
  
/* #endregion */
