/* Global Style */

* {
  margin: 0;
  padding: 0;
  box-sizing: 0;
}

html,
body {
  font-size: 62.5%;
  font-family: "Poppins", sans-serif;
}

h1 {
  font-size: 2.6rem;
}

li,
button,
label,
input,
p {
  font-size: 2rem;
}

h2 {
  font-size: 4.8rem;
}

h3 {
  font-size: 2.6rem;
  font-weight: normal;
}

h4,
h5 {
  font-size: 2.2rem;
}

a {
  color: white;
  text-decoration: none;
}

button {
  padding: 2rem 6rem;
  background: #4c6e97;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.71s ease-in-out;
}

button:hover {
  background: #27394e;
  font-size: 2rem;
  padding: 1.8rem 5.6rem;
}

/* Nav Section with HERO */

.main-head {
  background: #131c27;
  color: white;
}

nav {
  min-height: 10vh;
  /* padding: 1rem; */
  display: flex;
  width: 90%;
  margin: auto;
  align-items: center;
  flex-wrap: wrap;
}

nav ul {
  display: flex;
  flex: 1 1 40rem;
  justify-content: space-around;
  align-items: center;
  list-style: none;
}

#logo {
  flex: 2 1 40rem;
  font-family: "Pattaya", sans-serif;
  font-weight: 400;
}

.hero {
  min-height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), transparent),
    url("./img/landing-page.jpg");
  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;
}

/* Just Section */

#Just {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), transparent),
    url("./img/new-york-page.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.Just-head {
  width: 90%;
  margin: auto;
}

.Just-head h2 {
  padding: 1rem 0rem;
  text-decoration: underline;
  text-decoration-thickness: 0.5rem;
}

.Just-head h3 {
  padding: 4rem 0rem;
  /* background: linear-gradient(#131c27, #663b34);
  background-clip: text;
  -webkit-text-fill-color: transparent; */
}

.cloud {
  position: absolute;
  top: 0%;
  right: 0%;
  pointer-events: none;
}

.moving-cloud-1 {
  animation: cloudAnimation 6s infinite alternate ease-in-out;
  z-index: -1;
}

.moving-cloud-2 {
  top: 20%;
  z-index: -2;
  opacity: 0.5;
  animation: cloudAnimation 5.8s infinite alternate ease-in-out;
}

@keyframes cloudAnimation {
  from {
    transform: translate(6%, -6%);
  }

  to {
    transform: translate(0%, 0%);
  }
}

/* Some Section */
.Some-head {
  background: #343c44;
  padding: 3rem;
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.Some-head h3 {
  padding: 1rem;
}

.cards {
  width: 90%;
  margin: auto;
  display: flex;
  min-height: 70vh;
  align-items: center;
}

.card {
  text-align: center;
  flex: 1 1 18rem;
  min-height: 30vh;
  margin: 2rem 5rem;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1), 0px 20px 20px rgba(0, 0, 0, 0.1);
}

.cards img {
  max-width: 15%;
  margin: 2rem;
}

.card h4,
.card p {
  padding: 1rem;
}

.card-icon {
  background: #4c6e97;
}

/* Media Query */
@media screen and (max-width: 910px) {
  html {
    font-size: 55%;
  }
  nav {
    text-align: center;
  }

  #logo {
    padding: 2rem;
  }
  .cloud {
    height: 60rem;
  }

  .cards {
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 31vh;
    margin: 2rem 6rem;
  }
}
