html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Josefin Sans", sans-serif;
}

/* end of common styles */

/* navbar */
/* sidebar */
.sidebar {
  width: 8rem;
  height: 100%;
  background-color: #eee;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.menu-icon {
  margin-top: 3rem;
  cursor: pointer;
}
.line {
  height: 0.2rem;
  width: 2.5rem;
  background-color: #222;
  margin-bottom: 0.6rem;
}

.line-1,
.line-3 {
  width: 1.8rem;
  transition: all 0.4s;
}

.menu-icon:hover .line {
  width: 2.5rem;
}

.social-icons-list {
  list-style: none;
  padding: 0;
  height: 25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.social-link {
  font-size: 2rem;
  color: #777;
  transition: color 0.3s;
}

.social-link:hover {
  color: #deaa66;
}

.year {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #555;
}

/* end of sidebar */

/* navigation */
.navigation {
  position: fixed;
  left: -32rem;
  width: 40rem;
  height: 100%;
  background: linear-gradient(
      to top,
      rgba(31, 21, 3, 1),
      rgba(161, 125, 57, 0.7)
    ), url("./img/nav-bg.jpeg") center no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  transition: left 0.8s cubic-bezier(1, 0, 0, 1);
}

.navigation-heading {
  font-family: "Courier New", Courier, monospace;
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.2rem;
  color: rgb(73, 44, 44);
  text-align: center;
}

.navigation-search {
  position: relative;
}

.navigation-search-input {
  width: 30rem;
  padding: 1rem 2rem;
  background-color: rgb(158, 109, 53);
  font-size: 1.6rem;
  color: #deaa66;
  letter-spacing: 0.1rem;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  outline: none;
  border: 0.1rem solid #555;
  border-radius: 10rem;
}

.navigation-search-input:focus {
  background-color: rgb(184, 122, 52);
}
.navigation-search-button {
  border: none;
  background-color: transparent;
  color: #deaa66;
  font-size: 1.7rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}

.navigation-list {
  list-style: none;
  padding: 0;
  height: 28rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.navigation-link {
  color: #eee;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.5s;
}

.navigation-link::before {
  content: "";
  width: 0rem;
  height: 0.1rem;
  background-color: #deaa86;
  position: absolute;
  top: 1rem;
  left: -2.5rem;
}
.navigation-link::after {
  content: "";
  width: 0rem;
  height: 0.1rem;
  background-color: #deaa86;
  position: absolute;
  top: 1rem;
  right: -4rem;
}

.navigation-link:hover {
  color: #deaa86;
}

.copyright {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.checkbox:checked ~ .navigation {
  left: 8rem;
}
/* Hamburgery menu button transform effect */
.checkbox:checked ~ .sidebar .line-1 {
  transform: rotate(-405deg) translate(-5px, 6px);
  width: 2.5rem;
}
.checkbox:checked ~ .sidebar .line-2 {
  opacity: 0;
}

.checkbox:checked ~ .sidebar .line-3 {
  transform: rotate(405deg) translate(-5px, -6px);
  width: 2.5rem;
}
/* end of navigation */

/* end of sidebar */

/* header */
.header {
  margin-left: 8rem;
  height: 100vh;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)),
    url("./img/header-1.jpeg") center no-repeat;
  background-size: cover;
} 
.brand {
  display: flex;
  cursor: pointer;
}

.hotel-heading {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 2.7rem;
  font-weight: 400;
  color: #deaa86;
  letter-spacing: 0.2rem;
}

.banner {
  color: #ddd;
  height: 65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner-heading {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 7rem;
  font-weight: 400;
  margin-bottom: 0;
  animation: anim 2s;
}

.banner-paragraph {
  font-size: 3.5rem;
  font-weight: 300;
  animation: anim 1.5s 0.5s backwards;
}
.banner-button {
  width: 21rem;
  padding: 1.2rem 2rem;
  font-size: 2rem;
  color: #333;
  letter-spacing: 0.1rem;
  border: none;
  border-radius: 10rem;
  outline: none;
  background: linear-gradient(to right, rgb(221, 194, 39), rgb(214, 168, 50));
  cursor: pointer;
  animation: anim 1s 1s backwards;
}

.banner-button:hover {
  background: linear-gradient(to left, rgb(221, 194, 39), rgb(214, 168, 50));
}

.banner-button:active {
  transform: translateY(0.2rem);
}

@keyframes anim {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* end of header */
/* about us */
.about-us {
  margin-left: 8rem;
  display: flex;
  background-color: #ddd;
}

.about-us-content {
  flex: 0 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10rem;
  box-sizing: border-box;
}

.about-us-heading {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 4rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #555;
}

.small-underline {
  width: 9rem;
  height: 0.1rem;
  margin: 0 auto 1rem auto;
  background-color: #b85d1c;
}

.big-underline {
  width: 20rem;
  height: 0.1rem;
  background-color: #b85d1c;
}
.about-us-images {
  flex: 1 1;
  position: relative;
}

.image {
  width: 32rem;
  position: absolute;
  top: 50%;
  left: 50%;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.4);
  border-radius: 0.4rem;
  border: 0.2rem solid #b85d1c;
}
.image-1 {
  transform: translate(-20%, -90%);
}
.image-2 {
  transform: translate(-70%, -70%);
}
.image-3 {
  transform: translate(-50%, -50%);
}

.image-4 {
  transform: translate(-30%, -30%);
}
.about-us-paragraph {
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  text-align: center;
  margin-bottom: 5rem;
}

.about-us-button {
  width: 14rem;
  padding: 0.7rem 0.5rem;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #b85d1c;
  background-color: transparent;
  border: 0.1rem solid #b85d1c;
  outline: none;
  cursor: pointer;
}

.sub-heading {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.2rem;
  color: #b85d1c;
}

/* end of about us */

.common-header {
  padding: 5rem;
  text-align: center;
  color: #b85d1c;
}
.common-heading {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 0.2rem;
}

.big-underline {
  width: 20rem;
  height: 0.1rem;
  background-color: #b85d1c;
  margin: auto;
}
.about-us-images {
  flex: 1 1;
  position: relative;
}

/* rooms */
.rooms {
  margin-left: 8rem;
}

.rooms-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.room-card {
  width: 60rem;
  margin: 5rem;
  background-color: #15141b;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.3);
}

.room-img {
  width: 100%;
}

.room-card-content {
  color: #ddd;
  padding: 2rem;
}
.room-card-heading {
  margin: 0;
  font-size: 3rem;
  font-weight: 300;
}
.rooms-cards-paragraph {
  font-size: 1.5rem;
  color: #777;
}
.room-price {
  font-size: 5rem;
  font-weight: 300;
  text-align: right;
  margin: 0;
}

.room-card-button {
  width: 14rem;
  padding: 1.5rem 1rem;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #b85d1c;
  background-color: transparent;
  border: 0.1rem solid #b85d1c;
  border-radius: 10rem;
  outline: none;
  cursor: pointer;
}

.rooms-button-wrapper {
  text-align: center;
}

.rooms-button {
  width: 20rem;
  padding: 1.5rem 1rem;
  margin: 4rem 0;
  background-color: transparent;
  text-transform: uppercase;
  color: #b85d1c;
  border: 0.2rem solid #b85d1c;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1.5rem 6rem rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.rooms-button:hover {
  color: #ddd;
  background-color: #deaa66;
}
/* end of rooms */

/* customers */
.customers {
  margin-left: 8rem;
  padding-bottom: 7rem;
  background-color: #15141b;
}
.customers-paragraph {
  font-size: 1.8rem;
  color: #ddd;
  width: 50%;
  margin: 2rem auto 8rem auto;
  text-align: center;
}
.customers-card-wrapper {
  display: flex;
  justify-content: space-evenly;
}
.customer-card {
  background-color: #eee;
  width: 60rem;
  display: flex;
}
.customer-image-wrapper {
  margin: auto 0;
}
.customer-image {
  width: 20rem;
}

.customer-info {
  padding: 0 2rem;
}
.customer-fullname {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0;
}
.customer-paragraph-1 {
  font-size: 1.2rem;
  font-style: italic;
  color: #b85d1c;
}
.customer-paragraph-2 {
  font-size: 1.3rem;
  font-style: italic;
}
/* end of customers */
/* footer */
.footer {
  margin-left: 8rem;
}
.main-part {
  display: flex;
  justify-content: space-between;
  background-color: #1c1c1c;
  padding: 4rem;
}

.footer-heading {
  font-size: 2.5rem;
  font-weight: 300;
  color: goldenrod;
  margin: 1rem 0 3rem 0;
}
.footer-list {
  list-style: none;
  padding: 0;
}
.footer-list-item {
  margin-bottom: 2rem;
}
.footer-list-link {
  font-size: 1.4rem;
  text-decoration: none;
  color: #bbb;
}
.contact p {
  font-size: 1.5rem;
  color: #bbb;
  margin-bottom: 4rem;
}

.footer-form {
  display: flex;
}
.footer-input {
  width: 25rem;
  padding: 1rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1.8rem;
  color: #444;
  outline: none;
}
.footer-button {
  padding: 1rem;
  background-color: #b85d1c;
  color: #ddd;
  border: none;
}

.gallery {
  max-width: 45rem;
}
.image-wrapper {
  width: 12rem;
  margin: 0.4rem;
  overflow: hidden;
}
.footer-image {
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: all 0.5s;
}

.gallery-images {
  display: flex;
  flex-wrap: wrap;
}
.footer-image:hover {
  transform: scale(1.3);
  opacity: 0.8;
}
.creator-part {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  padding: 0 4rem;
}

.copyright-text {
  font-size: 1.3rem;
  color: #aaa;
}

/* end of footer */

@media (max-width: 1400px) {
  .customers-card-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .customer-card:first-child {
    margin-bottom: 3rem;
  }
  .main-part {
    flex-direction: column;
  }
  .footer-list {
    display: flex;
  }
  .footer-list-item {
    margin-right: 3rem;
  }
}

@media (max-width: 1200px) {
  .about-us {
    flex-direction: column;
    padding-bottom: 20rem;
  }
  .about-us-content {
    margin-bottom: 13rem;
  }
  .image {
    width: 25rem;
  }
}

@media (max-width: 900px) {
  .banner {
    text-align: center;
  }
  .banner-heading {
    font-size: 4.7rem;
  }
  .banner-paragraph {
    font-size: 2.6rem;
  }
  .banner-button {
    width: 16rem;
    font-size: 1.5rem;
  }
}

@media (max-width: 750px) {
  .customer-card {
    flex-direction: column;
    width: 20rem;
  }
  .customer-image {
    margin-left: 0;
  }
  .footer-list {
    display: block;
  }
}

@media (max-width: 500px) {
  .navigation {
    width: 28rem;
  }
  .navigation-search-input {
    width: 20rem;
  }
  .image {
    width: 13rem;
  }
  .about-us {
    padding-bottom: 15rem;
  }
  .hotel-heading {
    font-size: 2rem;
    margin: auto 0;
  }
  .banner {
    height: 100%;
    margin-top: -10rem;
  }
  .banner-heading {
    font-size: 3rem;
  }
  .banner-paragraph {
    font-size: 2rem;
  }
  .about-us-heading {
    font-size: 2.5rem;
    text-align: center;
  }
  .about-us-content {
    padding: 5rem;
  }
  .sub-heading {
    font-size: 2rem;
    text-align: center;
  }
  .common-heading {
    font-size: 2rem;
  }
  .small-underline {
    width: 5rem;
  }
  .big-underline {
    width: 12rem;
  }
  .room-card-heading {
    font-size: 1.5rem;
  }
  .room-price {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  .room-card-button {
    width: 12rem;
    padding: 1rem 0.5rem;
    font-size: 1rem;
  }
  .customers-paragraph {
    font-size: 1.4rem;
    width: 80%;
  }
  .main-part {
    padding: 2rem;
  }
  .footer-input {
    width: 12rem;
  }
  .image-wrapper {
    width: 9rem;
  }
}
