
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #030713;
    padding: 0;
    display: flex;
    padding-bottom: 50px;
    flex-direction: column;
    align-items: flex-start;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    
}

@media (max-width: 1140px) {

    header {
        padding:0 11px;
        width: 100%;
        margin: 0;
    }

    .prem {
        display: none;
        margin: 0;
    }
    .first {
        background-image: url('/images/B1.png');
        background-repeat: no-repeat;
        background-size:cover;
        background-position: 0;
        width: 100%;
        min-height: 150px;
        display: flex;
        align-items: center;
    }

    .block {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        
        gap: 30px;
    }

    .block h1 {
        color: #fff;
        font-family: Poppins;
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: 100%;
        margin: 0;
    }

    .block P {
        color: #fff;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin: 0;
    }

    .buttons {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }
    button {
        display: flex;
        padding: 10px 40px;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        background: #DA4167;
        border: 0 ;
        color: #fff;

        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;

    }

    .popup-overlay {
        
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);

        display: flex;
        justify-content: center;
        align-items: center;

        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        margin: 0;
    }

    .popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .popup {
        display: flex;
        flex-direction: column;
        background: #030713;
        padding: 20px;
        border-radius: 10px;
        width: 90%;
        position: relative;
        transform: scale(0.8);
        transition: 0.3s ease;
        justify-content: center;
        margin: 0;
        gap: 10px;
        
    }

    .popup-overlay.active .popup {
        transform: scale(1);
    }
    .popup h2 {
        color: #fff;
        margin: 0;

    }
    .popup p {
        color: #fff;
        margin: 0;

    }
    .button-site {
        border: solid 1px #DA416780;
        border-radius: 10px;
        padding: 10px;
        display: flex;
        flex-direction: row;
        gap: 10px;
        text-decoration: none;
        
    }
    .button-site:hover {
        border: solid 1px #DA4167;
    }
    .button-site h2 {
        color: #fff;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin: 0;
        text-decoration: none;
        
    }
    .button-site p {
        color: #FFFFFF80;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin: 0;
        text-decoration: none;
    }
    .button-site img {
        width: 24px;
    }

    .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        border: none;
        background: none;
        font-size: 24px;
        cursor: pointer;
    }

    .popular {
            display: flex;
            padding: 10px 20px 20px 20px;
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
            align-self: stretch;
            width: 100%;
    }
    .popular h1 {
            color: #fff;
            font-size: 24px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            margin: 0;
    }

    .popular span {
        color: #DA4167; 
    }
    .popular .row {
        width: 100%;
            display: flex;
            flex-direction: row;
            gap: 10px;
            overflow: scroll;
            scrollbar-width: none;
    }

    .popular .row img {
            width: 100px;
            border-radius: 10px;
    }
    .providers {
            width: 150px !important;
    }


    .steps {
            display: flex;
            padding: 10px 20px 20px 20px;
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
            align-self: stretch;
            width: 100%;
            
    }
    .steps h1 {
            color: #fff;
            font-size: 24px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            margin: 0;
    }

    .steps span {
        color: #DA4167; 
        }
    .steps .row {
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-gap: 10px;
    }

    .block-step {
            display: flex;
            gap: 10px;
            width: 100%;
    }
    .steps .icon {
            display: flex;
            width: 36px;
            height: 36px;
            padding: 6px;
            justify-content: center;
            align-items: center;
            border-radius: 10px;
            border: 1px solid #DA4167;
            justify-items: stretch;

    }

    .steps .text {
            display: flex;
            flex-direction: column;
            gap: 4px;
    }

    .steps .text h2 {
            margin: 0;
            color: #DA4167;
            font-size: 12px;
            font-style: normal;
            font-weight: 500;
            line-height: 100%;
    }

    .steps .text p {
            margin: 0;
            color: #fff;
            font-size: 8px;
            font-style: normal;
            font-weight: 500;
            line-height: 100%;
    }

}

@media (min-width: 1141px) {

    header {
        padding:0 100px;
        width: 100%;
    }

    .first {
        background-image: url('/images/B1desk.png');
        background-repeat: no-repeat;
        background-size:cover;
        background-position: 0;
        width: 100%;
        min-height: 245px;
        display: flex;
        padding: 73px 100px;
        align-items: center;
        gap: 50px;
    }

    .block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 60px;
        width: 40%;
    }

    .block h1 {
        color: #fff;
        font-family: Poppins;
        font-size: 56px;
        font-style: normal;
        font-weight: 700;
        line-height: 100%;
        margin: 0;
    }

    .block P {
        color: #fff;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin: 0;
    }

    .buttons {
        display: flex;
        flex-direction: row;
        gap: 16px;
    }
    button {
        display: flex;
        padding: 20px 40px;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        background: #DA4167;
        border: 0 ;
        color: #fff;

        font-family: 'Poppins', sans-serif;
        font-size: 36px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;

    }
    .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    }

    .popup-overlay.active {
    opacity: 1;
    visibility: visible;
    }

    .popup {
    display: flex;
    flex-direction: column;
    background:  #030713;
    padding: 30px;
    border-radius: 12px;
    width: 340px;
    max-width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: 0.3s ease;
    gap: 10px;
    }
    .popup h2 {
        color: #fff;
        margin: 0;

    }
    .popup p {
        color: #fff;
        margin: 0;

    }
    .button-site {
        border: solid 1px #DA416780;
        border-radius: 10px;
        padding: 10px;
        display: flex;
        flex-direction: row;
        gap: 10px;
        text-decoration: none;
        
    }
    .button-site:hover {
        border: solid 1px #DA4167;
    }
    .button-site h2 {
        color: #fff;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin: 0;
        text-decoration: none;
        
    }
    .button-site p {
        color: #FFFFFF80;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin: 0;
        text-decoration: none;
    }
    .button-site img {
        width: 24px;
    }

    .popup-overlay.active .popup {
    transform: scale(1);
    }

    .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    }

    .prem {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .prem-block {
        display: flex;
        flex-direction: column;
        padding: 40px 10px;
        background-color: #030713;
        border-radius: 10px;
        border-color: #FFFFFF 20%;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .prem-block p {
        margin: 0;
        color: #fff;
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: 100%;
    }

    .popular {
        display: flex;
        padding: 20px 100px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        align-self: stretch;
    }
    .popular h1 {
        color: #fff;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin: 0;
    }

    .popular span {
       color: #DA4167; 
    }
    .popular .row {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 15px;
    }

    .popular .row img {
        width: 100%;
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    }
    .providers {
        width: 150px !important;
    }


    .steps {
        display: flex;
        padding: 20px 100px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        align-self: stretch;
    }
    .steps h1 {
        color: #fff;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin: 0;
    }

    .steps span {
       color: #DA4167; 
    }
    .steps .row {
        width: 100%;
        display: flex;
    }

    .block-step {
        display: flex;
        gap: 10px;
        width: 100%;
    }
    .steps .icon {
        display: flex;
        width: 62px;
        height: 62px;
        padding: 6px;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        border: 1px solid #DA4167;
        justify-items: stretch;

    }

    .steps .icon img {
        
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
    }

    .steps .text {
        display: flex;
        flex-direction: column;
        gap: 4px;
        justify-content: center;
    }

    .steps .text h2 {
        margin: 0;
        color: #DA4167;
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: 100%;
    }

    .steps .text p {
        margin: 0;
        color: #fff;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 100%;
    }

}
