@import 'fonts.css';

:root {
    --color-green: #19652A;
    --color-green-hover: #144d21;
    --color-red: #E44040;
    --color-red-hover: #b12525;
    --color-grey: #D9D9D9;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    display: block;
}

ul,
ol,
li {
    list-style: none;
}

ul li {
    letter-spacing: normal;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 45px;
}

html,
body {
    height: 100%;
    line-height: 1;
    font-size: 16px;
    color: #000;
}

.wrapper {
    min-height: 100%;
    overflow: hidden;
}

._container {
    max-width: 1200px;
    margin: 0 auto;
}

.btnborder {
    border-radius: 10px;
}

/* header ======================================================================================================== header */

header {
    height: 700px;
    background: url('/img/ft1.jpg') no-repeat center center;
    background-size: cover;
}

.topheader {
    height: 70px;
    background-color: var(--color-green);
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #fff;
    font-weight: 500;
    font-size: 40px;
    margin-left: 20px;
    line-height: 0.6;
}

.logo>span {
    font-size: 20px;
}

.topphone {
    color: #fff;
    text-align: right;
    margin-right: 20px;
    font-size: 22px;
}

.numberphone {}

.callback_zakaz {
    margin-top: 5px;
    text-decoration: underline;
    font-size: 24px;
    color: #fff;
}

.offerone {
    color: var(--color-green);
    text-align: center;
    margin-top: 30px;
}

.offerone h1 {
    font-weight: 500;
    -webkit-text-stroke: 0.5px #000;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.offertwo {
    margin-top: 70px;
    color: var(--color-green);
    text-align: center;
    font-weight: 500;
    font-size: 50px;
    -webkit-text-stroke: 0.5px #000;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.offerthree {
    margin-top: 70px;
    color: var(--color-green);
    text-align: center;
    font-weight: 500;
    font-size: 50px;
    -webkit-text-stroke: 0.5px #000;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.btnheader {
    margin-top: 60px;
}

.btnheader a {
    width: 400px;
    background-color: var(--color-green);
    color: #fff;
    font-size: 40px;
    text-align: center;
    padding: 20px;
    margin: 0 auto;
}

.btnheader a:hover {
    background-color: var(--color-green-hover);
}

.social {
    position: fixed;
    right: 10px;
    bottom: 60px;
    z-index: 100;
  
}
.social img {
    display: block;
    margin-bottom: 10px;
    cursor: pointer; 
    width: 50px;
    height: 50px;  
}


/* services ====================================================================================================== services*/

#services {
    margin-top: 50px;
}

.services_title {
    text-align: center;
}

.services_items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 10px 0px;
}

.services_items-item {
    width: 260px;
    text-align: center;
    background-color: var(--color-grey);
    line-height: 1.2;
    padding: 20px;
    font-size: 20px;
    -webkit-box-shadow: 5px 5px 5px 0px #000000;
    box-shadow: 5px 5px 5px 0px #000000;
}

.services_items-item:hover {
    -webkit-box-shadow: 5px 5px 22px 0px #000000;
    box-shadow: 5px 5px 22px 0px #000000;
}

.services_items-item hr {
    border: none;
    background-color: #000;
    height: 1px;
    width: 90%;
    margin: 10px 10px;
}

.services_btn {
    background-color: var(--color-green);
    padding: 10px;
    margin: 10px auto;
    color: #fff;
    width: 80%;
}

.services_btn:hover {
    background-color: var(--color-green-hover);
}

/* consult ====================================================================================================== consult*/
#consult {
    margin-top: 50px;
}

.consult_title {
    text-align: center;
}

.consult_btn {
    background-color: var(--color-green);
    padding: 10px;
    margin: 30px auto;
    color: #fff;
    width: 500px;
    font-size: 40px;
    text-align: center;
}

.consult_btn:hover {
    background-color: var(--color-green-hover);
}

/* advantage ===================================================================================================== advantage*/

#advantage {
    margin-top: 50px;
}

.advantage_title {
    text-align: center;
}

.advantage_items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 10px 0px;
}

.advantage_items-item {
    width: 260px;
    text-align: center;
    background-color: var(--color-grey);
    line-height: 1.2;
    padding: 20px;
    font-size: 20px;
    -webkit-box-shadow: 5px 5px 5px 0px #000000;
    box-shadow: 5px 5px 5px 0px #000000;
}

.advantage_items-item:hover {
    -webkit-box-shadow: 5px 5px 22px 0px #000000;
    box-shadow: 5px 5px 22px 0px #000000;
}

.advantage_region {
    margin: 40px auto;
    border: #000 solid 2px;
    padding: 20px;
    text-align: center;
    width: 500px;
    font-size: 25px;
    line-height: 1.3;
    animation: rotate 5s infinite;
    background-color: var(--color-grey);
}

@keyframes rotate {
    0% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(-5deg);
    }
}

/* ordercleaning ========================================================================================= ordercleaning*/

#ordercleaning {
    margin-top: 50px;
}

.ordercleaning_btn {
    background-color: var(--color-red);
    padding: 10px;
    margin: 30px auto;
    color: #fff;
    width: 500px;
    font-size: 40px;
    text-align: center;
}

.ordercleaning_btn:hover {
    background-color: var(--color-red-hover);
}

/* footer =================================================================================================== footer*/

.foot {
    height: 70px;
    background-color: var(--color-green);
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* max-width: 1100px===================================================================================  max-width: 1100px*/

@media screen and (max-width: 1100px) {

    .services_items {
        justify-content: center;
    }

    .services_items-item {
        margin: 10px 10px 0 0;
    }

    .advantage_items {
        justify-content: center;
    }

    .advantage_items-item {
        margin: 10px 10px 0 0;
    }
}

/* max-width: 650px===================================================================================  max-width: 650px*/

@media screen and (max-width: 650px) {

    .topheader {
        height: auto;
        padding: 10px;
        flex-direction: column;
    }

    .logo {
        margin-left: 0;
        text-align: center;
    }

    .topphone {
        margin: 12px 0px 0px;
        text-align: center;
        line-height: 0.8;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 35px;
    }

    .offertwo,
    .offerthree {
        font-size: 40px;
        margin-top: 50px;
    }

    .btnheader {
        margin-top: 80px;
    }

    .btnheader a {
        width: auto;
        font-size: 35px;
        padding: 20px;
        margin: 0px 5px 0 5px;
    }

    header {
        height: 630px;
    }

    .consult_btn {
        padding: 10px;
        margin: 30px 5px 0 5px;
        width: auto;
        font-size: 35px;
    }

    .advantage_region {
        margin: 40px 10px 0 10px;
        width: auto;
    }

    .ordercleaning_btn {
        margin: 30px 5px 0 5px;
        width: auto;
    }

    footer {
        margin-top: 30px;
    }

    .social {
        right: 5px;     
    }

    .social img {
        width: 40px;
        height: 40px;  
    }
    .foot {
        height: auto;
        padding: 10px;
        flex-direction: column;
    }
}

/* max-width: 340px===================================================================================  max-width: 340px*/

@media screen and (max-width: 340px) {

    .btnheader {
        margin-top: 50px;
    }

    .btnheader a {
        width: auto;
        font-size: 35px;
        padding: 20px;
        margin: 0px 5px 0 5px;
    }

    .offertwo,
    .offerthree {
        margin-top: 40px;
    }
}

/* max-width: 315px===================================================================================  max-width: 315px*/

@media screen and (max-width: 315px) {

    #services {
        margin-top: 80px;
    }
}
