html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    overflow-x: hidden;
    min-width: 375px;
   
}

/********bread*******/
.bread {
    display: flex;
    align-items: center;
    height: 40px;
}
.hash {
    margin: 0 20px;
}

p {
    line-height: 170%;
}

.main-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.orange-dot {
    max-width: 375px;
    width: 100%;
    max-height: 375px;
    height: 100%;
    position: absolute;
    background-color: orange;
    z-index: -1;
    top: 0;
    left: 0;
    filter: blur(200px);
}

.green-dot {
    width: 120px;
    height: 120px;
    position: absolute;
    background-color: green;
    filter: blur(90px);
    bottom:  70px;
    right: 0;
    z-index: -1;
}

.line-small {
    width: 32px;
    height: 2px;
    background-color: black;
    margin-right: 15px;
}

.line-big {
    width: 260px;
    
    height: 2px;
    background-color: black;
    margin-left: 30px;
}

.title-small {
    font-weight: 800;
    font-size: 50px;
}

.title-big {
    font-weight: 800;
    font-size: 64px;
    line-height: 120%;
}

.text {
    font-weight: 800;
    font-size: 24px;
    line-height: 120%;
}

.text-medium {
    font-size: 18px;
    font-weight: 600;
}

.text-small {
    font-size: 16px;
    line-height: 170%;
    font-weight: 500;
}

.link {
    width: fit-content;
    border-bottom: 2px solid #000;
    display: block;
    transition: 0.5s ease;
    margin-top: 30px;
    line-height: 80%;
    padding-bottom: 4px;
}

.link:hover {
    text-shadow: 1px 1px 3px rgb(114 113 113);
}

.link__arrow {
    margin-left: 20px;
}


/**************header***************/
.header {
    padding-top: 20px;
    z-index: 1;
}

.header__container {
    width: 100%;
    max-width: 1380px;
    margin: 25px auto;
    padding: 0 40px;
}

.header__wrapper, .header__wrapper-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 48px;
    cursor: pointer;
}

.header__btn {
    width: 164px;
    height: 55px;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 35px;
    cursor: pointer;
    transition: 1s ease;
    margin-right: 45px;
    border: 2px solid black;
}

.btn-text {
    font-size: 16px;
    color: white;
    padding-right: 15px;
    transition: 1s ease;
}
.btn-arrow {
    transition: 1s ease; 
}

.header__btn:hover .btn-text {
    color: black;
}

.header__btn:hover .btn-arrow {
    fill: black;
}

.header__btn:hover{
    background-color: white;
}

.menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
}

.menu-up,
.menu-down {
    width: 40px;
    height: 2px;
    background: black;
}

.menu-up {
    margin-bottom: 10px;
}

.menu-down {
    width: 25px;
    margin-left: 15px;
}


/****************modal window***********/
.modal {
    padding: 68px 20px 50px 40px;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 20;
    transition: 0.5s ease;
    overflow-y: scroll;
    scroll-behavior: smooth;
    background-color: white;
    opacity: 0;
}

.close-modal{
    position: absolute;
    right: 5%;
    top: 7%;
    width: 32px;
    height: 32px;
    z-index: 20;
    cursor: pointer;
}

.close-modal:before, .close-modal:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: rgb(0, 0, 0);
}

.close-modal:before {
    transform: rotate(45deg);
}

.close-modal:after {
    transform: rotate(-45deg);
}

.modal__blur-orange {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: orange;
    filter: blur(200px);
    z-index: -1;
}

.modal__blur-green {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: green;
    filter: blur(200px);
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}

.menu-item, .label__title, .products__title {
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 40px;
    font-family: 'Poppins', sans-serif;
    transition: 0.5s ease;
}

.label__items{
    margin-top: 40px;
}

.products__title:hover, .label__title:hover {
    text-shadow: 3px 3px rgb(156, 155, 155);
}

.label-item, .product__item a {
    font-weight: 600;
    font-size: 15px;
    line-height: 120%;
    margin-bottom: 20px;
    transition: 0.5s ease;
}

.product__items {
    display: flex;
    flex-wrap: wrap;
}

.product__item a {
    display: flex;
    width: 167px;
    margin-right: 30px;
    /* flex-wrap: wrap; */
}

.product__item a p, .menu-item a p {
    transition: 0.5s ease;
}

.menu-item p:hover, .product__item p:hover {
    transform: translateX(0.5em) !important;
    transition: 0.5s ease;
}

.label-item:hover {
    transform: translateX(0.5em);
    transition: 0.5s ease;
}


/*******************form***********/
.touch {
    padding: 130px 0 150px;
    position: relative;
    overflow: hidden;
}

.touch-orange{
    top: unset;
    bottom: 10%;
    left: 10%;
    width: 250px;
    height: 250px;
    filter: blur(150px);
    z-index: -1;
}

.touch-green {
    top: 210px;
    right: 0;
    width: 210px;
    height: 210px;
    filter: blur(110px);
    z-index: -1;
    overflow: visible;
}

form {
    position: relative;
}

.form__name {
    display: inline;
}

.form-btn {
    background: black;
    color: white;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    width: 250px;
    max-width: 100%;
    height: 55px;
    margin-top: 70px;
    transition: 0.5s ease;
}

.form-btn:hover {
    box-shadow: 5px 5px 5px rgb(126, 114, 114);
}

.form-btn img {
    padding-left: 30px; 
    transition: 0.5s ease;
}

.form-btn:hover .form-arrow {
    transform: translateX(10px);
}

label, .touch input{
    margin-right: 25px;
    font-weight: 600;
    font-size: 24px;
}

.form__name input, .form__email input {
    border-bottom: 2px solid black;
    max-width: 312px;
    width: 100%;
    text-align: center;
    margin-top: 70px;
    background: transparent;
}

.form__email {
    width: 838px;
    max-width: 100%;
}


.form__email,
.form__name {
    position: relative;
}

/* .input {
    border-bottom: 2px solid red !important;
} */


.form__empty {
    display: inline;
}
.form__empty::after {
    color: red;
    position: absolute;
    bottom: -30px;
    right: 29px;
    
}
.form__coution::after {
    content: 'This field must to be filled';
}

.form__email input {
    max-width: 500px;
}

/*******checkbox custom*******/
.custom-checkbox {
    position: relative;
    margin-top: 70px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    z-index: -1;
}

.custom-checkbox .fake-checkbox {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: transparent;
    border-radius: 3px;
    border: 2px solid black;
}

.custom-checkbox .fake-checkbox:after {
    position: absolute;
    content: '';
    display: block;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: transparent;
    border-radius: 4px;
}

.custom-checkbox label {
    display: flex;
    font-size: 18px;
    line-height: 24px;
    padding-left: 40px;
    position: relative;
    z-index: 2;
    max-width: 419px;
    cursor: pointer;
}

.custom-checkbox input:checked ~ .fake-checkbox:after {
    background: url('../img/checkbox.svg'); 
}

.goTopBtn {
    position: absolute;
    bottom: 50px;
    right: 40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid black;

    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease;

    transform: rotate(22deg);
    animation-name: move;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
}

@keyframes move {
    0% {
        transform: translateY(0);
    }
    50% {  
        transform: translateY(20px);
    }
    100% {
        transform: translateY(0);
    }
}

/********overlay********/

.overlay {
    opacity: 0;
	position: fixed;
	top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%,-50%);
    background-color: rgb(46, 46, 46, 0.5);
    visibility: hidden;
    transition: ease 0.5s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.box {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: white;
    text-align: center;
    transform: translate(-50%,-50%);
    width: 660px;
    max-width: 100%;
    height: 400px;
    max-height: 100%;
    margin: 0 10px;

}

.overlay__title {
    margin-top: 65px;
}

.overlay__text{
    margin: 50px auto;
    line-height: 27px;
    width: 426px;
    max-width: 100%;
    padding: 0 30px;
    
}

.overlay__btn {
    background-color: black;
    color: white;
    border-radius: 30px;
    padding: 10px 40px;
}

.overlay__cross {
    position: absolute;
    top: 20px;
    right: 20px;
}

@media (min-width: 768px) {
    /*header and modal*/
    .modal {
        font-family: 'Poppins', sans-serif;
        font-weight: 800;
        right: 0;
        top: -100%;
        display: flex;
        margin: 0 auto;
    }

    .modal__menu {
        margin-top: 100px;
    }

    .label-item{
        display: block; 
        margin-right: 50px;  
    }


    .modal__wrapp {
        border-left: 2px solid black;
        margin-left: 42px;        
        padding-left: 70px;         
        padding-top: 100px;
        height: fit-content;
        padding-bottom: 50px;
    }

    .menu-item {
        width: 300px;                                                      
        border-bottom: 2px solid black;
        padding-bottom: 44px;               
        margin-bottom: 35px;                
    }
    
    .menu-item a, .label__title, .products__title {
        font-size: 35px;
        margin-bottom: 30px;                                      
    }

    .menu-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .modal.open{
        top: 0;
        padding-top: 0;
        padding-bottom: 0;
        opacity: 1;
    }
    .product__items {
        max-width: 300px;
        width: 100%;
    }

    .product__item {
        border-bottom: 1px solid black;
        margin-right: 40px;
        max-width: 258px;
        width: 100%;
        margin-top: 20px;
    }
    .product__item:last-child{
        border-bottom: none;
    }
    .product__item a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 258px;
    }
    .product__item a img {
        float: right;
    }
    .product__item a p {
        width: 203px;
    }
    .label-item a, .product__item a p{
        font-size: 20px;
    }
    .label-item a img {
        margin-left: 5px;
    }
    /*header and modal finish here*/

}

@media (min-width: 1167px) {
    /*header and modal*/
    .modal__wrapp {
        padding-left: 100px; 
        border-left: 2px solid black;
        height: fit-content;
        padding-bottom: 200px;
    }

    .menu-item {
        width: 360px;                                                     
        border-bottom: 2px solid black;
        padding-bottom: 54px;               
        margin-bottom: 50px;                
    }

    .label-item {
        display: inline-block;  
    }

    .menu-item a, .label__title, .products__title {
        font-size: 50px;                                   
    }

    .product__item:last-child, .product__item:nth-child(5){
        border-bottom: none;
    }

    .modal__products {
        margin-top: 100px;
    }

    .label__title {
        margin-bottom: 40px;
    }

    .product__items {
        max-width: 600px;
        width: 100%;
    }

    .main-container {
        padding: 0 20px;
    }
    /*header and modal finish here*/
     
}


@media (max-width: 1167px) {
    .modal__wrapp {
        padding-bottom: 50px;
    }
    /*****form*****/

    .touch__title{
        width: 400px;
        max-width: 100%;
        margin: 0 auto 50px;
    }
    .form__name {
        display: block;
    }

    form {
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
    }

    .form__name label, .form__email label {
        display: block;
    }

    .form__name, .form__email, .custom-checkbox {
        margin-top: 40px;
    }

    .form__name input, .form__email input {
        max-width: 400px;
        width: 100%;
        margin-top: 20px;
    }

    .form-btn {
        width: 400px;
        max-width: 100%;
        margin-top: 30px;
    }

    .form-btn img {
        padding-left: 80px; 
        
    }

    .form__empty::after {
        bottom: -20px;
        right: 0px;
    }

    .modal__blur-orange, .modal__blur-green {
        width: 300px;
        height: 300px;
        filter: blur(150px);
    }

}


@media (max-width: 767px) {
    /****basic body****/
    .title-small{
        font-size: 32px;
    }

    .title-big {
        font-size: 32px;
    }

    .main__title {
        width: 316px;
    }

    .line-big {
        max-width: 150px;
    }   

    /*header and modal*/
    .header__btn {
        display: none; 
    }

    .modal.open {
        right: 0;
        opacity: 1;
    }

    .product__item a img, .label-item img {
        display: none;
    }

    .product__items{
        max-width: 400px;
        width: 100%;
        margin-top: 40px;
    }

    .product__item a {
        display: flex;
        width: 155px;
        margin-right: 0px;
    }
    .product__item:nth-child(3) p {
        max-width: 135px;
        padding-right: 20px;
    }
    /*header and modal finish here*/

    /*****form****/
    label, input {
        font-size: 24px;
    }
    .input {
        text-align: left !important;
        
        
    }
    .form-btn img {
        padding-left: 120px; 
        
    }

    .goTopBtn {
        width: 60px;
        height: 60px;
    }

    .goTopBtn img{
        width: 20px;
        height: 20px;
    }
    
    .hash {
            margin: 0 7px;
    }
    
    .bread{
            font-size: 11px;
    }

    /****overlay***/
    .box {
        width: 299px;
        padding-top: 50px;
    }
}






