/* ----------- Import Tailwind -----*/
@tailwind base;
@tailwind components;
@tailwind utilities;


/* ----------- Default Styles to apply to the whole project  --------- */

@layer base { a { @apply no-underline; }  }

/* ----------- ADDITIONAL COMPONENTS  --------- */

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

html { scroll-behavior: smooth; }


/* For regular laptops and smaller screens */
body {
    max-width: 100vw; /* Allow it to expand to the full width of the screen */
    background: #eee6d9;
    color: black;
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    overflow-x: hidden;
}

/* Ensure max-width and centering for larger screens */
@media screen and (min-width: 1600px) {
  .max-width {
    max-width: 1600px; /* Limit max-width to 1600px */
    margin: 0 auto; /* Center the container horizontally */
  }
}

/* Fixed header styles */
.header {
  display: flex;
  justify-content: space-between; /* Space between logo and nav */
  align-items: center;
}

.header-logo-position {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header .nav-link {
  color: #FFFDFF; /* Ensure link color matches your design */
  text-decoration: none;
  font-weight: bold;
  padding: 0 1rem; /* Space between links */
}

.header .nav-link:hover {
  text-decoration: underline; /* Add hover effect */
}


.mobile-menu {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 40;
    background:  #FFFDFF; 
}

.header-font {
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  font-size: 2rem;
}

.header-text-font {
  font-size: 1.7rem; 
  line-height: 2rem;
}

.text-white {
  color: white;
}

.background-choco {
  background-color: #b39978;
}

.coffee-circle {
  position: relative;
  background-color: #694f36;
  height: 20rem;
  width: 20rem;
  border-radius: 50%;
  margin-top: -33%;
  margin-left: -1%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coffee-circle::before {
  content: '';
  position: absolute;
  background-color: #694f36;
  height: 22rem;
  width: 22rem;
  border-radius: 50%;
  z-index: -1; /* Pushes the background behind the image */
  margin-top: -8%;
  margin-left: 10%;
}

.coffee-circle-default {
  position: relative;
  background-color: #694f36;
  height: 13rem;
  width: 13rem;
  border-radius: 50%;
  margin-top: -37%;
  margin-left: 37%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coffee-circle-default::before {
  content: '';
  position: absolute;
  background-color: #694f36;
  height: 15rem;
  width: 15rem;
  border-radius: 50%;
  z-index: -1;
  margin-top: -5%;
  margin-left: -11%;
}

.story-circle-default {
  position: relative;
  background-color: #694f36;
  height: 15rem;
  width: 15rem;
  border-radius: 50%;
  margin-top: -30%;
  margin-left: -24%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-circle-default::before {
  content: '';
  position: absolute;
  background-color: #694f36;
  height: 17rem;
  width: 17rem;
  border-radius: 50%;
  margin-top: -8%;
  margin-left: 10%;
}

.story-circle {
  position: relative;
  background-color: #694f36;
  height: 18rem;
  width: 18rem;
  border-radius: 50%;
  margin-top: -54%;
  margin-left: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-circle::before {
  content: '';
  position: absolute;
  background-color: #694f36;
  height: 21rem;
  width: 21rem;
  border-radius: 50%;
  margin-top: -8%;
  margin-left: 13%;
}


.button {
  display: inline-block;
  width: auto;
  border-width: 2.5px;
  border-color: #694f36;
  border-radius: 0.25rem;
  background-color: #694f36;
  color: #eee6d9; 
  padding: 0.5em 1em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  border-color:#694f36;
  background-color: #eee6d9;
  color: #694f36;
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 20px;
  cursor: pointer;
}

.hamburger-menu span {
  background-color: #eee6d9;
  height: 4px;
  width: 100%;
  transition: transform 0.3s ease-in-out;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: #033357; /* Dark blue background */
  color: #FFFDFF; /* Light text color */
  padding: 2rem;
  transition: right 0.3s ease-in-out;
  z-index: 50;
  border-left: 4px solid #D2AE39; /* Yellow left border */
}

/* Active class to slide the menu in */
.mobile-menu.active {
  right: 0;
}


/* Close button */
.close-button {
  background: none;
  border: none;
  color: #FFFDFF; /* Light text color */
  font-size: 2rem; /* Size of the close icon */
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}



/*Scroll to top button */ 

.back-to-top-button-parent {
  position: fixed;
  bottom: 0;
  width: 100%;
}

.myBtn {
  display: none; 
  position: absolute; 
  bottom: 20px; 
  right: 0;
  z-index: 99; 
  border: none; 
  outline: none; 
  background-color:  #694f36; 
  color: #eee6d9; 
  cursor: pointer; 
  width: 30px; 
  height: 30px; 
  border-radius: 50%; 
  font-size: 16px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}


.myBtn:hover {
  color:#eee6d9;
  background-color: #4c351e; 
}

.hamburger-wrapper {
  cursor: pointer;
  display: inline-block;
  position: absolute;
  top: 48%;
  right: 19%;
  z-index: 1000;
}


/* Custom Scrollbar Styling */
.custom-scrollbar::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #694f36; /* Color of the track */
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #eee6d9; /* Color of the scrollbar thumb */
  border-radius: 8px; /* Rounded corners */
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #694f36; /* Color when hovered */
}



@media (min-width:354px) {

  .header-font {
    font-size: 2.3rem;
  }
  
  .header-text-font {
    font-size: 2rem; 
  line-height: 2.25rem; 
  }

  .coffee-circle-default {
    height: 15rem;
    width: 15rem;
    margin-top: -37%;
    margin-left: 37%;
  }
  
  .coffee-circle-default::before {
    height: 17rem;
    width: 17rem;
    margin-top: -5%;
    margin-left: -11%;
  }
}

@media (min-width:370px) {

  .coffee-circle-default {
    height: 15rem;
    width: 15rem;
    margin-top: -37%;
    margin-left: 46%;
  }
  
}

@media (min-width:420px) {

  .header-font {
    font-size: 2.6rem;
  }
  
  .header-text-font {
    font-size: 2.3rem; /* 36px */
    line-height: 2.5rem; /* 40px */
  }

  .coffee-circle-default {
    height: 17rem;
    width: 17rem;
    margin-top: -34%;
    margin-left: 48%;
  }
  
  .coffee-circle-default::before {
    height: 19rem;
    width: 19rem;
  }
}

@media (min-width:460px) {

  .story-circle-default {
    height: 18rem;
    width: 18rem;
    margin-top: -29%;
    margin-left: -17%;
  }

  .story-circle-default::before {
    height: 19rem;
    width: 19rem;
  }

}

@media (min-width:514px) {

  .header-text-font {
    font-size: 2.8rem;
    line-height: 3rem;
  }

  .header-font {
    font-size: 3.2rem;
  }

  .coffee-circle-default::before {
    height: 21rem;
    width: 21rem;
  }

  .coffee-circle-default {
    height: 19rem;
    width: 19rem;
    margin-top: -36%;
    margin-left: 49%;
  }

}


@media (min-width:582px) {

  .coffee-circle-default {
    margin-top: -30%;
    margin-left: 56%;
  }

}

@media (min-width:700px) {

  .coffee-circle {
    margin-left: 4%;
  }

}

@media (min-width:768px) {

  .coffee-circle {
    height: 23rem;
    width: 25rem;
    margin-top: -43%;
    margin-left: 4%;
  }

  .coffee-circle::before {
    height: 25rem;
    width: 25rem;
  }

  .story-circle {
    height: 21rem;
    width: 21rem;
    margin-top: -56%;
    margin-left: 18%;
  }

  .story-circle::before {
    height: 24rem;
    width: 24rem;
    margin-top: -8%;
    margin-left: 13%;
  }

}


@media (min-width:900px) {

  .coffee-circle {
    height: 26rem;
    width: 26rem;
    margin-top: -47%;
    margin-left: 9%;
    margin-right: -4%;
  }

  .coffee-circle::before {
    height: 30rem;
    width: 30rem;
  }

  .story-circle {
    margin-top: -59%;
    margin-left: 27%;
  }

}


@media (min-width:1024px) {
  .header-text-font {
  font-size: 3.25rem; 
  line-height: 1.1;
  }

  .header-font {
    font-size: 4.2rem;
  }

  .story-circle {
    margin-top: -52%;
    margin-left: 35%;
  }

}


@media (min-width:1068px) {

  .coffee-circle {
    height: 30rem;
    width: 30rem;
    margin-top: -47%;
    margin-left: 9%;
    margin-right: -4%;
  }

  .coffee-circle::before {
    height: 33rem;
    width: 33rem;
  }

}


@media (min-width:1164px) {
  
  .coffee-circle {
    height: 33rem;
    width: 33rem;
    margin-top: -52%;
    margin-left: 9%;
    margin-right: -4%;
  }

  .coffee-circle::before {
    height: 36rem;
    width: 36rem;
  }

}

@media (min-width:1200px) {
  
  .coffee-circle {
    height: 35rem;
    width: 35rem;
    margin-top: -52%;
    margin-left: 11%;
    margin-right: -18%;
  }

  .coffee-circle::before {
    height: 38rem;
    width: 38rem;
  }

}

@media (min-width:1300px) {
  
  .coffee-circle {
    margin-left: 14%;
  }

}

@media (min-width:1400px) {
  
  .coffee-circle {
    margin-left: 23%;
  }

}

@media (min-width:1500px) {
  
  .coffee-circle {
    margin-left: 26%;
  }

}



