/*
Theme Name: SP Theme
Theme URI: https://cms3.ru/wordpress-pustaya-tema/
Author: Alex Kuimov
Author URI: https://cms3.ru
Description: The blank wordpress theme
Version: 1.0.0
Text Domain: sp-theme
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face {
 font-family: "Roboto";
 src: url("/assets/fonts/Roboto-Regular.ttf") format("opentype");
}
@font-face {
 font-family: "Roboto Light";
 src: url("/assets/fonts/Roboto-Light.ttf") format("opentype");
}
@font-face {
 font-family: "Roboto Bold";
 src: url("/assets/fonts/Roboto-Bold.ttf") format("opentype");
}
* {
	margin: 0;
	padding: 0;
 	font-family: "Roboto Light";
    box-sizing: border-box;
}
a {

    text-decoration: none;
}

section {
	width: 1160px;
	margin: auto;
}
.clear {clear: both;}
.main-screen .logo {
	width: 20%;
    margin: auto;

    margin-bottom: 55px;
}
.main-screen {
	background-image: url(/assets/img/main-screen.jpg);
    width: 100%;
    height: 100vh;
    background-color: #000;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    text-align: center;
    vertical-align: middle;
    position: relative;
    overflow: hidden;

      display: flex;

      align-items: center;
}
.main-screen-content {
	width: 1160px;
    margin: auto;
}
.main-text {

    color: #fff;
    margin-bottom: 63px;
    font-size: 24px;
    line-height: 1.5;
}

.zayavka-button {
	display: inline-block;
    color: rgb(255, 255, 255);
    background-color: rgb(193, 39, 45);
    border-radius: 3px;
    text-transform: uppercase;
    box-shadow: rgb(0 0 0 / 30%) 0px 0px 20px 0px;
    cursor: pointer;
    font-size: 14px;
    padding: 15px 34px;
    font-family: "Roboto Bold";
    cursor: pointer;
}

.menu {
	position: absolute;
	z-index: 1000;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}
.menu-container {
	width: 1160px;
    padding: 15px 10px;
    margin: 0 auto;
    display: flex; 
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: rgb(0 0 0 / 0%) 0px 1px 3px;

}
.menu-container a {
	color: #fff;
	display: block; 
    margin: auto;
    text-decoration: none;
 font-family: "Roboto Bold";
    font-size: 14px;
    line-height: 1.55;
}
.title {

    font-size: 38px;
    margin: auto;
 font-family: "Roboto Bold";
 text-align: center;
 padding: 100px 0 0;
}
.text {
	width: 760px;
	margin: 100px auto 100px;
	text-align: center;
    font-size: 18px;
}
.about .images {

    clear: both;
}
.about-images-item-wrap {
    display: inline;
    float: left;
    margin: 0 10px;
    width: 100%;
    max-width: 360px;
}
.about-images-item {
    max-width: 360px;
    height: 360px;
    display: block;
    background-position: center;
    background-size: cover;

}
.about .images .img-1 {
	background-image: url(/assets/img/about-1.jpeg);
}
.about .images .img-2 {
	background-image: url(/assets/img/about-2.png);
}
.about .images .img-3 {
	background-image: url(/assets/img/about-3.jpg);
}

.about-text {
	max-width: 960px;
	margin: auto;
}

.about-text p {
	font-family: "Roboto";
	font-size: 20px;
	line-height: 1.55;
	margin-bottom: 20px;
}
 .line {
	background-color: #c1272d;
    height: 3px;
    width: 80px;
    margin-bottom: 14px;
    margin-top: 120px;
}

.advantages .text {
	font-size: 16px;
	margin-top: 40px;
	max-width: 560px;
}

.adv-item-text-title {
	    padding-bottom: 8px;
	    font-size: 22px;
    line-height: 1.35;
 font-family: "Roboto Bold";
}

.advantages-container {
	max-width: 960px;
	display: flex;
	flex-wrap: wrap;
	margin: auto;
}
.adv-item {
	width: 460px;
	    display: flex;
    margin: 0 10px 30px;
}
.adv-item .img {
	width: 45px;
    margin: 0 25px 0 0;
}
.adv-item-text-wrapper {
	    width: 395px;
}
.adv-item-text {
    line-height: 1.55;
}

.deliveries-items-wrapper {
	width: 50%;
    display: flex;
	height: 290px;
}

.deliveries-container {
	display: flex;
    flex-wrap: wrap;
    margin: 100px 0;
}
.deliveries-item {
	width: 50%;
}

.deliveries-item-img {
    overflow: hidden;
    display: flex;
    align-items: center;
    /* flex-wrap: wrap; */
    justify-content: center;
    position: relative;
}

.deliveries-item-img img { 
    height: 100%;
}
.deliveries-items-wrapper:nth-child(5) .deliveries-item-img img,.deliveries-items-wrapper:nth-child(9) .deliveries-item-img img {
	width: 100%;
    height: 120%;
}
.deliveries-item-text {

}
.deliveries-item-text-header {
	padding: 20px;
	font-size: 24px;
    line-height: 1.35;
 font-family: "Roboto Bold";
}
.deliveries-item-text-cont {
	font-size: 14px;
	line-height: 1.55;
    padding: 0 20px 20px;
}
.deliveries-items-wrapper:nth-child(5), .deliveries-items-wrapper:nth-child(6)  {
    height: 350px;
}
.deliveries-arrow {
    background-image: url(/assets/img/deliveries-arrow.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 20px;
    height: 39px;
    position: absolute;
    left: 0;
    top: 115px;
    z-index: 1000;
}

.deliveries-arrow-2 {
    background-image: url(/assets/img/deliveries-arrow-2.png); 
    left: calc(100% - 20px);
}


section.zayavka {
    background-image: url(/assets/img/zayavka.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    padding: 100px 0;	
}
.zayavka-container {
	width: 600px;
	margin: auto;
	text-align: center;
	color: #fff;
}

section.zayavka .text {
	width: 100%;

    font-size: 22px;
    line-height: 34px;
    margin: 25px 0;	
}

section.zayavka .title {
	padding: 0;	

}

section.manufacturer {
	width: 760px;
	border: 3px solid #c1272d;
    padding: 0 86px ;
    margin: 100px auto;
}

section.manufacturer .text {
	width: 100%;
    font-size: 20px;
    line-height: 1.55;
    margin: 45px auto 100px;
}

section.manufacturer .line {
    margin: 25px auto 0;
}

section.form {
    background-image: url(/assets/img/form.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    padding: 100px 0;	
    color: #fff;
    text-align: center;
}

.form-container {
	width: 560px;
	margin: auto;
}

section.form .text, section.form .title {
	width: 100%; 
}
section.form .text {
	font-size: 20px;
    margin: 50px auto;
}
section.form input {
	display: inline-block;
	width: 100%; 
    border: 1px solid #fff;
    height: 56px;
    background-color: transparent;
    -webkit-appearance: none;
    margin-bottom: 20px;
    padding: 0 20px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    line-height: 1.33;
    color: #fff;
 font-family: "Roboto";
}


section.form button {
	display: inline-block;
	width: 100%; 
    border: none;
    height: 56px;
    background-color: #c1272d;
    margin-bottom: 20px;
    padding: 0 20px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    line-height: 1.33;
    color: #fff;
	font-family: "Roboto";
    cursor: pointer;
    font-weight: 700;
}
.policy {
	margin-top: 30px;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.55;
}

section.contacts {
	width: 100%; 
    padding-top: 110px;
    padding-bottom: 20px;
    background-color: #080808;
    color: #fff;
}
section.contacts .logo {
	width: 200px;
	margin: auto;
}
section.contacts .text {
	margin: 60px auto;
    font-size: 20px;
    line-height: 1.55;
}


section.contacts .text a {
    border-bottom: 1px solid rgb(184, 0, 0);
    box-shadow: rgb(184 0 0) 0px 0px 0px 0px inset;
    color: #fff;
    font-size: 24px;
    line-height: 1.55;
    display: inline-block;
    margin: 30px auto;
    height: 33px;
}




.ham-container {
	display: none;
}

.ham-logo {
	color: #fff;
	text-decoration: none;
	font-family: "Roboto Bold";
	font-size: 14px;
	line-height: 1.55;
}
/* стилизуем кнопку */
.ham-button {
  display: flex; /* используем flex для центрирования содержимого */
  align-items: center;  /* центрируем содержимое кнопки */
 
  top: 20px;
  left: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1;
}
/* добавляем "гамбургер" */
.ham-button > span,
.ham-button > span::before,
.ham-button > span::after {
  display: block;
  position: absolute;
  width: 26px;
  height: 2px;
  background-color: #fff;
}
.ham-button > span::before {
  content: '';
  top: -8px;
}
.ham-button > span::after {
  content: '';
  top: 8px;
}

.menu__btn > span {
  transform: rotate(45deg);
}
.menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
.menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}

/*** popup-form ***/
.popup-form {

    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(47 47 47 / 78%);
    margin: auto;
    z-index: 1000;
	display: none;
}
.active {
	display: block;
}
.popup-form .form {

    margin: auto;
    width: 300px;
    display: flex;
    align-items: center;
    /* flex-wrap: wrap; */
    height: 100%;

}
.popup-form .form form {

    background: #fff;
    padding: 23px;
    position: relative;

}

.popup-form .form form input {

	display: inline-block;
	width: 100%; 
    border: 1px solid #000;
    height: 40px;
    background-color: transparent;
    -webkit-appearance: none;
    margin-bottom: 20px;
    padding: 0 20px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    line-height: 1.33;
    color: #000;
 font-family: "Roboto";
}

.popup-form .form form button {

	display: inline-block;
	width: 100%; 
    border: none;
    height: 40px;
    background-color: #c1272d;
    margin-bottom: 20px;
    padding: 0 20px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    line-height: 1.33;
    color: #fff;
	font-family: "Roboto";
    cursor: pointer;
    font-weight: 700;
}
.popup-form .form form .policy  {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.55;
} 
.close {
    background-color: #000;
    color: #fff;
    border-radius: 50px;
    position: absolute;
    top: -13px;
    right: -18px;
    /* width: 26px; */
    /* height: 24px; */
    z-index: 10000;
    padding: 6px 12px 7px 13px;
    border: 2px solid #fff;
    box-shadow: #00000087 0px 1px 6px;
    font-weight: bold;
    cursor: pointer;
}
@media screen and (max-device-width: 960px) {

section,header,.title,.text,.menu-container,section.manufacturer,.deliveries-items-wrapper,.zayavka-container,.form-container,.advantages .text,.advantages-container,.main-screen-content {
	width: 100%;
	max-width: 100%;
}
.form {
    padding: 0 15px;
}
}

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

section,header,.title,.text,.menu-container,section.manufacturer,.deliveries-items-wrapper,.zayavka-container,.form-container,.advantages .text,.advantages-container,.main-screen-content {
	width: 100%;
	max-width: 100%;
}

.deliveries-item,  .deliveries-container,.adv-item-text-wrapper, .about-text,.adv-item {
	width: 100%;
	max-width: 100%;
}
.deliveries-items-wrapper {
    height: auto !important;
    flex-wrap: wrap;
}

.hide {
	display: none;
}

.deliveries-items-wrapper:nth-child(4n+3),.deliveries-items-wrapper:nth-child(4n+4) {
    flex-wrap: wrap-reverse;
}
.deliveries-item-img {
	height: 290px;
}
.deliveries-arrow {
	display: none;
}
.deliveries-container {
	margin: 0;
}
.main-screen .logo {
    width: 75%;
    }
.text {
    width: 760px;
    margin: 30px auto;
}
.line {
    margin-top: 50px;
}
.deliveries-item-img img {
    height: auto;
}

.menu-container {
    flex-wrap: wrap;
}
.menu-container a {
    width: 100%;
    text-align: center;
    padding: 15px 0;
}

.ham-container {
	display: flex;
	justify-content: space-between;
    padding: 10px;
    box-shadow: rgb(0 0 0 / 0%) 0px 1px 3px;
    background-color: rgba(0, 0, 0, 0.2);
}
.menu-container a:first-child {
	display: none;
}

}

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

section.manufacturer {
padding: 10px;
}
.title {
    font-size: 30px;
    padding: 10px 0 0;
}
.about-text {

    padding: 0 20px;
}
}