body {
  background-color: #f8f8f8;
}

.header {
  background-image: url(../img/background_2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.header__container {
  padding: 0 0 100px;
}

.header__title {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 700;
  font-size: 40px;
  text-align: center;
  padding: 250px 0 0;
  margin: 0 0 20px;
  word-break: break-all;
  text-transform: uppercase;
  color: #a30909;
}

.header__description {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  word-break: break-all;
}

.main-nav {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin: 50px 0;
  display: flex;
  justify-content: center;
  gap: 10px 20px;
  flex-wrap: wrap;
}

.main-nav a {
  color: black;
  position: relative;
  display: inline-block;
  padding-left: 20px;
  padding-right: 10px;
  text-decoration: none;
  transition: color 0.5s ease;
}

.main-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, #a30909);
  transition: width 0.5s ease;
  width: 0;
}

.main-nav a:hover {
  color: #a30909;
  transform: scale(1.1);
}

.main-nav a:hover::before {
  width: 100%;
}

.north__title,
.central__title,
.south__title,
.across__title {
  font-weight: 600;
  font-size: 30px;
  margin-bottom: 20px;
  margin-top: 60px;
}

.north__container,
.central__container,
.south__container,
.across__container {
  font-family: "Montserrat Alternates", sans-serif;
  padding: 0 0 50px;
}

.north-cards,
.central-cards,
.south-cards,
.across-cards {
  display: flex;
  gap: 10px;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 30px 0 50px;
}

.north-card,
.central-card,
.south-card,
.across-card {
  position: relative;
  background-color: #fff;
  border-radius: 20px;
  width: 350px;
  height: 220px;
}

.north-card > img,
.central-card > img,
.south-card > img,
.across-card > img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.north-card__info,
.central-card__info,
.south-card__info,
.across-card__info {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  position: absolute;
  bottom: 0;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  text-decoration: none;
  color: #fff;
}

.north-card__info > img,
.central-card__info > img,
.south-card__info > img,
.across-card__info > img {
  filter: invert(1);
}

.north-card__title,
.central-card__title,
.south-card__title,
.across-card__title {
  font-weight: 500;
}

.item {
  margin-left: 20px; 
}

.toggle {
  padding: 10px 0; 
  cursor: pointer; 
  transition: color 0.5s ease; 
}

.toggle:hover {
  color:#a30909;
}

.content {
  display: none; 
  padding: 10px 0; 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.5s ease, padding 0.5s ease; 
  color: black;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: break-word;
}

.content.show {
  display: block;
  max-height: 1000px;
  padding: 10px 0;
}

.arrow {
  margin-right: 10px;
  transition: transform 0.5s ease;
}

.arrow.rotate {
  transform: rotate(90deg);
}

.content-visible {
  display: block; 
  padding: 10px 0;
  max-height: none;
  overflow: visible;
  color: black;
  line-height: 1.5; 
  white-space: normal;
  overflow-wrap: break-word;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media screen and (width < 700px) {
  .north__title,
  .central__title,
  .south__title,
  .across__title {
    font-size: 48px;
  }
}

@media screen and (width < 500px) {
  .north__title,
  .central__title,
  .south__title,
  .across__title {
    font-size: 32px;
  }
}
