/* Globally varibale*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
}
html {
  font-size: 62.5%;
}
h1 {
  font-size: 2.6rem;
}
li,
button,
label,
input,
p {
  font-size: 2rem;
}
h2 {
  font-size: 4.8rem;
}
h3 {
  font-size: 3rem;
  font-weight: normal;
}
h4,
h5 {
  font-size: 2.8rem;
}
a {
  color: white;
  text-decoration: none;
}
button {
  padding: 2rem 6rem;
  border: none;
  color: white;
  font-size: 1.8rem;
  background: #33280e;
  cursor: pointer;
  transition: background 0.5s ease-in-out;
}
button:hover {
  background: #9d6d49;
}
button:focus {
  background: #9d6d49;
}
/* Nav section class hero */
.main-head {
  background-color: #131c27;
  color: white;
  position: sticky;
  top: 0rem;
  z-index: 3;
}
nav {
  padding: 2rem;
  min-height: 10vh;
  display: flex;
  width: 90%;
  margin: auto;
  align-items: center;
  flex-wrap: wrap;
}
ul {
  display: flex;
  flex: 1 1 40rem;
  justify-content: space-around;
  align-items: center;
  list-style: none;
}
#logo {
  flex: 2 1 40rem;
  font-family: "Patrick Hand", cursive;
  font-weight: 400;
}
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), transparent),
    url("/img/moutaines.jpg");
  min-height: 90vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero h3 {
  padding: 5rem;
}
/* locations sections*/

#locations {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), transparent),
    url("/pexels-life-of-pix-7613.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.locations-head {
  width: 90%;
  margin: auto;
}
.locations-head h2 {
  padding: 1rem 0rem;
  text-decoration: underline;
  text-decoration-thickness: 0.5rem;
}
.locations-head h3 {
  padding: 4rem 0rem;
}
.cloud {
  position: absolute;
  top: 0%;
  right: 0%;
}
.moving-cloud-1 {
  animation: cloudAnimation 2s infinite alternate ease-in-out;
}
.moving-cloud-2 {
  top: 20%;
  /*for behind*/
  z-index: -1;
  opacity: 0.5;
  animation: cloudAnimation 3s infinite alternate ease-in-out;
}
/*animation: name 2s infinite alternate 2s //forward to stay at end*/
@keyframes cloudAnimation {
  from {
    transform: translate(10%, -10%);
  }
  to {
    transform: translate(0%, 0%);
  }
}
/*benefits section*/
#benefits {
  background: #eeeee4;
}
.benefits-head {
  background-color: #131c27;
  padding: 3rem;
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}
.benefits-head h3 {
  padding: 1rem;
}
.cards {
  width: 90%;
  margin: auto;
  display: flex;
  min-height: 70vh;
  align-items: center;
  flex-wrap: wrap;
  background: #eeeee4;
}
.card {
  text-align: center;
  flex: 1 2 25rem;
  min-height: 40vh;
  margin: 2rem 5rem;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1), 0px 20px 20px rgba(0, 0, 0, 0.1);
}
.card img {
  max-width: 15%;

  margin: 4rem;
}
.card h4,
.card p {
  padding: 3rem;
  line-height: 3rem;
}
.card-icon {
  background: #eeeee4;
}
/*Contact section*/
#contact {
  min-height: 70vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), transparent),
    url("img/contact.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.form-wrapper {
  background: rgba(19, 28, 39, 0.8);
  width: 45%;
  color: white;
  border-radius: 1.5rem;
}
.form-head {
  text-align: center;
  padding: 4rem;
}
.name-form,
.email-form {
  padding: 3rem;
  text-align: center;
}
.form-wrapper label {
  margin: 0rem 3rem;
}
.form-wrapper button {
  width: 100%;
  padding: 2rem;
  margin-top: 6rem;
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}
.form-wrapper input {
  padding: 1rem 3rem;
}
/*footer*/
footer {
  color: white;
  background: rgba(19, 28, 39, 1);
}
.footer-wrapper {
  display: flex;
  padding: 2rem;
  width: 95%;
  margin: auto;
  align-items: center;
  min-height: 20vh;
  flex-wrap: wrap;
}
footer h5 {
  flex: 2 1 40rem;
}
footer ul {
  list-style: none;
  display: flex;
  flex: 1 1 40rem;
  justify-content: space-between;
  align-items: center;
}
/*media querry*/
@media screen and (max-width: 932px) {
  nav {
    text-align: center;
  }
  #logo {
    padding: 2rem;
  }
  html {
    font-size: 38%;
  }
  .cloud {
    height: 40rem;
  }
  .moving-cloud-1 {
    z-index: 0;
  }
  .moving-cloud-2 {
    z-index: -2;
  }
  footer {
    text-align: center;
  }
  footer h5 {
    padding-bottom: 3rem;
    font-size: 2rem;
  }
  .form-wrapper {
    width: 70%;
  }
  footer ul li img {
    height: 40px;
  }
}
@media screen and (max-width: 532px) {
  .form-wrapper {
    width: 100%;
  }
}
