* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    height: 100%;
    font-family: 'Cairo', sans-serif;
}

/* font */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&display=swap');

/* start of popup */
/* active in class means activated with js */
.popup-bg {
    transition: 0.4s ease-in-out;
}


.popup-bg-active {
    width: 100%;
    height: 100%;
    background-color: black;
    position: fixed;
    top: 0;
    z-index: 1000;
    opacity: 0.5;
}

.main-popup {
    position: fixed;
    top: 0%;
    left: 50%;
    width: 529px;
    height: 489px;
    border-radius: 12px;
    background-color: #0f1824;
    z-index: 1001;
    transform: translate(-50%, -50%) scale(0.1);
    transition: 0.4s ease-in-out;
    visibility: hidden;
}

.main-popup-active {
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    visibility: visible;
}

.cont {
    display: flex;
    flex-direction: column;
}

.close {
    display: flex;
    direction: rtl;
}

    .close span {
        font-size: 25px;
        margin: 1rem 2rem 0px 2rem;
        cursor: pointer;
        color: #ffffff;
    }

.input-numbers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    direction: rtl;
}

    .input-numbers input {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        /* border: 1px solid black; */
        border: none;
        outline: none;
        text-align: center;
        font-size: 17px;
    }

.chose-colors {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    direction: rtl;
}

.real-colors {
    width: 30%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 1rem;
}

.font-color {
    color: #ffffff;
}

.size {
    font-size: 20px;
}

.button-wraper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.button {
    width: 70%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1d8b2d;
    border-radius: 30px;
    cursor: pointer;
}

    .button span {
        font-size: 20px;
        color: #ffffff;
    }

/* end of popup */




/* respopnsive */
/* tablet */


/* mobile */

@media screen and (max-width:600px) {
    .main-popup {
        width: 80%;
    }
}


.selectedColor {
    background-color: #e10000 !important;
    color: #fff;
}
