/** HOUSE OF AMBER **/

/** FONT **/

@font-face {
  font-family: "Attena";
  src: url("../fonts/Attena.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Example of applying the font to the body */
body {
  font-family: 'Attena', sans-serif;
}

/** COLORS **/

:root {
  --snow: #f6ebe9;
  --salmon: #f5b090;
  --bread: #f5ce9b;
  --grass: #b2b689;
  --sea: #96c9d6;
  --sand: #d2af7b;
  --wood: #a0573f;
  --honey: #eba74a;
  --tree: #55634d;
  --sky: #266e84;


  --color-icon: #fefefe;
  --social-icon1: #e4405f;
  --social-icon2: #3b5999;
  --social-icon3: #e4405f;
  --social-icon4: #cd201f;
  --social-icon5: #0077B5;
}

.scroll-down-arrow {
  margin-top: 20px;
}

.scroll-arrow-icon {
  width: 40px;
  height: 40px;
  cursor: pointer;
}

/* Color of the links BEFORE scroll */
.navbar-scroll .nav-link,
.navbar-scroll .navbar-toggler .fa-bars {
  color: #fff;
}

/* Color of the links AFTER scroll */
.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-toggler .fa-bars {
  color: #4f4f4f;
}

/* Color of the navbar AFTER scroll */
.navbar-scrolled {
  background-color: #fff;
}

/* An optional height of the navbar AFTER scroll */
.navbar.navbar-scroll.navbar-scrolled {
  padding-top: 5px;
  padding-bottom: 5px;
}

main {
  margin-top: -88px;
}


.icon-list {
  width: 100%;
  max-width: 15rem;
  padding: 0 1.5rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
}

.icon-item {
  list-style: none
}

.icon-link {
  display: inline-flex;
  font-size: 3rem;
  text-decoration: none;
  color: var(--color-icon);
  width: 6rem;
  height: 6rem;
  transition: .5s linear;
  position: relative;
  z-index: 1;
  margin: auto
}

.icon-link:hover {
  color: #fff;
}

.icon-link i {
  margin: auto;
}

.icon-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 6rem;
  height: 6rem;
  background: #000;
  border-radius: 50%;
  z-index: -1;
  transform: scale(0);
  transition: 0.3s cubic-bezier(.95, .32, .37, 1.21);
}

.icon-link:hover::before {
  transform: scale(1);
}

.icon-item:nth-child(1) a:hover:before {
  background: var(--social-icon1);
}

.icon-item:nth-child(2) a:hover:before {
  background: var(--social-icon2);
}

.icon-item:nth-child(3) a:hover:before {
  background: var(--social-icon3);
}

.icon-item:nth-child(4) a:hover:before {
  background: var(--social-icon4);
}

.icon-item:nth-child(5) a:hover:before {
  background: var(--social-icon5);
}

.color-box {
  width: 100%;
  padding: 20px;
  color: white;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

p {
  color: #555;
  font-weight: 300;
  font-size: 1.1em;
  line-height: 160%;
}

section {
  box-shadow: inset 0 -10px 10px -10px rgba(0, 0, 0, 0.8);
}

.section-header h1 {
  font-size: 8rem;
  letter-spacing: 0.2em;
}

.section-header h2 {
  font-size: 3.2rem;
  letter-spacing: 0.1em;
}

.section-features h3 {
  font-size: 1.4em;
  font-weight: 300;
}

.red {
  color: red;
}

.purple {
  color: purple;
}

.heading-textbox:after {
  display: block;
  height: 2px;
  background-color: var(--honey);
  content: " ";
  width: 100px;
  margin: 0 auto;
  margin-top: 30px;
}

.hero-text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.img-box {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%;
  /* Adjust this percentage to control the aspect ratio */
  overflow: hidden;
}

.img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, opacity 0.5s;
  transform: scale(1.15);
  /* Makes the images cover the container while maintaining aspect ratio */
}

/* .img-box img {
  opacity: 0.7;
  width: 100%;
  height: auto;
  transform: scale(1.15);
  transition: transform 0.5s, opacity 0.5s;
} */

.img-box img:hover {
  opacity: 1;
  transform: scale(1);
}

/* Style the scroll-down arrow container */
.scroll-down-arrow {
  margin-top: 20px;
  text-align: center;
  margin-top: 50px;
}

/* Create the down arrow using borders */
.down {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-right: 4px solid #fff;
  /* Right part of the arrow */
  border-bottom: 4px solid #fff;
  /* Bottom part of the arrow */
  transform: rotate(45deg);
  /* Rotates the borders to form the arrow */
  -webkit-transform: rotate(45deg);
  transition: transform 0.3s ease, filter 0.3s ease;

  /* Animation to make the arrow float up and down */
  animation: float 2s ease-in-out infinite;
}


.fab-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fab-button {
  background-color: var(--honey);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
}

.fab-options {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  bottom: 70px;
  /* Adjusted so buttons are spaced properly */
  right: 0;
}

.fab-options li a {
  background: var(--sky);
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
}

.noselect {
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Keep the menu open when hovering */
.fab-container.open .fab-options {
  display: flex;
}



/* Keyframe animation for floating up and down */
@keyframes float {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(45deg) translateY(-10px);
    /* Moves arrow up by 10px */
  }
}

/* Hover effect: enlarge arrow and apply hover transformations */
.down:hover {
  transform: rotate(45deg) scale(1.2);
  /* Enlarge the arrow while keeping the rotation */
  -webkit-transform: rotate(45deg) scale(1.2);
  filter: brightness(1.5);
  /* Brighten the arrow when hovered */
}

@media (max-width: 900px) {
  .section-header h1 {
    font-size: 4.4em;
    letter-spacing: 0.10em;
  }

  .section-header h2 {
    font-size: 1.6em;
    letter-spacing: 0.05em;
  }
}


.snow {
  background-color: var(--snow);
  color: black;
}

.salmon {
  background-color: var(--salmon);
}

.bread {
  background-color: var(--bread);
  color: black;
}

.grass {
  background-color: var(--grass);
}

.sea {
  background-color: var(--sea);
}

.sand {
  background-color: var(--sand);
  color: black;
}

.wood {
  background-color: var(--wood);
}

.honey {
  background-color: var(--honey);
}

.tree {
  background-color: var(--tree);
}

.sky {
  background-color: var(--sky);
}
