body {
  min-height: 100vh;
  background-image: url(../images/background-page-background-blured.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: black;
}

.content-warning {
  font-family: var(--description-font);
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.content-warning-box {
  background: var(--dark-gray);
  color: var(--off-white);
  padding: 40px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

.content-warning h2 { 
  letter-spacing: 1px;
  font-size: 40px;
  margin-bottom: 30px;
}

.content-warning-box p {
  font-size: 15px;
}

.content-warning-accept {
  margin-top: 30px;
  padding: 12px 28px;
  background: var(--red);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
}

.wallpapers {
  padding: 80px 40px;
  text-align: center;
}

.wallpapers h1 {
  font-family: var(--main-font);
  color: var(--white);
  font-size: 40px;
  margin: 60px auto;
}

.wallpapers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.wallpapers-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wallpapers-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.box-image-wrapper {
  position: relative;
  display: inline-block;
}

.box-image {
  max-width: 75vw;
  min-height: 70vh;
  width: auto;
  height: auto;
  display: block;
}

.box-download {
  position: absolute;
  bottom: 45px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.65);
  border-radius: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.box-image-wrapper:hover .box-download {
  opacity: 1;
  transform: scale(1.05);
}

.download-icon {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}


@media (max-width: 768px) {

  .content-warning-box {
    padding: 25px 20px;
    width: 90%;
  }

  .content-warning h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .content-warning-box p {
    font-size: 14px;
    line-height: 1.6;
  }

  .content-warning-accept {
    font-size: 14px;
    padding: 10px 22px;
  }

  .wallpapers {
    padding: 60px 20px;
  }

  .wallpapers h1 {
    font-size: 28px;
    margin: 40px auto;
  }

  .wallpapers-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .wallpapers-grid img {
    height: 220px;
  }

  .box-image {
    max-width: 85vw;
    min-height: 70vh;
  }

  .previous-button,
  .next-button {
    font-size: 32px;
  }

  .previous-button {
    left: 10px;
  }

  .next-button {
    right: 10px;
  }

  .close-button {
    top: 15px;
    right: 15px;
    font-size: 26px;
  }
}