@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,500&display=swap");
@import url("https://fonts.googleapis.com/css?family=Montserrat");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f8faf8;
  background-color: white;
  font-family: "Poppins", sans-serif;
  font-family: "DM Sans", sans-serif;
  width: 100%;
}

:root {
  --secondary-color: #0a3d48;
  --primary-color: white;
}
.home {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
    url(./pc-view.jpg);
  min-height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* ------NAV------- */

.flex-space {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

header {
  height: 19vh;
  line-height: 10vh;
  padding: 0 20px;
}

header img {
  width: 80px;
  border-radius: 10px;
  margin: 20px 0;
}

header ul {
  display: inline-block;
}

header ul li {
  display: inline-block;
  text-transform: uppercase;
}

header ul li a {
  color: white;
  margin: 0 20px;
  transition: 0.5s;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
}

header ul li a:hover {
  color: var(--primary-color);
}

header i {
  margin: 0 20px;
}

header .navlinks span {
  display: none;
}

.logo a {
  text-decoration: none;
  color: white;
  font-size: 40px;
  font-weight: 700;
}

/* ------NAV------- */

/* ------HERO------- */

.hero-text {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 60%;
}

.hero-text h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 15px;
}
.hero-text h3 {
  font-size: 40px;
  font-weight: 700;
}

.hero-text .input-field {
  margin-bottom: 40px;
}

.hero-text .input-field input {
  padding: 10px 10px;
  width: 250px;
  border-radius: 5px;
  border: 2px solid green;
}

.hero-text .input-field .submit {
  padding: 11px;
  background-color: green;
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  width: 100px;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 1000px) {
header ul {
    position: absolute;
    top: 100px;
    left: 0px;
    width: 100%;
    height: 800vh;
    background-color: rgb(21, 25, 21);
    overflow: hidden;
    transition: max-height 0.5s;
    text-align: center;
    z-index: 9;
    height: 50%;
}

header ul li {
    display: block;
    /* border: 2px solid red; */
    margin-bottom: 5%;
}

header ul li a {
    color: white;
    font-weight: 900;
}

header .navlinks span {
    color: var(--primary-color);
    display: block;
    cursor: pointer;
    line-height: 10vh;
    font-size: 25px;
  }

.logo a {
    font-size: 25px;
}

.home {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
      url(./mobile-view.jpg);
    min-height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-text {
    width: 90%;
}

.hero-text h1 {
    font-size: 25px;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 10px;
}
}
