
main {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: none;
  gap: 16px;
  margin: 0 auto;
  margin-bottom: 64px;
  width: 90%;
  color: white;
}

@media screen and (min-width: 992px) {
  main {
    grid-template-rows: none;
    grid-template-columns: 53fr 47fr;
  }
}

/* Left section */
.subs-urls-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 4px;
  width: 100%;
  font-size: 12px;
}

@media screen and (min-width: 576px) {
  .subs-urls-container {
    font-size: 14px;
  }
}

@media screen and (min-width: 1400px) {
  .subs-urls-container {
    font-size: 18px;
  }
}

#urls-section {
  padding-right: 16px;
  padding-bottom: 36px;
  padding-left: 16px;
}

#urls-section a {
  color: white;
}

#urls-section .main-link {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 6px;
  border-top: 2px white dashed;
  border-bottom: 2px white dashed;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 500;
  font-size: 24px;
}

@media screen and (min-width: 576px) {
  #urls-section .main-link {
    font-size: 30px;
  }
}

@media screen and (min-width: 1400px) {
  #urls-section .main-link {
    font-size: 36px;
  }
}

/* Right section */
#information-section {
  display: grid;
  grid-template-columns: 50fr 50fr;
  gap: 12px;
  padding: 12px 16px;
  width: 100%;
}

#information-section .info-block {
  font-size: 14px;
}

@media screen and (min-width: 576px) {
  #information-section .info-block {
    font-size: 16px;
  }
}

@media screen and (min-width: 1400px) {
  #information-section .info-block {
    font-size: 18px;
  }
}

.info-block ul {
  margin: 0;
}

#desc-section {
  padding: 12px 16px;
  font-size: 14px;
}

@media screen and (min-width: 576px) {
  #desc-section {
    font-size: 16px;
  }
}

@media screen and (min-width: 1400px) {
  #desc-section {
    font-size: 18px;
  }
}

#desc-section a {
  color: white;
  font-weight: 500;
}

#response-section {
  font-size: 14px;
}

@media screen and (min-width: 576px) {
  #response-section {
    font-size: 16px;
  }
}

@media screen and (min-width: 1400px) {
  #response-section {
    font-size: 18px;
  }
}

/* Gallery. Don't remove. It was hard to implement :( */
#gallery-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#gallery {
  display: flex;
  background-color: rgb(40, 40, 40);
  max-height: 50vh;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: #ffffffcc transparent;
  scrollbar-gutter: stable both-edges;
}

@media screen and (min-width: 992px) {
  #gallery {
    min-height: 100%;
  }
}

#gallery .slide {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  background-color: rgb(15, 15, 15);
  min-width: 100%;
  min-height: auto;
  overflow: hidden;
  scroll-snap-align: start;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-desc {
  display: flex;
  position: absolute;
  top: 0;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 24px;
  color: white;
  font-size: 12px;
}

@media screen and (min-width: 576px) {
  .gallery-desc {
    height: 32px;
  }
}

@media screen and (min-width: 992px) {
  .gallery-desc {
    font-size: 14px;
  }
}

@media screen and (min-width: 1400px) {
  .gallery-desc {
    font-size: 16px;
  }
}

