/*************************************************/
/******           Shared Styles              *****/
/*************************************************/
section {
  padding: 3rem;
}

@media (max-width: 1300px) {
  section {
    padding: 2rem;
  }
}

@media (max-width: 580px) {
  section {
    padding: 2rem 20px;
  }
}
/* Fade in effects  */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}
/*************************************************/
/******            Title Section             *****/
/*************************************************/
.section.title-section {
  padding: 2rem;
  background: var(--salsa-gradient-1);
  box-shadow: inset 0px 0px 20px -8px black;
}
section.section.title-section h1 {
  text-align: center;
  margin: auto;
  color: var(--salsa-white);
}
/*************************************************/
/******          Card Gallery                *****/
/*************************************************/
.logo-preview {
  margin: 0 auto;
  max-width: 1240px;
}
.page-description {
  margin: 0 0 64px;
}
.event-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 5px;
  row-gap: 5px;
}
.event {
  background: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px -6px black;
  text-align: center;
  transition: transform 0.3s;
}
.event:hover {
  background-color: #e01e45;
  color: white;
  transform: scale(1.03);
}
.preview-div {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
}
.preview-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0;
  max-width: 15rem;
}
.preview-image {
  width: 13rem;
  cursor: pointer;
  border-radius: 4px;
}
.download-btn {
  background-color: white !important;
  border: solid;
  border-color: #e01e45;
  border-width: 3px;
  border-radius: 6px;
  display: inline-block;
  color: #e01e45 !important;
  font-family: Lemonmilk !important;
  font-weight: 700;
  padding: 16px 24px;
  width: 70%;
  transition: transform 0.3s;
  text-transform: uppercase;
  text-decoration: none;
}
.download-btn:hover {
  background-color: #e01e45 !important;
  border-color: white;
  color: white !important;
  transform: scale(1.1);
}
/* Niche breakpoint for cards */
@media (max-width: 865px) {
  .preview-title {
    font-size: 1.4rem;
  }
  .preview-image {
    width: 11rem;
  }
}
/* Tablet  */
@media (max-width: 768px) {
  .event-gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 580px) {
}
/*************************************************/
/******               Modal                  *****/
/*************************************************/
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  text-align: center;
  align-items: center;
}
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
}
.modal-content h2 {
  margin-top: 0;
}
.preview-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 30px;
}
.preview-images img {
  width: 7rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.bg-black {
  background-color: black;
}
.close-btn {
  float: right;
  cursor: pointer;
  font-size: 40px;
  color: #888;
}
