@font-face {
    font-family: "ReadyClouded-Regular";
    src:
        url("../fontes/ReadyClouded-Regular.woff") format("woff");
    font-weight: 400;
}

@keyframes rotationY {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1;
}

h1 {
    animation-name: rotationY;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    font-family: 'ReadyClouded-Regular';
    font-weight: 400;
    font-size: 40vh;
    text-align: center;
    line-height: 0.8;
    overflow: visible;
    padding: .1em;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: black;
    color: white;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    h1 {
        font-size: 20vw;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
    h1 {
        font-size: 20vw;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}