@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #181818;
}

header span {
  background-color: #00aeff;
  font-size: 16px;
  padding: 20px;
  display: block;
  text-align: center;
}
header p {
  font-size: 24px;
  font-weight: 600;
  height: 60px;
  padding: 15px;
  text-align: center;
  line-height: 38.4px;
}

.hero {
  width: 100%;
  min-height: 378px;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../images/wallpaper.jpeg") no-repeat center/cover fixed;
  display: flex;
  align-items: center;
}

.text-hero {
  max-width: 1240px;
  width: 100%;
  color: var(--white);
  margin: 0 auto;
}
.text-hero h2 {
  font-size: 48px;
  font-weight: 700;
  color: #f9f9f9;
}
.text-hero p {
  font-size: 24px;
  text-align: left;
  font-weight: 500;
  margin-top: 20px;
  width: 637px;
  color: #f9f9f9;
  padding: 0;
}

main h2 {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-top: 40px;
}
main p {
  font-size: 20px;
  text-align: center;
  color: #474747;
  margin: 20px 0 40px 0;
}

ul {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  list-style: none;
}

li {
  width: 300px;
  height: 300px;
  background-color: #ebe9ea;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
}
li img {
  width: 250px;
  height: 150px;
}
li:hover {
  transform: scale(1.02);
}

footer {
  margin-top: 30px;
  padding: 20px;
  background-color: #00aeff;
}
footer p {
  font-size: 18px;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .text-hero {
    margin-left: 35px;
  }
  ul {
    justify-content: initial;
    padding: 35px;
  }
  li {
    margin-right: 10px;
  }
  footer {
    margin-top: 0;
  }
}
@media screen and (max-width: 768px) {
  li {
    width: 100%;
    margin: 0 0 10px 0;
  }
}
@media screen and (max-width: 480px) {
  main {
    padding: 20px;
  }
  .hero {
    width: 100%;
    max-height: 377px;
    height: 100%;
  }
  .text-hero {
    width: 100%;
    margin-left: 16px;
    line-height: 28.8px;
  }
  .text-hero h2 {
    font-size: 28px;
  }
  .text-hero p {
    margin-top: 20px;
    font-size: 16px;
    width: auto;
    padding: 0;
  }
  main {
    padding: 16px;
  }
  main p {
    font-size: 16px;
    margin: 20px 0 40px 0;
  }
  ul {
    padding: 0;
  }
  footer p {
    font-size: 16px;
  }
}

/*# sourceMappingURL=style.css.map */
