@font-face {
    font-family: 'font'; 
    src:url('./../frontend/myfont.otf'); 
}
*{
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
    
}
body{
  background-color: black;
  height: 100vh;
  width: 100vw;
  background-image: url("data:image/svg+xml,%3Csvg width='1512' height='6397' viewBox='0 0 1512 6397' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_243_2)'%3E%3Crect width='1512' height='6397' fill='%230c0c0c' /%3E%3Cg opacity='0.4' filter='url(%23filter0_f_243_2)'%3E%3Cpath d='M387.38 137.553C355.297 -107.774 513.625 -371.892 752.935 -403.188C992.246 -434.485 1087.35 -273.117 1119.44 -27.7906C1151.52 217.536 993.208 -36.6224 796.88 -10.947C557.569 20.3495 419.463 382.88 387.38 137.553Z' fill='%2324cfa7' /%3E%3C/g%3E%3Cg filter='url(%23filter1_f_243_2)'%3E%3Ccircle cx='15' cy='3176' r='185' fill='%2324cfa7' /%3E%3C/g%3E%3Cg filter='url(%23filter2_f_243_2)'%3E%3Ccircle cx='1275' cy='840' r='64' fill='%2324cfa7' /%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_f_243_2' x='239.258' y='-551.062' width='1028.33' height='917.31' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix' /%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape' /%3E%3CfeGaussianBlur stdDeviation='72' result='effect1_foregroundBlur_243_2' /%3E%3C/filter%3E%3Cfilter id='filter1_f_243_2' x='-774' y='2387' width='1578' height='1578' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix' /%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape' /%3E%3CfeGaussianBlur stdDeviation='302' result='effect1_foregroundBlur_243_2' /%3E%3C/filter%3E%3Cfilter id='filter2_f_243_2' x='967' y='532' width='616' height='616' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix' /%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape' /%3E%3CfeGaussianBlur stdDeviation='122' result='effect1_foregroundBlur_243_2' /%3E%3C/filter%3E%3CclipPath id='clip0_243_2'%3E%3Crect width='1512' height='6397' fill='white' /%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-position: top;
  background-size: 100vw;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

nav{
  display: flex;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 60px;
  padding-right: 60px;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(5px);
  background: transparent;
  font-family: 'font',sans-serif;
    
}
nav>#right{
  font-family: 'font',sans-serif;
}
#right>a{
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
    
}


#left{
  width: 20vw;
  display: flex;
  color: #ffffff;
  justify-content: flex-start;
  font-size: 16px;
  align-items: center;
}
#left a{
  text-decoration: none;
  font-family: 'font',sans-serif;
  color: #ffffff;
}
img{
  margin-right: 10px;
}
#right{
  width: 28vw;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

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

.btn{
  padding: 5px 12px;
  background-color: #27E0B3;
  border: none;
  border-radius: 50%;
  font-family: sans-serif;
  font-size: 1em;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btnname{
  padding: 7px 15px;
  background-color: #27E0B3;
  border: none;
  border-radius: 0.25rem;
  font-family: sans-serif;
  font-size: 1em;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #20b497;
}
.btnname:hover {
  background-color: #20b497;
}
#full {
  height: 40vh;
  width: 15vw;
  position: absolute;
  right: 100px;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.86);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
}

#full a {
  text-decoration: none;
  color: #ffffff;
}
#username h3{
  color: #ffffff;
}

#username h3:hover{
  color: #24CFA6;
  cursor: none;
}

#full a:hover {
  color: #24CFA6;
}
#profilelink i:hover{
  color: #24CFA6;
}
#username{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#profilelink, #logout {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  width: 100%; 
  padding: 10px 0; 
}

.togethier{
  display: flex; 
  align-items: center;
  gap: 5px; 
}

#profilelink i, #logout i {
  color: #ffffff;
}



#register{
    display: flex;
    align-items: center;
    justify-content: center;
}
.container {
    height: 100%;
    background: #000;
    padding: 2.5rem;
    border-radius: 15px;
    font-family: 'inter';
    box-shadow: 0 5px 25px var(--shadow-color);
    width: 50%;
    max-width: var(--container-width-desktop);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color:#27E0B3;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-header p {
    color:#27E0B3;
    font-size: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}



.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #313030;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #313030;
}

input:focus {
    outline: none;
    border-color:#27E0B3;;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

input::placeholder {
    color: #999;
}

.button-group {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

#btn {
    width: 100%;
    padding: 1rem;
    background-color: #27E0B3;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#btn:hover {
    background-color: #22ae8b;
    transform: translateY(-1px);
}

#btn:active {
    transform: translateY(0);
}

.login p{
    color: white;
    font-size: large;
}
.login{
    margin-top: 10px;
}
.login a{
    text-decoration: none;
    color: #22ae8b;
}



.error {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* Tablet Responsive Styles */
@media (max-width: 992px) {
    .container {
        max-width: var(--container-width-tablet);
        padding: 2rem;
    }

    .form-header h2 {
        font-size: 1.75rem;
    }
    
    input {
        padding: 0.9rem;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .container {
        max-width: var(--container-width-mobile);
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-header {
        margin-bottom: 1.5rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    input {
        padding: 0.8rem;
    }

    button {
        padding: 0.9rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 1.25rem;
    }

    .form-header h2 {
        font-size: 1.25rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .container {
        box-shadow: 0 5px 35px rgba(0, 0, 0, 0.08);
    }
}




.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 100;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.4s;
}


.hamburger.active div:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}


@media screen and (max-width: 768px) {
  body {
      width: 100vw;
      background-size: cover;
  }

  nav {
      padding: 10px 5%;
  }

  #left {
      width: auto;
  }
  .hamburger {
      display: flex;
      position: absolute;
      top: 15px;
      right: 15px;
  }

  #right {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 50px;
      right: 20px;
      width: 40%;
      height: 35vh;
      background: rgba(0, 0, 0, 0.9);
      padding: 20px 0;
      border-radius: 0.5rem;
      z-index: 2000;
  }
  #full {
      height: 40vh;
      width: 15vw;
      position: absolute;
      right: 100px;
      z-index: -1;
      backdrop-filter: blur(10px);
      background: rgba(0, 0, 0, 0.86);
      border-radius: 8px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      align-items: flex-start;
  }
  #right.active {
      display: flex;
  }

  #right a {
      margin: 10px 0;
      font-size: 16px;
  }

  .hamburger {
      display: flex;
      position: absolute;
      top: 15px;
      right: 15px;
  }

  #main {
      font-size: 40px;
      text-align: center;
      line-height: 1.2;
      padding: 0 20px;
  }

  #side {
      position: static;
      width: 80%;
      margin: 20px auto;
      text-align: center;
  }

  #long > button {
      margin-left: auto;
      margin-right: auto;
      display: block;
  }

  #full {
      width: 90%;
      right: 5%;
      left: 5%;
  }
}

@media screen and (max-width: 480px) {
  #main {
      font-size: 30px;
  }
  #full {
      height: 40vh;
      width: 15vw;
      position: absolute;
      right: 100px;
      z-index: -1;
      backdrop-filter: blur(10px);
      background: rgba(0, 0, 0, 0.86);
      border-radius: 8px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      align-items: flex-start;
  }

  body {
      width: 100vw;
      background-size: cover;
  }

  nav {
      padding: 10px 5%;
  }

  #left {
      width: auto;
  }

  #right {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 50px;
      right: 20px;
      width: 40%;
      height: 35vh;
      background: rgba(0, 0, 0, 0.9);
      padding: 20px 0;
      border-radius: 0.5rem;
      z-index: 2000;
  }
  #full {
      height: 40vh;
      width: 15vw;
      position: absolute;
      right: 100px;
      z-index: -1;
      backdrop-filter: blur(10px);
      background: rgba(0, 0, 0, 0.86);
      border-radius: 8px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      align-items: flex-start;
  }
  #right.active {
      display: flex;
  }

  #right a {
      margin: 10px 0;
      font-size: 16px;
  }

  .hamburger {
      display: flex;
      position: absolute;
      top: 15px;
      right: 15px;
  }

  #main {
      font-size: 40px;
      text-align: center;
      line-height: 1.2;
      padding: 0 20px;
  }

  #side {
      position: static;
      width: 80%;
      margin: 20px auto;
      text-align: center;
  }

  #long > button {
      margin-left: auto;
      margin-right: auto;
      display: block;
  }
  #full {
      width: 90%;
      right: 5%;
      left: 5%;
  }



  #side {
      font-size: 12px;
  }

  #long > button {
      font-size: small;
      padding: 8px 20px;
  }
} 
