/* Root start */

:root{
    --black: #000000;
    --white: #FFFFFF;
    --gray: #292929;
    --green: #69CF17;
    --dark-green:#1A3406;
    --rr: 'Raleway-Regular';
    --rbl: 'Raleway-Black';
    --rbo: 'Raleway-Bold';
    --rt: 'Raleway-Thin';
    --rbr: 'Roboto-Regular';
    --rbb: 'Roboto-Bold';
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

.container{
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

body{
    background: #000000;
    font-family: var(--rr);
}

/* Root end */

/* Header start */

.prenav__icon{
    color: var(--white);
    font-size: 20px;
    margin-right: 5px;
}

.prenav__span{
    font-size: 16px;
    line-height: 19px;
    color: var(--white);
    font-family: var(--rbr);
}

.prenav__link{
    font-size: 16px;
    line-height: 19px;
    color: var(--white);
    font-family: var(--rbr);
}

.prenav{
    display: flex;
    justify-content: space-between;
    margin-top: 21px;
    margin-bottom: 19px;
}

.prenav__list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
}

.header__nav-title{
    font-size: 36px;
    line-height: 30px;
    text-align: center;
    color: var(--white);
    background: rgba(10, 148, 24, 0.75);
    border: 4px solid #06600F;
    box-sizing: border-box;
    border-radius: 4px;
    padding: 12px 0;
    max-width: 216px;
    width: 100%;
    font-family: var(--rbb);
}

.header__nav-link{
    font-size: 18px;
    line-height: 21px;
    color: var(--white);
    padding: 0 21px;
    transition: 300ms;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 65px;
    /* position: relative; */
}

.header__nav-link:hover{
    background: var(--green);
}

/* .header__nav-link::before{
    content: '';
    display: block;
    width: 93px;
    height: 65px;
    position: absolute;
    left: 0;
    top: 0;
    transition: 300ms;
    z-index: -2;
} */

/* .header__nav-link:hover::before{
    background: var(--green);
} */



.header__nav-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__nav-list{
    display: flex;
    justify-content: center;
    align-items: center;
    /* 
display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 28px; */
}

.header__nav{
    height: 65px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(125, 115, 115, 0.5);
    backdrop-filter: blur(15px);
}

.header__content-title{
    font-size: 72px;
    line-height: 85px;
    color: var(--green);
    font-family: var(--rbl);
}

.header__content-smalltitle{
    font-size: 36px;
    line-height: 17px;
    color: var(--green);
    margin: 18px 0;
}

.header__content-text{
    font-size: 18px;
    line-height: 24px;
    color: var(--white);
    margin-bottom: 30px;
}

.header__content-price{
    font-size: 50px;
    line-height: 25px;
    color: var(--white);
    font-family: var(--rt);
    background: rgba(105, 207, 23, 0.5);
    backdrop-filter: blur(18px);
    display: flex;
    justify-content: center;
    padding: 33px 0;
    max-width: 285px;
    width: 100%;
}

.header__content-btn{
    font-size: 18px;
    line-height: 21px;
    color: var(--white);
    display: flex;
    justify-content: center;
    background: linear-gradient(90deg, #69CF17 0%, #417D11 100%);
    border-radius: 6px;
    padding: 15px 0;
    max-width: 255px;
    width: 100%;
    height: 50px;
}

.header__content{
    height: 700px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(0deg, rgba(12, 12, 12, 0.72), rgba(12, 12, 12, 0.72));
}

.header__content-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

.header__content-btns{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header end */


/* Main start */

.main__section{
    background: var(--gray);
    box-shadow: 0px 1px 8px rgba(17, 17, 17, 0.3);
}

.main__section-link{
    font-size: 19px;
    line-height: 15px;
    color: var(--white);
    font-family: var(--rbo);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    height: 100%;
}

.main__section-link::after{
    content: '';
    display: block;
    width: 0px;
    height: 1px;
    position: absolute;
    bottom: 0;
    background: var(--white);
    transition: width 500ms;
}

.main__section-link:hover::after{
    width: 100%;
}

.main__section-list{
    display: flex;
    column-gap: 30px;
    height: 65px;
    margin-left: 15px;
}

.main__item-title{
    font-size: 19px;
    line-height: 15px;
    color: var(--white);
    font-family: var(--rbo);
    margin: 15px 0;
}

.main__item-text{
    font-size: 19px;
    line-height: 25px;
    color: var(--white);
    max-width: 338px;
    width: 100%;
}

.main__item-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.main__item-img{
    display: flex;
    overflow: hidden;
    width: 100%;
}

.main__item-icon{
    font-size: 60px;
    color: var(--white);
    background: rgba(105, 207, 23, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0px;
    opacity: 0;
    transition: opacity 300ms;
}

.main__item-icon:hover{
    opacity: 1;
}


.main__section-item{
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: var(--black);
}

.main__section-items{
    padding: 15px;
    background:#393636;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
} 

.main__section2{
    background: var(--white);
}

.main__secton2-title{
    font-size: 50px;
    line-height: 40px;
    color: var(--green);
    font-family: var(--rbo);
    text-align: center;
    padding: 20px 0;
    display: block;
}

.main__section2-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.main__section2-imgbox{
    display: flex;
    position: relative;
    height: 700px;
}

/* Main end */

/* Footer start */

.footer__top-title{
    font-size: 36px;
    line-height: 30px;
    text-align: center;
    color: var(--white);
    background: rgba(10, 148, 24, 0.75);
    border: 4px solid #06600F;
    box-sizing: border-box;
    border-radius: 4px;
    padding: 12px 0;
    max-width: 216px;
    width: 100%;
    font-family: var(--rbb);
}

.footer__top-tel{
    font-size: 20px;
    line-height: 23px;
    color: var(--white);
    font-family: var(--rbb);
}

.footer__top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.footer__link{
    font-size: 20px;
    line-height: 23px;
    color: var(--white);
}

.footer__list{
    display: flex;
    column-gap: 20px;
    margin-top: 92px;
    margin-bottom: 81px;
}

.footer__bottom-title{
    font-size: 16px;
    line-height: 19px;
    color: var(--white);
    font-family: var(--rbr);
    margin: 19px 0;
    display: block;
}

.footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 325px;
    background: linear-gradient(180deg, #000000 0%, rgba(105, 207, 23, 0.5) 100%);
}

.footer__bottom{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #1A3406;
}

/* Footer end */
/* media start */

@media(max-width:800px){
    .main__section-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .header__nav-title {
        font-size: 26px;
        line-height: 32px;
    }
}

@media(max-width:700px){
    .header__nav-box{
        flex-direction: column;
    }
    .header__nav-list{
        flex-wrap: wrap;
        justify-content: center;   
    }
    .header__nav{
        height: 100%;
    }
}

@media(max-width:500px){
    .prenav__list{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .prenav{
        flex-direction: column;
        row-gap: 20px;
        align-items: center;
    }
    .header__content-price{
        font-size: 30px;
        line-height: 46px;
        max-width: 185px;
        width: 100%;
        padding: 20px 0;
    }
    .header__content-btn{
        max-width: 155px;
        width: 100%;
    }
    .header__content-btns{
        justify-content: space-around;
    }
    .footer__top{
        flex-direction: column;
        row-gap: 20px;
    }
    .main__section-items {
        grid-template-columns: repeat(1, 1fr);
    }
    .main__section-list{
        flex-wrap: wrap;
        justify-content: center;
    }
    .header__content-title{
        font-size: 55px;
        line-height: 65px;
    }
}
@media(max-width:400px){
    .header__content-btns{
        flex-direction: column;
        row-gap: 10px;
        align-items: start;
    }
    
.footer__bottom-title{
    text-align: center;
}
}
/* media end */