.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: 'Lato', sans-serif;
    padding: 20px;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('../img/back.jpg');
    opacity: 0.2;
    background-size: cover;
    z-index: 0;
}

.main-banner {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    position: relative;
    background-color: rgba(136, 136, 136, 0.4);
    padding: 77px 20px 20px;
    z-index: 999;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
}

.main-banner__header img {
    width: 150px;
}

.main-banner__header {
    position: absolute;
    top: 0;
    left: 0;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #aeaeae;
    padding: 10px 0;
    width: 100%;
}

.main-banner__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

}

.small-text {
    font-size: 12px;
}

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

.small-text,
.text {
    line-height: 20px;
    text-transform: uppercase;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: #fdfdfd;
}

.main-banner__tiles {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 40px -15px 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.main-banner__tile+.main-banner__tile {
    margin-top: 60px;
}

.main-banner__tile {
    background-color: #E8E8E8;
    border-radius: 10px;
    padding: 10px 10px;
    display: block;
    margin: 0 15px;
    position: relative;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transition: background-color 150ms ease-in-out, -webkit-transform 150ms ease-in-out, -webkit-box-shadow 150ms ease-in-out;
    transition: background-color 150ms ease-in-out, -webkit-transform 150ms ease-in-out, -webkit-box-shadow 150ms ease-in-out;
    -o-transition: transform 150ms ease-in-out, background-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
    transition: transform 150ms ease-in-out, background-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
    transition: transform 150ms ease-in-out, background-color 150ms ease-in-out, box-shadow 150ms ease-in-out, -webkit-transform 150ms ease-in-out, -webkit-box-shadow 150ms ease-in-out;
    -webkit-box-shadow: 1px 3px 5px rgba(0, 0, 0, 0);
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0);
}

.main-banner__tile:hover {
    cursor: pointer;
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
    background-color: #f0f0f0;
    -webkit-box-shadow: 1px 3px 5px rgba(0, 0, 0, .3);
    box-shadow: 1px 3px 5px rgba(0, 0, 0, .3);
}

.main-banner__subtitle {
    position: absolute;
    top: calc(100% + 15px);
    display: block;
    left: 0;
    right: 0;
    color: #FDFDFD;
    text-transform: uppercase;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin: auto;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
}

.main-banner__tile img {
    width: 100%;
    max-width: 250px;
    max-height: 45px;
}

.main-banner__p {
    margin-top: 55px;
    color: #fdfdfd;
    font-size: 10px;
    max-width: 600px;
    text-align: center;
    line-height: 1.7;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .small-text {
        font-size: 16px;
    }

    .text {
        font-size: 36px;
    }

    .main-banner {
        padding: 127px 74px 80px;

    }

    .main-banner__header {
        padding: 20px 0;
    }

    .main-banner__header img {
        width: auto;
    }

    .main-banner__tiles {
        margin: 70px -15px 0;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .main-banner__tile+.main-banner__tile {
        margin-top: 0px;
    }

    .main-banner__tile {
        padding: 20px 50px;
    }

    .main-banner__tile::before {
        left: 0;
        right: 0;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
        top: -34px;
        bottom: unset;

    }

    .main-banner__p {
        margin-top: 95px;
        font-size: 12px;
    }
}

@media (min-width: 1440px) {
    .main-banner {
        padding: 147px 274px 100px;
    }
}