/* Base styles */
.home {
  width: 100%;
  height: 100vh;
  background-image: url(../image/back.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* NAVIGATION */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 5%;
  background-color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.nav img {
  width: 60px;
  height: 60px;
  border-radius: 35px;
}

.nav h2 {
  font-size: 25px;
  margin: 0 20px;
  margin-left: -380px;
  flex-grow: 1;
  text-align: center;
}

.nav ul {
  display: flex;
  gap: 30px;
  list-style-type: none;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
}

.nav ul a {
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  color: black;
}

.nav ul a:hover {
  color: rgb(245, 7, 7);
}

/* HEADLINE */
.headline {
  margin: 20px auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50px 0 50px 0;
  text-align: center;
  max-width: 90%;
  font-size: 24px;
  color: rgb(15, 14, 14);
  -webkit-text-stroke: 1px rgb(14, 14, 14);
  text-shadow: 2px 2px 5px rgb(247, 230, 138);
}

.headline label {
  font-size: 60px;
}

.read {
  color: red;
}

.space {
  color: darkturquoise;
}

/* LOGIN BUTTON */
.login {
  margin: 40px auto;
  width: fit-content;
  border: solid 1px black;
  background-color: rgb(242, 202, 107);
  text-align: center;
  padding: 10px 20px;
  border-radius: 25px 0 25px 25px;
  box-shadow: 5px 5px 6px;
}

.login:hover {
  background-color: rgb(238, 9, 9);
  box-shadow: 10px 0 10px white;
  border-radius: 25px;
}

.login a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
}

/* RESPONSIVE QUERIES */
@media (max-width: 992px) {
  .headline label {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .nav h2 {
    font-size: 22px;
    margin: 10px 0;
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .headline label {
    font-size: 40px;
  }

  .login a {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .headline label {
    font-size: 30px;
  }

  .headline {
    font-size: 18px;
  }

  .login a {
    font-size: 16px;
  }

  .nav img {
    width: 50px;
    height: 50px;
  }
}
