* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a,
button {
  cursor: pointer;
  color: initial;
  text-decoration: none;
}

h2 {
  font-family: Times New Roman,Times,serif;
  font-weight: normal;
  padding: 0.5rem 0;
}

html {
  font-size: 16px;
  font-family: Arial,Helvetica,sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

body {
  max-width: 1400px;
  margin: 0 auto;
}

section,
header {
  padding: 0 1rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.logo-container {
  height: 5.75rem;
}

nav,
header > .material-symbols-sharp {
  align-self: end;
  margin-bottom: 0.5rem;
  background: white;
}

nav ul {
  display: flex;
}

nav li {
  margin-left: 2rem;
}

.heros-container {
  margin-bottom: 2rem;
}

.heros-container img {
  aspect-ratio: 2.1375;
}

img {
  width: 100%;
  object-fit: cover;
}

.location-info-container,
.room-info-container {
  display: flex;
  margin-bottom: 2rem;
}

.ad-img-container {
  flex-basis: 38rem;
  flex-grow: 0;
  flex-shrink: 0;
}

.ad-img-container img {
  aspect-ratio: 1.3421;
}

.location-info-container > div:first-child,
.room-info-container > div:first-child {
  margin-right: 2rem;
}

.location-text-container {
  margin-top: 2rem;
}

.location-text-container,
.room-text-container {
  text-align: center;
  flex: 1 1;
}

.location-text-container p,
.room-text-container p {
  text-align: left;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 40rem;
  margin: 1.25rem auto 0;
  justify-content: center;
}

.tag {
  display: flex;
  border: 2px solid;
  width: 8rem;
  height: 3rem;
  line-height: 1.3;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  margin-top: 0.5rem;
  font-size: 14px;
  text-align: left;
}

.tag span:first-child {
  margin-right: 1rem;
  flex: 0;
}

.tag span:last-child {
  flex: 0;
}

.btn {
  background: black;
  color: white;
  padding: 0.875rem 1.25rem;
  display: inline-block;
  min-width: 6rem;
}

.room-text-container .btn {
  margin-top: 2rem;
}

.contact-layout-wrapper {
  display: flex;
}

.contact-layout-wrapper > div:first-child {
  flex-basis: 26rem;
  flex-grow: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.contact-layout-wrapper > div:last-child {
  flex: 1;
  height: 28rem;
}

.contact-item {
  border: 2px solid;
  display: inline-flex;
  max-width: 19rem;
  width: 100%;
  height: 3.25rem;
  align-items: center;
  padding: 0 1rem;
  margin-top: 0.5rem;
}

.contact-item:first-child {
  margin-top: 1.25rem;
}

.contact-item span:first-child,
.contact-item svg:first-child {
  margin-right: 0.75rem;
}

footer {
  text-align: center;
  padding: 0.875rem;
  margin-top: 2.25rem;
  font-family: Arial,Helvetica,sans-serif;;
  border-top: 1px solid;
  font-size: 15px;
}

.room-text-container ul {
  margin: 2rem 3rem;
  text-align: left;
  columns: 2;
}

.room-text-container li {
  display: flex;
  margin-top: 0.5rem;
}

.room-text-container .available {
  color: #01ac00;
  margin-right: 0.75rem;
}

.room-text-container .not-available {
  color: #dd0612;
  margin-right: 0.75rem;
}

.center-text {
  text-align: center;
}

.grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form-container {
  margin-top: 1.25rem;
  padding-left: 2rem;
  border-left: 1px solid #dbd8d8;
  text-align: left;
}

.contact-form-container form {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.contact-form-container > form > div {
  display: flex;
  flex-direction: column;
}

.mt-4 {
  margin-top: 1rem;
}

input {
  padding: 0 1rem;
  font-size: 1rem;
  height: 3.25rem;
}

textarea {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  height: 19rem;
}

button {
  font-size: 1rem;
  width: fit-content;
  float: right;
}

.alert {
  font-size: 0.875rem;
  text-align: left;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.alert-success {
  background: #d1e7dd;
  border: 1px solid #a3cfbb;
  color: #146c43;
}

.alert-danger {
  background: #f8d7da;
  border: 1px solid #f1aeb5;
  color: #b02a37;
}

.loader {
  width: 1rem;
  height: 1rem;
  border: 2px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.error-text {
  font-size: 0.875rem;
  color: #b02a37;
}

.contact-form-container .btn {
  align-self: end;
}

#loader,
#contact-failure-msg,
#contact-success-msg {
  display: none;
}

.list-square {
  list-style: square;
}

header .text-2xl {
  font-size: 2rem !important;
  display: none;
}

.values-container ul {
  padding-left: 1rem;
}

@media (max-width: 1100px) {
  .room-info-container > div:first-child {
    margin-right: 0 !important;
  }
  .location-info-container {
    flex-direction: column-reverse;
  }
  .location-text-container {
    margin: 0;
  }
  .ad-img-container {
    margin-top: 2rem;
    margin-right: 0 !important;
  }
  .room-info-container {
    flex-direction: column;
  }
  .ad-img-container img,
  .heros-container img {
    aspect-ratio: 1.66875;
  }
  .ad-img-container {
    flex-basis: auto;
  }
  .reverse {
    flex-direction: column-reverse;
  }
  .contact-info-form-container {
    grid-template-columns: auto;
    row-gap: 3rem;
  }
  .contact-form-container {
    padding-left: 0;
    border-left: none;
  }
}

@media (max-width: 900px) {
  .contact-layout-wrapper {
    flex-direction: column;
  }

  .contact-layout-wrapper > div:first-child {
    flex-basis: 21rem;
  }
  .contact-layout-wrapper > div:last-child {
    flex-basis: 28rem;
  }
}

@media (max-width: 700px) {
  nav {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: 100%;
    display: none;
  }
  nav ul {
    flex-direction: column;
    margin: 0 1rem;
  }
  nav li {
    padding: 1rem 0 1rem 2rem;
    margin: 0;
    border-bottom: 1px solid;
    border-left: 1px solid;
    border-right: 1px solid;
  }
  nav li:first-child {
    border-top: 1px solid;
  }
  #menu-btn {
    display: block;
  }
  .heros-container img {
    aspect-ratio: 1.1928;
  }
}

@media (max-width: 580px) {
  .heros-container img {
    aspect-ratio: 0.9447;
  }
  .ad-img-container img {
    aspect-ratio: 1.297;
  }
  .room-text-container ul {
    margin: 2rem 0;
  }
}

@media (max-width: 380px) {
  .contact-info-form-container a,
  .contact-layout-wrapper a {
    display: flex;
  }
  .contact-info-form-container .material-symbols-sharp,
  .contact-info-form-container svg,
  .contact-layout-wrapper .material-symbols-sharp,
  .contact-layout-wrapper svg {
    display: none;
  }
}
