*{
box-sizing: border-box;
}

@font-face{
  font-family: 'Space Grotesk';
  src: url("./assets/fonts/SpaceGrotesk-VariableFont_wght.ttf");
}

html {
  background-color: #2B2B2B;
  scroll-behavior: smooth;
}

body{
  padding: 0;
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  text-shadow: 0px 1px 3px rgba(0,0,0,0.12);
  color: #FFF;
  background: linear-gradient(-45deg, #2B2B2B, #2E2E2E, #292929, #252525, #2D2D2D, #272727);
  background-size: 600% 600%;
  animation: gradientAnimation 80s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #282828;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.75s ease-in-out;
}

.loader-logo img {
  width: 100px;
  height: auto;
  animation: pulseLogo 1.5s infinite ease-in-out;
}

@keyframes pulseLogo {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}


#background-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#background-particles span {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  animation-name: fly;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  opacity: 0;
}

@keyframes fly {
  0% {
    transform: translateY(100vh) translateX(var(--x-start)) scale(var(--scale-start));
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) translateX(var(--x-end)) scale(var(--scale-end));
    opacity: 0;
  }
}


.root{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.root.loaded {
  visibility: visible;
  opacity: 1;
}

.root__content{
  width: 1280px;
  max-width: 100%;
}

.glass-effect {
  background: rgba(48, 48, 48, 0.2);
  backdrop-filter: blur(14px) saturate(100%);
  -webkit-backdrop-filter: blur(14px) saturate(100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
}

.glass-effect-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}


.slide1{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  position: relative;
  flex-wrap: wrap;
  z-index: 100;
}
.slide1__text1{
  line-height: 96px;
  display: flex;
  align-items: center;
}
.slide1__text1 img {
    display: block;
    width: auto;
    height: auto;
    max-height: 100%;
}

.mobile-menu-icon {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 28px;
    align-self: center;
}

.slide1__nav{
  height: 100%;
  margin-left: auto;
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}
.slide1__texts{
  color: #FFF;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  opacity: 0.75;
  transition: opacity 0.3s ease-in-out;
  display: block;
}
.slide1__texts:hover{
  opacity: 1;
}
a{
  text-decoration: none;
}
.slide2{
  width: 100%;
  display: flex;
  padding: 40px 0;
  transition: margin-top 0.35s ease-in-out;
}
.slide2__contentbox1{
  margin-left: auto;
  margin-right: 50px;
  max-width: 465px;
  width: 45%;
}
.slide2__contentbox1__text1{
  font-weight: 700;
  color: #FFF;
  font-size:64px;
  line-height: 1.05;
  margin-top: 70px;
}
.slide2__contentbox1__text2{
  color: #FFF;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.65;
  margin-top: 25px;
  margin-bottom: 42px;
}
.slide2__contentbox1__text3{
  color: #FFF;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  display: block;
  margin-bottom: 8px;
}
.slide2__contentbox1__box1{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 15px;
}
.slide2__contentbox1__box1__text{
  font-family: "Ubuntu Mono", monospace;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #FFF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 10px;
}
.slide2__contenbox1__button{
  width: 20px;
  height: 20px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  padding: 0;
  flex-shrink: 0;
}
.slide2__contenbox1__button img {
    display: block;
    width: 100%;
    height: 100%;
}
.slide2__contenbox1__button:hover{
  opacity: 0.9;
  transform: scale(1.1);
}
.slide2__contentbox2{
  margin-right: auto;
  width: 515px;
  max-width: 50%;
  min-width: 300px;
  height: 425px;
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.slide2__contentbox2__header{
  width: 100%;
  height: 35px;
  background-color: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  padding: 0;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.contenbox2__header__box1{
  height: 31px;
  border-radius: 7px 7px 0px 0px;
  background: rgba(20,20,20,0.35);
  display: flex;
  align-items: center;
  align-self: flex-end;
  margin-left: 9px;
  padding: 0 8px;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}
.contentbox__header__image1 {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  flex-shrink: 0;
}
.contentbox__header__text{
  font-family: 'Segoe UI Variable', 'Space Grotesk', sans-serif;
  color: #FFF;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}
.delete_button{
  margin-left: auto;
  padding-left: 6px;
  flex-shrink: 0;
  height: 100%; display: flex; align-items: center;
}
.delete_button img { max-height: 16px; width: auto; display: block;}

.newtab_button{
  margin-left: 9px;
  flex-shrink: 0;
  height: 100%; display: flex; align-items: center;
}
.newtab_button img { max-height: 22px; width: auto; display: block;}

.control_group{
  margin-left: auto;
  flex-shrink: 0;
  height: 100%; display: flex; align-items: center;
}
.control_group img { max-height: 100%; width: auto; padding-right: 5px; display: block;}

.slide2__contenbox2__text1{
  color: #FFF;
  width: 100%;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 0;
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) rgba(0,0,0,0.1);
}

.slide2__contenbox2__text1::-webkit-scrollbar {
  width: 8px;
}
.slide2__contenbox2__text1::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
  border-radius: 4px;
}
.slide2__contenbox2__text1::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.2);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}
.slide2__contenbox2__text1::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255,255,255,0.4);
}

.slide2__contenbox2__text1__text1{
  display: block;
  font-family: monospace;
  font-size: 13px;
  white-space: pre;
  color: #FF6250;
  line-height: 1.15;
  overflow: hidden;
  text-align: left;
  margin-bottom: 10px;
}
#typewriter{
  font-family: "Ubuntu Mono", 'Space Grotesk', monospace;
  display: block;
  width: 100%;
}
.slide3{
  margin-top: 88px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.slide3__box1{
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  gap: 30px 51px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 65px 20px;
}
.slide3__box1 img {
    max-height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}
.slide3__box1 img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.slide4{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
}

.custom-video-player-container {
  margin-top: 100px;
  width: 736px;
  max-width: 90%;
  height: 414px;
  overflow: hidden;
  position: relative;
}

.custom-video-preview {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.custom-video-preview:hover .preview-image {
    transform: scale(1.03);
}


.custom-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 0;
  box-sizing: border-box;
  transition: transform 0.2s ease, background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
}
.custom-play-button img {
    display: block;
    width: 100%;
    height: 100%;
}
.custom-video-preview:hover .custom-play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0,0,0,0.55);
}

.youtube-iframe-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.youtube-iframe-container iframe {
  border-radius: 12px;
}


.slide4__contentbox{
  margin-top: 100px;
  width: 1080px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
}
.slide4__contentbox__title{
  margin-bottom: 18px;
  color: #FFF;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  display: flex; align-items: center;
}
.slide4__contentbox__box{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  margin-bottom: 15px;
}

.question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  gap: 16px;
  font-size: 24px;
  padding: 18px 18px;
}
.question-text{
  font-weight: 700;
  font-size: inherit;
  color: #FFF;
  display: block;
}
.conentbox__addbutton{
  height: 20px;
  width: 20px;
  margin-left: auto;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0.85;
  margin-right: 16px;
  flex-shrink: 0;
}
.slide4__contentbox__box.glass-effect:hover {
  background: rgba(58, 58, 58, 0.30);
}
.slide4__contentbox__box:hover .conentbox__addbutton {
    opacity: 1;
}

.answer {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out, padding-top 0.35s ease-in-out, padding-bottom 0.35s ease-in-out, opacity 0.35s ease-in-out;
}

.slide4__contentbox__box.active .answer {
  max-height: 300px;
  padding-top: 0;
  padding-bottom: 28px;
  opacity: 1;
}
.slide4__contentbox__box.active .conentbox__addbutton {
  transform: rotate(45deg);
}

.footer__text{
  max-width: 140px;
  opacity: 0.6;
  margin: 118px auto 10px auto;
  display: block;
  transition: opacity 0.3s ease;
}
.footer__text:hover {
    opacity: 0.9;
}
.footer__text img {
    display: block;
    margin: 0 auto;
}

#copyImg {
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 0.25s ease-in-out, transform 0.25s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: scale(1);
  opacity: 1;
}


@media(max-width:1280px){
  .root__content{
   padding-left: 20px;
   padding-right: 20px;
  }
}

@media (max-width: 1100px) {
  .slide1 {
    padding: 0 20px;
  }
  .slide1__text1 {
    line-height: 80px;
  }
  .slide1__nav {
    gap: 20px;
  }

  .slide2{
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
  }
  .slide2__contentbox1{
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    max-width: 515px;
    text-align: center;
    padding: 0 10px;
  }
  .slide2__contentbox1__text1{
    font-size: 50px;
    margin-top: 30px;
  }
  .slide2__contentbox1__text2 { font-size: 20px; }
  .slide2__contentbox1__text3 { text-align: center; }
  .slide2__contentbox1__box1 {
    margin: 20px auto;
    max-width: 400px;
  }

  .slide2__contentbox2 {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    max-width: 515px;
    min-width: unset;
    margin-top: 0;
    height: auto;
    min-height: 350px;
  }
  .slide3__box1{
    padding: 40px 20px;
    gap: 20px 30px;
  }
  .slide4{
    padding: 20px 0;
  }
  .custom-video-player-container, .slide4__contentbox {
    margin-top: 60px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    width: auto;
  }
}


@media (max-width: 769px) {
    .root__content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .slide1 {
        padding: 0 15px;
        height: auto;
    }
    .slide1__text1 {
        line-height: 70px;
        flex-shrink: 0;
    }
    .mobile-menu-icon {
        display: flex;
        align-items: center;
        height: 70px;
    }
    .slide1__nav {
        width: 100%;
        order: 3;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background-color: rgba(35, 35, 35, 0.65);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 0 0 8px 8px;
        border: 1px solid rgba(255,255,255,0.1);
        border-top: none;
        z-index: 99;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-in-out, opacity 0.35s ease-in-out, padding-top 0.35s ease-in-out, padding-bottom 0.35s ease-in-out;
        padding: 0;
        margin: 0;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
    }
    .slide1__nav.mobile-nav-open {
        max-height: 500px;
        opacity: 1;
    }
    .slide1__texts {
        font-size: 18px;
        opacity: 0.9;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .slide1__texts:first-child {
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .slide1__texts:last-child {
        border-bottom: none;
    }

    .slide2__contentbox1, .slide2__contentbox2 {
        width: 100%;
    }
    .slide2__contentbox1__text1 { font-size: 40px; margin-top: 20px;}
    .slide2__contentbox1__text2 { font-size: 18px; }
    .slide2__contentbox1__box1 {
         align-items: center;
         padding: 17px 15px;
         width: 90%;
         max-width: 400px;
    }

    .slide2__contentbox2 {
        min-height: 300px;
    }
    .slide2__contentbox2__header { height: 30px; }
    .contenbox2__header__box1 { height: 28px; padding: 0 6px; margin-left: 6px;}
    .contentbox__header__image1 { width: 14px; height: 14px; margin-right: 4px;}
    .delete_button img { max-height: 14px; }
    .newtab_button img { max-height: 18px; }

    .slide2__contenbox2__text1__text1 {
        font-size: 10px;
        line-height: 1.1;
    }
    #typewriter { font-size: 14px; }

    .custom-video-player-container {
        height: auto;
        aspect-ratio: 16 / 9;
        width: 100%;
    }
    .slide4__contentbox {
        width: 100%;
    }
    .custom-play-button { width: 60px; height: 60px; }


    .question-text, .slide4__contentbox__title { font-size: 20px; }
    .question { padding: 15px 10px; }
    .answer { font-size: 16px; padding: 0 10px; }
    .conentbox__addbutton { margin-right: 0; }
}

@media(max-width: 480px){
    .root__content {
        padding-left: 10px;
        padding-right: 10px;
    }
    .slide1 { padding: 0 10px; }
    .slide1__text1 { line-height: 60px; }
    .mobile-menu-icon { height: 60px; }


    .slide2__contentbox1__text1 { font-size: 32px; line-height: 1.1; }
    .slide2__contentbox1__text2 { font-size: 16px; }
    .slide2__contentbox1__box1__text { font-size: 14px; }
    .slide2__contenbox1__button { width: 18px; height: 18px; }

    .contenbox2__header__box1 { margin-left: 5px; padding: 0 5px;}
    .contentbox__header__text { font-size: 11px; }


    .slide2__contenbox2__text1__text1 {
      font-size: 8px;
      line-height: 1.0;
      margin-bottom: 5px;
    }
    #typewriter { font-size: 13px; margin-top: 0; }

    .slide3__box1 img { max-height: 30px; }
    .custom-video-player-container, .slide4__contentbox { margin-top: 40px; }
    .slide4__contentbox__title { font-size: 24px; }
    .question-text { font-size: 18px; }
    .question { padding: 12px 8px; }
    .answer { font-size: 15px; padding: 0 8px; }
    .custom-play-button { width: 50px; height: 50px; }
}

@media(max-width:380px){
    .slide1__texts { font-size: 16px; padding: 12px 15px; }
    .slide2__contentbox1__text1 { font-size: 28px; }
    .slide2__contentbox1__text2 { font-size: 14px; }
    .slide2__contentbox1__box1__text { font-size: 12px; }
    .contentbox__header__text { font-size: 10px; }

    .question-text { font-size: 16px; }
    .answer { font-size: 14px; }
     .slide2__contenbox2__text1__text1 {
        font-size: 7px;
        line-height: 1.0;
    }
    #typewriter { font-size: 12px; }
}