* {
  margin: 0;
  padding: 0;
}

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

h2 {
  color: white;
  font-size: 1.25rem;
}

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

section {
  margin: 5rem 1rem;

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

.banner {
  background-image: linear-gradient(
      to top,
      rgb(64 64 64 / 78%),
      rgb(0 0 0 / 73%)
    ),
    url(images/banner1.webp);
  background-size: cover;
  background-position-x: center;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  box-shadow: rgb(76 76 76 / 9%) 0px 2px 1px, rgb(76 76 76 / 9%) 0px 4px 2px,
    rgb(76 76 76 / 9%) 0px 8px 4px, rgb(76 76 76 / 9%) 0px 16px 8px,
    rgb(76 76 76 / 9%) 0px 32px 16px;
  filter: grayscale(0.1);

  @media screen and (min-width: 720px) {
    min-height: 85vh;
  }
}

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

.main-content {
  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%;
  }
}

.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: 2px 30px;
    background-color: #f8f2dc;
  }
}

.about {
  p {
    line-height: 1.7;
    text-align: justify;
  }
}

.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: #1a1a1a;
  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;

  > * {
    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;
  }
}

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

.time {
  font-family: "Courier New", monospace;
  color: gray;
}

.activity {
  line-height: 1.15rem;
  color: #f8f2dc;
}

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

    .invitat {
      flex: 1;
    }
  }
}

.invitat {
  background-color: #1a1a1a;
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px 0px;
}

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

.invitat-details {
  padding: 1rem;
}

.invitat-desc {
  color: gray;
}

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

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

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

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

.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;
    width: fit-content;
  }
}

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

  img {
    height: 50vh;
  }

  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;
  }

  @media screen and (max-width: 720px) {
    ::-webkit-scrollbar {
      display: none;
    }

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

footer {
  background-color: #0e0e0e;
  padding-top: 0.1rem;
  padding-bottom: 2rem;
  box-shadow: rgb(76 76 76 / 9%) 0px -2px 1px, rgb(76 76 76 / 9%) 0px -4px 2px,
    rgb(76 76 76 / 9%) 0px -8px 4px, rgb(76 76 76 / 9%) 0px -16px 8px,
    rgb(76 76 76 / 9%) 0px -32px 16px;

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

    section {
      margin: 0;
    }
  }
}

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

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

.social-link:hover {
  color: white;
}

#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;
  }
}
