:root {
  --primary: rgb(241, 190, 97);
  --bg: #06213e;
  --bgcolor: #010101;
  --secondary: #b6895b;
  --tertiary: #f8ad21;
  font-size: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: white;
}

/* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2% 0.8rem 2%;
  background-color: rgba(6, 33, 62, 0.8);
  border-bottom: 1px solid #644a30;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.navbar .navbar-logo:hover {
  color: var(--primary);
}

.navbar .navbar-logo:hover span {
  color: white;
}
.navbar .navbar-logo span {
  color: var(--primary);
  font-style: italic;
}

/* Main Section */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-image: url("../img/header.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.cover {
  position: absolute;
  width: 100%;
  max-height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(1, 1, 1, 0.6);
  z-index: 1;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(1, 1, 3, 1) 3%,
    rgba(255, 255, 255, 0) 25%
  );
}

.hero .content {
  max-width: 60%;
  position: inherit;
  z-index: 2;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  left: 5%;
  /* background: linear-gradient(
    to top,
    rgba(1, 1, 3, 0.8) 20%,
    rgba(255, 255, 255, 0) 75%
  ); */
  /* background-color: rgba(1, 1, 3, 0.5); */
}

.hero .content h1 {
  width: 100%;
  font-size: 5rem;
  color: white;
  text-shadow: 1px 1px 5px rgba(1, 1, 3, 1);
  line-height: 1;
}

.hero .content h1 span {
  display: inline-block;
  position: relative;
  top: 1rem;
  background: linear-gradient(
    to top,
    rgba(241, 190, 97, 0) 0,
    rgba(241, 190, 97, 1) 60%
  );
  border-radius: 40px 30px 50px 5px;
  font-size: 7rem;
  font-style: italic;
  text-shadow: 1px 1px 5px rgba(1, 1, 3, 0.8);
  padding: 0.5rem 3rem 1rem;
  color: var(--bg);
  animation-name: nosu;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

@keyframes nosu {
  0% {
    background: linear-gradient(
      to top,
      rgba(30, 107, 251, 0) 0%,
      rgba(241, 190, 97, 1) 60%
    );
    border-radius: 30px 20px 40px 10px;
    color: #000000;
  }
  25% {
    background: linear-gradient(
      to top,
      rgba(243, 16, 62, 0) 2%,
      rgba(241, 190, 97, 1) 60%
    );
    border-radius: 20px 40px 10px 30px;
    color: #153557;
  }
  50% {
    background: linear-gradient(
      to top,
      rgba(251, 251, 30, 0) 5%,
      rgba(241, 190, 97, 1) 60%
    );
    border-radius: 40px 15px 30px 20px;
    color: #ffffff;
  }
  75% {
    background: linear-gradient(
      to top,
      rgba(28, 255, 141, 0) 3%,
      rgba(241, 190, 97, 1) 60%
    );
    border-radius: 10px 30px 20px 40px;
    color: #132f4d;
  }
  100% {
    background: linear-gradient(
      to top,
      rgba(30, 107, 251, 0) 1%,
      rgba(241, 190, 97, 1) 60%
    );
    border-radius: 30px 20px 40px 10px;
    olor: #000000;
  }
}

.hero .content h1 i {
  color: var(--primary);
}

.hero .content p {
  width: 100%;
  margin-top: 10px;
  font-size: 1.5rem;
  text-shadow: 1px 1px 10px rgba(1, 1, 3, 0.5);
  /* background-color: #06213e; */
}

.hero .content p a {
  color: var(--tertiary);
  text-decoration: underline;
}

.hero .content p a:active {
  color: var(--tertiary);
  text-decoration: underline;
}

/* Login Form */
.hero .login-form {
  position: relative;
  z-index: 2;
  top: 50%;
  /* background-color: rgba(1, 1, 3, 0.5); */
  /* padding: 2rem; */
  border-radius: 10px;
  width: 30%;
  margin-left: 1rem;
  margin-right: 5rem;
  color: white;
  font-family: "Poppins", sans-serif;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); */
}

.hero .login-form h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 1);
}

.hero .login-form .logo {
  width: 100%;
  height: 10rem;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 10px 10px 0 0;
  padding: 1.5rem 0 0;
  /* background-color: rgba(255, 255, 255, 1); */
}

.hero .login-form span {
  font-style: italic;
  color: var(--primary);
}

.hero .login-form h2:hover {
  color: var(--primary);
  cursor: default;
}

.hero .login-form h2:hover span {
  color: white;
}

.hero .login-form .form-group {
  margin-bottom: 1rem;
  padding: 0 5rem;
  font-family: inherit;
}

.hero .login-form .form-group input {
  font-size: 1.2rem;
  font-family: inherit;
  width: 100%;
  padding: 0.8rem;
  text-align: center;
  border: 1px solid #644a30;
  border-radius: 5px;
  left: 0;
  background-color: #fff;
  color: #010101;
}

.hero .login-form .btn {
  padding: 0 8rem;
  margin-bottom: 1.2rem;
}

.hero .login-form .btn .btn-login {
  display: block;
  width: 100%;
  padding: 1.2rem;
  margin-top: 1.5rem;
  background-color: var(--tertiary);
  color: var(--bgcolor);
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.hero .login-form .btn-login:hover {
  background-color: var(--primary);
}

/* Media Queries */
/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 65%;
  }
}

/* Tablet */
@media (max-width: 1080px) {
  html {
    font-size: 50%;
  }
  #hamburger-menu {
    display: inline-block;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 1rem;
  }

  .hero .content {
    padding: 1rem;
    max-width: 100%;
    margin-top: 3rem;
    margin-bottom: 0.5rem;
    background: none;
  }

  .hero .content h1 {
    font-size: 4rem;
  }

  .hero .content p {
    font-size: 1rem;
  }

  .hero .login-form {
    width: 100%;
    max-width: 35rem;
    position: static;
    transform: none;
  }
}

/* Mobile Phone */
@media (max-width: 576px) {
  html {
    font-size: 45%;
  }
  .navbar {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    justify-content: center;
  }

  .hero {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
  }
  .hero .content {
    left: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    position: relative;
    top: -4rem;
  }

  .hero .content h1 b {
    display: none;
  }

  .hero .login-form {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: -4rem;
  }
}
