@media(max-width: 1280px) {
    .container {
        padding: 0 20px!important;
    }
}
@media(max-width: 1180px) {
    .about-company-img {
        width: 100%!important;
    }
    .btn-orange {
        width: auto!important;
        padding: 0 40px!important;
    }
    .contacts-wrapper {
        width: 50%!important;
    }
}
@media(max-width: 960px) {
    .about-company {
        margin: 30px 0 0 0!important;
    }
    .about-company-img {
        width: 100%!important;
    }
    header nav > a {
        font-size: 15px!important;
    }
    footer nav a {
        font-size: 15px!important;
    }
    .scroll-menu nav > a {
        font-size: 15px!important;
    }
    h1 {
        font-size: 45px!important;
    }
    .product-wrapper {
        grid-template-columns: 100%!important;
        padding: 40px!important;
        gap: 30px!important;
    }
    .about-company-section > .container {
        grid-template-columns: 1fr!important;
    }
    .about-company-section > .grid-flow-column {
        grid-auto-flow: row!important;
        justify-items: center!important;
    }
    .catalog-content > li {
        grid-auto-flow: row!important;
        align-items: center!important;
        justify-items: center!important;
        justify-content: center!important;
    }
}
@media(max-width: 820px) {
    header nav {
        display: none!important;
    }
    footer nav {
        display: none!important;
    }
    .scroll-menu nav {
        display: none!important;
    }
    .mobile-menu-btn {
        display: block!important;
    }
    .contacts-wrapper {
        width: 100%!important;
    }
}
@media(max-width: 768px) {
    .card-page-img {
        width: 100%!important;
    }
}
@media(max-width: 540px) {
    h2 {
        font-size: 27px!important;
    }
    p {
        font-size: 14px!important;
    }
    .main-title {
        height: 60vh!important;
    }
    h1 > span {
        font-size: 27px!important;
    }
}
@media(max-width: 412px) {
    h1 {
        font-size: 35px!important;
    }
    h2 {
        font-size: 20px!important;
    }
}

@font-face {
    font-family: Montserrat-Bold; /* Имя шрифта */
    src: url(.././fonts/Montserrat-Bold.ttf); /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: Montserrat-Medium; /* Имя шрифта */
    src: url(.././fonts/Montserrat-Medium.ttf); /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: Montserrat-Regular; /* Имя шрифта */
    src: url(.././fonts/Montserrat-Regular.ttf); /* Путь к файлу со шрифтом */
}




p {
    font-size: 17px;
    line-height: 145%;
    font-family: Montserrat-Medium;
}
p.p-center {
    text-align: center;
}
* {
    box-sizing: border-box;
}
body {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}
header {
    padding: 30px 0;
    position: relative;
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    justify-items: center;
}
section {
    position: relative;
    width: 100%;
    display: grid;
    padding: 0;
    justify-items: center;
}
main {
    padding: 0 0 0 0;
    display: grid;
    grid-auto-flow: row;
    gap: 103px;
}
.page-main {
    margin: 100px 0 0 0;
}
.main-title {
    height: 90vh;
    background-image: url(.././img/razrabotka-i-proizvodstvo-plc-modemov.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.about-company-section > .container {
    grid-template-columns: 40% 1fr;
}
footer {
    background: #000;
    display: grid;
    justify-items: center;
    padding: 40px 0;
}
h1 {
    margin: 0;
    width: 100%;
    text-align: center;
    font-family: Montserrat-Bold;
    color: #fff;
    font-size: 57px;
}
h1.h1-page {
    color: #000;
    font-family: Montserrat-Bold;
    font-size: 36px;
    text-align: left;
}
h1 > span {
    font-size: 71px;
}
h2 {
    font-family: Montserrat-Bold;
    font-size: 36px;
    margin: 0;
}
h2.h2-align-center {
    text-align: center;
}
header nav {
    display: grid;
    grid-auto-flow: column;
    gap: 40px;
}
footer nav {
    display: grid;
    grid-auto-flow: column;
    gap: 40px;
}
.nav-link {
    position: absolute;
    margin-top: -130px;
}
.mobile-menu nav {
    display: grid;
    grid-auto-flow: row;
    gap: 31px;
    margin: 70px 0;
}
.mobile-menu nav > a {
    position: relative;
    font-family: Montserrat-Bold;
    font-size: 17px;
    display: grid;
    grid-auto-flow: row;
    text-decoration: none;
    color: #000;
}
.scroll-menu nav {
    display: grid;
    grid-auto-flow: column;
    gap: 40px;
}
.scroll-menu nav a {
    font-family: Montserrat-Bold;
    font-size: 17px;
    text-decoration: none;
    color: #000;
}
header nav > a {
    position: relative;
    font-family: Montserrat-Bold;
    font-size: 17px;
    display: grid;
    grid-auto-flow: row;
    text-decoration: none;
    color: #000;
}
footer nav a {
    font-family: Montserrat-Bold;
    font-size: 17px;
    text-decoration: none;
    color: #fff;
}
.container {
    position: relative;
    width: 100%;
    max-width: 1280px;
}
.container-grid {
    display: grid;
}
.justify-content-between {
    justify-content: space-between; 
}
.justify-items-center {
    justify-items: center;
}
.justify-items-start {
    justify-items: start;
}
.grid-flow-column {
    grid-auto-flow: column;
}
.grid-flow-row {
    grid-auto-flow: row;
}
.align-items-center {
    align-items: center;
}
.align-items-start {
    align-items: start;
}
.align-content-center {
    align-content: center;
}
.btn-orange {
    text-align: center;
    cursor: pointer;
    font-family: Montserrat-Bold;
    color: #fff;
    text-decoration: none;
    width: 330px;
    height: 80px;
    border-radius: 40px;
    display: grid;
    justify-items: center;
    align-items: center;
    font-size: 21px;
    background: linear-gradient(to bottom, #ff9966, #ff6633);
}
.btn-orange-s {
    text-align: center;
    cursor: pointer;
    font-family: Montserrat-Bold;
    color: #fff;
    text-decoration: none;
    width: 259px;
    height: 62px;
    border-radius: 40px;
    display: grid;
    justify-items: center;
    align-items: center;
    font-size: 21px;
    background: linear-gradient(to bottom, #ff9966, #ff6633);
}
.mouse {
    position: absolute;
    bottom: 50px;
}
.about-company {
    display: grid;
    justify-content: start;
    grid-auto-flow: row;
    gap: 16px;
    width: 100%;
    margin: 0 0 0 35px;
}
.about-company a {
    font-size: 14px;
    font-family: Montserrat-Bold;
    text-decoration: none;
    color: #000;
    text-decoration: underline;
}
.about-company-img {
    border-radius: 25px;
    box-shadow: 0 0 15px rgba(0,0,0,.4);
    width: 100%;
}
.about-company p {
    margin: 0;
}
.product-wrapper {
    padding: 40px 40px 40px 0;
    display: grid;
    grid-template-columns: 45% 55%;
    align-content: center;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 500px;
    background-color: #fff;
    border-radius: 27px;
    box-shadow: 0 0 15px rgba(0,0,0,.4);
}
.product-item {
    gap: 16px;
    display: grid;
    grid-auto-flow: row;
    justify-items: center;
    align-content: center;
}
.product-content {
    display: grid;
    grid-auto-flow: row;
    gap: 16px;
}
.product-content p {
    margin: 0;
}
.product-content a {
    font-size: 14px;
    font-family: Montserrat-Bold;
    text-decoration: none;
    color: #000;
    text-decoration: underline;
}
.slider {
    margin: 0 0 50px 0;
    position: relative;
    width: 100%;
    justify-items: center;
    display: grid;
    grid-auto-flow: column;
    gap: 20px;
    padding: 0 0 10px 0;
    overflow: auto;
}
.slider img:nth-child(1) {
    margin-left: -200px;
}
.map {
    position: absolute;
    width: 100%;
    height: 100%;
}
.contacts-wrapper {
    margin: 40px 0;
    padding: 40px;
    width: 40%;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,.4);
    border-radius: 27px;
    display: grid;
    gap: 27px;
    grid-auto-flow: row;
    justify-items: center;
}
.address {
    font-family: Montserrat-Medium;
    color: #000;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    line-height: 37px;
}
.opening-hours {
    font-family: Montserrat-Medium;
    font-size: 10px;
}
.contact {
    font-size: 17px;
    font-family: Montserrat-Bold;
    text-decoration: none;
    color: #000;
}

.scroll-menu {
    position: fixed;
    top: -100%;
    transition: 0.5s;
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    justify-items: center;
    z-index: 2;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,.3) ;
}
.mobile-menu-btn {
    display: none;
    width: 50px;
}
.mobile-menu {
    align-content: start;
    display: grid;
    gap: 40px;
    grid-auto-flow: row;
    padding: 20px;
    transition: 0.5s;
    z-index: 2;
    position: fixed;
    height: 100vh;
    right: -370px;
    width: 90%;
    background-color: #fff;
    max-width: 360px;
    box-shadow: -5px 0 10px rgba(0,0,0,.4);
}
.close {
    font-family: Montserrat-Regular;
}
.mobile-logo {
    position: absolute;
    bottom: 20px;
    left: 20px;
    opacity: 0.3;
    width: 70%;
}
.modal-window {
    display: none;
    justify-items: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 3;
    background-color: rgba(0,0,0,.7);
}
.modal-form {
    position: relative;
    display: grid;
    grid-auto-flow: row;
    width: 90%;
    max-width: 450px;
    gap: 5px;
}
.modal-form > input[type=submit] {
    text-align: center;
    cursor: pointer;
    font-family: Montserrat-Bold;
    color: #fff;
    width: 100%;
    border: 0;
    height: 80px;
    border-radius: 40px;
    display: grid;
    justify-items: center;
    align-items: center;
    font-size: 21px;
    background: linear-gradient(to bottom, #ff9966, #ff6633);
}
.modal-form > input[type=text] {
    text-align: left;
    font-family: Montserrat-Bold;
    color: #000;
    width: 100%;
    padding: 10px 20px;
    border: 0;
    height: 80px;
    border-radius: 40px;
    display: grid;
    justify-items: center;
    align-items: center;
    font-size: 21px;
    background: #fff;
}
.close-modal {
    position: absolute;
    right: -30px;
    top: -30px;
    color: #fff;
    font-family: Montserrat-Regular;
}
.catalog {

}
.catalog-content {
    display: grid;
    grid-auto-flow: row;
    padding: 0;
    gap: 20px;
}
.catalog-content > li {
    list-style-type: none;
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: start;
    padding: 20px 0 0 0;
    grid-auto-columns: 1fr 1fr auto;
    border-top: 1px solid #ff6633;
    gap: 50px;
}
.catalog-content > li > img {
    width: 121px;
}
.catalog-title {
    font-weight: 600;
    font-family: Montserrat-Medium;
    color: #000;
    font-size: 24px;
}
.card_page_item {
    display: block;
    
}
.card-page-img {
    float: left;
    width: 40%;
    margin: 0 20px 20px 0;
}