body,
section,
article,
main,
div,
a {
  box-sizing: border-box;
}
h2,
h3 {
  color: var(--heritageWhite);
  margin: 0;
}
#topContainer {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding: 20px 0;
}
h2 {
  font-family: var(--body-font-family);
  font-size: 35px;
  font-weight: 800;
  line-height: 0.8em;
  margin-bottom: 20px;
  text-align: center;
}
@media screen and (min-width: 800px) {
  h2 {
    font-size: 55px;
  }
}
#legendContainer {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.logoContainer {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}
.legend {
  margin: 0;
  text-align: center;
  font-family: "Roboto", Sans-serif;
  font-size: 12px;
  font-weight: 400;
}
#legend1 {
  color: var(--heritageWhite);
}
#legend2 {
  color: var(--heritageRed);
}
#mainContainer {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  background-color: var(--heritageBlack);
}
#mapContainer {
  position: relative;
  width: 100%;
  height: 600px;
  margin: 0;
  padding: 0;
  background-color: var(--heritageBlue);
}
#map {
  height: 600px;
  width: 100%;
}
#salonsContainer {
  width: 100%;
  height: 600px;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  overflow: hidden;
}
@media screen and (min-width: 800px) {
  #mainContainer {
    flex-flow: row-reverse nowrap;
  }
  #mapContainer {
    flex: 2;
  }
  #salonsContainer {
    flex: 1;
  }
}
#listContainer {
  width: 100%;
  height: calc(100% - 50px);
  overflow-y: scroll;
  overflow-x: hidden;
  position: relative;
  scrollbar-color: var(--heritageWhite) var(--heritageBlack);
}
.salonListItem {
  position: relative;
  width: 100%;
  border-top: 1px solid #ccc;
  padding: 10px;
  font-size: 11px;
  color: var(--heritageWhite);
  font-family: var(--body-font-family);
}
#listContainer > .salonListItem:nth-child(2n) {
  animation-name: moveLeftToRight;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-delay: 0.5s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
}
#listContainer > .salonListItem:nth-child(2n + 1) {
  animation-name: moveRightToLeft;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-delay: 0.5s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
}
.salonName {
  margin: 0;
  font-size: 13px;
  line-height: 1.2em;
  margin-top: 5px;
  margin-bottom: 8px;
  font-weight: bold;
}
.salonListItem > p,
.salonListItem > .salonPhone {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}
.salonListItem > .salonPhone {
  text-decoration: none;
  color: var(--heritageWhite);
  padding: 5px;
  border: 1px solid var(--heritageBlue);
  width: fit-content;
  border-radius: 2px;
}
.salonListItem > .salonPhone > .material-symbols-outlined {
  color: var(--heritageRed);
  transform: rotate(135deg);
  transition: all 0.3s ease;
}
.salonListItem > .salonPhone:hover {
  background-color: var(--heritageWhite);
  color: var(--heritageBlue);
}
.salonListItem > .salonPhone:hover > .material-symbols-outlined {
  color: var(--heritageBlue);
  transform: scale(1.5) rotate(0deg);
}
.salonListItem .material-symbols-outlined {
  font-size: 13px;
}
.salonListItem > button,
.salonListItem > a {
  font-size: 11px;
  font-weight: 400;
}
.salonListItem > .salonDirect {
  background-color: var(--heritageRed);
  border: 1px solid var(--heritageRed);
  display: block;
  padding: 5px;
  text-align: center;
  margin: 5px 0 0 0;
}
.currentSalon {
  background-color: var(--heritageBlue);
  color: var(--heritageWhite);
}
.currentSalon > .salonPhone {
  color: var(--heritageWhite);
}
/* .currentSalon > .salonDirect {
  background-color: var(--heritageWhite);
  border-color: var(--heritageWhite);
  color: var(--heritageBlue);
} */
#salonSearchContainer {
  width: 100%;
  margin: 0;
  padding: 10px;
  background-color: transparent;
  box-sizing: border-box;
}
.detailsCityContainer {
  position: relative;
  margin-bottom: 20px;
  padding: 0;
}
.detailsCityContainer > h2 {
  margin-bottom: 10px;
}
.salonDetails {
  width: 100%;
  max-width: 800px;
  background-color: var(--heritageBlue);
  position: relative;
  border: none;
  animation-name: moveLeftToRight;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-delay: 1s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
}
@keyframes moveLeftToRight {
  from {
    left: -100%;
  }
  to {
    left: 0%;
  }
}
@keyframes moveRightToLeft {
  from {
    right: -100%;
  }
  to {
    right: 0%;
  }
}
#rdvIframe {
  width: 100%;
  max-width: 800px;
  height: 100vh;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
  border: none;
  background-color: var(--heritageBlack);
}
