/* Base colors */
/* #41403C */
/* #315865 */
/* #B7D2D4 */
/* #ACD8E0 */
/* #D08856 */


/* Highlight word */
.highlight-word {
  color: #D08856;
  font-weight: bold; 
  position: relative;
}

/* Last section */
.prevent-phone-format {
  /* Prevent automatic phone number formatting on iOS */
  -ms-format-detection: none;
  /* Prevent highlighting the element as a phone number on some Android devices */
  touch-action: manipulation;
}

.section-bottom {
    margin-bottom: 60px;
    color:inherit;
    text-decoration:inherit;
    font-size:inherit;
    font-style:inherit;
    font-weight:inherit;
}

/* Hoover underline animation */

.hover-underline-animation {
    display: inline-block;
    position: relative;

}

.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #D08856;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Redo Button */
.center-white-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.undo-arrow path {
    fill: #41403C;
}

/* Info Icon and text on same row */
.align-text-and-icon {
    display: flex;       /* Establishes this div as a flex container */
    align-items: center; /* Vertically centers the items in the container */
    justify-content: flex-start; /* Aligns items to the start of the container */
    gap: 10px;           /* Optional: adds space between the icon and the text */
  }

/* Slider Styles */
.container-slider {
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 200px;
}

.range {
  max-width: 100%;
  margin-top: 30px;
}

.range__slider {
  width: 100%;
  max-width: 100%;
}

.range__value {
  width: 35%;
  margin-bottom: 15px;    
  text-align: center;
  border-bottom: #e6e4e4 1px solid;
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  flex-direction: column; 
  justify-content: center;
}

.form-group label {
  text-transform: uppercase;
  font-size: .7rem;
  color: #999;
  margin-bottom: 5px;
}

.form-group span {
  font-size: 2rem;
  font-weight: 600;
  color: #3c3b3b;
}

.range__slider label {
  margin-bottom: 10px;
}

.range__slider [type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 13px;
  border-radius: 6px;
  background: #f1f1f1;
  outline: none;
  padding: 0;
  margin: 0;
}

/* custom thumb */
.range__slider [type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #D08856;
  border: #D08856 5px solid;
  cursor: pointer;
  -webkit-transition: background .15s ease-in-out;
  transition: background .15s ease-in-out;
}

.range__slider [type="range"]::-webkit-slider-thumb:hover {
  background: #D08856;
}

.range__slider [type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #D08856;
  border: #D08856 5px solid; cursor: pointer;
  -webkit-transition: background .15s ease-in-out;
  transition: background .15s ease-in-out;
}

.range__slider [type="range"]::-moz-range-thumb:hover {
  background: #D08856;
}

/* remove border */
input::-moz-focus-inner, input::-moz-focus-outer {
  border: 0;
}

/* Footer Styles */
.footer {
    background-color: #41403C;
    color: white;
    text-align: left;
    padding: 20px 0;
}

.footer .footer-content {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.footer .footer-section {
    flex: 1;
    padding: 10px;
}

.footer .footer-section h3 {
    margin-bottom: 15px;
}

.footer .footer-section ul,
.footer .footer-section p {
    list-style: none;
    line-height: 1.6;
}

.footer .footer-section ul li {
    margin-bottom: 10px;
}

.footer .footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer .footer-section ul li img {
    width: 15px;
    margin-right: 5px;
    vertical-align: middle;
}

.footer-bottom {
    color: #777;
    text-align: center;
    padding: 10px 20px;
}

/* Responsive Design for the Footer */
@media (max-width: 768px) {
    .footer .footer-content {
        flex-direction: column;
    }
}

/* Info icon */
.gg-info {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 20px;
    height: 20px;
    border: 2px solid;
    border-radius: 40px
}
.gg-info::after,
.gg-info::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 2px;
    background: currentColor;
    left: 7px
}
.gg-info::after {
    bottom: 2px;
    height: 8px
}
.gg-info::before {
    height: 2px;
    top: 2px
}

/* Hoover Pop Up */
.hover-container {
    position: relative;
}

.hover-target {
    position: relative;
    font-size: 2rem;
}

.hover-popup {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 70%;
    left: 5%;
    width: 50ch;
    margin: min(1rem, 20px);
    font-size: .8rem;
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5em;
    z-index: 42;
    transform: scale(0);
    transition: transform 200ms ease;
    transform-origin: 8% -10px;
}

.hover-target:hover + .hover-popup,
.hover-target:focus + .hover-popup,
.hover-popup:hover{
    transform: scale(1);
}

.hover-popup :not(:first-child) {
    margin-top: 1rem;
}

.hover-popup span {
    color: rgb(200, 20, 0);
    font-weight: 700;
}

.hover-popup::before {
/* This is the triangle/arrow */
    content: '';
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
    top: -10px;
}

.hover-popup::after {
/* This is merely here to expand the hoverable area, as a buffer between the "Hover me" text and the popup. */
    content: '';
    position: absolute;
    top: -1rem;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
*,
::before,
::after {
    animation-delay: -1ms !important;
    animation-duration: -1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}