@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
html {
  scroll-behavior: smooth;
}

/* animation */
/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* header */
header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: #1d232c;
  color: white;
  padding: 1%;
  flex-wrap: wrap;
}

header i {
  cursor: pointer;
}

/* header__section */
.header__section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5% 1%;
  background-color: white;
  position: sticky;
  top: 0;
}

.header__section ul {
  display: flex;
  list-style: none;
  gap: 15px;
  padding: 1%;
  color: black;
}

.header__section ul li a {
  color: black;
  text-decoration: none;
}

.header__section ul li:hover {
  text-decoration: underline;
  cursor: pointer;
}

.header__section i {
  cursor: pointer;
}

/* sidenav */
.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  width: 60%;
  height: 100vh;
  background-color: rgb(0, 0, 0);
  color: white;
  padding: 5%;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: 50;
}

.sidenav.active {
  transform: translateX(0);
}

/* close icon inside sidenav */
.sidenav #close {
  position: absolute; /* position relative to sidenav */
  top: 20px; /* distance from top */
  right: 20px; /* distance from right */
  font-size: 1.5rem; /* make it bigger if you want */
  cursor: pointer;
  color: white;
}

.sidenav ul {
  list-style: none;
  padding: 20%;
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.sidenav ul li a {
  text-decoration: none;
  color: white;
}

.sidenav ul li:hover {
  cursor: pointer;
  text-decoration: underline;
}

.signupbtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  background-color: rgb(0, 0, 0);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 100;
}

/* contactform */
.contact-form {
  background-color: #1d232c;
  color: #dddddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 60vw;
  margin: auto;
  padding: 5vw;
  padding-right: 10vw;
  margin-top: 10px;
}

.contact-form h2 {
  margin-bottom: 1vw;
}

.contact-form label {
  display: block;
  margin-bottom: 1vw;
}

.contact-form input[type="text"],
.contact-form textarea {
  width: 100%;
  padding: 2vw;
  border: 1px solid #dddddd;
  border-radius: 4px;
  margin-bottom: 1vw;
  font-size: 1vw;
}

.contact-form textarea {
  resize: vertical;
  height: 10vh;
}

.contact-form input[type="submit"] {
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  background-color: #0056b3;
}

.contact-form input[type="submit"]:hover {
  background-color: #0056b3;
}
/* news */
.news__container {
  font-size: 2rem;
  margin-top: 2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.news__container p {
  font-size: 1.5rem;
  padding: 1%;
}

.news__container h2 {
  font-size: 2rem;
  font-weight: 800;
}

.news__search {
  padding: 1%;
  width: 70%;
  margin-bottom: 10px;
  border: solid #000000 3px;
}

.news__search input {
  width: 100%;
  border: none;
}

.news__container input:focus {
  outline: none;
}

.news__container button {
  margin-top: 2%;
  font-size: 1.2rem;
  color: white;
  background-color: #000000;
  border-radius: 10px;
  border: none;
  padding: 10px;
}

.signupbtn {
  position: fixed;
  bottom: 5%;
  right: 5%;
  padding: 10px 20px;
  background-color: rgb(0, 0, 0);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 100;
}

/* footer */
.footer {
  margin-top: 5%;
  padding: 40px;
  background-color: #1d232c;
  color: #e2e1e1;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-box-1 {
  display: flex;
  flex-direction: column;
}

.footer-box-2 {
  display: flex;
}

.footer-icon-container i {
  padding: 2%;
}

.subtitle {
  display: block;
}

.footer p,
.footer h2 {
  font-size: 1.5rem;
}
/* media Queries */
@media (min-width: 700px) {
  .header__section i {
    display: none;
  }
}
@media (max-width: 699px) {
  h1 {
    font-size: 1.2rem;
  }
  h2 {
    font-size: 0.8rem;
  }
  h4 {
    font-size: 0.6rem;
  }
  p {
    font-size: 0.6rem;
  }
  header p {
    font-size: 1rem;
  }
  .header__section ul {
    display: none;
  }
  .news__container p,
  .news__container h2 {
    font-size: 0.7rem;
  }
  .news__container button {
    font-size: 0.6rem;
  }
  .footer p,
  .footer h2 {
    font-size: 0.6rem;
  }
  .footer-icon-container i {
    font-size: 0.6rem;
  }
}
