html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    font-family: 'Lato', sans-serif;
}

body {
    background: url("./img/desktop_background.jpg") no-repeat center/cover fixed;
    text-align: center;
    padding: 60px 16px 0;
    box-sizing: border-box;
}

.left-side {
    width: 800px;
    flex-direction: column;
    justify-content: center;
    margin-right: 100px;
}

.right-side {
    flex-shrink: 1;
}

.container {
    display: flex;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    margin: auto;
}

@media (max-width: 1700px) {
    .container {
        zoom: 0.8;
    }
}
@media (max-width: 1300px) {
    .container {
        zoom: 0.7;
    }
    .left-side {
        margin-right: 0;
    }
}

.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 70%;
}

.text {
    text-align: center;
    color: #fff;
    margin-top: 45px;
    font-size: 41px;
}

.link-back {
    display: inline-block;
    background-color: #ffdd47;
    min-width: 200px;
    color: #000;
    text-decoration: none;
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 50px;
    font-size: 26px;
}
.over-link .sub-text {
    display: none;
}


@media all and (max-width: 1024px) {
    body {
        padding-top: 30px;
    }
    .container {
        flex-direction: column;
        padding-bottom: 130px;
        position: relative;
        zoom: 1;
        justify-content: flex-start;
        box-sizing: border-box;
    }

    .left-side {
        width: 100%;
    }

    .right-side img {
        max-width: 100%;
        margin-top: 20px;
    }

    .text {
        margin-top: 18px;
        font-size: 18px;
    }

    .over-link {
        position: absolute;
        bottom: 40px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .over-link .sub-text {
        display: block;
        font-size: 14px;
        padding-bottom: 20px;
        margin-top: 8px;
    }

    .link-back {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        right: 0;
        max-width: 300px;
        font-size: 14px;
        padding: 16px 8px;
        border-radius: 16px;
    }
    .logo {
        max-width: 40%;
        margin-bottom: 30px;
    }
    .over-img .sub-text {
        display: none;
    }
}
@media all and (max-width: 320px) {
    .text {
        font-size: 14px;
    }
}

.sub-text {
    position: absolute;
    font-size: 18px;
    line-height: 24px;
    top: 100%;
    margin-top: 30px;
    text-shadow: 3px 2px 3px black;
}

.over-img {
    position: relative;
}
