@tailwind base;
@tailwind components;
@tailwind utilities;

html {
  font-size: 16px;
  /* word-break: break-word; */
  position: relative;
  min-height: 100%;
  @apply font-poppins;
}

.bg-hero {
  background-image: url("../img/hero-home.jpg");
}

.bg-ozypro {
  background-image: url("../img/bg-ozypro.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.post::after {
  content: "⯆";
}

/* Inicio Loader */
.loading {
    height: 0;
    width: 0;
    padding: 15px;
    border: 6px solid #ccc;
    border-right-color: #888;
    border-radius: 22px;
    -webkit-animation: rotation 1s infinite linear;
    /* left, top and position just for the demo! */
    position: absolute;
    left: 50%;
    top: 50%;
}

#globalLoader {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,0.6);
    z-index: 999999;
}

@-webkit-keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Fin Loader */

.activeMenu {
    @apply rounded-3xl bg-dark-orange p-2 -my-2;
}

/* Inicio Scroll */
.imgContainer::-webkit-scrollbar {
    @apply w-1;
}

.imgContainer::-webkit-scrollbar-track {
    @apply bg-table-gray rounded-full;
}

.imgContainer::-webkit-scrollbar-thumb {
    @apply bg-light-blue rounded-full;
}

.imgContainer::-webkit-scrollbar-thumb:hover {
    @apply bg-secondary-light-blue;
}
/* Fin Scroll */

.modalImg-content {
    animation-name: zoom;
    animation-duration: 0.2s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}