@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap");
:root {
  --primary-color: #ffffff;
  --secondary-color: #f4b400;
  --text-light: #333;
  --black: #000000;
}
*::before,
*::after {
  box-sizing: border-box;
} 

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
  text-align: center;
  color: var(--white);
}

.section__subheader {
  max-width: 600px;
  margin: auto;
  text-align: center;
  color: var(--text-light);
}

.btn2 {
  padding: 1rem 2rem;
  margin-left: 35%;
  border:1px solid var(--text-light);
  font-size: 1rem;
  color: var(--white);
  background:none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn2:hover:hover {
  background-color: var(--secondary-color-dark);
}

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

.bg__blur {
  position: absolute;
  box-shadow: 0 0 1000px 50px var(--secondary-color);
  z-index: -1;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
}
  
.navbar {
  background: none; 
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(2px);
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  height: 150px;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 50px;
  padding-left: 50px;
}
#navbar__logo {
    background-color: #01b533;
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}
#navbar__logo img{
  height: 100%;
  width: 100%;
}
#navbar__logo span{
    color: #01b533;
}



.navbar__menu {
  display: flex;
  align-items: center;
  list-style: none;
  text-align: center;
}



.navbar__links {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center; 
  text-decoration: none;
  padding: 0 1rem;
  height: 100%;
}


.navbar__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  width: 100%;
}


@media screen and (max-width: 960px) {
  .navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0;
  }

  .navbar__menu {
    display: grid;
    grid-template-columns: auto;
    margin: 0;
    width: 100%;
    position: absolute;
    top: -1000px;
    opacity: 1;
    transition: all 0.5s ease;
    height: 50vh;
    z-index: -1;
  }

  .navbar__menu.active {
    background: #131313;
    top: 100%;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: 99;
    height: 50vh;
    font-size: 1.6rem;
  }
#navbar__logo img{
height: 25%;
width: 10%;
}
  #navbar__logo {
    padding-left: 25px;
  }

  .navbar__toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: #fff;
  }

  .navbar__item {
    width: 100%;
  }

  .navbar__links {
    text-align: center;
    padding: 2rem;
    width: 100%;
    display: table;
  }

  .navbar__btn {
    padding-bottom: 2rem;
  }

  .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 80px;
    margin: 0;
  }

  #mobile-menu {
    position: absolute;
    top: 20%;
    right: 5%;
    transform: translate(5%, 20%);
  }

  .navbar__toggle .bar {
    display: block;
    cursor: pointer;
  }

  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Sign Up */
* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

.hero{
  height: 100%;
  width: 100%;
  background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)), url(image/pexels-cottonbro-studio-5028395.jpg);
  background-position: center;
  background-size: cover;
  position: absolute;
}
.form-box{
  width: 380px;
  height: 480px;
  position: relative;
  margin: -2% auto;
  background: #fff;
  padding: 5px;
  overflow: hidden;
}
.button-box{
  width: 215px;
  margin: 35px auto;
  position: relative;
  box-shadow: 0 0 20px 9px var(--text-light);
  border-radius: 30px;
 color: black;
}
.toggle-btn{
  padding: 10px 30px;
  cursor: pointer;
  background: transparent;
  border: 0;
  outline: none;
  position: relative;
}
.toggle-btn2{
  padding: 10px 30px;
  margin-left: -2%;
  cursor: pointer;
  background: transparent;
  border: 0;
  outline: none;
  position: relative;
}
#btn{
  top: 0;
  left: 0;
  position: absolute;
  width: 110px;
  height: 100%;
  background: var(--secondary-color);
  border-radius: 30px;
  transition: 0.5s;

}
.inpt-group{
  top: 120px;
  position: absolute;
  width: 280px;
  transition: 0.5s;
  border: none;
  margin-left: 10%;
}
.input-field{
  width: 100%;
  padding: 10px 0;
  margin: 5px 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid #999;
  border-top: none;
  outline: none;
  background: transparent;
}
.submit-btn{
  width: 85%;
  padding: 10px 30px;
  cursor: pointer;
  display: block;
  margin: auto;
  background: var(--secondary-color);
  border: 0;
  outline: none;
  border-radius: 30px;
}

.check-box{
  margin: 30px 10px 30px 0;
}
span{
  color: #777;
  font-size: 12px;
  bottom: 68px;
  position: absolute;
}
.fotter {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}
.fotter a{
  text-decoration: none;
  cursor: pointer;
  font-size: 18px;
  color: #ff0000;
}
#login{
  left: 50px;
}
#signup{
  left: 450px;
}

@media screen and (max-width: 768px) {
  .login_form_container {
      width: 350px;
      height: 650px;
      margin-top: -5%;
      margin-left: -2.5%;
  }
  .login_form_container::before{
  
    position: absolute;
    width: 210%;
    height: 210%;
    content: '';
    background-image: conic-gradient(transparent, transparent, transparent, #01b533);
    animation: rotate_border 10s linear infinite;
  
  }
  .login_form_container::after{
    position: absolute;
    width: 210%;
    height: 210%;
    content: '';
    background-image: conic-gradient(transparent, transparent, transparent, #ffffff);
    animation: rotate_border 10s linear infinite;
    animation-delay: -5s;
  } 
  @keyframes rotate_border{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
  }

  h3 {
      font-size: 40px;
  }

  .input_group {
      flex-direction: column;
      align-items: flex-start;
  }
  .input_group i {
    margin-bottom: -7.9%;
    margin-left: -5%;
  }

  .input_text {
      width: 100%;
  }

  .btn2 {
      margin-left: 25%;
  }
  .fotter{
      font-size: small;
  }
}

/* Flash container */
.flash-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 90%;
  max-width: 450px;
  animation: fadeSlide 0.5s ease;
}

/* Flash messages */
.alert {
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  color: #fff;
}

.alert-success {
  background-color: #28a745cc;
  border-left: 6px solid #1e7e34;
}

.alert-error {
  background-color: #dc3545cc;
  border-left: 6px solid #a71d2a;
}

.alert form {
  margin-top: 10px;
}

.alert button.submit-btn {
  background-color: #fff;
  color: var(--secondary-color);
  font-weight: bold;
  width: 100%;
  margin-top: 10px;
}

/* Blurred background effect */
.blur-background {
  filter: blur(5px);
  transition: 0.3s ease;
  pointer-events: none;
}

/* Animation */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
