* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

body {
    display: block;
    font-family: Nunito;
}

header {
    height: 80%;

}

a {
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.omn-logo {
    display: block;
}

.omn-logo-mobile {
    display: none;
}

.container {
    max-width: 100%;
    display: block;
    height: 100%;
    /* width: 90%; */
    margin: auto;
    margin-bottom: 5%;
}

.main-text {
    margin-top: 1.5%;
    text-align: center;
}

.omn-text {
    font-size: 1em;
    text-transform: uppercase;
    color: #373f43ff;
}

.main-title {
    font-size: 2.3em;
    font-weight: 700;
    color: #373f43ff;
}

.gallery-container {
    display: flex;
    justify-content: center;
    flex-flow: row;
    margin-top: 2%;
}

.gallery-item:nth-child(1) {
    margin-left: 4%;
}

.gallery-item {
    display: inline-block;
    margin-right: 4%;
    width: 27%;
}

.image-item {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: auto;
}

.button-item {
    min-width: 100%;
}

.text-after {
    display: block;
    margin-top: 5%;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    color: #373f43ff;
}

.gallery-tablet {
    display: none;
}

.gallery-mobile {
    display: none;
}

.text-part {
    font-size: 1em bold;
    text-align: center;
    margin-top: 5%;
}

.text-part-after {
    font-size: 28px;
    color: #373f43ff;
}

.footer-item {
    clear: both;
    min-width: 100%;
    position: fixed;
    bottom: 0;
    height: 55px;
    background-color: #373f43ff;
}

.footer-item__text {
    font-weight: 400;
    color: white;
    height: 55px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item__button {
    background-color: #14a9bdff;
    border: 0;
    height: 55px;
    font-size: 20px;
    font-family: Nunito;
    font-weight: 800;
    margin-top: 4%;
}

@media only screen and (max-width: 1024px) {

    .container {
        max-width: 1024px;
        display: block;
        height: 100%;
        width: 100%;
        margin: auto;
        min-height: 100%;
    }

    .main-text {
        text-align: center;
    }

    .omn-text {
        font-size: 12px;
        text-transform: uppercase;
    }

    .main-title {
        font-size: 2em;
        padding-top: 1%;
    }

    .gallery-container {
        display: flex;
        flex-direction: row;
        margin-top: 3%;
        margin-bottom: 3%;
        align-items: center;
        justify-content: space-between;
        column-count: 2;
        flex-wrap: wrap;
    }

    .gallery-item {
        display: none;
    }

    .image-item {
        width: 100%;
        height: 100%;
    }

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

    .gallery-tablet {
        display: block;
        flex: 50%;
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: auto;
        margin-bottom: 46px;
        flex: 1 300px;
        min-width: 0;
    }

    .text-part {
        margin-top: 5%;
        margin-bottom: 10%;
    }

    .text-part-after {
        font-size: 24px;
    }

    .gallery-mobile {
        display: none;
    }

    .footer-item {
        height: 45px;
    }

    .footer-item__text {
        font-weight: 400;
        color: white;
        height: 45px;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gallery-item__button {
        background-color: #14a9bdff;
        border: 0;
        height: 50px;
        font-size: 18px;
        font-family: Nunito;
        font-weight: 800;
        margin-top: 4%;
    }

}

@media only screen and (max-width: 700px) {
    .omn-logo {
        display: none;
    }

    .omn-logo-mobile {
        display: block;
    }

    .omn-text {
        font-size: 12px;
        text-transform: uppercase;
    }

    .container {
        margin-bottom: 10%;
    }

    .main-title {
        font-size: 1.4em;
    }

    .gallery-container {
        display: flex;
        flex-direction: column;
        /* margin-top: 5%; */
        margin-bottom: 5%;
        align-items: center;
        justify-content: space-between;
        column-count: 2;
        flex-wrap: wrap;
    }

    .gallery-tablet {
        display: block;
        flex: 50%;
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: auto;
        margin-bottom: 6%;
        flex: 0;
        min-width: 0;
    }

    .text-after {
        margin-top: 3%;
        font-size: 16px;
    }

    .text-part {
        margin-top: 5%;
        margin-bottom: 15%;
    }

    .text-part-after {
        font-size: 20px;
    }

    .gallery-item__button {
        background-color: #14a9bdff;
        border: 0;
        height: 45px;
        font-size: 16px;
        font-family: Nunito;
        font-weight: 800;
        margin-top: 0;
    }

    .footer-item__text {
        font-weight: 300;
        font-size: 14px;
    }
}

@media only screen and (max-width: 320px) {

    .main-text {
        text-align: center;
    }

    .omn-text {
        font-size: 7px;
        text-transform: uppercase;
    }

    .main-title {
        font-size: 16px;
    }

    .gallery-item {
        display: none;
    }

    .text-after {
        margin-top: 5px;
        font-size: 12px;
        margin-bottom: 17px;
    }

    .gallery-tablet {
        display: none;
    }

    .gallery-mobile {
        display: block;
        align-self: center;
        width: 100%;
        max-width: 218px;
        height: auto;
        margin: auto;
    }

    .text-part {
        margin-top: 5%;
        margin-bottom: 15%;
    }

    .text-part-after {
        font-size: 18px;
    }

    .gallery-item__button {
        background-color: #14a9bdff;
        border: 0;
        height: 35px;
        font-size: 12px;
        font-family: Nunito;
        font-weight: 800;
        margin-top: 0;
    }

    .footer-item {
        height: 35px;
    }

    .footer-item__text {
        height: 35px;
        font-size: 12px;
    }
}