@font-face {
    font-family: 'MyFont';
    src: url('../assets/fonts/EditorialNew-Regular.woff2') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MyFontBold';
    src: url('../assets/fonts/PP\ Editorial\ New\ Ultrabold.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


/* cover bg vidioYT index  */
#player_yt {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 177.77vh;
    /* 100vh * (16 / 9) */
    height: 100vh;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    opacity: 55%;
}

@media (min-aspect-ratio: 16/9) {
    #player_yt {
        width: 100vw;
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    #player_yt {
        width: 177.77vh;
        height: 100vh;
    }
}

#player {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shake-button:hover {
    animation: cool-shake 0.6s ease-in-out;
}

@keyframes cool-shake {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    10% {
        transform: translate(-2px, -2px) rotate(-2deg);
    }

    20% {
        transform: translate(3px, 2px) rotate(2deg);
    }

    30% {
        transform: translate(-3px, 0) rotate(-1deg);
    }

    40% {
        transform: translate(2px, 2px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, -1px) rotate(-1deg);
    }

    60% {
        transform: translate(2px, 1px) rotate(1deg);
    }

    70% {
        transform: translate(-2px, 2px) rotate(0deg);
    }

    80% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}