.abyss-container {
  position: relative;
  width: 100%;
  top: 75px;
}

.abyss-title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  position: relative;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}

.abyss-title h1 {
  font-size: 36px;
  font-weight: 400;
  position: relative;
  margin: 0;
  font-family: "Raleway", sans-serif;
  text-align: center;
}

.abyss-title p {
  font-family: sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 11px;
  color: rgb(12, 77, 56);
  margin-top: 10px;
}

.abyss-title::before {
  content: "";
  background: url(/images/PTAKI\ LICENCJA.png);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  position: absolute;
  opacity: 0.4;
}

.abyss-text {
  margin-top: 25px;
  width: 1200px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Raleway", sans-serif;
}

.abyss-text span {
  color: rgb(84, 178, 149);
  font-weight: bold;
}

.first-paragraph {
  line-height: 30px;
}
.abyss-text h2 {
  color: rgb(84, 178, 149);
}

.second-paragraph {
  margin-bottom: 50px;
  margin-top: 70px;
  border: 1px solid rgb(145, 222, 198);
  border-radius: 5px;
  box-shadow: 2px 2px 4px rgb(168, 234, 213);
  overflow: hidden;
}

.second-paragraph-head {
  padding: 18px 30px;
  background: linear-gradient(to right, #f6fcfb, #e6f7f5);
}

.second-paragraph-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.second-paragraph-text {
  padding: 25px 30px;
  border-top: 1px solid rgb(206, 240, 228);
  line-height: 25px;
}

.second-paragraph-text ul {
  margin: 0;
}

.abyss-text .second-paragraph-text ul li {
  padding-left: 35px;
}

.abyss-text .second-paragraph-text ul li::before {
  left: 5px;
}

.second-paragraph-text ul li:last-child {
  margin-bottom: 0;
}

.second-paragraph-text p {
  margin-top: 50px;
}

.abyss-gallery {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.abyss-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 2px 2px 16px rgb(168, 234, 213);
}

.abyss-photo {
  margin-top: 70px;
  text-align: center;
}

.abyss-photo img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 2px 2px 16px rgb(168, 234, 213);
}

.abyss-text ul {
  list-style: none;
  padding-left: 0;
}

.abyss-text ul li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 20px;
}

.abyss-text ul li::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 6px;
  width: 20px;
  height: 20px;
  background-image: url(/images/diamond-icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.third-paragraph {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 100px;
  padding-bottom: 100px;
  line-height: 30px;
  gap: 100px;
}

.third-paragraph h2 {
  margin-bottom: 30px;
  color: rgb(84, 178, 149);
  margin-left: 40px;
}
.third-paragraph p {
  margin-left: 40px;
}

.third-paragraph .right-column,
.left-column {
  border: 1px solid rgb(145, 222, 198);
  border-radius: 5px;
  box-shadow: 2px 2px 16px rgb(168, 234, 213);
  padding: 20px;
}

.third-paragraph ul {
  list-style: none;
  padding-left: 0;
}

.third-paragraph ul li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 20px;
}

.third-paragraph ul li::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 6px;
  width: 20px;
  height: 20px;
  background-image: url(/images/diamond-icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 1250px) {
  .abyss-text {
    width: 800px;
  }

  .abyss-gallery {
    gap: 20px;
  }
}

@media (max-width: 860px) and (min-width: 600px) {
  .abyss-text {
    width: 520px;
  }

  .third-paragraph h2,
  .third-paragraph p {
    margin-left: 0;
  }

  .abyss-text .third-paragraph ul li {
    padding-left: 30px;
  }

  .abyss-text .third-paragraph ul li::before {
    left: 3px;
  }

  .first-paragraph {
    text-align: center;
  }
  .second-paragraph-head {
    padding: 15px 20px;
  }

  .second-paragraph-head h2 {
    font-size: 17px;
  }

  .second-paragraph-text {
    padding: 20px;
  }

  .abyss-gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .abyss-gallery img {
    flex: 0 0 auto;
    width: 60%;
    scroll-snap-align: center;
  }

  .third-paragraph {
    display: grid;
    grid-template-columns: 1fr;
    padding-bottom: 100px;
    line-height: 30px;
    gap: 100px;
    max-width: 90%;
    margin: 100px auto 0 auto;
    font-size: 13px;
  }

  .abyss-title h1 {
    font-size: 32px;
  }
}

@media (max-width: 599px) {
  .abyss-text {
    width: 80%;
  }

  .first-paragraph {
    text-align: center;
  }

  .second-paragraph-head {
    padding: 15px 20px;
  }

  .second-paragraph-head h2 {
    font-size: 17px;
  }

  .second-paragraph-text {
    padding: 20px;
  }

  .abyss-text .second-paragraph-text ul li {
    padding-left: 30px;
  }

  .abyss-gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .abyss-gallery img {
    flex: 0 0 auto;
    width: 80%;
    scroll-snap-align: center;
  }

  .third-paragraph {
    display: grid;
    grid-template-columns: 1fr;
    padding-bottom: 100px;
    line-height: 30px;
    gap: 100px;
    max-width: 100%;
    margin: 100px auto 0 auto;
  }

  .third-paragraph h2,
  .third-paragraph p {
    margin-left: 0;
  }

  .abyss-text .third-paragraph ul li {
    padding-left: 30px;
  }

  .abyss-text .third-paragraph ul li::before {
    left: 3px;
  }

  .abyss-title h1 {
    font-size: 32px;
  }
}
