@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&family=Poiret+One&display=swap');
/*=====================================
================ M A I N ==============
=====================================*/

.main__title {
    background-image: linear-gradient(84.81deg, rgba(135, 151, 204, 0.7) 4.16%, rgba(72, 174, 180, 0.8) 95.84%), url("../img/background.jpg"); /* <-- путь к твоей картинке */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.main__title .container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;

    height: 330px;

}


.main__title__shop {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 800px;
    margin-top: 10px;

}

.background__np__title {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;

    padding: 3px 15px;

}

.text__np__title {
    background: linear-gradient(90deg, #FC93FA 0%, #4EDBE3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    font-size: 30px;
    font-family: 'Koulen';
    margin: 0;
    padding: 0;
}

.title__shop {
    font-weight: 700;
    font-size: 60px;
    letter-spacing: 0.05em;
    text-align: center;

    color: #549EFF;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;

    padding: 1px 30px;
    margin: 0;

}

.text__main__shop {
    font-weight: 500;
    font-size: 23px;
    line-height: 30px;
    text-align: center;

    color: #FFFFFF;
    margin: 0;
    margin-top: 15px;

}


.attention .container {
    display: flex;
    flex-direction: column;
    justify-content: center;

    background: rgba(255, 0, 0, 0.1);
    border-radius: 20px;
    margin-top: 5px;

    max-width: 1000px;

}

.attention__title {
    font-size: 16px;

    color: #FF0000;
    margin: 0;
    margin-top: 7px;

}

.attention__text {
    font-size: 14px;
    line-height: 13px;

    color: #430000;
    margin: 0;
    margin-top: 1px;
    margin-bottom: 10px;

}

.at2 {
    margin-top: 20px;
}

/*=====================================
============ S H O P  PRODUCT WRAPP =========
=====================================*/
.shop__page {
    margin-top: 30px;
}

.shop__page .container {
    width: 1000px;
    display: flex;
    justify-content: center;
}

.product__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 35px;
}

/*=====================================
============= B Y   B O A R D =========
=====================================*/

.by__board{
    background-color: #E9F2FF;
    border-radius: 5px;
    width: 350px;
    padding: 10px;

    position: absolute;
    top: 16%;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s ease;

    z-index: 5;

}

.by__board--active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.by__board__1{
    font-size: 17px;
    line-height: 22px;
    margin: 0;

}

.by__board__2 {
    font-size: 16px;
    line-height: 22px;
    color: #AC0000;
    margin: 0;
    margin-top: 5px;
    margin-bottom: 5px;

}

.by__board__3 {
    font-size: 17px;
    line-height: 22px;
    margin: 0;

}

/*=====================================
============ S H O P  PRODUCT =========
=====================================*/



.product {
    display: flex;
    flex-direction: column;
    align-items: center;

    border-color: #39D600;
    border-radius: 5px;
    box-shadow: 0px 0px 10px #39D600;

    width: 270px;
    height: 400px;

    position: relative;

}

.product__header {
    background-color: #39D600;
    border-radius: 5px 5px 0px 0px;
    width: 100%;
    padding-block: 10px;
    margin-top: 0;

    display: flex;
    align-items: center;

    position: relative;

}

.product__title {
    font-family: 'Pixelify Sans';
    font-weight: 700;
    font-size: 36px;

    color: #39D600;
    margin: 0;
    background-color: #FFFFFF;
    border-radius: 5px;
    padding: 0px 15px;
    margin-left: 10px;

    position: relative;
    z-index: 2;

}

.product__icon {
    position: absolute;
    z-index: 1;

    height: 40px;
    width: 40px;

    left: 45%;

}


.product__img {
    width: 180px;
    height: 180px;

    padding-block: 15px;

}


.product__footer {
    margin-top: auto;
    
    display: flex;
    align-items: center;
    flex-direction: column;

    margin-bottom: 5px;
    height: 125px;
    justify-content: space-between;

}


.product__text {
    font-family: 'Poiret One';
    font-weight: 550;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    margin: 0;

    color: #000000;

}

.product__possibilities {
    font-family: 'Alumni Sans';
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 0.01em;
    margin: 0;

    color: #39D600;
    
}

.product__button {
    background-color: #FFFFFF;
    border-radius: 5px;
    border: solid #39D600 2px;

    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;

    width: 250px;
    height: 30px;

}
.product__button:hover {
    background-color: #39d6009c;
    transition: 1.0s;
}

.product__price {
    font-family: 'Poiret One';

    font-size: 17px;
    text-align: center;
    letter-spacing: 0.05em;

    color: #FFFFFF;

    background-color: #39D600;
    border-radius: 0px 5px 5px 0px;
    width: 110px;
    height: 100%;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

}

.product__bt__text {
    font-family: 'Poiret One';
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 0.05em;

    color: #000000;

    margin: 0;
    margin-left: 10%;

}


/*========№2 Вип==*/

.p_vip {
    border-color: #fff953;
    box-shadow: 0px 0px 10px #fff953;
}
.ph_vip {
    background-color: #fff953;
}
.pti_vip {
    color: #fff953;
}
.pi_vip {
    left: 33%;;
}
.pf_po_vip {
    color: #e3db00;
}
.pf_b_vip {
    border-color: #e3db00;
}
.pf_b_vip:hover {
    background-color: #e3db00a1;
}
.pf_p_vip {
    background-color: #e3db00;
}


/*========№3 Создатель==*/

.p_create {
    border-color: #FF9D25;
    box-shadow: 0px 0px 10px #FF9D25;
}
.ph_create {
    background-color: #FF9D25;
}
.pti_create {
    color: #FF9D25;
}
.pi_create {
    left: 85%;
}
.pf_po_create {
    color: #FF9D25;
}
.pf_b_create {
    border-color: #FF9D25;
}
.pf_b_create:hover {
    background-color: #ff9d25bd;
}
.pf_p_create {
    background-color: #FF9D25;
}


/*========№4 Хранитель==*/

.p_kee {
    border-color: #28E9E9;
    box-shadow: 0px 0px 10px #28E9E9;
}
.ph_kee {
    background-color: #28E9E9;
}
.pti_kee {
    color: #28E9E9;
}
.pi_kee {
    left: 85%;
}
.pf_po_kee {
    color: #28E9E9;
}
.pf_b_kee {
    border-color: #28E9E9;
}
.pf_b_kee:hover {
    background-color: #28e9e993;
}
.pf_p_kee {
    background-color: #28E9E9;
}


/*========№5 Легенда==*/

.p_leg {
    border-color: #E31AF6;
    box-shadow: 0px 0px 10px #E31AF6;
}
.ph_leg {
    background-color: #E31AF6;
}
.pti_leg {
    color: #E31AF6;
}
.pi_leg {
    left: 70%;
}
.pf_po_leg {
    color: #E31AF6;
}
.pf_b_leg {
    border-color: #E31AF6;
}
.pf_b_leg:hover {
    background-color: #e41af68a;
}
.pf_p_leg {
    background-color: #E31AF6;
}


/*========№6 Оператор==*/

.p_ope {
    border-color: #434343;
    box-shadow: 0px 0px 10px #434343;
}
.ph_ope {
    background-color: #434343;
}
.pti_ope {
    color: #434343;
}
.pi_ope {
    left: 80%;
}
.pf_po_ope {
    color: #434343;
}
.pf_b_ope {
    border-color: #434343;
}
.pf_b_ope:hover {
    background-color: #4343436f;
}
.pf_p_ope {
    background-color: #434343;
}




/*========№7-9 Монеты==*/

.p_money {
    border-color: #FED719;
    box-shadow: 0px 0px 10px #FED719;
}
.ph_money {
    background-color: #FED719;
}
.pti_money {
    color: #FED719;
}
.pi_money {
    left: 52%;
}
.pf_po_money {
    color: #FED719;
}
.pf_b_money {
    border-color: #FED719;
}
.pf_b_money:hover {
    background-color: #fed8198c;
}
.pf_p_money {
    background-color: #FED719;
}
.pi_money10{
    left: 58%;
}


/*========№10-12 Снять ограничения==*/

.p_un {
    border-color: #BB4444;
    box-shadow: 0px 0px 10px #BB4444;
}
.ph_un {
    background-color: #BB4444;
}
.pti_un {
    color: #BB4444;
}
.pi_un {
    left: 75%;
}
.pf_po_un {
    color: #BB4444;
}
.pf_b_un {
    border-color: #BB4444;
}
.pf_b_un:hover {
    background-color: #bb44446f;
}
.pf_p_un {
    background-color: #BB4444;
}
.pi_unip {
    left: 78%;
}

.pi_unban {
    left: 86%;
}





/*===========================================
================== АДАПТАЦИЯ ================
===========================================*/

@media (max-width: 1030px) {
    .container {
        max-width: 1000px;
    }
    .shop__page .container {
        width: 830px;
    }

}


@media (max-width: 980px) {
    .product__wrapper {
        gap: 15px;
    }
    .attention .container {
        width: 700px;
    }

}

@media (max-width: 940px) {
    .product__wrapper {
        gap: 35px;
        grid-template-columns: 1fr 1fr;
    }

    .shop__page .container {
        width: 700px;
    }
    .container {
        max-width: 800px;
    }

}

@media (max-width: 729px) {
    .product__wrapper {
        gap: 25px;
    }

    .shop__page .container {
        width: 600px;
    }
    .container {
        max-width: 600px;
    }
    .attention .container {
        width: 550px;
    }

}

@media (max-width: 664px) {
    .product__wrapper {
        gap: 20px;
        grid-template-columns: 1fr;
    }
    .container {
        max-width: 530px;
    }

    .title__shop {
        font-size: 45px;
    }
    .text__np__title {
        font-size: 20px;
    }
    .text__main__shop {
        font-size: 17px;
        line-height: 18px;
    }
    .attention__text {
        font-size: 12px;
    }

}


@media (max-width: 580px) {
    .container {
        max-width: 450px;
    }
    .attention .container {
        width: 430px;
    }
    .by__board{
    width: 300px;
    }

}

@media (max-width: 480px) {
    .container {
        max-width: 370px;
    }
    .attention .container {
        width: 330px;
    }
    .shop__page .container {
        width: 300px;
    }

}