:root {
    /* --index-block-padding-top: 18px; */
    --index-block-padding-top: 115px;
    --green: #24A866;
    /* --dark-green: #023538; */
    --dark-green: #055046;
}
#index-block {
    /* min-height: 920px; */
    max-width: 1920px;
    max-height: 990px;
    /* height: 920px; */
    height: 100vh;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-image: url('../images/index/index-back.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    line-height: 1;
}
#index-block .container {
    height: 100%;
    padding-top: var(--index-block-padding-top);
}
#index-block .wrapper {height:100%;padding: 0 50px;position: relative;}
#index-block h1 {
    margin-bottom: 25px;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 48px;
    font-style: italic;
    color: var(--dark-green);
}
#index-block h2 {
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 200;
    color: var(--dark-green);

}
#index-info {
    position: relative;
    top: calc(50% - var(--index-block-padding-top));
    transform: translateY(-50%);
}
#index-block .btn {
    max-width: 326px;
    width: 100%;
    height: 56px;
    /* margin: 0 0 18px 0; */
    margin: 0;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: bold;
    border: unset;
    background-color: #055046;
}
#index-block .btn:hover {background-color: var(--main-green);}
#index-greenhouses {
    /* max-width: 1360px; */
    width: 100%;
    padding: 0 20px;
    position: absolute;
    left: 50%;
    top: 78%;
    transform: translateX(-50%);
    z-index: 100;
    
}
#greenhouses-list {
    width: 100%;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 8px;
    row-gap: 8px;
    
    background-color: var(--main-green);
    border-radius: 16px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
}
#index-greenhouses .greenhouse {
    min-height: 385px;
    padding: 30px;
    color: var(--white);
    /* background: linear-gradient(180deg, #065F4D, #023538); */
    background-color: #023538;
    border-radius: 16px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
}
/* #greenhouses-list  */
#greenhouses-list .gh-new {
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
#greenhouses-list .gh-body {
    max-width: 384px;
    max-height: 144px;
    height: 100%;
    width: 100%;
    background-image: url(../images/greenhouse/gh.png);
}
#greenhouses-list .valve-value {user-select: none;cursor: default;}
#greenhouses-list .valve {top: 0;}
#greenhouses-list .valve.left-valve {
    left: unset;
    right: 50%;
    /* top: 6px; */
    /* top: 0px; */
    /* right: 49%; */
    background-image: url(../images/greenhouse/valveLeft.png);

}
#greenhouses-list .valve.right-valve {
    /* top: 6px; */
    /* top: 0px; */
    left: 50%;
    background-image: url(../images/greenhouse/valveRight.png);

}
#greenhouses-list .mini-params {
    max-width: 245px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 25px;
    position: relative;
    top: 12%;
}
#greenhouses-list .mini-params-short {
    max-width: 90%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 25px;
    position: relative;
    top: 12%;
}
#greenhouses-list .mini-params-short .culture {
    align-items: flex-start;
}
#greenhouses-list .mini-params-short .culture img {
    max-width: 71px;
    max-height: 71px;
}
#greenhouses-list .mini-params-short .params-right {
    display: flex;
    justify-content: flex-end;
}
#greenhouses-list .mini-param {
    /* width: fit-content; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#greenhouses-list .mini-param img {
    max-width: 48px;
    max-height: 48px;
    width: auto;
    height: auto;
}
#greenhouses-list .mini-param-text {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: #AEAEAE;
}
#greenhouses-list .gh-new {position: relative;}
#greenhouses-list .gh-new.left-valve:not(.right-valve) .gh-valve-params {width: 220px; justify-content: flex-start;}
#greenhouses-list .gh-new.right-valve:not(.left-valve) .gh-valve-params {width: 220px; justify-content: flex-end;}
#greenhouses-list .gh-valve-params {width: 100%;z-index: 10; justify-content: space-evenly;}
#greenhouses-list .gh-valve-params .gh-valve-param  {border: 1px solid #24A866;background-color: #055046}
#greenhouses-list .gh-fan-param {
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
#greenhouses-list {}





#index-greenhouses .gh-title {
    max-width: 100%;
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: bold;
    font-family: "Open Sans";
    line-height: 1.3;
}
#index-greenhouses .gh-descr {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}


#monitoring-block {
    /* max-height: 880px; */
    /* min-height: fit-content; */
    /* height: 100%; */
    height: 880px;
    position: relative;
    z-index: 1;
}









#second-block {
    top: 400px;
}
#monitor-containter {
    display: grid;
    grid-template-columns: 385px 1fr;
    column-gap: 80px;
    row-gap: 50px;
}
#monitor-left {
    width: 100%;
    /* padding: 30px; */
    background-color: #023538;
    /* background: linear-gradient(180deg, #065F4D 0%, #023538 100%); */
    box-shadow: 4px 4px 20px 0px #04347333;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
#monitor-right {}
#monitor-right img {
    margin-top: 80px;
    /* box-shadow: 4px 4px 20px 0px #04347333; */
}
#monitor-right p {
    padding: 25px 25px 45px 25px;
    font-family: Roboto;
    font-weight: 300;
    font-size: 24px;
    color: #AEAEAE;

}
#pattern {
    padding: 24px 0 0 0;
}
#pattern  .title-part {
    padding: 0 16px 0 32px;
    /* display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5px;
    row-gap: 10px; */
}
#pattern .gh-container-params {
    padding-left: 32px;
}
/* #pattern .wind-param {
    padding-right: 6px;
} */

.greenhouse {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.gh-abilities {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: min(80px, 100%);
    row-gap: 30px
}
.gh-abilities .ability {
    display: flex;
    align-items: center;
}
.gh-abilities img {
    width: 48px;
    height: 48px;
    margin-right: 8px;
}
.gh-abilities .ability-text {
    font-size: 12px;
    line-height: normal;
    color: #AEAEAE;
}
.gh-abilities {}

.gh-body {
    min-height: 145px;
}
.gh {
    margin-top: 35px;
    position: relative;
}
/* .gh .gh-body {
    width: 100%;
    position: relative;
    z-index: 5;
}
.gh .gh-valve-left {
    position: absolute;
    left: 8px;
    z-index: 4;
}
.gh .gh-valve-right {
    position: absolute;
    right: 8px;
    z-index: 4;
} */

.hidden {
    visibility: hidden;
}
.gh-new .gh-item {
    width: 71px;
    height: 71px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/greenhouse/plants.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.gh-new .gh-item {
    margin-left: 30px;
}
.gh-new .gh-right-params {
    margin-right: 20px;
}
.gh-new .gh-right-params .gh-param {
    margin: 0 5px;
}
.green-grad-back {
    /* max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    padding-top: 220px;
    padding-bottom: 35px; */
    /* position: relative;
    z-index: 0; */
    background: linear-gradient(360deg, #24A866 0%, #055046 100%);
}

#second-block,
#third-block {
    position: relative;
    z-index: 3;
}
#second-block h2,
#third-block h2 {
    margin-bottom: 35px;
    /* font-family: Montserrat; */
    font-weight: 400;
    font-style: italic;
    font-size: 48px;
    line-height: 100%;
    color: var(--white);
}
#monitor-left {}
#monitor-left .gh-name {
    margin-bottom: 25px;
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: var(--white);

}
#monitor-left .gh-params-grid {
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 20px;
}
#monitor-left .gh-params-grid .gh-param {
    display: flex;
    align-items: center;
}
#monitor-left .gh-params-grid {}
#monitor-left .gh-params-grid p {
    color: var(--white);
    font-size: 14px;
    font-family: 'Open Sans';
}
#monitor-left .gh-params-grid img {
    width: 48px;
    height: 48px;
    margin-right: 8px;
}
#monitor-left .gh-param {
    align-items: center;
}
#monitor-left .gh-param-name {
    margin-top: 5px;
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 12px;
    color: var(--white);
}

#monitor-left .gh-body {
    height: 200px;
}
#monitor-left .gh-new .gh-valve-params {
    top: 30px;
}
#monitor-left .gh-valve-param {
    width: 48px;
    font-size: 12px;
}
#monitor-left .valve-value {
    width: 25px;
    font-size: 12px;
}
#monitor-left .gh-item img {
    width: 70px;
    height: auto;
}
#moninor-left {}
#monitor-left .gh-new.left-valve::before,
#monitor-left .gh-new.right-valve::after {
    top: 20px;
}
#monitor-left .gh-new .gh-fan-param {top: 24px;}
#monitor-left .gh-new .gh-params.params-between {padding-top: 60px;}
#monitor-left .graph {
    height: 200px;
    /* margin-top: 30px; */
    margin-top: 17px;
    /* background-color: grey; */
}
#second-block {}
#monitor-left .gh-param-text {
    margin-left: 16px;
    display: flex;
    flex-direction: column;
}
#monitor-left .gh-param-text span {
    width: fit-content;
    margin-bottom: 4px;
    display: flex;
    line-height: 1;
    font-size: 12px;
    color: var(--white);
}
#monitor-left .gh-param-text span.inactive {color: #AEAEAE;}
#monitor-left .gh-param.graphics-btn {bottom: -10px;user-select: none;cursor: default;}



#third-block {
    max-width: 1360px;
    width: 100%;
    /* margin-top: 80px; */
    padding: 100px 20px;
    position: absolute;
    top: 315px;
    z-index: 20;
    background-color: var(--white);
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    
    
}
#third-block h2 {
    margin-bottom: 25px;
    text-align: center;
    color: var(--dark-green);
}
#third-block h3 {
    margin-bottom: 25px;
    font-family: 'Open Sans';
    font-size: 14px;
    text-align: center;
    font-weight: 400;
}
#third-block {}
#third-block .form-field {
    
}
#third-block label {
    margin-bottom: 10px;
    padding: 0 10px;
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    color: #023538;

}
#third-block input[type="text"] {
    width: 100%;
    padding: 10px;
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    border: 1px solid #148B50;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
#third-block form {
    max-width: 390px;
    margin: 0 auto;
}
#third-block form .btn {
    width: 100%;
    height: 40px;
    margin: 0

}
#fond-info {
    width: 100%;
    /* padding-top: 95px; */
    display: grid;
    grid-template-columns: 140px 1fr;
    column-gap: 30px;
    row-gap: 10px;
}
#fond-info img {
    width: 140px;
    height: auto;
}
#fond-info .text {
    max-width: 464px;
    width: 100%;
    font-size: 12px;
    line-height: 1.3;
}
#fond-info {}

#feedback-back {
    min-height: fit-content;
    height: 1000px;
    background: linear-gradient(180deg,#0D654E, #055046);
    position: relative;
}
#feedback-back::after {
    content: ' ';
    height: 108px;
    width: 100%;
    display: flex;
    position: absolute;
    bottom: 0;
    z-index: 1;
    background-image: url('../images/index/third-back.png');
    background-size: cover;
    background-position: center;
}
#monitor-left .gh-new {
    padding: 0 32px;
}
#monitor-left .gh-new .left-valve {left: 14%;top: 22px}
#monitor-left .gh-new .right-valve {left: 49%;top: 22px}
#monitor-left .gh-body {
    width: 100%;
    top: 5px;
}


@media (min-width: 999px) and (max-width: 1400px), (max-width: 500px) {
    #greenhouses-list .gh-abilities {
        column-gap: 20px;
    }
    #index-greenhouses .greenhouse {
        min-height: 355px;
    }
    #greenhouses-list .gh-new {max-height: 120px;}
    .gh-abilities img {
        width: 26px;
        height: 26px;
    }
    #greenhouses-list .gh-body {
        max-width: 230px;
    }
    #greenhouses-list .gh-valves .valve{
        width: 105px;
        top: 28px;
    }
    #greenhouses-list .gh-valve-params {
        top: 35px;
    }
    #greenhouses-list .gh-valve-params .gh-valve-param {
        width: 38px;
        height: 17px;
        font-size: 10px;
    }
    #greenhouses-list .gh-valve-params .valve-value {
        width: 20px;
        font-size: 10px;
    }
    #greenhouses-list .param-icon {
        /* width: 20px;
        height: 20px; */
    }
    #greenhouses-list .gh-fan-param {
        top: 20px;
        transform: translateX(-50%) scale(0.5);
    }
    #greenhouses-list .mini-params {
        max-width: 180px;
    }
    #greenhouses-list .mini-param img {
        max-width: 24px;
        max-height: 24px;
    }
    #greenhouses-list .mini-param-text {
        font-size: 8px;
    }
    #greenhouses-list .mini-params-short .culture img {
        max-width: 40px;
        max-height: 40px;
    }
    #greenhouses-list .gh-new.right-valve:not(.left-valve) .gh-valve-params,
    #greenhouses-list .gh-new.left-valve:not(.right-valve) .gh-valve-params {
        width: 130px;
    }

    #greenhouses-list .gh-valve-params .gh-valve-param
    
    #greenhouses-list {}
    #third-block {max-width: calc(100% - 40px);}
}
@media screen and (max-width: 998px) {
    :root {
        --index-block-padding-top: 100px;
    }
    #index-block {
        /* height: fit-content; */
    }
    #index-info {
        top: calc(40% - var(--index-block-padding-top));
        /* margin-top: 180px; */
    }
    #index-block h1 {
        font-size: 40px;
    }
    #index-block h2 {
        font-size: 14px;
    }
    #index-block .btn {
        max-width: 270px;
        height: 40px;
        font-size: 14px;

    }
    #fond-info {
        grid-template-columns: 1fr;
    }
    #fond-info img {
        width: 100px;
    }
    #fond-info .text {
        grid-row: 1;
    }
    #index-greenhouses {
        margin-bottom: 50px;
        /* width: calc(100% - 40px); */
        /* margin: 0 20px; */
        /* grid-template-columns: 1fr; */
        /* position: initial; */
    }
    #greenhouses-list {
        grid-template-columns: 1fr;
    }
    .green-grad-back {
        padding-top: 50px;
    }
    #index-greenhouses {
        max-width: 470px;
    }
    #index-greenhouses .greenhouse {
        min-height: unset;
    }
    #index-greenhouses .greenhouse .gh-new {
        margin-top: 20px;
    }
    
    #monitor-containter {
        grid-template-columns: 1fr;
    }
    .gh-new .gh-params.params-between {
        max-width: 380px;
    }
    #monitor-left .gh-new.left-valve::before, #monitor-left .gh-new.right-valve::after {top: 0;}
    /* #monitor-left .gh-new .gh-valve-params {
        width: 70%;
        top: 28px;
    } */
    #monitoring-block {
        /* height: auto; */
        height: 2000px;
    }
    #second-block {
        top: 930px;
    }
   #monitor-left  {
        max-width: 385px;
        margin: 0 auto;
    }
    #monitor-left .gh-new .left-valve {
        /* left: 29%; */
        /* left: 32%; */
        left: 14%;
    }
    #monitor-left .gh-new .right-valve {
        left: 51%;
    }
    #monitor-left .gh-new .right-valve {}
    #monitor-left {}
    #monitor-left {}
     #third-block {max-width: calc(100% - 40px);}
     #monitor-right img {margin: 0;}
    #index-greenhouses .gh-new .gh-valve-params {top: 15px;}
    /* #greenhouses-list .valve.left-valve {left: 10%;} */

}
@media screen and (max-width:768px) {
    .gh-body {
        max-width: 300px;
        margin: 0 auto;
    }
    .gh-new.left-valve::before,
    .gh-new.right-valve::after {
        /* max-width: 183px; */
        max-width: 135px;
        width: 50%;
        top: 12px;
    }
    .gh-new .gh-valve-params {
        top: 25px;
    }
    .gh-new .gh-item {
        margin-left: 20px;
        width: 40px;
        height: 40px;
    }
    .gh-new .gh-param-img img {
        height: 30px;
    }
    .gh-new .gh-fan-param {
        width: 30px;
        height: 30px;
        top: 30px;
    }
    #monitor-left .gh-new.left-valve::before, #monitor-left .gh-new.right-valve::after {
        top: 40px;
    }
    #monitor-left .gh-new .gh-valve-params {top: 50px;}
    #monitor-left .gh-new .gh-fan-param {top: 50px;}
    #monitor-left .gh-new .gh-params.params-between {padding-top: 50px;}
    #monitor-left .gh-param-name {font-size: 14px;}
    #monitoring-block {height: 1850px;}
    #index-greenhouses .gh-valve-params {
        top: 16px;
    }
    #index-greenhouses .gh-fan-param {
        top: 7px;
        left: 50%;
        transform: translateX(-50%) scale(0.7);
    }
        #monitor-left .gh-new.left-valve::before, #monitor-left .gh-new.right-valve::after {
        top: 40px;
    }
    #monitor-left .gh-new .gh-valve-params {width: 300px;top: 30px;}
    #monitor-left .gh-new .gh-fan-param {top: 20px;transform: scale(0.7);}
    /* #monitor-left .gh-fan-param .param-icon {transform: scale(0.5);} */
    #monitor-left .gh-new .gh-params.params-between {
        padding-top: 50px;
        align-items: center;
    }
    #monitor-left .gh-param-name {font-size: 14px;}
    #monitoring-block {height: 1850px;}
    #greenhouses-list .mini-param img {max-width: 40px;}
    #monitor-left .gh-body {height: 170px;}
    
}
@media screen and (max-width: 500px) {
    #index-block .wrapper {
        padding: 0 30px;
    }
    .gh-abilities {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }
    
    #second-block h2,
    #third-block h2 {font-size: 30px;}
    /* #index-greenhouses .greenhouse {
        padding: 30px 8px;
    } */
    #monitoring-block {height: 1800px;}
    #index-greenhouses .gh-new .gh-valve-params {
        top: 35px;
    }
    #index-greenhouses .gh-fan-param {
        top: 23px;
        transform: translateX(-50%) scale(0.6);
    }
    #monitor-left {
        width: 310px;
    }
    #monitor-left .gh-new .valve {top: 28px;}
    /* #monitor-left .gh-body {
        height: 150px;
    }
    #monitor-left .gh-new .gh-valve-params {
        top: 20px;
    }
    #monitor-left .gh-new .gh-fan-param {
        top: 15px;
    }
        
    #monitor-left .gh-new .left-valve,
    #monitor-left .gh-new .right-valve {
        width: 110px;
        top: 16px;
    }
    #monitor-left .gh-new .left-valve {}
    #monitor-left .gh-new .right-valve {}
    #monitor-left .gh-new .gh-item {
        min-width: 40px;
        margin: 0 10px;
    }
    
    #monitor-left .gh-param-name {font-size: 12px;}
    #monitor-left .inner-wet-icon,
    #monitor-left .inner-temp-icon {transform: scale(0.7);}
    #monitor-left .gh-param-text span {font-size: 10px;}
    #monitor-left .gh-param.graphics-btn {right: 10px;transform: scale(0.7);} */
    /* #pattern .title-part {
        grid-template-columns: 1fr;
    } */
    #monitor-left .gh-param-text {margin-left: 5px;}
    #monitor-left .gh-param-text span {font-size: 10px;}
    #monitor-left .gh-new .gh-item {
        min-width: 40px;
        margin: 0 10px;
    }
    #monitor-left .gh-new .gh-param-img {height: 30px;}
    /* #greenhouses-list .valve.left-valve {left: auto;} */

}