html {
    overflow-x: hidden;
}

button, 
button:active, 
button:focus {
    outline: none;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: 'Montserrat';
    overflow-x: hidden;
}

.modal-form {
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    z-index: 99;
    justify-content: center;
    display: none;
}
.modal-form-block {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    padding: 50px;
    background-color: #fff;
}
.modal-form-block img {
    height: 20px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
.modal-form-block h2 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0;
}
.modal-form-block input {
    width: 500px;
    padding: 15px;
    display: block;
    margin: 0 auto;
    margin-bottom: 30px;
    border: .5px solid gray;
}
.modal-form-block input[type="submit"] {
    background: #E6177E;
    color: white;
    border: none;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    padding: 20px;
}

div {
    box-sizing: border-box;
}

a, a:visited {
    color: white;
    text-decoration: none;
    margin-bottom: 32px;
}

h1 {
    font-size: 24px;
    margin: 0;
}

.scrolloff {
    pointer-events: none;
}

.page-wrapper {
    max-width: 1920px;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
header {
    position: relative;
}
.header {
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    flex-direction: row;
    height: 80px;
    background-color: rgba(0, 0, 0, 1);
    justify-content: center;
    z-index: 100;
}

.header-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    border-right: 1px solid rgba(123, 124, 124, 0.5);
    font-weight: bold;
    text-transform: uppercase;
}

.header-item a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 14px;
    transition: color 0.15s;  
}

.submenu {
    justify-content: center;
    position: fixed;
    top: 80px;
    width: 100%;
    background: black;
    transform: scaleY(0);
    transition-duration: 0.5s;
    display: flex;
    flex-direction: row;
    overflow-x: hidden;
    transform-origin: 0 0;
    z-index: 100;
    
    } ul {
        list-style-type: none;
        padding: 0;
        padding-bottom: 15px;
        padding-top: 15px;
    }
.submenu-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 12px;
    opacity: 0;
    transition-duration: 0.3s;
    margin: 0;
    } li {
        margin-bottom: 10px;
        text-align: center; }
    a {
        text-decoration: none; }
    a:hover {
        color: #E6177E;
        transition-duration: 0.3s; }
header:hover .submenu {
    transform: scaleY(1);
}
header:hover .header-item {
    border-bottom: 1px solid rgba(123, 124, 124, 0.3);
}
header:hover .submenu-item {
    opacity: 1;
    transition-duration: 1.5s;
}
.header-item a:hover {
    color: #E6177E;
}

.header-item:last-child {
    border: none;
}
.submenu-item:last-child {
    border: none;
}
.submenu-item li:last-child {
    margin-bottom: 0;
}
.header-item:first-child a {
    justify-content: flex-start;
    margin-left: 20px;
}

.main-logo {
    color: #ffffff;
}

.header-subitem {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    padding-left: 10px;
}

.header-item a {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*.header-subitem:first-child {
    border-right: 1px solid rgba(123, 124, 124, 0.5);
}*/

.header-menu {
    position: fixed;
    top: 80;
    display: none;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 77px;
    background-color: rgba(0, 0, 0, 1);
    color: #ffffff;
    border-top: 1px solid rgba(123, 124, 124, 0.5);
    z-index: 100;
}

.header-menu-items {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.header-menu-item {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    margin-right: 20px;
}

.header-menu-item a {
    transition: color 0.15s;
}

.header-menu-item a:hover {
    color: #E6177E;
}


.feedback {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #000000;
    width: 100%;
}

.feedback h1 {
    margin-top: 120px;
    margin-bottom: 20px;
    color: #ffffff;
}

.feedback form {
    display: flex;
    flex-direction: column;
}

.feedback form label{
    display: none;
}

.feedback form div {
    color: #ffffff;
    font-size: 12px;
    margin-bottom: 20px;
}

.feedback form div {
    max-width: 700px;
}

.feedback input {
    margin-bottom: 15px;
}

.feedback input[type="text"],
.feedback input[type="submit"] {
    width: 700px;
    height: 60px;
    font-size: 16px;
    padding-left: 20px;
}

.feedback input[type="submit"] {
    font-size: 14px;
    text-transform: uppercase;
    background-color: #E6177E;
    color: #ffffff;
    font-weight: 600;
    border: 0px solid white;
    padding-left: 0;
    margin-bottom: 0;
}

.feedback input[type="submit"]:hover {
    border: 1px solid white;
}

.feedback input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.8);
    cursor: pointer;
    
}

.result-form__text {
    width: 668px;
    font-size: 14px;
    color: white;
    border: 1px solid white;
    padding: 15px;
    text-align: center;
}

.footer {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 320px;
    background-color: #000000;
    padding-top: 120px;
    color: #ffffff;
}

.footer-wrapper {
    width: 1200px;
    display: flex;
    flex-direction: row;
}

.footer-contacts {
    margin-left: 40px;
}

.footer-contacts-label {
    margin-bottom: 25px;
}

.footer-contacts-contacts {
    font-size: 12px;
    line-height: 20px;
}

.footer-section {
    align-self: flex-start;
    margin-left: 115px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 900px;
}

.footer-section-item {
    flex-basis: 33.33%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(123, 124, 124, 0.5);
    border-right: none;

    margin: -1px 0 0 -1px;
}

.footer-section-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-left: 25px;
}

/* .footer-section-item:nth-child(-n+3) {
    border-right: none;
    border-bottom: none;
}

.footer-section-item:nth-child(6),
.footer-section-item:nth-child(3) {
    border-right: 1px solid rgba(123, 124, 124, 0.5);
} */

.footer-section-item img {
    margin-right: 20px;
    display: none;
}

.footer-section-item:hover a {
    cursor: pointer;
    background-color: #ffffff;
    color: #E6177E;
}

.footer-section-item:hover .arrow-icon {
    display: block;
}

.btn-animation-wrapper {
    position: relative;
    z-index: 2;
}

.btn-animation {
    position: absolute;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #474a51;
    transition: width 0.25s;
    z-index: 0;
}

.btn-animation-wrapper:hover .btn-animation {
    width: 100%;
}

#link-to-top {
    display: none;
}

.item-new {
    display: none;
}


@media screen and ( max-width: 1200px ) {
    .footer-wrapper {
        flex-direction: column-reverse;
        width: 900px;
    }

    .footer-section {
        margin-bottom: 32px;
        margin-left: 0;
    }

}


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

    .header-item a {
        font-size: 12px;
        text-align: center;
    }

    .header-menu-items {
        flex-basis: 70%;
        align-items: center;
    }

    .header-menu-item {
        font-size: 12px;
        text-align: center;
    }

    .feedback input[type="text"],
    .feedback input[type="submit"] {
        width: 500px;
    }

    .feedback form div {
        width: 500px;
    }

    .footer {
        padding-top: 0;
    }

    .footer-wrapper {
        width: 500px;
        flex-direction: column-reverse;
    }

    .footer-section {
        width: 500px;
        margin-left: 0;
        margin-bottom: 32px;
    }

    .footer-section-item {
        font-size: 10px;
    }

}


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

    .modal-form-block input {
        width: 250px;
    }

    .page-wrapper {
        max-width: 100%;
        padding-top: 60px;
    }

    .mobile-menu {
        position: fixed;
        top: 60;
        height: 100%; /*calc(100% - 140px);*/
        width: 100%;
        background-color: #000000;
        color: white;
        z-index: 100;
    }

    .footer-section-item:nth-child(1) {
        order: 0;
    }

    .footer-section-item:nth-child(2) {
        order: 2;
    }

    .footer-section-item:nth-child(3) {
        order: 4;
        border-bottom: none !important;
    }

    .footer-section-item:nth-child(4) {
        order: 1;
    }

    .footer-section-item:nth-child(5) {
        order: 3;
    }

    .footer-section-item:nth-child(6) {
        order: 5;
        border-bottom: 2px solid rgba(123, 124, 124, 0.5) !important;
    }

    .mobile-menu .footer-wrapper {
        flex-direction: column-reverse;
        justify-content: flex-end;
        align-items: flex-end;
        padding-top: 24px;
    }

    .mobile-menu .footer-contacts-label {
        display: none;
    }

    .header {
        height: 60px;
        margin: 0;
        border-bottom: 1px solid rgba(123, 124, 124, 0.5);
    }

    .header-item:nth-child(2),
    .header-item:nth-child(3) {
        display: none;
    }

    .header-item:first-child img {
        margin-left: 15px;
    }

    .header-item:first-child {
        flex-basis: 60%;
    }

    .header-item:last-child {
        flex-basis: 40%;
    }

    .feedback {
        height: auto;
    }

    .feedback h1 {
        margin-top: 50px;
    }

    .feedback form {
        justify-content: center;
        align-items: center;
    }

    .feedback form {
        margin-left: 20px;
        margin-right: 20px;
    }

    .feedback form div {
        font-size: 11px;
        width: 310px;
        margin-bottom: 10px;
    }

    .feedback form input {
        margin-bottom: 10px;
    }

    .feedback form input[type="text"],
    .feedback form input[type="submit"] {
        width: 310px;
        height: 60px;
    }


    .footer {
        height: 600px;
        padding-top: 0;
    }
    
    .footer-wrapper {
        width: 100%;
        flex-direction: column-reverse;
    }

    .footer-section {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
        margin: 0;
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 50px;
    }

    .footer-section .footer-section-item {
        flex-basis: auto;
        width: 310px ;
        height: 60px;
        border: 2px solid rgba(123, 124, 124, 0.5);
        border-bottom: none;
    }

    .footer-section-item:last-child {
        border-bottom: 2px solid rgba(123, 124, 124, 0.5);
    }

    .footer-contacts {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        margin-left: 0;
    }

    .footer-contacts div {
        width: 310px;
        flex-basis: auto;
    }

    #link-to-top {
        display: block;
        position: fixed;
        right: 10px;
        bottom: 15%;
        z-index: 3;
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 2px;
    }

    #link-to-top a {
        display: block;
    }

    #link-to-top img {
        width: 30px;
        height: 30px;
        transform: rotate(-90deg);
    }

    .item-new {
        display: flex;
        border-bottom: none !important;
    }
    

}
.anchor {
    position: relative;
}
.anchor-link {
    position: absolute;
    top: -120px;
}