* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  font-family: "Red Hat Text", serif;
}
.container {
  min-height: 100vh;
  width: 100%;
  background-image: url(../images/photo1.avif);
  color: #333;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 35px;

  h1 {
    font-weight: 700;
    font-size: 48px;
  }
  a {
    display: inline-block;
    padding: 16px 56px;
    background-color: #333;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 14px;
  }
}

.second {
  height: 100vh;
  width: 100%;
  background-image: url(../images/photo2.avif);
  background-attachment: fixed;
  flex-direction: row;
  gap: 30px;

  .item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    max-width: 320px;
    /* background-color: white; */
    flex-direction: column;
    align-items: center;
    border-radius: 0.5em;
    /* -webkit-box-shadow: 0px 29px 38px -15px rgba(0, 0, 0, 0.43);
    -moz-box-shadow: 0px 29px 38px -15px rgba(0, 0, 0, 0.43);
    box-shadow: 0px 29px 38px -15px rgba(0, 0, 0, 0.43); */
    padding: 20px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px,
      rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    color: whitesmoke;

    h3 {
      font-weight: 700;
      font-size: 26px;
      margin-top: 16px;
    }

    p {
      margin-top: 24px;
      line-height: 24px;
      padding: 16px;
      margin-bottom: 24px;
      text-align: center;
    }

    img {
      width: 100%;
      height: 200px;
    }
  }
}
.third {
  height: 100%;
  background-image: url(../images/photo6.avif);
  background-attachment: fixed;

  .content {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 32px;
    border-radius: 16px;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px,
      rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    color: #f6f6f6;

    h2 {
      font-weight: 700;
      font-size: 40px;
      margin-bottom: 8px;
      /* color: #171616; */
      color: rgb(250, 70, 241);
    }
    p {
      margin-bottom: 24px;
      line-height: 24px;
      padding: 16px;
      text-align: center;
    }
  }
}

@media screen and (max-width: 660px) {
  .second {
    .item {
      p {
        text-align: center;
      }
    }

    .firstItem {
      display: none;
    }

    .thirdItem {
      display: none;
    }
  }
  .third {
    padding: 10px;
    p {
      text-align: center;
    }
    .content {
      h2 {
        /* color: red; */
        font-weight: bold;
        font-size: 27px;
      }
    }
  }
}
