/**
 * General
 */

.content {
    max-height: calc(100% - 140px);
    overflow: hidden;
}

@media (max-width: 800px) {
    .content {
        overflow-x: hidden;
        overflow-y: auto;
    }
}

@media (max-width: 800px) and (orientation: landscape) {
    .content {
        max-height: calc(100% - 80px);
    }
}

/**
 * Background Image
 */

.home-background-img {
    width: 100%;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.home-background-img img {
    width: 100%;
    height: auto;
}

/**
 * Containers
 */

.big-screen-container {
    position: relative;
    bottom: 0px;
}

.home-container .row,
.big-screen-container .row {
    display: flex;
    justify-content: space-between;
    max-width: 1280px;
    flex-wrap: nowrap;
}
 
.home-container .col-sm,
.big-screen-container .col-sm {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 340px;
    max-width: 340px;
    -ms-flex-preferred-size: 100%;
}

.big-screen-container .col-sm a,
.big-screen-container .col-sm a button {
    max-width: 100%;
}

.home-container h1 {
    text-align: center;
}

.home-container .illustration {
    display: none;
}

.home-container button {
    display: none;
}

/**
 * Quote
 */
.quote {
    text-align: center;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.06;
    letter-spacing: normal;
    color: #9ba2a6;
    width: 100%;
}

/**
 * Bottom disclaimer
 */

.small-disclaimer {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Noto Serif';
    font-size: 16px;
    font-weight: 200;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #324b59;
}

.small-disclaimer img {
    margin-top: 35px;
    width: 50px;
    height: auto;
}

.small-disclaimer p {
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
}

/**
 * Responsive
 * Max-width: 1000px
 */
@media (max-width: 1000px) {

    .home-container .col-sm,
    .big-screen-container .col-sm {
        width: 240px;
        max-width: 240px;
    }

    .home-container .row,
    .big-screen-container .row {
        justify-content: center;
    }
}

/**
 * Responsive
 * Max-width: 800px
 */
@media (max-width: 800px) {

    .big-screen-container {
        display: none;
    }

    .home-container {
        padding-bottom: 30px;
        padding-right: 0;
        padding-left: 0;
    }

    .home-container .row {
        flex-direction: column;
        align-items: center;
    }

    .home-container .col-sm {
        width: 380px;
        max-width: 380px;
        min-height: unset;
        margin-bottom: 100px;
    }

    .home-container .col-sm:last-child {
        margin-bottom: 0;
    }

    .home-container .illustration {
        display: block;
        width: 100%;
        height: auto;
    }

    .home-container h1,
    .home-container p,
    .home-container button {
        padding-left: 15px;
        padding-right: 15px;
    }

    .home-container button {
        display: block;
        margin-top: auto;
        position: relative;
        bottom: 20px;
    }

    .small-disclaimer {
        position: relative;
        height: 75px;
        margin-top: 35px;
    }

    .small-disclaimer img {
        margin-top: 0;
    }

    .home-background-img {
        display: none;
    }
}

/**
 * Responsive
 * Max-width: 400px
 */
@media (max-width: 400px) {
    .home-container .col-sm {
        width: 100%;
    }
}

/**
 * Responsive
 * Horizontal mobile devices
 */

@media (max-width: 800px) and (orientation: landscape) {
    .home-container {
        margin: 0 20px;
        max-width: unset;
        width: calc(100% - 40px);
    }

    .home-container .row {
        flex-direction: row;
    }

    .home-container .col-sm {
        padding: 0 10px;
        margin-bottom: 0;
    }

    .home-container h1 {
        height: 55px;
        padding-left: 0;
        padding-right: 0;
    }

    .home-container p {
        height: 75px;
        font-size: 14px;
        padding-left: 0;
        padding-right: 0;
    }

    .home-container .illustration {
        width: auto;
        height: 100px;
    }

    .small-disclaimer {
        margin-top: 0;
    }
}
