* {
  margin: 0;
  padding: 0;
}

h1,
h2,
p,
a {
  color: #1a1a1a;
  font-family: Open Sans, sans-serif;
  font-size: 1rem;
  text-decoration: none;
}

a {
  -webkit-tap-highlight-color: transparent;
}

h2 {
  color: #1a1a1a;
  font-size: 1.25rem;
}

body {
  min-height: 100vh;
  background-color: #f3f2e8;
}

section {
  margin: 5rem 1rem;

  @media screen and (min-width: 720px) {
    margin: 5rem 15rem;
  }
}

.banner {
  position: relative;
  padding-bottom: 5rem;
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
}

.parallax-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      to top,
      rgb(57 57 57 / 78%),
      rgb(87 83 62 / 73%)
    ),
    url(images/banner1.webp);
  background-size: cover;
  background-position-x: center;
  filter: grayscale(0.2);
  mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
  z-index: -1;
  transform: translateZ(0);
}

.overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(images/background-overlay.webp);
  opacity: 50%;
  background-size: cover;
  background-position-x: center;
}

.banner-date {
  color: white;
  font-size: 1.5rem;
}

.main-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  row-gap: 1rem;
  padding: 2rem;
  padding-top: 1rem;

  img {
    width: 100%;

    @media screen and (min-width: 720px) {
      width: 30vw;
    }
  }
}

.logos {
  max-width: 150px;
}

.bottom-main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

button {
  padding: 1rem 2rem;
  border-radius: 1rem;
  border: none;
  margin-top: 1rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;

  a {
    color: #1a1a1a;
  }
}

button:hover {
  background-color: #f8f2dc;
}

.date-container {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}

.date {
  display: flex;
  flex-direction: column;
  font-size: 1.5rem;
}

.day {
  font-size: 2.5rem;
}

.counter {
  visibility: hidden;
  display: flex;
  column-gap: 0.5rem;
  justify-content: center;
  padding: 1rem;

  p {
    font-size: 2.5rem;
    color: white;

    @media screen and (min-width: 720px) {
      font-size: 3.5rem;
    }
  }
  .counter-part {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .counter-text {
    font-size: 1rem;
    color: #f8f2dc;
  }
}

.title {
  display: flex;
  align-items: center;
  column-gap: 1rem;

  .line {
    padding-left: 24px;
    color: #ffde59;
  }
}

.about {
  margin-top: 10rem;
  p {
    line-height: 1.7;
    text-align: justify;
  }

  .rating-word {
    font-family: "Abril Fatface";
    letter-spacing: 5px;
    font-size: larger;
  }

  @media screen and (min-width: 720px) {
    display: flex;
    flex-direction: column;

    .despre-container {
      align-self: center;
    }
  }
}

.despre-container,
.program-container,
.invitati-container,
.location-container,
.links-container {
  margin: 2rem 1rem;
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}

.program-container {
  row-gap: 2rem;

  @media screen and (min-width: 720px) {
    flex-direction: row;
    column-gap: 4rem;

    .day-container {
      flex: 1;
    }
  }
}

.time-slot {
  background-color: #f9e5b442;
  display: flex;
  column-gap: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  min-height: 4rem;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
    rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;

  > * {
    flex: 1;
    min-height: 1.2rem;
  }
  p {
    line-height: 1.5rem;
  }

  .name {
    color: gray;
    line-height: 1.15rem;
  }

  @media screen and (min-width: 720px) {
    padding: 0.5rem 2rem;
    width: 40vw;
  }
}

.day-container,
.times-container {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;

  @media screen and (min-width: 720px) {
    align-items: center;
  }
}

.time {
  font-family: "Courier New", monospace;
  font-size: 1.1rem;
}

.activity {
  line-height: 1.15rem;
  color: #1a1a1a;
  font-size: 1.2rem;
  font-weight: 600;
}

.invitati-container {
  @media screen and (min-width: 720px) {
    flex-direction: row;
    column-gap: 1.5rem;
    justify-content: center;

    .invitat img {
      max-height: 70vh;
    }
  }
}

.invitat {
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px 0px;
  position: relative;
  display: flex;
}

.invitat-image {
  width: 100%;
  border-radius: 1rem;
}

.invitat-details {
  position: absolute;
  bottom: 0;
  padding: 1rem;
}

.invitat-name {
  font-size: 2rem;
  color: #ffde59;
  font-weight: 700;
}

.invitat-desc {
  color: gray;
}

.location-container {
  @media screen and (min-width: 720px) {
    align-items: center;
  }
}

.location-link {
  text-decoration: none;
  width: fit-content;

  @media screen and (min-width: 720px) {
    text-align: center;
  }

  p:first-child {
    font-size: 1.15rem;
  }

  p:last-child {
    color: gray;
  }
}

.location-link p:last-child:hover {
  color: #ffde59;
}

.location-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;

  @media screen and (min-width: 720px) {
    max-height: 75vh;
    max-width: calc(100vw - 10rem);
    width: fit-content;
  }
}

.desktop-map {
  @media screen and (max-width: 720px) {
    display: none;
  }
}

.mobile-map {
  @media screen and (min-width: 720px) {
    display: none;
  }
}

.gallery-container {
  margin: 2rem 1rem;
  overflow: auto;
  white-space: nowrap;

  img {
    height: 70vh;
  }

  img:first-child {
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
  }

  img:last-child {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }

  ::-webkit-scrollbar {
    display: none;
  }

  -ms-overflow-style: none;
  scrollbar-width: none;

  @media screen and (min-width: 720px) {
    margin-left: -10rem;
    margin-right: -10rem;
  }
}

footer {
  background-color: #f9e5b442;
  padding-top: 0.1rem;
  padding-bottom: 2rem;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;

  @media screen and (min-width: 720px) {
    flex: 1;
    display: flex;
    justify-content: space-between;
    column-gap: 4rem;
    padding: 5rem;

    section {
      margin: 0 10rem;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
  }
}

.links-container {
  @media screen and (min-width: 720px) {
    flex-direction: row;
    column-gap: 4rem;
    align-self: center;
  }
}

.social-link {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}

.social-link:hover {
  color: #ffde59;
}

#top-button {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #1a1a1a80;
  color: #f8f2dc;
  cursor: pointer;
  padding: 1rem;
  border-radius: 1rem;
  font-size: 1.5rem;

  @media screen and (min-width: 720px) {
    bottom: 3rem;
    right: 3rem;
  }
}
