.customScrollbar::-webkit-scrollbar {
    width: 5px;
}

.customScrollbar::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.customScrollbar::-webkit-scrollbar-thumb {
    background: #4797ff;
    border-radius: 5px;
}

/* Handle al hacer hover */
.customScrollbar::-webkit-scrollbar-thumb:hover {
    background: #3a7cd2;
}

.img-skewed {
    perspective: 1500px;
    transform-style: preserve-3d;
}

.img-skewed-end {
    perspective-origin: 100%;
}

.img-skewed-end .img-skewed-item {
    transform: rotateY(15deg) rotateX(15deg);
}

.codeContent {
    padding: 0.5rem 0.5rem 0 0.5rem;
}

.hero-json-panel {
    max-height: 495px;
    overflow: auto;
}

.codebox pre.hero-json {
    margin: 0;
    padding: 0.75rem 0.85rem;
    white-space: pre;
    overflow-x: auto;
    line-height: 1.65;
    font-size: 14px;
    background: transparent;
    border: 0;
}

.codebox pre.hero-json code {
    display: block;
    font-family: var(--font-mono, "JetBrains Mono", ui-monospace, Menlo, Monaco, Consolas, monospace);
}

.codebox .hljs-string-value {
    color: #24292f;
}

.floating-animation {
    animation-name: floatAnimation;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.colorWhite {
    color: white;
}

.hero-signup-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.hero-signup-row__badge {
    flex-shrink: 0;
}

.hero-signup-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 212px;
    min-height: 48px;
    padding: 0 20px;
    font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: #1a1a2e;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.hero-signup-btn:hover,
.hero-signup-btn:focus {
    color: #1a1a2e;
    text-decoration: none;
    background: #f8fbff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.hero-signup-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.hero-signup-btn__icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.hero-signup-btn--docs {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.hero-signup-btn--docs:hover,
.hero-signup-btn--docs:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}

@media (max-width: 720px) {
    .hero-signup-row,
    .centerInResponsive .hero-signup-row {
        justify-content: center;
    }

    .hero-signup-actions {
        justify-content: center;
        width: 100%;
    }

    .hero-signup-btn {
        width: 100%;
        max-width: 280px;
    }
}

.codeContainer {
    box-shadow: 25px 60px 125px -25px rgba(80, 102, 144, 0.1),
        16px 40px 75px -40px rgba(0, 0, 0, 0.2);
}

#plane {
    width: 50px;
    position: absolute;
    animation: fly 20s linear infinite;
    left: 0px;
    top: 100px;
    z-index: 9999;
}

/* PRE CODE */

.hljs-string {
    color: #df4759 !important;
}

.hljs-literal {
    color: #335eea;
}

.hljs {
    color: #335eea;
}

#text {
    max-width: 20px !important;
}

/* END PRE CODE */

@keyframes fly {
    0% {
        -webkit-transform: translate(0, 0) rotate(225deg);
        transform: translate(0, 0) rotate(225deg);
    }
    15% {
        -webkit-transform: translate(300px, 0) rotate(225deg);
        transform: translate(300px, 0) rotate(225deg);
    }
    30% {
        -webkit-transform: translate(360px, 40px) rotate(315deg);
        transform: translate(360px, 40px) rotate(315deg);
    }
    35% {
        -webkit-transform: translate(360px, 80px) rotate(315deg);
        transform: translate(360px, 80px) rotate(315deg);
    }
    45% {
        -webkit-transform: translate(300px, 120px) rotate(405deg);
        transform: translate(300px, 120px) rotate(405deg);
    }
    60% {
        -webkit-transform: translate(0, 100px) rotate(405deg);
        transform: translate(0, 100px) rotate(405deg);
    }
    75% {
        -webkit-transform: translate(-60px, 50px) rotate(495deg);
        transform: translate(-60px, 50px) rotate(495deg);
    }
    100% {
        -webkit-transform: translate(0, 0) rotate(585deg);
        transform: translate(0, 0) rotate(585deg);
    }
}

@keyframes floatAnimation {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    50% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    #plane {
        display: none;
    }

    .centerInResponsive {
        display: flex;
        justify-content: center;
        align-items: center !important;
        text-align: center;
    }

    .textCenter {
        text-align: center;
    }
}

@media (max-width: 1200px) {
    .heroContainer {
        flex-direction: column-reverse !important;
        padding-top: 7rem;
    }
    .navbarBackground {
        padding: 0 1rem !important;
    }
}
