/* Font Style */
@import url("https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=League+Spartan:wght@300;400;500;700;800&family=Noto+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:wght@100;300;400;700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Allura&family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=League+Spartan:wght@300;400;500;700;800&family=Noto+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:wght@100;300;400;700&display=swap");

/* Global Style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cormorant", sans-serif;
  transition: all 0.3s ease;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  background-color: rgb(246, 243, 234);
}

a {
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

/* Header */
#header {
  width: 100%;
  height: 100vh;
  display: flex;
  position: relative;
}

#header .container-left {
  background-image: url(img/room2.jpg);
  background-size: cover;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* justify-content: center;
    align-items: center; */
}

#header .container-left::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.navbar {
  width: 100%;
  height: 15%;  
  display: flex;
  justify-content: space-evenly;
  padding: 0 5%;
  align-items: center;
  position: fixed;
  z-index: 1000;
}

.navbar.hide{
  transform: translateY(-100%);
  transition: all 0.3s ease;
}

.navbar ul.open {
  right: 0;
  transition: all 0.3s ease;
  opacity: 1;
  visibility: visible;
}

.menu-btn {
  display: none;
  justify-content: center;
  align-items: center;
}

.solid {
  /* background-color: rgba(0, 0, 0, 0.3); */
  transition: all 0.3s ease;
  background-color: rgba(246, 243, 234, 0.7);
  border-bottom: 1px solid #4b7155;
  height: 10%;
  backdrop-filter: blur(4px);
}

.solid-text {
  color: rgb(75, 113, 85);
  transition: all 0.3s ease;
}

.navbar div {
  width: 30%;
  height: 100%;
  margin: auto 0;
  object-fit: cover;
}

.logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.navbar ul {
  width: 60%;
  height: 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar ul li a {
  font-size: 1.1rem;
  font-weight: 800;
  color: rgb(246, 243, 234);
}

.navbar ul li:hover {
  transform: scale(1.1);
  transition: 0.2s;
}

.navbar ul li a::after {
  content: "";
  display: block;
  border-bottom: 1px solid;
  padding-bottom: 5px;
  transform: scaleX(0);
}

.navbar ul li a:hover::after {
  transform: scaleX(0.5);
  transition: transform 0.2s ease-in-out;
}
.navbar ul li a:active::after {
  transform: scaleX(1.2);
  transition: transform 0.1s ease-in-out;
}

.container-left .text {
  height: 90%;
  display: flex;
  justify-content: start;
  margin-left: 5rem;
  align-items: center;
  color: rgb(246, 243, 234);
  z-index: 1;
  margin-top: 3rem;
}

.container-left .container {
  width: 50%;
  height: 80%;
  text-align: start;
  line-height: 1;
  margin-top: 100px;
}

.text span {
  font-size: 5.5rem;
  font-family: "Allura", sans-serif;
  font-weight: 100;
  color: rgb(115, 161, 127);
  line-height: 0;
}

.text h2 {
  font-size: 4.5rem;
  font-weight: 100;
  font-family: "Allura", sans-serif;
  color: #4b7155;
  line-height: 0.7;
}

.text h1 {
  font-size: 4rem;
}

.text p {
  margin-top: 20px;
  font-weight: 700;
  font-size: 1.5rem;
}

#book {
  width: 70%;
  height: 13vh;
  background-color: white;
  position: absolute;
  z-index: 1;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  top: 78%;
  left: 6.7%;
}

#book:hover {
  transform: scale(1.1);
  transition: 0.2s;
}

#book .box {
  width: 20%;
  height: 80%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  line-height: 25px;
  display: flex;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.box h3,
.box p {
  font-family: "Poppins", sans-serif;
  font-size: 90%;
}

.box h3 {
  color: rgb(75, 113, 85);
}

.box button {
  width: 100%;
  height: 75%;
  background-color: #4b7155;
  color: white;
  border: none;
  font-family: "Poppins", sans-serif;
  font-size: 90%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.box button:hover {
  background-color: white;
  color: #4b7155;
  border: 1px solid #4b7155;
}

.box button:active {
  transform: scale(0.8);
  transition: 0.1s;
}

#book .box:last-child {
  border-right: none;
}

.btn-book {
  animation-duration: 3s;
  animation-fill-mode: both;
}

:root {
  --shadow: #4b7155;
  --scrollbarBG: #eee;
}
::-webkit-scrollbar {
  width: .46rem;
}
::-webkit-scrollbar-track {
  background-color: rgb(246, 243, 234);
}
::-webkit-scrollbar-thumb {
  background-color: var(--shadow);
  border-radius: 1rem;
  box-shadow: 0 -100vh 0 100vh var(), 0 0 15px 5px black;
}

