@font-face {
    font-family: 'Mandala Saturday';
    src: url('../font/Mandala Saturday.otf');
}

@font-face {
    font-family: 'Baby Doll';
    src: url('../font/Baby Doll.otf');
}

* {
    padding: 0;
    margin: 0;
}

html {
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    text-align: center;
    margin-top: 24px;
}

body {
    background: linear-gradient(0deg, rgba(167,167,167,1) 0%, rgba(255,255,255,1) 100%);
    background-color: rgba(167,167,167,1);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

h1 {
    font-family: 'Mandala Saturday';
    font-size: 8em;
    font-weight: lighter;
    color: #000;
    margin-top: 50px;
}

h2 {
    font-family: 'Mandala Saturday';
    font-size: 5em;
    font-weight: lighter;
    color: #000;
    margin-bottom: 20px;
    margin-top: 100px;
}

.parallax {
    position: fixed;
    top: 0;
    width: 100%;
    min-width: 250px;
    max-width: 200px;
    height: 100%;
    z-index: -1;
}

.parallax-left-1 {
    left: 5%;
}

.parallax-right-1 {
    right: 0;
    top: 15%;
}

.parallax-left-2 {
    left: 0%;
    top: 60%;
}

.parallax-right-2 {
    right: 5%;
    top: 62%;
}

.parallax img {
    width: 100%;
    height: auto;
    max-width: 300px;
    z-index: -1;
}

.emilio {
    margin-top: 20px;
    border-radius: 50%;
    width: 250px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

p {
    font-family: 'Baby Doll';
    font-size: 2em;
    font-weight: lighter;
    width: 400px;
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
}

span {
    font-family: 'Baby Doll';
    font-size: 1.3em;
    font-weight: lighter;
    width: 250px;
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
}

video {
    display: block;
    max-width: 50%;
    margin: 0 auto;
    margin-top: 275px;
    height: auto;
    border-radius: 16px;
}

iframe {
    display: block;
    width: 50%;
    margin: 0 auto;
    margin-top: 275px;
    height: 33.5rem;
    border-radius: 16px;
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
}

.button {
    font-family: 'Baby Doll';
    font-size: 1.5em;
    font-weight: lighter;
    background-color: #9658a0;
    color: #fff;
    padding: 10px 20px;
    margin-left: 32px;
    margin-right: 32px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
    transition: 0.2s;
}

.button:hover {
    background-color: #844c8b;
    transition: 0.2s;
}

.subs {
    font-family: 'Baby Doll';
    font-size: 1.5em;
    font-weight: lighter;
    margin-top: 20px;
}

.link {
    display: block;
    flex-direction: column
}

#youtubeSubs, #twitchSubs {
    font-size: 1.8rem;
}

#emote-container {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.emote {
    position: absolute;
    width: 35px;
    bottom: 0;
    animation: float 20s linear infinite;
    opacity: 0;
}

@keyframes float {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-90vh);
        opacity: 0;
    }
}

@media (max-width: 1500px) {
    iframe {
        max-width: 65%;
        height: 28rem;
    }
}

@media (max-width: 1200px) {
    iframe {
        width: 65%;
        height: 24rem;
    }
}

@media (max-width: 800px) {
    .parallax img {
        width: 75%;
    }

    .parallax-left-1 {
        left: -18%;
    }

    .parallax-left-2 {
        left: -14%;
    }

    .parallax-right-1 {
        top: 30%;
        right: -20%;
    }

    .parallax-right-2 {
        top: 90%;
        right: -20%;
    }

    h1 {
        font-size: 6em;
    }

    h2 {
        font-size: 4em;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
        width: 100%;
    }

    .button {
        width: 150px;
    }

    video {
        margin-top: 75px;
        max-width: 85%;
    }

    iframe {
        margin-top: 75px;
        width: 75%;
        height: 20rem;
    }
}

@media (max-width: 700px) {
    iframe {
        max-width: 65%;
        height: 16rem;
    }
}

@media (max-width: 500px) {
    .parallax img {
        width: 75%;
    }

    .parallax-left-1 {
        left: -32%;
    }

    .parallax-left-2 {
        left: -30%;
    }

    .parallax-right-1 {
        top: 30%;
        right: -34%;
    }

    .parallax-right-2 {
        top: 90%;
        right: -32%;
    }

    h1 {
        font-size: 5em;
    }

    h2 {
        font-size: 3em;
    }

    .emilio {
        width: 175px;
    }

    p {
        font-size: 1.5em;
        width: 250px;
    }

    iframe {
        height: 8rem;
    }
}