@font-face {
    font-family: "Maven Pro";
    src: url("../fonts/Maven Pro/MavenPro-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "PT Root UI Regular";
    src: url("../fonts/PT Root UI/PT Root UI_Regular.otf") format("opentype");
}

@font-face {
    font-family: "PT Root UI Medium";
    src: url("../fonts/PT Root UI/PT Root UI_Medium.otf") format("opentype");
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../img/bg-desktop-left.svg), url(../img/bg-desktop-right.svg);
    background-repeat: no-repeat, no-repeat;
    background-size: 40%, 80%;
    background-position: -20% bottom, 210% center;
}

.wrapper {
    display: flex;
    align-items: center;
    width: 80%;
}

.dots {
    background: url(../img/spinner.gif) no-repeat;
    background-size: contain;
    width: 3.3rem;
    height: 1rem;
    margin-bottom: 2rem;
}

.heading {
    color: #a771ff;
    font-size: 3rem;
    font-family: Maven Pro, sans-serif;
    font-weight: 600;
    margin-bottom: 3rem;
}

.text-wrapper {
    width: 40%;
    font-family: "PT Root UI Medium", sans-serif;
    line-height: 1.7rem;
    font-size: 1rem;
}

.text-wrapper .subtext {
    font-family: "PT Root UI Regular", sans-serif;
    font-size: 0.9rem;
}

.text-wrapper .subtext.first {
    margin-top: 1.3rem;
    margin-bottom: 0.6rem;
}

.text-wrapper .subtext.last {
    margin-bottom: 1.9rem;
}

.img-wrapper {
    width: 60%;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
}

@media (max-width: 576px) {
    body {
        background-image: url(../img/bg-mobile.svg);
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: center bottom;
    }

    .wrapper {
        flex-direction: column;
        width: 100%;
    }

    .text-wrapper {
        width: 80%;
        margin-bottom: 2rem;
    }

    .img-wrapper {
        width: 95%;
    }
}