#section-main {
    padding-top: 150px;
    position: relative;
}

#section-main h1 {
    font-size: 24px;
    line-height: 31px;
    font-weight: 800;
    text-transform: uppercase;
}

#section-main p {
    margin-top: 20px;
    line-height: 25px;
    font-size: 15px;
    color: #252525;
    font-weight: 500;
    letter-spacing: 0.2px;
}

#section-main .more-button,
#section-main .contact-us-button {
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 30px;
    background-color: #6ab2c3;
    /*background: linear-gradient(to right, #6ab2c3, #3a7885);*/
    /*background: linear-gradient(to right, #3a7885 0%, #6ab2c3 30%, #6ab2c3 70%, #3a7885);*/
    background: linear-gradient(to right, #2b4263, #c73336);
    background-size: 200%;
    background-position-x: 100%;
    transition-property: background-position;
    transition-duration: 1s;
    display: inline-block;
    margin-top: 60px;
    color: white;
    border-radius: 6px;
}

#section-main .more-button:hover {
    background-position-x: 0%;
}

#section-main .more-button {
    display: none;
}

#section-main img {
    width: 100%;
}

.image-slider {
    position: relative;
    display: inline-block;
    overflow: hidden;
    /*visibility: hidden;*/
    width: 100%;
    margin-top: 70px;
}

.image-slider img {
    display: block;
    animation-duration: 5s;
    animation-fill-mode: forwards;
}

.image-slider img:nth-child(n + 2) {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    transform: translateX(-100%);
}

/*.background-image-container {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.background-image-container .drag-down-hint {
    position: absolute;
    bottom: 150px;
    left: 2%;
    background-image: url('../images/arrow-left-2.svg');
    background-position-y: bottom;
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-block;
    padding-bottom: 20px;
    text-transform: uppercase;
    transform: rotate(-90deg);
    font-size: 13px;
}

.background-image-container .background-image {
    background-image: url('../images/main-section-bg-mobile.jpg');
    width: 15%;
}

.background-image {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition-property: width, transform;
    transition-duration: 1s;
    //width: 5%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

#section-main .background-image {
    display: none;
    background-image: url('../images/main-section-bg.jpg');
    width: 5%;
}*/


#section-brief {
    padding-top: 100px;
}

#section-brief h2 {
    font-weight: bold;
    font-size: 36px;
    line-height: 44px;
    color: #2B4263;
}

#section-brief h2 span {
    color: #DE3D40;
}

#section-brief p {
    margin-top: 50px;
    line-height: 31px;
    font-size: 16px;
    letter-spacing: 0.2px;
    font-weight: 500;
    color: #252525;
}

/*#section-brief img {
    width: 100%;
    margin-top: 40px;
}*/


#section-benefits {
    padding-top: 50px;
}

#section-benefits h2 {
    font-weight: bold;
    font-size: 1.5rem;
}

.benefit-list {
    /*display: flex;
    flex-wrap: wrap;
    justify-content: space-between;*/
    margin-top: 50px;
}

.benefit {
    /*width: 45%;
    padding-top: 40px;
    padding-bottom: 40px;*/
}

.benefit:nth-child(n + 2) {
    margin-top: 45px;
}

.benefit p {
    font-size: 12px;
    margin-top: 20px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: #252525;
}


#section-infrastructure,
#section-infrastructure-clone {
    padding-top: 50px;
    background-color: #2B4263;
    color: white;
}

#section-infrastructure-clone {
    z-index: -1;
}

#section-infrastructure h2,
#section-infrastructure-clone h2 {
    line-height: 1.5625rem;
    font-weight: bold;
    font-size: 1.5rem;
}

.infrastructure-feature-list-container {
    margin-top: 50px;
}

.infrastructure-feature-list li {
    padding: 7px 0;
}


#section-awards {
    padding-top: 200px;
    padding-bottom: 200px;
}

#section-awards .content-container {
    text-align: center;
}

.award h3 {
    text-transform: uppercase;
    letter-spacing: 9px;
    font-size: 15px;
}

section.visible .award h3 {
    visibility: visible;
    animation: reveal 3s linear forwards;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 60px;
}

.award-badge .branch-container {
    position: relative;
}

.award-badge .branch {
    display: block;
    width: auto;
}

.award-badge .branch-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
}

section.visible .award-title {
    animation: fade-in 1s linear forwards;
    animation-delay: 0.5s;
}

.award-title span {
    display: block;
}

.award-title span:first-child {
    font-weight: bold;
    font-size: 22px;
}

.award-title span:last-child {
    font-size: 18px;
    margin-top: 8px;
    color: #818181;
}

section.visible .award .branch-cover {
    animation: go-up 0.8s linear forwards;
    /*animation-delay: 1s;*/
}



#section-photos .content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

#section-photos .photo-container {
    overflow: hidden;
}

#section-photos .photo-container:first-child {
    width: 100%;
}

#section-photos .photo-container:nth-child(n + 2) {
    width: calc(49.5%);
    margin-top: 1%;
}

#section-photos img {
    width: 100%;
    transition-property: transform;
    transition-duration: 0.5s;
    display: block;
}

/*#section-photos .photo-container:hover img {
    transform: scale(1.1);
}*/



#section-news {
    padding-top: 50px;
}

#section-news h2 {
    font-weight: bold;
    font-size: 1.5rem;
}

.read-all-news-link,
.infrastructure-link {
    text-decoration: none;
    color: black;
    /*border-bottom: 1px solid red;*/
    padding-bottom: 5px;
    margin-top: 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
}

.infrastructure-link {
    margin-top: 40px;
}

.latest-news-list {
    margin-top: 40px;
}

.news-item:nth-child(n + 2) {
    margin-top: 40px;
}

.news-published-at {
    font-size: 0.875rem;
    color: #8D8D8D;
}

.news-item-image-container {
    margin-top: 10px;
    overflow: hidden;
    border: 4px solid #2B4263;
}

.news-item img {
    width: 100%;
    display: block;
    transition-property: transform;
    transition-duration: 0.5s;
}

.news-item img:hover {
    transform: scale(1.1);
}

.news-item > a {
    margin-top: 10px;
    text-decoration: none;
    display: inline-block;
    color: black;
    font-weight: 600;
    line-height: 20px;
}

.news-item > a:hover {
    color: #555;
}


#section-contacts {
    padding-top: 50px;
}

#section-contacts h2 {
    overflow: hidden;
    font-weight: bold;
    margin-bottom: 80px;
    font-size: 1.5rem;
}

#section-contacts h2:after {
    content: "";
    display: inline-block;
    height: 2px;
    vertical-align: middle;
    width: 100%;
    margin-right: -100%;
    margin-left: 20px;
    border-top: 1px solid black;
}

.phone-and-email-block a {
    display: block;
    text-decoration: none;
    color: black;
}

.address-block {
    margin-top: 20px;
}

.address-block span {
    display: block;
}

.phone-and-email-block a:last-child,
.address-block span:last-child {
    margin-top: 10px;
}

.phone-and-email-block a,
.address-block span {
    font-weight: 500;
    letter-spacing: 0.2px;
    color: #252525;
}

.social-networks-block {
    margin-top: 35px;
}

.social-networks-block a:nth-child(n + 2) {
    margin-left: 30px;
}

.google-map {
    width: 100%;
    height: 500px;
    margin-top: 40px;
}

#section-contacts iframe {
    width: 100%;
    margin-top: 40px;
    height: 450px;
    display: none;
}

#section-contacts .doublegis-map-link {
    display: inline-block;
    margin-top: 20px;
    color: #252525;
    text-decoration: none;
    border-bottom: 1px solid red;
    padding-bottom: 5px;
}

#section-lets-be-partners {
    padding-top: 50px;
    text-align: center;
}

#section-lets-be-partners h2 {
    font-weight: bold;
    font-size: 1.5rem;
}

#section-lets-be-partners p {
    margin-top: 20px;
    line-height: 28px;
}

form {
    width: 100%;
    margin-top: 35px;
}

.input-container:nth-of-type(n + 2) {
    margin-top: 20px;
}

input {
    width: 100%;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    border-radius: 15px;
    border: none;
    outline: none;
}

input[type="text"] {
    padding: 25px 0;
    background-color: #E7E7E7;
    margin-top: 5px;
    font-size: 16px;
}

input[type="submit"] {
    padding: 30px 0;
    margin-top: 30px;
    background-color: #6ab2c3;
    /*background: linear-gradient(to right, #3a7885 0%, #6ab2c3 30%, #6ab2c3 70%, #3a7885);*/
    background: linear-gradient(to right, #2b4263, #c73336);
    background-size: 200%;
    background-position-x: 100%;
    transition-property: background-position-x;
    transition-duration: 1s;
    text-transform: uppercase;
    color: white;
    -webkit-appearance: none;
    font-size: 16px;
    letter-spacing: 0.3px;
    font-weight: 600;
}

input[type="submit"]:hover {
    background-position-x: 0%;
    cursor: pointer;
}

.input-error-message {
    opacity: 0;
}

.revealing {
    background: linear-gradient(to right, black, black 50%, transparent);
    background-repeat: no-repeat;
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    visibility: hidden;
}

.fading-in {
    opacity: 0;
}

.fading-in-from-bottom {
    opacity: 0;
}


@media (min-width: 450px) {
    #section-main h1 {
        font-size: 30px;
        line-height: 36px;
    }

    #section-benefits h2 {
        font-size: 2.34375‬rem;
    }

    .benefit-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .benefit {
        width: 45%;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .benefit:nth-child(n + 2) {
        margin-top: 0;
    }

    .benefit p {
        margin-top: 30px;
    }

    #section-news h2 {
        font-size: 2.34375‬rem;
    }

    .award h3 {
        letter-spacing: 0.75rem;
        font-size: 22px;
    }
}

@media (min-width: 500px) {
    #section-main h1 {
        font-size: 35px;
        line-height: 42px;
    }

    #section-contacts iframe {
        display: block;
    }

    #section-contacts .doublegis-map-link {
        display: none;
    }
}

@media (min-width: 600px) {
    #section-main h1 {
        font-size: 40px;
        line-height: 46px;
    }

    #section-benefits h2 {
        font-size: 3.125rem;
    }

    #section-contacts .content-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #section-contacts h2 {
        width: 100%;
    }

    .address-block {
        margin-top: 0;
    }

    .social-networks-block {
        width: 100%;
    }
}

@media (min-width: 700px) {
    .award-title {
        margin-left: 50px;
        margin-right: 50px;
    }

    .award-title span:first-child {
        font-size: 40px;
    }

    .award-title span:last-child {
        font-size: 20px;
    }

    .award-badge .branch {
        height: 90px;
    }


    #section-news .content-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-end;
    }

    .read-all-news-link {
        margin-top: 0;
    }

    .latest-news-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .news-item {
        width: 48%;
    }

    .news-item:nth-child(2) {
        margin-top: 0;
    }
}

@media (min-width: 800px) {
    #section-benefits h2 {
        text-align: center;
    }

    .benefit-list {
        margin-top: 100px;
    }

    .benefit:nth-child(3n + 1),
    .benefit:nth-child(3n + 3) {
        width: 30%;
    }

    .benefit:nth-child(3n + 2) {
        width: 40%;
        padding-left: 5%;
        padding-right: 10%;
    }

    #section-infrastructure, #section-infrastructure-clone {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    #section-infrastructure h2,
    #section-infrastructure-clone h2 {
        padding-left: 10.16666%;
    }

    .infrastructure-feature-list-container {
        display: flex;
    }

    .infrastructure-feature-list {
        width: 50%;
        padding-left: 10.16666%;
    }


    #section-awards {
        padding-top: 200px;
        padding-bottom: 300px;
    }

    .award-title span:first-child {
        font-size: 50px;
    }

    .award-title span:last-child {
        font-size: 25px;
    }

    .award-badge .branch {
        height: 90px;
    }


    .social-networks-block {
        width: auto;
        margin-top: 0;
    }


    #section-news {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    
    #section-contacts {
        padding-top: 150px;
        padding-bottom: 150px;
    }


    #section-lets-be-partners p {
        width: 59.33333%;
        margin-left: auto;
        margin-right: auto;
    }

    form {
        width: 59.33333%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 900px) {
    /*#section-main img {
        display: none;
    }*/


    #section-brief .content-container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    /*#section-brief .text-block {
        width: 30%;
        margin-left: 10%;
    }

    #section-brief img {
        width: 30%;
        margin-right: 10%;
        margin-top: 0;
    }*/

    #section-brief p {
        width: 50%;
        margin-top: 0;
        font-size: 14px;
        line-height: 30px;
    }
}


@media (min-width: 960px) {
    #section-main {
        overflow: hidden;
    }

    #section-main .content-container {
        display: flex;
        justify-content: space-between;
    }

    #section-main .heading-and-more-button-block {
        width: 40%;
    }

    #section-main .image-slider {
        margin-top: 0;
        width: 40%;
    }

    #section-main h1 {
        font-size: 30px;
        line-height: 39px;
    }

    /*#section-main .background-image {
        display: block;
    }

    .background-image-container {
        display: none;
    }*/

    #section-main .contact-us-button {
        display: none;
    }

    #section-main .more-button {
        display: inline-block;
    }


    .award-title span:first-child {
        font-size: 70px;
    }

    .award-title span:last-child {
        font-size: 30px;
    }

    .award-badge .branch {
        height: 140px;
    }


    #section-news .content-container {
        padding-right: calc(1 / 12 * 100%);
    }

    #section-news h2 {
        font-size: 3rem;
    }

    .latest-news-list {
        justify-content: flex-start;
    }

    .news-item {
        width: 32%;
    }

    .news-item:nth-child(n + 2):not(:nth-child(3n + 4)) {
        margin-left: 2%;
    }

    .news-item:last-child {
        margin-top: 0;
    }


    #section-contacts h2 {
        font-size: 3rem;
    }


    #section-lets-be-partners h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1100px) {
    #section-main h1 {
        font-size: 36px;
        line-height: 49px;
    }

    /*#section-main img {
        width: auto;
    }*/

    #section-benefits h2 {
        font-size: 3.75rem;
    }
}

@media (min-width: 1200px) {
    #section-main {
        /*height: 100vh;*/
        max-height: calc(100vw / 16 * 9);
    }
}

@media (min-width: 1600px) {
    #section-main {
        padding-top: 350px;
    }

    #section-brief {
        margin-top: 150px;
    }
}

@keyframes flicker1 {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    75%, to {
        opacity: 1;
    }
}

@keyframes flicker2 {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    75% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes reveal {
    0% {
        background-position-x: 200%;
    }
    100% {
        background-position-x: 0%;
    }
}

@keyframes link-underline {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(100%);
    }

    51% {
        transform: translateX(-100%)
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in-from-bottom {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes go-up {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    99% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes slideInAndZoomOut {
    0% {
        transform: translateX(-100%) scale(1.4);
    }

    30% {
        transform: translateX(0) scale(1.15);
    }

    100% {
        transform: translateX(0) scale(1);
    }
}