@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700;800&display=swap');
* {
    box-sizing: border-box;
}

body{
    font-family: 'Exo 2', sans-serif;
    background-color: #F4F5FA;
}
a{
    text-decoration: none;
}
.container{
    padding: 0px 15px;
    max-width: 1250px;
    margin: 0 auto;
}
.item_id {
    display: none;
}
.adaptive-switch{
    display: none;
    visibility: hidden;
}
.main-img{
    display: none;
    visibility: hidden;
}
.error{
    border: 2px solid red !important;
}

/* modal */

.overlay {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    z-index: 999;
    background: rgb(0 0 0 / 48%);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease-in-out;
    max-height: 100vh;
    overflow-y: auto;
}
.overlay.open {
    opacity: 1;
    pointer-events: inherit;
}
.overlay .modal{
    position: absolute ;
    z-index: 999 ;
    background: white;
    text-align: center;
    box-shadow: 0px 1px 10px rgba(255, 255, 255, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease-in-out;
    max-height: 100vh;
    overflow-y: auto;
    border-radius: 20px;
}
.overlay .modal.open {
    opacity: 1;
    pointer-events: inherit;
}
.overlay .modal.open .content {
    transform: translate(0, 0px);
    opacity: 1;
}
.overlay .modal .content {
    transform: translate(0, -10px);
    opacity: 0;
    transition: 0.35s ease-in-out;
}
.close__btn{
    text-align: right;
    margin-right: 20px;
    padding-top: 20px;
}
.modal__content{
    height: 619px;
    width: 600px;
    background: #F6F5FB;
    overflow-y: hidden;
    z-index: 999;
}
.modal-title{
    color: #6319D0;
    font-size: 30px;
    font-weight: 700;
}
.form__after-title{
    margin-top: 50px;
}
.after-title{
    color: #6319D0;
    font-size: 30px;
    font-weight: 700;
}
.modal__form{
    text-align: center;
    padding-top: 40px;
}
.after__form-mode{
    background-color: white;
    height: 230px;
    border-radius: 25px;
    margin-top: 90px;
    box-shadow: 0px -2px 10px rgba(49, 0, 122, 0.2);
}
.after__mode-text-container{
    padding-top: 70px;
}
.after__mode-text{
    background-color: #FDF3FB;
    width: 430px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 22px;
    font-weight: 600;
    border-radius: 10px;
}
.form__name{
    margin-top: 30px;
}
.form__name-text,
.form__number-text{
    text-align: left;
    margin-left: 145px;
}
.form-number,
.form-name{
    font-size: 17px;
    font-weight: 600;
    color: #252525;
}
.form__number-input,
.form__name-input{
    margin-top: 15px;
}
.form__name-input{
    margin-bottom: 30px;
}
.form-input{
    width:  50%;
    height: 45px;
    padding: 5px 10px 5px 10px;
    outline: none;
    border-radius: 10px;
    border: none;
    box-shadow: inset 0px 0px 4px rgba(49, 0, 122, 0.2);
}
.buy__form{
    background-color: white;
    height: 230px;
    border-radius: 25px;
    box-shadow: 0px -2px 10px rgba(49, 0, 122, 0.2);
}
.buy__form-title{
    padding-top: 20px;
}
.buy-title{
    color: #252525;
    font-weight: 700;
    font-size: 24px;
}
.buy__form-price{
    margin-top: 20px;
}
.buy-price{
    font-size: 24px;
    color: #FC4E4D;
    font-weight: 600;
}
.buy__form-btn{
    margin-top: 40px;
}
.buy-btn{
    background-color: #FC4E4D;
    color: white;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 600;
    border-radius: 13px;
    padding: 15px 45px;
    -webkit-box-shadow: 2px 5px 55px -9px rgba(252, 78, 77, 1);
    -moz-box-shadow: 2px 5px 55px -9px rgba(252, 78, 77, 1);
    box-shadow: 2px 5px 55px -9px rgba(252, 78, 77, 1);
    position: relative;
    transition: all 500ms;
    border: none;
}
.buy-btn:hover{
    color: #FC4E4D;
    background-color: #EFE8FA;
    -webkit-box-shadow: 2px 3px 25px 10px rgba(99, 25, 208, 0.2);
    -moz-box-shadow: 2px 3px 25px 10px rgba(99, 25, 208, 0.2);
    box-shadow: 2px 3px 25px 10px rgba(99, 25, 208, 0.2);
    transition: color 500ms, background-color 500ms, box-shadow 500ms;
}

/* main section */

.main__section{
    background: url("../img/main-bg.webp");
    padding-bottom: 130px;
}
.header{
    background: #F4F5FA;
    width: 1250px;
    height: 100px;
    margin: 0 auto;
    border-radius: 20px;
    -webkit-box-shadow: 16px 11px 30px -8px rgba(99, 25, 208, 0.2);
    -moz-box-shadow: 16px 11px 30px -8px rgba(99, 25, 208, 0.2);
    box-shadow: 16px 11px 30px -8px rgba(99, 25, 208, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sale__block{
    background-color: #6319D0;
    width: 350px;
    text-align: center;
    padding: 10px 20px;
    border-radius: 13px;
    margin-left: 50px;
}
.sale-text{
    color: white;
    font-size: 20px;
}
.remaining-text{
    font-size: 20px;
    color: #252525;
    font-weight: 600;
}
.sale__timer{
    width: 300px;
    height: 80px;
    background-color: #EFE8FA;
    border-radius: 20px;
}
.timer{
    padding-top: 25px;
}
.language__switch{
    margin-right: 50px;
}
.UZ{
	font-size: 24px;
	background-color: #6319D0;
	color: white;
	padding: 10px 10px;
	border-radius: 7px;
	font-weight: 600;
	margin-right: 20px;
}
.RU{
	font-size: 24px;
	background-color: #EFE8FA;
	color: black;
	padding: 10px 10px;
	border-radius: 7px;
	font-weight: 600;
}
.RU:hover,
.UZ:hover{
	background-color: #6319D0;
	color: white;
}
.RU:active,
.UZ:active{
	background-color: #6319D0;
	color: white;
}
.main__section-body{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.body__container-text{
    margin-top: 100px;
}
.body-text{
    color: #6319D0;
    font-size: 55px;
    font-weight: 700;
}
.body__container-btn{
    margin-top: 50px;
}
.body-link{
    background-color: #FC4E4D;
    color: #F4F5FA;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 500;
    padding: 15px 50px;
    border-radius: 12px;
    -webkit-box-shadow: 15px 2px 25px 13px rgba(252, 78, 77, 0.2);
    -moz-box-shadow: 15px 2px 25px 13px rgba(252, 78, 77, 0.2);
    box-shadow: 15px 2px 25px 13px rgba(252, 78, 77, 0.2);
    transition: color 1000ms, background-color 1000ms, box-shadow 1000ms;
}
.body-link:hover{
    color: #FC4E4D;
    background-color: #EFE8FA;
    -webkit-box-shadow: 2px 3px 25px 10px rgba(99, 25, 208, 0.2);
    -moz-box-shadow: 2px 3px 25px 10px rgba(99, 25, 208, 0.2);
    box-shadow: 2px 3px 25px 10px rgba(99, 25, 208, 0.2);
    transition: color 500ms, background-color 500ms, box-shadow 500ms;
}

/* catalog section */

.catalog__section{
    border-radius: 220px;
    width: 100%;
    border-radius: 60px;
    background-color: white;
    padding: 10px 0px 70px 0px;
}
.catalog__section-title{
    margin-top: 30px;
    text-align: center;
}
.catalog-title{
    font-size: 40px;
    color: #252525;
    text-transform: uppercase;
    font-weight: 600;
}
.catalog__section-items{
    margin-top: 40px;
    display: grid;
    grid-auto-rows: auto;
    align-items: stretch;
    justify-items: stretch;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 70px;

}
.catalog-item{
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0px -3px 15px rgba(49, 0, 122, 0.25);
}
.catalog__sub-block{
    height: calc(100% - 340px);
    background-color: white;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 70px;
    background: #FFFFFF;
    border-radius: 0px 0px 15px 15px;
}
.item__title,
.item__subtitle,
.item__price{
    text-align: center;
}

.item__title {
    min-height: 60px;
    margin-bottom: 10px;
}
.item__Video{
    border-radius: 15px 15px 0px 0px;
    overflow: hidden;
    height: 340px;
}

.item__Video video {
    width: 100%;
    height: 100%;
}

.item__Img{
    width: 100%;
    height: 340px;
    overflow: hidden;
    border-radius: 15px 15px 0px 0px;
    text-align: center;
}
.item__Img video, .item__Img img{
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}

.item__sale {
    position: absolute;
    top: -20px;
    left: 0;
    background-color: 
    #6319D0;
    border-radius: 15px 15px 15px 0px;
    font-weight: 700;
    font-size: 30px;
    line-height: 26px;
    color: #fff;
    padding: 8px 35px;
    box-shadow: 4px 4px 42px 8px rgba(99, 25, 208, 0.3);
}

.item-img{
    height: 100%;
}
.item-title{
    font-size: 24px;
    color: #252525;
    font-weight: 700;
}
.item-subtitle{
    font-size: 20px;
    color: #002238;
}
.item__price{
    margin-top: 20px;
}
.item-price{
    font-size: 24px;
    color: #FC4E4D;
    font-weight: 700;
}
.old-price{
    color: #002238;
    font-size: 20px;
    font-weight: 400;
    padding-left: 15px;
}
.item__btn{
    position: absolute;
    width: fit-content;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%);
    text-align: center;
    margin-top: 30px;

}
.item__btn::after {
    position: absolute;
    content: "";
    background: #FC4E4D;
    filter: blur(10px);
    border-radius: 15px;
    width: 100%;
    height: 100%;
    left: 0;
    top: 10px;
    z-index: -1;
}

.item__btn:hover::after {
    background:  rgba(99, 25, 208, 0.4);
}

.very__low__btn{
    margin-top: 76px;
}
.low__btn{
    margin-top: 56px;
}
.medium-small__btn{
    margin-top: 50px;
}
.medium__btn{
    margin-top: 55px;
}
.item-btn{
    background-color: #FC4E4D;
    color: #F4F5FA;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 500;
    padding: 15px 50px;
    border-radius: 12px;
    -webkit-box-shadow: 15px 2px 25px 13px rgba(252, 78, 77, 0.2);
    -moz-box-shadow: 15px 2px 25px 13px rgba(252, 78, 77, 0.2);
    box-shadow: 15px 2px 25px 13px rgba(252, 78, 77, 0.2);
    transition: color 500ms, background-color 500ms, box-shadow 500ms;
}
.item-btn:hover{
    color: #FC4E4D;
    background-color: #EFE8FA;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    transition: color 500ms, background-color 500ms;
}
#more{
    display: none;
}
.show__btn{
    margin-top: 70px;
    text-align: center;
    padding-bottom: 50px;
}
.show-btn{
    background-color: white;
    color: #6319D0;
    border: 2px solid #6319D0;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 600;
    border-radius: 15px;
    padding: 10px 30px;
    transition: color 500ms, background-color 500ms;
}
.show-btn:hover{
    color: white;
    background-color: #6319D0;
    transition: color 500ms, background-color 500ms;
}

@media (max-width: 1200px) {
    .catalog__section-items{
        grid-template-columns: repeat(2, 1fr);
      
    }
}

@media (max-width: 815px) {
    .catalog__section-items{
        grid-template-columns: repeat(1, 1fr);
        padding-top: 15px;
        grid-auto-rows: auto;
        align-items: stretch;
        justify-items: stretch;
    }
}

/* delivery section */

.delivery__section{
    padding-bottom: 70px;
}
.delivery__section-title{
    text-align: center;
    padding-top: 50px;
}
.delivery-title{
    font-size: 40px;
    color: #252525;
    text-transform: uppercase;
    font-weight: 600;
}
.delivery__section-blocks{
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
.delivery__block-container,
.payment__block-container{
    max-width: 550px;
    min-height: 250px;
    position: relative;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: #FDF3FB;
    border-radius: 15px;
    -webkit-box-shadow: 2px 5px 22px 1px rgba(193, 181, 217, 1);
    -moz-box-shadow: 2px 5px 22px 1px rgba(193, 181, 217, 1);
    box-shadow: 2px 5px 22px 1px rgba(193, 181, 217, 1);
}



.payment__block-container{ 
    margin-right: 30px;
  
}
.payment__block,
.delivery__block{
    margin-right: 110px;
    padding: 5px;
    width: 100%;
    background-color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
}


.delivery__block img{
    position: absolute;
    top: -40px;
    right: -36px;
    width: 263px;
}

.payment__block img {
    position: absolute;
    top: 7px;
    right: -35px;
    width: 242px;
}
.payment__block-text,
.delivery__block-text{
    margin: 0px 40px;
}


.delivery__block-text{
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-text,
.delivery-text{
    font-size: 24px;
    color: #252525;
    font-weight: 500;
}

@media (max-width: 1200px) {
   
.payment__block-container{ 
    margin-right: 0;
  
}
}

@media (max-width: 500px) {
   
    .payment__block-container{ 
        margin-right: 0;
        padding: 20px;
        margin: 0;
    }
    .delivery__block-container {
        padding: 20px;
    }
    .payment__block,
    .delivery__block{
    margin-right: 0;
    }
    .item-price {
    font-size: 22px;
    color: #FC4E4D;
    font-weight: 700;
    }
}

/* footer section */

.footer__section{
    height: 330px;
    background-color: #430A99;
}
.footer__section-container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 100px;
}
.footer__text-container{
    text-align: center;
    margin-top: 10px;
}
.footer-text{
    color: white;
    font-size: 16px;
}
.footer-link{
    color: white;
    text-decoration: underline;
}
.all-rights-reserved-container{
    text-align: center;
    margin-top: 50px;
}
.all-rights-reserved{
    color: white;
}

/* TABLETS */

@media screen and (max-width: 1200px){
    
    body{
        overflow-x: hidden;
    }
    .container{
        max-width: 900px;
    }
    .main-img{
        display: inherit;
        visibility: visible;
    }

    /* main section */
    
    .main__section{
        background: #F4F5FA;
        padding-bottom: 50px;
    }
    .main__section-body{
        flex-direction: column;
    }
    .body__container-left{
        text-align: center;
    }
    .body__container-text{
        margin-bottom: 10px;
        margin-top: 50px;
    }
    .header{
        flex-direction: column;
        width: 600px;
        height: 300px;
        border-radius: 0px 0px 60px 60px;
        justify-content: center;
    }
    .pc-switch{
        display: none;
        visibility: hidden;
    }
    .adaptive-switch{
        visibility: visible;
        display: block;
        margin-right: 0px;
        padding-top: 30px;
    }
    .sale__block{
        margin-left: 0px;
        margin-top: 30px;
    }
    .sale__remaining{
        margin-top: 30px;
    }
    .sale__timer{
        margin-top: 30px;
        margin-bottom: 30px;
        padding-bottom: 10px;
    }

    /* catalog section */

    .item-btn{
        background-color: #FC4E4D;
        color: #F4F5FA;
        display: block;
        text-transform: uppercase;
        font-size: 20px;
        font-weight: 500;
        padding: 15px 50px;
        border-radius: 12px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        transition: color 500ms, background-color 500ms;
    }
    .item-btn:hover{
        color: #FC4E4D;
        background-color: #EFE8FA;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        transition: color 500ms, background-color 500ms;
    }
    
    /* delivery section */

    .delivery__section-blocks{
        flex-direction: column;
        align-items: center;
    }
    .delivery__block-container{
        margin-top: 50px;

    }
}

/* PHONES */

@media screen and (max-width: 500px){
    
    body{
        overflow-x: hidden !important;
    }
    .wrapper{
        overflow-x: hidden !important;
    }

    /* modal */

    .overlay{
        background: rgb(0 0 0 / 48%);
    }
    .modal{
        width: 350px;
    }
    .modal__content{
        width: 350px;
    }
    .close__btn{
        text-align: right;
    }
    .modal-title{
        font-size: 20px;
    }
    .form__number-text,
    .form__name-text{
        margin-left: 0px;
        text-align: center;
    }
    .form-input{
        width: 70%;
    }
    .buy__form{
        height: 245px;
    }

    .after__form-mode{
        margin-top: 102px;
    }
    .after-title{
        font-size: 24px;
    }
    .after__mode-text{
        width: 300px;
    }
    .mode-text{
        font-size: 18px;
    }


    /* main section */

    .main__section{
        padding-bottom: 0px;
    }
    .header{
        width: 340px;

        height: 220px;
    }
    .adaptive-switch{
        padding-top: 30px;
    }
    .sale__block{
        background-color: transparent;
        margin-top: 10px;
        padding-bottom: 0px;
    }
    .sale-text{
        color: black;
        font-weight: 800;
        font-size: 19px;
    }
    .sale__remaining{
        margin-top: 10px;
    }
    .sale__timer{
        margin-top: 10px;
        height: 50px;
    }
    .timer{
        padding-top: 15px;
    }
    .body-text{
        font-size: 32px;
    }
    .body__container-btn{
        display: none;
    }
    .main-img{
        display: none;
    }

    /* catalog section */

    .catalog__section-title{
        display: none;
    }
    .left-video-item{
        margin-right: 0px;
    }
    .right-video-item{
        margin-left: 0px;
    }

    /* delivery section */

    .delivery-title{
        font-size: 30px;
    }
    .delivery__block-container{
        width: 100%;
    }
    
    .payment__block,
    .delivery__block{
        margin-left: 10px;
    }
    .payment-text,
    .delivery-text{
        font-size: 20px;
    }

    .delivery__block-img, .payment__block-img  {
       display: none;
    }
    
    /* footer section */

    .footer__section{
        height: auto;
    }
    .footer__section-container{
        flex-direction: column;
        padding-top: 0px;
    }
    .footer__middle-container{
        margin-left: 0px;
    }
    .foooter__left-container,
    .footer__middle-container,
    .footer__right-container{
        margin-top: 40px;
    }
    .all-rights-reserved-container{
        margin-top: 40px;
        padding-bottom: 40px;
    }
}

