@import url('../css/button/styleButton.css');

:root {
  --primary: #00b4e8;
  --secondary: #01566b;
  --tertiary: #26d0f4;
  --fourth: #4b4a4a;
  --btn-color: #00b4e8;
  --title: #1a1919;
  --text: #141414;
  --btn-hover-color: #0e98be;
  --btn-border-color: #045a72;
}

body {
  overflow-x: hidden;

}

/* Estilos para el scrollbar */
::-webkit-scrollbar {
  width: 12px;
  /* Ancho de la barra de desplazamiento */
}

/* Handle del scrollbar */
::-webkit-scrollbar-thumb {
  background: var(--btn-hover-color);
  /* Color del handle */
  border-radius: 6px;
  /* Bordes redondeados */
}


.scroolbarSubBlock::-webkit-scrollbar {
  width: 6px;
  /* Ancho de la barra de desplazamiento */

}

.scroolbarSubBlock::-webkit-scrollbar-thumb {
  background: var(--btn-hover-color);
  /* Nuevo color del handle */
  border-radius: 8px;
  /* Bordes redondeados */
}

.scroolbarSubBlock::-webkit-scrollbar-track {
  background: var(--btn-color);
  /* Color de fondo de la barra de desplazamiento */
  border-radius: 8px;
  /* Bordes redondeados */

}

.mobileMenuScrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.5) rgba(255, 255, 255, 0.15);
}

.mobileMenuScrollbar::-webkit-scrollbar {
  width: 6px;
}

.mobileMenuScrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.mobileMenuScrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.65) 100%);
  border-radius: 999px;
}

.mobileMenuScrollbar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.62) 0%, rgba(15, 23, 42, 0.78) 100%);
}

/* ***************************************************************************************************************** */

/* estilo de gallery masonry */

.my-masonry-grid {
  display: -webkit-box;
  /* Not needed if autoprefixing */
  display: -ms-flexbox;
  /* Not needed if autoprefixing */
  display: flex;
  justify-content: center;
  margin-left: -30px;
  /* gutter size offset */
  width: auto;
}

.my-masonry-grid_column {
  padding-left: 30px;
  /* gutter size */
  background-clip: padding-box;
}

/* Style your items */
.my-masonry-grid_column>div {
  /* change div to reference your elements you put in <Masonry> */
  background: grey;
  margin-bottom: 20px;
}

/* ***************************************************************************************************************** */


.bg3 {
  background: rgb(251, 205, 5);
  background: linear-gradient(333deg, rgba(251, 205, 5, 1) 27%, rgba(255, 227, 104, 1) 100%);
}

.bg4 {
  background: rgb(252, 223, 93);
  background: linear-gradient(217deg, rgba(252, 223, 93, 1) 14%, rgba(255, 218, 58, 1) 37%, rgba(251, 205, 5, 1) 55%, rgba(235, 193, 15, 1) 79%);
}

.bg5 {
  background: rgb(120, 120, 120);
  background: linear-gradient(53deg, rgba(120, 120, 120, 1) 12%, rgba(159, 159, 159, 1) 32%, rgba(189, 189, 189, 1) 50%, rgba(159, 159, 159, 1) 64%, rgba(120, 120, 120, 1) 85%);
}

/* Line clamp utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hide scrollbar */
.flex {
    scrollbar-width: none;
}
.flex::-webkit-scrollbar {
    display: none;
}


/* Animación de apertura: Efecto "Despliegue desde el centro" */
@keyframes panelOpen {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateX(10deg) translateY(30px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg) translateY(0);
        filter: blur(0);
    }
}

.animate-panel-open {
    animation: panelOpen 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Ocultar la barra de scroll fea */
.custom-scrollbar::-webkit-scrollbar {
    width: 0px;  /* Oculta el scroll en Chrome/Safari */
}
.custom-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}