:root {
  --white: #ffffff;
  --font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  --main-container-bg-color: #faf6f6;
  --light-gray-text: #dfdbdb;
}

@counter-style custom-unordered {
  system: cyclic;
  symbols: "\02C3";
  suffix: " ";
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
}

.nav-bar {
  max-width: 560px;
  margin: 0 auto;
  height: 50px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  z-index: 10;
}

.nav-bar a {
  text-transform: uppercase;
  text-decoration: none;
  color: black;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid black;
  height: 100%;
  padding-right: 10px;
}

.heading-top-logo {
  font-size: 18px;
  font-weight: 500;
  color: #1900ff;
}
.heading-bottom-logo {
  font-size: 12px;
  font-weight: 300;
  color: #0a53f1;
}

.background-header-image {
  z-index: -1;
  position: relative;
}

.main-container {
  padding: 1rem;
  background-color: var(--main-container-bg-color);
}

.main-container h2 {
  margin-bottom: 12px;
}

.main-container p {
  text-align: justify;
  padding: 4px 2px;
  font-size: 18px;
}

.stored-goods-container h3 {
  margin-top: 15px;
}

.stored-goods-container ul {
  list-style-type: custom-unordered;
  list-style-position: inside;
}

.stored-goods-container li {
  margin: 5px;
}

.cta-button {
  width: 200px;
  height: 40px;
  color: black;
  background-color: rgb(240, 243, 244);
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 22px;
}

.sub-taxes {
  font-size: 8px;
  color: var(--light-gray-text);
}

.room-images-showcase-container {
  padding: 1rem;
}

/* PRICES TABLE */
.tarifs_container {
  width: 100%;
  padding: 1rem;
}

.tarifs_container table {
  width: 100%;
  height: 100%;
}

.tarifs_container table,
th,
td {
  border-collapse: collapse;
  border: 1px solid rgb(212, 201, 201);
  padding: 0.3rem;
  text-align: center;
  font-size: 14px;
}

.tarifs_container span {
  font-size: 12px;
  color: rgb(139, 136, 136);
}

.tarifs_container tr:nth-child(even) {
  background-color: rgb(235, 227, 227);
}

#rooms-showcase {
  width: 100px;
  border-radius: 8px;
  text-align: center;
  border: 0.5px solid blue;
}

/* CONTACT */
.contact_container {
  padding: 1rem;
  line-height: 1.5;
  text-align: justify;
  font-size: 18px;
}

.contact_container a {
  text-decoration: underline;
  font-style: italic;
  color: rgb(0, 31, 204);
}

/* IMAGES CAROUSEL */
#carousel-container {
  width: 100%;
}

@media screen and (min-width: 768px) {
  #carousel-container {
    width: 99%;
    margin: 0 auto;
  }
}

#carousel-images-container {
  display: flex;
  flex-direction: row;
  gap: 5px;
  overflow-x: scroll;
  padding: 10px;
}

#carousel-images-container img {
  width: 100%;
  max-width: 375px;
  height: 100%;
  max-height: 475px;
  margin-top: 10px;
  border-radius: 8px;
}

@media screen and (max-width: 1024px) {
  .hero-container {
    position: relative;
  }
  .background-header-image {
    width: 100%;
    height: 550px;
    background-image: url("./public/images/Multiple_images_of_rooms.png");
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    filter: brightness(0.4);
  }
  .hero-text-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    max-width: 750px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .hero-title {
    padding: 1rem;
    color: var(--white);
    font-size: 29px;
    text-align: left;
  }
  .hero-text-container p {
    padding: 0.5rem 1rem;
    color: var(--white);
    font-size: 20px;
    line-height: 1.3;
  }
  .main-container h2 {
    font-size: 24px;
  }
}

@media screen and (min-width: 1024px) {
  .hero-container {
    position: relative;
    height: 600px;
  }
  .background-header-image {
    width: 100%;
    height: 100%;
    background-image: url("./public/images/Multiple_images_of_rooms.png");
    background-repeat: repeat;
    background-position: top;
    background-size: contain;
    filter: brightness(0.4);
  }
  .hero-text-container {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    height: 350px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
  }
  .hero-text-container h1 {
    font-size: 42px;
    margin-bottom: 1rem;
  }
  .hero-text-container p {
    font-size: 22px;
    line-height: 1.5;
  }
  .main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    justify-items: center;
    padding: 22px;
  }
  .main-container :nth-of-type(1) {
    max-width: 550px;
  }
  .main-container :nth-of-type(2) {
    max-width: 550px;
  }
}

@media (min-width: 1024px) {
  .tarifs_container table {
    height: 500px;
  }
}
