.carnivalContainer {
  max-width: 1920px;
  margin: auto;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.carnivalContainer .mainBanner {
  background-image: url("../theK/카니발_하이리무진_카테고리/카니발\ 메인.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 1083px;
  padding: 174px 0 0 95px;
  display: flex;
  flex-direction: column;
  color: white;
  gap: 10px;
}
.carnivalContainer .mainBanner h2 {
  font-size: 70px;
  font-weight: 500;
}
.carnivalContainer .mainBanner h3 {
  font-weight: 500;
  font-size: 36px;
}
.carnivalContainer .section1 {
  display: flex;
  flex-direction: column;
  padding: 224px 0;
  align-items: center;
  font-family: var(--font-roboto);
}

.carnivalContainer .section1 h3 {
  font-size: 64px;
  font-weight: 500;
}
.carnivalContainer .section1 h4 {
  font-size: 32px;
  font-weight: 400;
  line-height: 39px;
  margin-top: 22px;
}
.carnivalContainer .section1 .line {
  height: 177px;
  border: 1.5px solid black;
  margin: 20px;
}
.carnivalContainer .section1 img {
}
.carnivalContainer .section2 {
  display: flex;
  flex-direction: column;
  width: 1440px;
  margin: 0 auto;
  margin-bottom: 194px;
}
.carnivalContainer .section2 .row {
  display: flex;
  width: 100%;
  height: 900px;
}
.carnivalContainer .section2 .row img {
  object-fit: cover;
}
.carnivalContainer .section2 .row .desc {
  width: 720px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 169px;
  gap: 10px;
}

.carnivalContainer .section2 .row .desc h3 {
  font-size: 50px;
  font-weight: 500;
  line-height: 50px;
}
.carnivalContainer .section2 .row .desc h4 {
  font-size: 32px;
  font-weight: 400;
  margin-top: 20px;
  color: #14161566;
  line-height: 120%;
}
.carnivalContainer .section2 .row .desc h5 {
  font-size: 18px;
  font-weight: 400;
  height: 56px;
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.carnivalContainer .section2 .row .desc ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.carnivalContainer .section2 .row .desc ul li {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 18px;
  gap: 10px;
}
.section3 {
  padding: 60px 0;
  display: flex;
  justify-content: center;
  margin-bottom: 417px;
}

.carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel .main {
  width: 1717px;
  height: 1269px;
  object-fit: cover;

  border-radius: 0 57px 0 0;
  margin-bottom: 20px;
}

.carousel .thumbnails {
  display: flex;
  gap: 58.55px;
  overflow-x: auto;
}

.carousel .thumbnails img {
  width: 195px;
  height: 195px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 0 16px 0 0;
  transition: border 0.2s;
}

.carousel .thumbnails img:hover {
  border: 2px solid #1e90ff;
}
.section4 {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.selectorBox {
  display: flex;
  width: 1200px;
  height: 421px;
  /* border: 2px solid #c084fc; */
  gap: 24px;
  /* border-radius: 8px; */
  overflow: hidden;
}

.menuList {
  width: 300px;
  background-color: white;
  list-style: none;
  padding: 0;
  margin: 0;
  /* border-right: 1px solid #ddd; */
  font-size: 16px;
  font-weight: 500;
}

.menuList li {
  padding: 20px;
  /* border-bottom: 1px solid #eee; */
  cursor: pointer;
  transition: background 0.2s;
}

.menuList li:hover,
.menuList li.active {
  background-color: #0072ed;
  color: white;
}

.imageDisplay {
  flex: 1;
  background-color: #f9f9f9;
}

.imageDisplay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.carnivalContainer .divider {
  width: 1316px;
  margin: 0 auto;
  border: 1px solid #262626;
  margin-bottom: 200px;
}

@media (max-width: 1220px) {
  .carnivalContainer .mainBanner {
    background-image: url("../theK/카니발_하이리무진_카테고리/카니발\ 메인.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    padding: 10% 0 0 5%;
    display: flex;
    flex-direction: column;
    color: white;
    gap: 10px;
    aspect-ratio: 390/219.88;
  }
  .carnivalContainer .mainBanner h2 {
    font-size: 22px;
    font-weight: 500;
  }
  .carnivalContainer .mainBanner h3 {
    font-weight: 500;
    font-size: 16px;
  }
  .carnivalContainer .section1 {
    display: flex;
    flex-direction: column;
    padding: 50px 0;
    align-items: center;
    font-family: var(--font-roboto);
  }

  .carnivalContainer .section1 h3 {
    font-size: 20px;
    font-weight: 500;
  }
  .carnivalContainer .section1 h4 {
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    margin-top: 10px;
    text-align: center;
  }
  .carnivalContainer .section1 .line {
    height: 50px;
    border: 1.5px solid black;
    margin: 20px;
  }
  .carnivalContainer .section1 img {
    width: 100%;
    height: auto;
    aspect-ratio: 244.11/114.43;
  }
  .carnivalContainer .section2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 0px;
  }
  .carnivalContainer .section2 .row {
    display: flex;
    width: 100%;
    height: 243px;
  }
  .carnivalContainer .section2 .row img {
    object-fit: cover;
    flex: 1;
    width: 50%;
  }
  .carnivalContainer .section2 .img1 {
    width: 100%;
    height: auto;
    aspect-ratio: 390/202.31;
  }
  .carnivalContainer .section2 .row .desc {
    width: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0px;
    gap: 0px;
    flex: 1;
  }
  .carnivalContainer .section2 .col {
    flex-direction: column !important;
  }
  .carnivalContainer .section2 .check {
    width: 20px !important;
    height: 20px !important;
  }
  .carnivalContainer .section2 .row .desc h3 {
    font-size: 17px;
    font-weight: 500;
    line-height: 18px;
    text-align: center !important;
  }
  .carnivalContainer .section2 .row .desc h4 {
    font-size: 12px;
    font-weight: 400;
    margin-top: 10px;
    color: #14161566;
    line-height: 120%;
    text-align: center !important;
  }
  .carnivalContainer .section2 .row .desc h5 {
    font-size: 12px;
    font-weight: 400;
    height: auto;
    display: flex;
    align-items: center;
    margin-top: 20px;
  }

  .carnivalContainer .section2 .row .desc ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .carnivalContainer .section2 .row .desc ul li {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 12px;
    gap: 10px;
  }
  .carnivalContainer .section2 .section2Mobile {
    display: flex;
    flex-direction: column;
  }
  .carnivalContainer .section2 .section2Mobile .desc {
    padding: 50px;
    display: flex;
    flex-direction: column;
  }
  .carnivalContainer .section2 .section2Mobile .desc h3 {
    font-size: 17px;
    font-weight: 500;
    line-height: 100%;
  }
  .carnivalContainer .section2 .section2Mobile .desc h4 {
    font-size: 16px;
    font-weight: 400;
    margin-top: 35px;
    color: #14161566;
    line-height: 120%;
    margin-bottom: 16.25px;
  }
  .carnivalContainer .section2 .section2Mobile .desc .descRow {
    font-size: 15px;
    font-weight: 400;
    height: auto;
    display: flex;
    align-items: center;
    margin-top: 10px;
    line-height: 120%;
  }
  .section3 {
    padding: 0px 0;
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
  }

  .carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 17px;
    margin-bottom: 50px;
  }

  .carousel .main {
    width: 100%;
    height: auto;
    aspect-ratio: 1717/1269;

    object-fit: cover;

    border-radius: 0 16px 0 0;
    margin-bottom: 20px;
  }

  .carousel .thumbnails {
    display: flex;
    gap: 12.17px;
    overflow-x: auto;
  }

  .carousel .thumbnails img {
    width: 40.58px;
    height: 40.58px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 0 16px 0 0;
    transition: border 0.2s;
  }

  .carousel .thumbnails img:hover {
    border: 2px solid #1e90ff;
  }
  .section4 {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    width: 100%;
  }

  .selectorBox {
    display: flex;
    flex-direction: column-reverse;

    width: 100%;
    height: auto;
    /* border: 2px solid #c084fc; */
    gap: 24px;
    /* border-radius: 8px; */
    overflow: hidden;
  }

  .menuList {
    width: 290px;
    background-color: white;
    list-style: none;
    padding: 0;
    margin: 0;
    /* border-right: 1px solid #ddd; */
    font-size: 16px;
    font-weight: 500;
  }

  .menuList li {
    padding: 20px;
    /* border-bottom: 1px solid #eee; */
    cursor: pointer;
    transition: background 0.2s;
  }

  .menuList li:hover,
  .menuList li.active {
    background-color: #0072ed;
    color: white;
  }

  .imageDisplay {
    flex: 1;
    background-color: #f9f9f9;
  }

  .imageDisplay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
  }
  .carnivalContainer .divider {
    width: 80%;
    margin: 0 auto;
    border: 1px solid #262626;
    margin-bottom: 50px;
  }
}
