.models-main-image-container {
  position: relative;
  text-align: center;
  display: flex;
  width: 100%;
  height: 85vh;

  background-image: url('../assets/images/models_main.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.models-main-image-container::before {
  z-index: 1;
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: radial-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.models-main-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  clip-path: polygon(0 86%, 100% 70%, 100% 100%, 0% 100%);
}

.models-header {
  display: flex;
  align-items: flex-end;
  width: 100%;
  justify-content: center;
  flex-direction: column;
  color: white;
  margin: 0 12rem 6rem 12rem;
  z-index: 2;
}

.models-header h1 {
  font-weight: 800;
  font-size: 3.5rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  user-select: none;
  text-align: end;
}

.models-header p {
  font-weight: 600;
  font-size: 1.5rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  user-select: none;
}

.models-content-container {
  background-color: black;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heading-and-location {
  height: 4rem;
  width: 90%;
  display: flex;
  flex-direction: row-reverse;
  color: rgb(252, 180, 47);
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
}

.heading-and-location h2 {
  font-weight: 600;
  font-size: 2rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  white-space: nowrap;
}

.models-content {
  background-color: rgb(0, 0, 0);
  max-width: 1200px;
  width: 100%;
  columns: 2;
  column-gap: 50px;
  padding: 0 2rem;
  margin: 3rem 0;
}

.model-preview-container {
  display: flex;
  position: relative;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

.model-preview-container:hover {
  opacity: 0.8;
}

.model-preview-data {
  position: absolute;
  bottom: 10px;
  right: 20px;
  color: white;
  z-index: 2;
  text-align: end;
}

.model-preview-data .model-preview-description {
  font-weight: 300;
  font-size: 1.1rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-align: end;
}

.model-preview-data .model-preview-header {
  font-weight: 600;
  font-size: 1.5rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  margin: 0;
}

.model-cube-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 50%, rgb(0, 0, 0));
  position: absolute;
  inset: 0px;
}

.model-container {
  background-color: rgb(250, 250, 250);
  margin-top: 190px;
}

.model-wrapper {
  display: flex;
  justify-content: center;
}

.model-stats {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: end;
  padding: 3rem;
}

.model-stats .description {
  font-weight: 300;
  font-size: 1.3rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.model-stats h1,
.description,
.key {
  margin-right: 2rem;
}

.stats-image-container {
  display: flex;
  flex: 1;
  justify-content: center;
  max-width: 100%;
  padding: 3rem;
}

.stats-table ul {
  list-style: none;
}

.stats-table ul li {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  height: 50px;
}

.stats-table ul li .key {
  font-weight: 800;
}

.stats-table ul li p {
  font-size: 1.2rem;
}

.slider-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 1s ease-in-out;
  height: 100%;
}

.slide {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
  margin-right: 15px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: rgb(252, 180, 47);
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  z-index: 4;
  font-weight: 800;
}

.prev {
  left: 293px;
}

.next {
  right: 270px;
}

.prev-wide {
  left: 35px;
}

.next-wide {
  right: 30px;
}

.model-text-container {
  position: relative;
  display: flex;
  width: 70%;
  margin: 3rem 0;
}

.floating-text-container {
  position: absolute;
  top: 13%;
  left: 1093px;
  z-index: 4;
  max-width: 38rem;
  width: 100%;
  min-height: 38rem;
  height: auto;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: end;
}

.floating-text-container h2 {
  font-size: 36px;
  color: rgb(252, 180, 47);
}

.floating-text-container h3 {
  font-size: 20x;
}

.floating-text-container p {
  line-height: 1.5rem;
}

.color-side {
  background-color: black;
  padding: 2rem;
  text-align: end;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.color-side p {
  color: rgb(255, 255, 255);
  opacity: 0.8;
  line-height: 1.6rem;
  font-size: 1.1rem;
}

.color-side h4,
h5 {
  color: rgb(252, 180, 47);
  font-size: 1.2rem;
}

.image-side {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  padding: 2rem;
  text-align: end;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.image-side h4,
h5 {
  color: rgb(252, 180, 47);
  font-size: 1.2rem;
}

.image-side p {
  color: black;
  opacity: 0.8;
  line-height: 1.6rem;
  font-size: 1.1rem;
}

.menu-container {
  min-height: 2.6rem;
  display: flex;
  position: relative;
}

#menu-button {
  cursor: pointer;
  border: 1px solid rgb(252, 180, 47);
  background-color: black;
  color: rgb(252, 180, 47);
  width: 10rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-weight: 600;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#menu {
  border: 1px solid rgb(252, 180, 47);
  border-top: none;
  position: absolute;
  left: -1px;
  top: 41px;
  z-index: 5;
  width: 10rem;
}

#menu ul {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  color: white;
}

.city-list-item {
  display: flex;
  border-bottom: 1px solid rgb(34, 34, 34);
  background-color: black;
  width: 100%;
  height: 40px;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
}

.city-list-item:hover {
  background-color: rgb(252, 180, 47);
}

.city-list-item:hover a {
  color: white;
}

.city-list-item a {
  color: rgb(252, 180, 47);
  text-decoration: none;
  margin-right: 1.8rem;
  font-weight: 600;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.location-icon {
  fill: rgb(252, 180, 47);
  width: 20px;
  height: 20px;
  user-select: none;
  overflow: visible;
}

.icon-container {
  position: absolute;
  top: 11px;
  left: 33px;
}

.vertical-text {
  display: block;
  position: absolute;
  top: 9rem;
  right: -10rem;
  transform: rotate(180deg);
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  font-family: Oswald, sans-serif;
  font-weight: 700;
  line-height: 1;
  font-size: 11.25rem;
  letter-spacing: 25px;
  text-transform: uppercase;
  opacity: 0.03;
  pointer-events: none;
}

.mobile-container {
}

.color-and-image-container {
  min-height: 45rem;
}

.color-and-image-container h4,
h5 {
  font-size: 1.4rem;
}

/* ------------------------MEDIA------------------------ */
@media (max-width: 500px) {
  .models-main-image-container {
    background-image: url('../assets/images/models_main_mobile.webp');
  }

  .mobile-container {
    width: 100%;
    flex-direction: column-reverse;
  }

  .vertical-text {
    display: none;
  }

  .stats-image-container {
    padding: 1rem;
  }

  .model-text-container {
    position: unset;
    flex-direction: column;
    width: 100%;
  }

  .floating-text-container {
    position: unset;
    max-width: fit-content;
    padding: 0;
    min-height: fit-content;
    box-shadow: none;
  }

  .color-and-image-container {
    flex-direction: column;
  }

  .models-main-image-container {
    height: 70vh;
  }

  .models-header {
    margin: 0;
    padding: 0 3rem;
  }

  .models-header h1 {
    font-size: 2.5rem;
  }

  .model-preview-data .model-preview-header {
    color: rgb(252, 180, 47);
  }

  .heading-and-location {
    flex-direction: column;
  }

  .models-content {
    columns: 1;
    margin: 8rem 0 3rem 0;
    padding: 0;
  }

  #menu-button {
    width: 17rem;
    font-size: 1.3rem;
  }

  #menu {
    width: 17rem;
  }

  .model-preview-container {
    margin-bottom: 1rem;
    /* margin-right: 10px;
    margin-left: 9.5px; */
  }

  .next {
    right: 20px;
  }

  .prev {
    left: 20px;
  }
}

@media (501px <= width <= 1000px) {
  .mobile-container {
    width: 100%;
    flex-direction: column-reverse;
  }

  .models-content {
    columns: 1;
  }
  .next {
    right: 240px;
  }

  .prev {
    left: 265px;
  }

  .model-text-container {
    position: unset;
    flex-direction: column;
    width: 100%;
  }

  .floating-text-container {
    position: unset;
    max-width: fit-content;
    padding: 0;
    min-height: fit-content;
    box-shadow: none;
  }
}

@media (1001px <= width <= 1300px) {
  .model-text-container {
    position: unset;
    flex-direction: column;
    width: 100%;
  }
  .vertical-text {
    display: none;
  }

  .floating-text-container {
    position: unset;
    max-width: fit-content;
    padding: 0;
    min-height: fit-content;
    box-shadow: none;
  }
  .next {
    right: 150px;
  }

  .prev {
    left: 165px;
  }
}

@media (1301px <= width <= 1600px) {
  .floating-text-container {
    top: 4%;
    left: 793px;
    width: 45%;
    min-height: 31rem;
  }
}
