@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400;600;700&display=swap");
.modal .modal-container .header-top, .modal, header .container .form, header .container .top, header {
  display: flex;
  align-items: center;
  justify-content: center;
}

* {
  box-sizing: border-box;
  font-family: "Nunito Sans", sans-serif;
}

body {
  overflow-x: hidden;
  margin: 0;
}

header {
  min-height: 100vh;
  background-image: url("https://i.ibb.co/xDMX3qg/bg.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
header::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #5c7f8a;
  opacity: 0.55;
}
header * {
  z-index: 1;
}
header .container {
  max-width: 800px;
  margin: auto;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}
header .container .top {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
  width: 420px;
}
header .container .top i {
  font-size: 4rem;
  margin-right: 0.5rem;
}
header .container h1 {
  font-size: 6rem;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 200;
  margin-top: 0;
  margin-bottom: 0;
}
header .container h1:nth-of-type(2) {
  font-weight: 700;
}
header .container h4 {
  font-size: 1.2rem;
  font-weight: 300;
}
header .container .form input,
header .container .form button {
  padding: 0.75rem 1rem;
  border: none;
  outline: none;
}
header .container .form input {
  width: 350px;
  background-color: transparent;
  border: 2px solid #fff;
  border-right: none;
  transition: 0.7s ease all;
}
header .container .form input::placeholder {
  color: #fff;
}
header .container .form input:hover {
  background-color: #fff;
}
header .container .form input:hover::placeholder {
  color: #111;
}
header .container .form button {
  width: 6rem;
  background-color: #fff;
  border: 2px solid #fff;
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  font-weight: 700;
  color: #819da6;
  cursor: pointer;
  transition: 0.3s ease all;
}
header .container .form button:hover {
  background-color: #819da6;
  color: #fff;
}
header .container .social-media i {
  margin-right: 0.8rem;
  cursor: pointer;
  transition: 0.3s ease all;
  font-size: 1.1rem;
}
header .container .social-media i:hover {
  transform: scale(1.15);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background-color: #819da6d5;
  z-index: 1;
  transition: 0.3s ease all;
}
.modal .modal-container {
  transition: 0.3s ease all;
  margin: 5rem auto;
  background-color: #fff;
  width: 475px;
  height: 200px;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.modal .modal-container .header-top h1 {
  font-size: 1.75rem;
}
.modal .modal-container .header-top i {
  margin-left: 1rem;
  font-size: 2rem;
}
.modal .modal-container p {
  text-align: left;
}

@media (max-width: 600px) {
  header .container {
    padding: 0 2rem;
  }
  header .container .top {
    font-size: 1.1rem;
    width: 100%;
  }
  header .container h1 {
    font-size: 4rem;
  }
  header .container .form input {
    width: 60%;
  }
}
@media (max-width: 500px) {
  header .container .top {
    font-size: 1.1rem;
    width: 100%;
  }
  header .container .top i {
    font-size: 3rem;
  }
  header .container .form input {
    width: 60%;
  }
}