@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");

:root {
  --header-height: 60px;
  --color-red: rgb(201, 92, 92);
  --color-green: rgb(2, 42, 34);
}

* {
  font-family: "Poppins", "Inter", system-ui, -apple-system;
}

body {
  background-color: var(--bs-light);
  display: flex;
  flex-direction: column;
  height: 100vh;
  font-weight: 500;
}

main {
  /* min-height: calc(100vh - var(--header-height) - var(--footer-height)); */
  flex: 1;
}

button * {
  pointer-events: none;
}

a {
  cursor: pointer;
}

/* * 
* Loading CSS
* */

#loader {
  transition: all 0.5s ease-in-out;
}

.lds-spinner {
  scale: 1.25;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-spinner ~ h3 {
  animation: LoadingText 1.5s alternate forwards infinite ease-in-out;
}

@keyframes LoadingText {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.25;
  }
}

.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #000000;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* *
* SCROLLBAR STYLES
* */

main *::-webkit-scrollbar-track {
  border-radius: 20px;
  background-color: #e3e3e3;
}

main *::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

main *::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background-color: #bebebe;
}

:is(a, button)[class^="btn-seleccionar-"] {
  text-decoration: none;
  font-weight: bold;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  padding: 5px 30px;
  border-radius: 10px;
  border: 2px solid #898c8d;
  transition: all 0.3s ease-in-out;
}

:is(a, button)[class^="btn-seleccionar-"]:hover {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

.max-content {
  width: max-content;
}

.form-control, .form-select {
  border-radius: 0;
}

.n-persones-escollir{
  width:70px;
  display: inline-block;
}

.btn-red {
  color: rgb(255, 255, 255) ;
  font-weight: bold ;
  background-color: var(--color-red) ;
  padding: 10px 30px 10px 30px ;
  border-radius: 10px ;
  margin-right:10px;
  margin-left:10px;
  border: none;
}

.btn-flat{
  padding: 6px 60px 6px 60px !important;
}

.btn-red:hover {
  background-color: rgb(233, 83, 98) !important ;
  /* color: rgb(0, 0, 0) !important; */
  border: none !important;
}

.btn-white {  
  font-weight: bold ;
  border: 1px solid var(--bs-body-color);
  background-color: white;
  padding: 10px 30px 10px 30px;  
  border-radius: 10px ;
  margin-right:10px;
  margin-left:10px;
}

.btn-white:hover {
  color: var(--color-red) !important;
  border: 1px solid var(--color-red) !important;
}