/* Define root colors */
:root {
    --darkdef: #242623; /* Bootstrap primary color */
    --darkerdef: #20221F; /* Bootstrap secondary color */
    --orange: #F37B3F; /* Bootstrap success color */
    --hoverorange: #d68962;
    --lighter: #f1f1f1;
  }

  html {
    overflow-x: hidden;
  }
  body {
    background-color: var(--darkdef) !important;
    color: var(--lighter) !important;
    overflow-x: hidden !important;
  }

  body.modal-open{
    padding-right: 0px !important;
  }

  /* fonts  */
  .tinos-regular {
    font-family: "Tinos", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .tinos-bold {
    font-family: "Tinos", serif;
    font-weight: 800;
    font-style: normal;
  }

  /* backgrounds */
 .bg-darkdef {
    background-color: var(--darkdef) !important;
  }
  .bg-green {
    background-color: green !important;
  }
  .bg-darkerdef {
    background-color: var(--darkerdef) !important;
  }
  .bg-orange {
    background-color: var(--orange);
  }
  .bg-lighter {
    background-color: var(--lighter);
  }
.bg-darkdef-50 {
  background-color: rgba(36, 38, 35, 0.90); /* #242623 with 50% opacity */
}

.bg-darkerdef-50 {
  background-color: rgba(32, 34, 31, 0.90); /* #20221F with 50% opacity */
}


  .color-orange {
    color: var(--orange) !important;
  }
  .color-lighter {
    color: var(--lighter) !important;
  }
  .color-hover-orange {
    color: var(--hoverorange);
  }

 .border-orange {
  border-color: var(--orange);
 }


/* typology */

  h1, h2, h3 {
    color: var(--lighter) !important;
    font-family: "Tinos", serif;
    font-weight: 700;
    font-style: normal;
  }

  h4, h5, h6 {
    color: var(--lighter) !important;
  }

  p {
    color: var(--lighter) !important;
  }


  .hover-orange:hover, a:hover, a:active {
    color: var(--hoverorange) !important;
    border-color: var(--hoverorange) !important; /* For elements with borders */
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  }
  .active {
    color: var(--hoverorange) !important;
  }

/* buttons */

.custom-orange-btn {
  border-color: var(--orange) !important;
  color: var(--lighter) !important;
  border-width: 2px;

}

.custom-orange-btn:hover {
  background-color: var(--orange) !important;
  color: var(--whiter) !important;
  border-color: var(--orange);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;

}


.form-control:focus {
  border-color: #DC946A !important;
  box-shadow: 0 0 .10rem .1rem rgb(220, 148, 106)!important;
}
.form-check-input:focus {
  border-color: #DC946A !important;
  box-shadow: 0 0 .01rem .01rem rgb(220, 148, 106)!important;
}

.form-check-input:checked {
  border-color: #DC946A !important;
  background-color: #DC946A !important;
}
.form-select:focus {
  border-color: #DC946A !important;
  box-shadow: 0 0 .10rem .1rem rgb(220, 148, 106)!important;
}

 
  
  .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .btn-primary:hover {
    background-color: #0056b3; /* Darken the primary color on hover */
    border-color: #0056b3; /* Darken the border color on hover */
  }

.accordion, .accordion-body, .accordion-button, .accordion-item {
  background-color: var(--darkerdef) !important;
  color: var(--lighter) !important;
}
.accordion-button:active {
  color: var(--hoverorange) !important;
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='orange'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.accordion-button:is(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.accordion-button:focus {
  box-shadow: none !important;
}

/* ANIMATIONS */
.bounce {
  animation: bounce 2.5s infinite;
}
@keyframes bounce {
  0% { transform: translateY(0); }         /* Start on ground */
  12.5% { transform: translateY(-80%); }  /* Peak of first bounce */
  25% { transform: translateY(0); }        /* Impact on ground */
  37.5% { transform: translateY(-40%); }   /* Peak of second bounce (50% of initial) */
  50% { transform: translateY(0); }        /* Impact on ground */
  62.5% { transform: translateY(-20%); }   /* Peak of third bounce (25% of initial) */
  75% { transform: translateY(0); }        /* Impact on ground */
  87.5% { transform: translateY(-8%); }   /* Final small bounce peak */
  100% { transform: translateY(0); }       /* Settle on ground */
}

.slide-in-child {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-child.show {
  opacity: 1;
  transform: translateX(0);
}


.flip {
  height: 300px;
  width: 300px;
  margin: 10px;
  float: left;
  text-align: center;
  /*background-color: yellow;*/
}

  .flip img {
      width: 300px;
      height: auto;
  }

  .flip .back {
      width: 300px;
      height: 300px;
      margin: 0 auto;
      color: #fff;
      display: block;
      text-align: center;
  }
      .flip .back p {
          text-align: center;
          padding-top: 20px; 
      
      }
      .expandonhover {
        width: 75%; /* Initial max width */
        transition: width 0.5s ease;
      }
      
      .expandonhover:hover {
        width: 77%; /* Expands within the allocated space */
      }

      .shake-vertical:hover{animation:shake-vertical 0.8s linear both} @keyframes shake-vertical{0%,100%{transform:translateY(0)}10%,30%,50%,70%{transform:translateY(-8px)}20%,40%,60%{transform:translateY(8px)}80%{transform:translateY(6.4px)}90%{transform:translateY(-6.4px)}}


      .rain {
        display: inline-block;
        font-size: 2rem;
        animation: oscillate 0.6s ease-in-out infinite;
    }
    
    @keyframes oscillate {
        0% { transform: rotate(-15deg); }
        50% { transform: rotate(15deg); }
        100% { transform: rotate(-15deg); }
    }

/* ANIMATIONS END */


/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/
