/* ------------------------------------------- */
/* ----------------- General ----------------- */
html {
    color: var(--clr-white);
    background-color: black;
    background-image: url('/public/images/background.jpg?v=2');
    background-size: cover;
}

body {
    margin: 0;
    padding: 0 7.5rem;
}


/* ------------------------------------------ */
/* ----------------- Styles ----------------- */


/* ----------------- Header ----------------- */
header {
    margin: 0;
    padding: 7.5rem 0 9.3rem 0;
}

header .links {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 6rem;
    z-index: 60;
}

header .links a {
    color: var(--clr-white);
    text-decoration: underline;
}

header .links .item {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
}



/* ----------------- Body ----------------- */

.main {
    position: relative;
}

.content {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
}

.content .left {
    position: relative;
    margin-left: 9.9rem;
    margin-right: 9.9rem;
    width: 36.4rem;
    height: 73.3rem;
    overflow-y: visible;
}

.content .ribon {
    position: absolute;
    top: -116rem;
    left: 50%;
    transform: translateX(-50%);
    height: 200rem;
    width: 3.5rem;
    background-image: url("/public/images/image-ribon.png?v=2");
    background-size: 100% auto;
}

.content .mobileImage {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url("/public/images/image-preview.png?v=2");
}

.content .right {
    text-align: left;
}

.content .right.end {
    margin-bottom: 40rem;
}

.content .right h1 {
    margin: 0 0 3rem 0;
    font-family: 'Fishmonger Radegast', sans-serif;
    font-size: 7.5rem;
}

.content .right .text {
    color: var(--clr-text);
    font-size: 3.8rem;
    line-height: 4.9rem;
}

.content .right .text.smaller {
    font-size: 3.1rem;
    line-height: 4.9rem;
}

.content .right .note {
    margin-top: 10.0rem;
    margin-bottom: 2.6rem;
    font-family: 'Roboto', sans-serif;
    color: var(--clr-text);
    font-size: 1.4rem;
    line-height: 2.2rem;
}

.content .right .note a {
    text-decoration: underline;
}

.content .right .socialLinks {
    display: flex;
    margin-top: 6.9rem;
    margin-bottom: -3.0rem;
    width: fit-content;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 2.6rem;
}

.content .right .socialLinks .item {
    width: 16.2rem;
    height: 4.7rem;
}

.content .right .socialLinks .item.apple {
    background-image: url("/public/images/icon-appstore.svg?v=2");
}

.content .right .socialLinks .item.android {
    background-image: url("/public/images/icon-google.svg?v=2");
}

.contactTable td {
    padding: 1.2rem 3.0rem;
    vertical-align: top;
}


/* ----------------- Footer ----------------- */
footer {
    margin: 0;
    padding: 9.4rem 0 7.5rem 0;
}

footer .credits {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

footer .credits .item {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
}

footer .credits .item .napivosrozumem {
    height: 4.0rem;
    width: 24.0rem;
    background-image: url("/public/images/napivosrozumem.svg");
}

footer .credits .item .year {
    color: #3A3A3A
}

footer .credits .item .company {
    color: #717171
}


/* ----------------------------------------- */
/* ----------------- Media ----------------- */

/* ----------------- Tablet ----------------- */
@media only screen and (max-width: 1400px) {
    body {
        padding: 0 8rem;
    }


    /* -- Header -- */
    header {
        padding: 8rem 0 10rem 0;
    }

    header .links {
        gap: 6rem;
    }

    header .links .item {
        font-size: 1.5rem;
    }


    /*-- Body -- */

    .content .left {
        margin-left: 3.0rem;
        margin-right: 5.9rem;
        min-width: 29.5rem;
        height: 65.4rem;
    }

    .content .ribon {
        top: -120rem;
    }

    .content .right.end {
        margin-bottom: 30rem;
    }

    .content .right h1 {
        margin: 3.2rem 0 4.0rem 0;
        font-size: 6.0rem;
        line-height: 7.0rem
    }

    .content .right .text {
        font-size: 2.2rem;
        line-height: 2.8rem;
    }

    .content .right .text.smaller {
        font-size: 1.9rem;
        line-height: 2.6rem;
    }

    .content .right .note {
        margin-top: 9.4rem;
        margin-bottom: 5.4rem;
        font-size: 1.2rem;
        line-height: 2rem;
    }

    .content .right .socialLinks {
        margin-top: 6rem;
        margin-bottom: -3rem;
        gap: 2.6rem;
    }

    .content .right .socialLinks .item {
        width: 16.2rem;
        height: 4.7rem;
    }


    /* -- Footer -- */
    footer {
        padding: 10rem 0 8rem 0;
    }

    footer .credits .item {
        font-size: 1.5rem;
    }
}


/* ----------------- Mobile ----------------- */
@media only screen and (max-width: 650px) {
    body {
        margin: 0;
        padding: 0 4rem;
    }


    /* -- Header -- */
    header {
        padding: 4rem 0 6rem 0;
    }

    header .links {
        justify-content: flex-end;
        gap: 4rem;
    }

    header .links .item {
        font-size: 1.5rem;
    }



    /* -- Body -- */

    body {
        padding: 0 2.0rem;
    }

    .main {

    }

    .content {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column-reverse;
    }

    .content * {
        position: relative;
        text-align: center;
    }

    .content .left {
        margin: 0 auto 0 auto;
        width: 60%;
        height: 42.4rem;
    }

    .content .ribon {
        position: absolute;
        top: -66.6rem;
        left: 50%;
        transform: translateX(-50%);
        height: 115rem;
        width: 2.0rem;
        background-image: url("/public/images/image-ribon.png?v=2");
        background-size: 100% auto;
    }

    .content .right {
        width: 100%;
        text-align: center;
    }
    
    .content .right.end {
        margin-bottom: 6rem;
    }

    .content .right h1 {
        margin: 2.0rem 0 3rem 0;
        font-size: 2.7rem;
        line-height: 3.4rem;
    }

    .content .right .text {
        font-size: 1.6rem;
        line-height: 2rem;
    }

    .content .right .text.smaller {
        font-size: 1.4rem;
        line-height: 2rem;
    }

    .content .right .note {
        margin-top: 4.2rem;
        font-size: 1.0rem;
        line-height: 1.6rem;
    }

    .content .right .socialLinks {
        margin-top: 4.2rem;
        margin-bottom: 2.5rem;
        width: 100%;
        justify-content: center;
        gap: 2rem;
    }

    .content .right .socialLinks .item {
        width: 14.2rem;
        height: 4.1rem;
    }

    .content .right .socialLinks .item.apple {
        background-image: url("/public/images/icon-appstore.svg?v=2");
    }

    .content .right .socialLinks .item.android {
        background-image: url("/public/images/icon-google.svg?v=2");
    }


    /* -- Footer -- */
    footer {
        padding: 9rem 0 2rem 0;
    }

    footer * {
        position: relative;
    }

    footer .credits {
        display: flex;
        margin-bottom: 1.6rem;
        margin-top: -1.6rem;
        flex-direction: column;
        gap: 1.6rem;
    }

    footer .credits .item {
        font-size: 1.4rem;
    }

    footer .credits .item .napivosrozumem {
        height: 3.0rem;
    }

    
}


/* --------------------------------------------- */
/* ----------------- Documents ----------------- */
.document {
    font-size: 2rem;
}

.document .h1 {
    font-size: 3.5rem;
    text-decoration: underline;
    font-weight: bold;
}

.document a {
    text-decoration: underline;
}


.topNavigator {
    position: absolute;
    top: 6.9rem;
    margin: 0 0 0 0;
    text-align: left;
}

.topNavigator .mainPage {
    font-size: 1.5rem;
    text-decoration: underline;
}

.bottomNavigator {
    margin-top: 9.4rem;
}

.bottomNavigator .mainPage {
    font-size: 2.5rem;
    text-decoration: underline;
}


@media only screen and (max-width: 1400px) {
    .document {
        font-size: 1.5rem;
    }

    .document .h1 {
        font-size: 3rem;
    }

    .topNavigator {
        top: 7.6rem;
    }

    .bottomNavigator {
        margin-top: 10rem;
    }

    .bottomNavigator .mainPage {
        font-size: 2rem;
        text-decoration: underline;
    }
}

@media only screen and (max-width: 650px) {
    .document {
        font-size: 1.7rem;
    }

    .document .h1 {
        font-size: 3rem;
    }

    .topNavigator {
        top: 3.5rem;
    }

    .topNavigator .mainPage {
        color: #979797;
    }

    .bottomNavigator {
        margin-top: 8rem;
    }

    .bottomNavigator .mainPage {
        font-size: 2.2rem;
        text-decoration: underline;
    }
}


/* ---------------------------------------- */
/* ----------------- TEMP ----------------- */

.temp {
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}

.temp h1 {
    font-size: 6.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.temp h2 {
    font-size: 3rem;
    font-weight: 500;
}

@media only screen and (max-width: 1400px) {
    .temp h1 {
        font-size: 6rem;
    }

    .temp h2 {
        font-size: 2.5rem;
    }
}

@media only screen and (max-width: 650px) {
    .temp {
        width: 100%;
    }

    .temp h1 {
        font-size: 4rem;
    }

    .temp h2 {
        font-size: 1.7rem;
    }
}
