/* ----------------------------
   RESET & BASELINE
----------------------------- */

html {
  font-size: 100%; /* 16px base for accessibility */
  scroll-behavior: smooth;
}

body {
  overflow-y: scroll;            /* Ensure scrolling is allowed */
  -ms-overflow-style: none;      /* IE 10+ */
}

body::-webkit-scrollbar {
  display: none;                 /* Chrome, Safari, Opera */
}


/* ----------------------------
   CSS VARIABLES (DESIGN TOKENS)
----------------------------- */

:root {
  /* ----------------------------
     BASE COLORS
  ----------------------------- */
  --clr-black: #000000;
  --clr-white: #ffffff;
  --clr-dark-gray: #333333;
  --clr-light-gray: #d3d3d3;
  --clr-light-blue: #add8e6;
  --clr-box-bg: rgba(10, 10, 10, 0);

  /* ----------------------------
     BRAND COLORS
  ----------------------------- */
  --clr-gold: #fcd200;
  --clr-gold-deep: #ffc404;
  --clr-teal: #08ffe6;
  --clr-red: #fc002e;

  /* ----------------------------
     GRADIENTS
  ----------------------------- */
  --gradient-teal-gold: linear-gradient(#08ffe6, #fcd200);
  --gradient-gold-red: linear-gradient(#fcd200, #fc002e);

  /* ----------------------------
     MISC
  ----------------------------- */
  --clr-glass-white: rgba(255, 255, 255, 0.1);
  --clr-glass-white-60: rgba(255, 255, 255, 0.6);
  --clr-glass-white-15: rgba(255, 255, 255, 0.15);
  --clr-glass-black-60: rgba(0, 0, 0, 0.6);
  --clr-glass-black-65: rgba(0, 0, 0, 0.65);


  /* ----------------------------
     TYPOGRAPHY & FONTS
  ----------------------------- */
  --font-family: 'Outfit', sans-serif;
  --font-body-size: 0.9375rem;       /* 15px = 15 / 16 = 0.9375rem */
  --font-weight-regular: 400;
  --font-weight-bold: 700;

  --max-width: 1440px;
  --min-width: 320px;
}

@media (min-width: 1440px) {
}

*{
   margin:0;
   padding:0;
   box-sizing: border-box; 
   color: var(--clr-white);
   font-family: var(--font-family);
}

.custom-icon-2{
   margin-left: 5px;
   margin-right: 5px;
}

.posiiton-custom-icon{
   margin-top: 20px;
}

/* styles.css */

.custom-icon {
  color: initial; /* Set initial color */
  font-size: 15px;
  margin-left: 5px;
  transition: 0.5 ease 0s; /* Add transition for smooth color change */
}

.custom-icon:hover {
  color: var(--clr-black);
}

header{
   height: 15%;
   width: 100%;
   background: var(--clr-black);
   position: fixed;
   z-index: 1000;
}

header nav .mobile-side-panel{
   display: none;
}

header nav h1{
   padding-top: 30px;
   padding-left: 50px;
   text-align: left;
   cursor: pointer;
}

header nav h1:hover {
}

header nav ul{
   list-style: none;
   padding-bottom: 30px;
   padding-right: 30px;
   text-align: right;
}

header nav ul li {
    display: inline;
    margin-right: 50px;
}

header nav ul li a{
   font-size: 16px;
   font-weight: bold;
   cursor: pointer;
   text-decoration: none;
   transition: height 0.5 ease-out;
}

header nav ul li a:hover {
    color: var(--clr-gold);
}

.active {
    color: var(--clr-gold) !important;
}

header nav ul .dropdown {
  position: relative;
}

header nav ul .dropdown .featured-btn {
  padding: 8px 14px;
  background: var(--clr-gold);
  color: var(--clr-black);
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s ease;
  box-shadow: 0 0 8px var(--clr-glass-white-60);
  display: inline-block;
  margin-right: 20px;
}

header nav ul .dropdown .featured-btn i {
  color: var(--clr-black);
}

header nav ul .dropdown .dropdown-menu {
  display: none;
  position: absolute;
  min-width: 192px;
  background: var(--clr-glass-black-65);
  color: var(--clr-white);
  backdrop-filter: blur(12px);
  border: 1px solid var(--clr-glass-white-15);
  border-radius: 8px;
  box-shadow: 0 8px 24px var(--clr-glass-black-60);
  left: 0 !important;
  top: 100%;
  padding: 0;
  margin-right: 20px;
  margin-top: 9px;
  z-index: 1000;
}

header nav ul .dropdown .dropdown-menu li {
  list-style: none;
  border-bottom: 1px solid #333;
}

header nav ul .dropdown .dropdown-menu li:last-child {
  border-bottom: none;
}

header nav ul .dropdown .dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #fff;
  text-align: left;
  transition: background 0.4s;
}

header nav ul .dropdown .dropdown-menu li a:hover {
  background: gold;
  color: #000;
}

header nav ul .dropdown:hover .dropdown-menu{
  display: block;
}

.container{
   height: 100vh;
   padding-top: 100px;
   width: 100%;
   position: relative;
   background: #000;
   display: flex;
   justify-content: center;
   align-items: center;
}

.container::before{
   content: '';
   position: absolute;
   height: 250px;
   width: 250px;
   border-radius: 50%;
   background: linear-gradient(#08ffe6,#fcd200);
   transform: translate(-490px,-150px);
}

.container::after{
   content: '';
   position: absolute;
   height: 250px;
   width: 250px;
   border-radius: 50%;
   background: linear-gradient(#fcd200,#fc002e);
   transform: translate(490px,170px);
}

.container .box{
   height: 70vh;
   width: 68%;
   padding: 20px;
   background: rgba(255,255,255,0.1);
   z-index: 10;
   display: flex;
   position: relative;
   border-radius: 20px;
   border: 2px solid rgba(255,255,255,0.1);
   backdrop-filter: blur(25px); 
   box-shadow: -15px 17px 17px rgba(10,10,10,0.25);  
}

.container .box nav{
   height: 7%;
   width: 95%;
   position: absolute;
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin: 15px auto;
   padding: 20px;
}

.container .box nav::before {
  content: none;
}

.bio .name {
    display: none;
  }

.bio .title {
    display: none;
  }

.bio-paragraph {
    display: none;
  }

.container .box nav ul li{
   display: inline-block;
   padding: 0 20px;
   
}

.container .box nav ul li a{
   font-size: 15px;
   font-weight: bold;
   cursor: pointer;
   text-decoration: none;
   transition: height 0.5 ease-out;
}

.container .box nav ul li a:hover{
   color: #ffc404;
   font-size: 16px;
   font-weight: bold;
   cursor: pointer;
   text-decoration: none;
}

.container .box .nav_contain{
   display: flex;
   justify-content: space-between;
   width: 100%;
   height: 80%;
   position: relative;
   margin-top: 8%;
   padding-left: 70px;
   
}

.container .box .nav_contain .section-1{
   position: absolute;
   margin-top: 50px;
}

.container .box .nav_contain .section-1 h3{
   font-size: 15px;
   margin-top: 8px;
}

.container .box .nav_contain .section-1 .button{
   margin-top: 40px;
   margin-right: 10px;
}

.container .box .nav_contain .section-1 .button a{
   padding: 5px 10px;
   font-weight: bold;
   border: 1px solid #fff;
   cursor: pointer;
   text-decoration: none;
   transition: 0.5s ease 0s;
}

.container .box .nav_contain .section-1 .button a:hover{
   background: #fff;
   color: #000;
}

.container .nav_contain .section-1 .wrapper{
   display: inline-flex;
}

.container .nav_contain .section-1 .wrapper .dynamic_txt{
   height: 50px;
   width: 485px;
   line-height: 51px;
   overflow: hidden;
}

.container .box .nav_contain .section-1 .wrapper .dynamic_txt li span h1{
   font-size: 50px;
  -webkit-text-stroke: 1px #fff;
}


.container .nav_contain .section-1 .wrapper .dynamic_txt li{
   list-style: none;
   top: 0;
   position: relative;
   animation: slide 9s steps(3) infinite;
}



.container .nav_contain .section-1 .wrapper .dynamic_txt li span{
   position: relative;
}

.container .nav_contain .section-1 .wrapper .dynamic_txt li span::before{
   content: "";
   left: 0;
   position: absolute;
   height: 100%;
   width: 100%;
   background: #000;
   border-left: 3px solid #fff;
   animation: typing 3s steps(10) infinite;
}

.container .box .nav_socials{
   display: flex;
   flex-direction: column;
   position: relative;
   top: 15%;
   height: 100%;
}


.container .box .nav_socials .socials_link .logo{
   font-size: 40px;
   transition: 0.3s ease;
   margin-top: 10px;
}

.container .box .nav_socials .logo:hover{
   color: gold;
}



@keyframes typing {
   100%{
            left: 100%;
            margin 0 -60px 0  100px;
          }
}

@keyframes slide {
   100%{
         top: -144px;
       } 
}

.parent-container-grid {
    height: 140vh;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    color: #fff;
    padding-top: 100px;
}


.grid-container {
    display: grid;
    width: 90%;
    height: 100%;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 15px; /* Gap between grid items */
    padding: 20px;
}

.grid-item {
    padding: 10px;
    overflow: hidden; /* Ensure text doesn't overflow */
    text-overflow: ellipsis; /* Show ellipsis for overflow */
    white-space: nowrap; /* Prevent text wrapping */
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(25px);
    z-index: 10;
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: -15px 17px 17px rgba(10,10,10,0.25);
}

.grid-item h2{
  margin-left: 10px; 
  padding: 10px;
  font: 25px;
}

.grid-item .line{
  height: 270px;
  width: 1px;
  color: #fff;
  border: 1px solid #fff;
  margin-left: 35px;
  margin-top: 12px
}

.grid-item .line-pointer{
  height: 1px;
  width: 15px;
  color: #fff;
  border: 1px solid #fff;
  margin-top: 22px
  
}

.grid-item .title{
   display: flex;
   position: relative;   
}

.grid-item .title p{
  margin-left: 15px;
  margin-top: -7px;
  font-size: 18px;
  font-weight: bold;
}

.grid-item .title p a{
  text-decoration: none;
}

.grid-item .title p a:hover{
   font-size: 20px;
   color: gold;
}

.grid-item .title p a:hover i {
  color: gold;
}

.grid-item .write-box p{
  margin-left: 15px;
  margin-top: 5px;
  font-size: 15px;
  font-weight: none;
}


.parent-container-form{
   height: 100vh;
   width: 100%;
   display: flex;
   flex-direction: row;
   position: relative;
   background: #000;
   padding-top: 100px;
}

.container-image{
   height: 100%;
   width: 50%;
   margin-top: 10px;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
}

.parent-container-form .container-slider{
   margin-bottom: 10px;
   margin-right: 10px;
   width: 300px;
   display: flex;
   justify-content: flex-end;
   height: auto;
}

.parent-container-form .container-slider .ox-switch {
   display: inline-block;
   position: relative;
   width: 120px;
   height: 40px;
   font-family: sans-serif;
   font-weight: bold;
}

.parent-container-form .container-slider .ox-switch input {
   display: none;
}

.parent-container-form .container-slider .ox-labels {
      display: flex;
      width: 100%;
      height: 100%;
      border: 2px solid black;
      border-radius: 4px;
      overflow: hidden;
    }

.parent-container-form .container-slider .ox-labels span {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.4s ease;
      font-size: 18px;
      cursor: pointer;
    }

    /* Default state: O is active */
.parent-container-form .container-slider .ox-switch input:not(:checked) ~ .ox-labels .o {
      background: white;
      color: black;
      border: 1px solid transparent;
    }

.parent-container-form .container-slider .ox-switch input:not(:checked) ~ .ox-labels .x {
      background: black;
      color: white;
      border: 1px solid white;
    }

    /* Checked state: X is active */
.parent-container-form .container-slider .ox-switch input:checked ~ .ox-labels .o {
      background: black;
      color: white;
      border: 1px solid white;
    }

.parent-container-form .container-slider .ox-switch input:checked ~ .ox-labels .x {
      background: white;
      color: black;
      border: 1px solid transparent;
    }

.game-container {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 5px;
    width: 320px;
    margin: 0 auto;
}

.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: lightgray;
    cursor: pointer;
    font-size: 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cell:hover {
    background-color: lightblue;
}


.gamebutton{
    height: auto;
    padding-top: 50px;
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#playButton{
    padding: 10px 20px;
    margin-right: 10px;
    margin-left: 10px;
    border: 1px solid #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

#replayButton{
    padding: 10px 20px;
    margin-right: 10px;
    margin-left: 10px;
    border: 1px solid #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}


.container-form{
   height: 100%;
   width: 50%;
   position: relative;
   background: #000;
   display: flex;
   justify-content: center;
   align-items: center;
}

.form-container {
   width: 100%;
   margin: 20px auto;
   padding: 40px;
   background: rgba(255,255,255,0.1);
   backdrop-filter: blur(25px);
   z-index: 10;
   border-radius: 20px;
   border: 2px solid rgba(255,255,255,0.1);
   box-shadow: -15px 17px 17px rgba(10,10,10,0.25);
}

.form-container h2 {
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    margin-right: 5px;
    margin-left: 5px;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    padding: 20px
}

.button-type{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: calc(100% - 10px);
    padding: 5px;
    font-size: 16px;
    border: none;
    background-color: white;
    color: black;
}

.button-type button[type="submit"] {
    padding: 10px 20px;
    background-color: black;
    color: white;
    margin-right: 10px;
    margin-left: 10px;
    border: 1px solid #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.5s ease 0s;
}

.button-type button[type="submit"]:hover {
    background-color: white;
     color: black;
}


footer{
    background-color: black;
    color: white;
    padding: 20px;
    text-align: center;
}

footer .footer-content-1{
    display: flex;
    position: relative;
    flex-direction: row;
}

footer .footer-content-2 p {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

@media screen and (min-width: 781px) {
  #hamburger,
  #sidePanel {
    display: none !important;
  }
}

@media screen and (max-width: 431px) {
    .form-container {
       padding: 20px 0 20px 20px;
       transform: scaleX(0.85) scaleY(0.85);
       transform-origin: top left
    }
}



@media screen and (max-width: 780px) {
  body, html {
    overflow-x: hidden;
    max-width: 100vw;
    background: #000;
    min-width: 320px;
  }
  
  header nav h1{
   padding-right: 30px;
   text-align: right;
   font-size: 21px;
  } 
  
  header nav ul {
    display: none;
  }

  header nav .side-panel-links {
    list-style: none;
    padding: 0;
    margin: 10px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 5px;  
    align-items: flex-start;
  }

  header nav .side-panel-links li {
    width: 100%;
    padding: 5px;
    text-align: left;
    border-top: 2px solid #ffffff;    
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 2px;
  } 

  header nav .side-panel-links li:last-child {
    border-bottom: 2px solid #ffffff;
  }

  header nav .side-panel-links li:hover a {
    color: black;
  }

  header nav .side-panel-links li:hover {
    background-color: white;
  }
  
  .container .box{
    width: 90%;
  }

  .container .box .nav_contain .section-1{
    display: none;
  }

  .container .box nav {
    all: unset;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .container .box nav::before {
    content: "";
    display: block;
    width: 150px;
    height: 150px;
    background-image: url('/assets/profile_picture.webp');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin-left: 5px;
  }
  
  .bio {
    margin-top: 5px;
    display: block;
    font-size: 15px;
    text-align: center;
    color: #fff;
    font-weight: 500;
    font-family: sans-serif;
    line-height: 1.5;
  }

  .container .box .nav_contain{
    padding-left: 0px;
  }

  .bio .name {
    font-weight: bold;
    display: block;
  }

  .bio .title {
    white-space: nowrap;         /* Prevent line breaks */
    overflow-x: auto;            /* Allow horizontal scroll */
    max-width: 60vw;            /* Prevent it from spilling out */
    font-style: italic;
    font-weight: 400;
    text-align: center;
    display: block;
    scrollbar-width: none;
  }

  .bio .title::-webkit-scrollbar {
     display: none;           /* Chrome, Safari, Opera */
   }

  .bio-paragraph {
    display: block;
    font-size: 12px;
    color: #ddd;
    text-align: center;
    font-family: sans-serif;
    margin-top: 6px;
    max-width: 90vw;
    line-height: 1.3;
  }
  
  .grid-container {
    grid-template-columns: 1fr; /* Single column on small screens */
  }

  .grid-item {
    height: 400px; /* You can adjust this as needed */
    overflow-x: auto;
    scrollbar-width: none;   /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
   }

   .grid-item::-webkit-scrollbar {
     display: none;           /* Chrome, Safari, Opera */
   }

   .grid-item h2{
     margin-left: 3px; 
     padding: 10px;
     font: 20px;
   }

   .grid-item .title p{
     font-size: 14px;
   }

   .grid-item .title p a:hover{
     font-size: 16px;
     color: gold;
   }

   .grid-item .line{
     height: 270px;
     width: 1px;
     color: #fff;
     border: 1px solid #fff;
     margin-left: 25px;
     margin-top: 12px
   }

   .grid-item .write-box p{
     margin-left: 15px;
     margin-top: 5px;
     font-size: 13px;
     font-weight: none;
   }

   #playButton{
     margin-left: 0px;
     white-space: nowrap;
     font-size: 12px;
   }

   #replayButton{
     margin-left: 0px;
     white-space: nowrap;
     font-size: 12px;
   }
   
   header nav .mobile-nav-toggle {
     width: 20px;
   }

   header nav .mobile-side-panel {
     position: fixed;
     display: block;
     top: 0;
     left: 0;
     width: 60vw;
     height: 100vh;
     background-color: black;
     z-index: 1100; /* must be higher than header */
     transform: translateX(-100%);
     transition: transform 0.3s ease-in-out;
   }

  header nav .mobile-side-panel.active {
     transform: translateX(0); /* Slide into view */
  }

  header nav .icon-button {
     font-size: 20px;
     font-weight: bold;
     cursor: pointer;
     color: white;
     z-index: 1200;
     user-select: none;
     transition: all 0.2s ease-in-out;
  }

  header nav .icon-button:hover {
    color: gold;
    font-size: 24px;
  }

  header nav #hamburger {
     margin-left: 20px;
  }

  header nav #closePanel {
    font-size: 36px; /* Start slightly bigger */
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1201;
  }

  header nav #closePanel:hover {
     color: gold;
     font-size: 44px;
  }

  header nav .mobile-side-panel a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 16px;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
  }

  header nav .mobile-side-panel a:hover {
    color: black;
    transform: scale(1.05);
  }

   .parent-container-form{
     flex-direction: column; 
     margin-top: 900px;
   }

   .container-image{
     height: 100%;
     width: 100%;
     align-items: center;
     justify-content: center;
   }

   #connection-form {
       margin-top: 150px;
       padding: 10px;
   }

   .container-form{
     height: 100%;
     width: 40%;
     position: relative;
     background: #000;
     display: flex;
     justify-content: center;
     align-items: center;
   }

    .form-group {
      padding: 10px;
      flex-wrap: wrap;               
      gap: 5px;                     
      justify-content: flex-start;      
    }
    
    input[type="text"] {
      width: calc(100% + 124px);
      margin-top: 10px;
    }

    input[type="email"],
    input[type="password"],
    textarea{
       margin-top: 10px;
       width: calc(100% - 50px);
    }
   
   footer {
    margin-top: 100vh;
   }
}
