.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;
}

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

.colorWhite {
    color: white;
}

.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;
    }
}
