@font-face {
    font-family: "IRANSans";
    src: url("./webfonts/IRANSans.eot") format("embedded-opentype"), url("./webfonts/IRANSans.ttf") format("truetype"), url("./webfonts/IRANSans.woff") format("woff"), url("./webfonts/IRANSans.svg") format("svg");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    display: grid;
    height: 100%;
    width: 100%;
    place-items: center;
    background: url("/image/background-morning.jpg") no-repeat center/cover;
    font-family: 'IRANSans', serif !important;
    direction: rtl;
}

.blur-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: rgba(0, 0, 0, .7);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;

}

.alert-message {
    visibility: hidden;
    color: #ff4c4c;
}

#nameForm {
    display: none;
}

.card {
    text-align: right;
    max-width: 85%;
}

.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

.phoneInput {
    display: flex;
    direction: ltr;
    justify-content: center;
    align-items: center;
    background: white;
    border: 1px solid #ced4da;
    padding: .375rem .75rem;
    border-radius: 0.25rem;
    overflow: hidden;
    color: #495057;
}

.phoneInput input {
    border: 0;
    margin: 0;
    padding: 0;
    background: none;
    width: 50%;
}

.phoneInput span {
    width: 40%;
    text-align: right;
}

.phoneInput input:focus {
    outline: none;
    box-shadow: none;
}

.blur-bg form {
    min-width: 250px;
    max-width: 500px;
    width: 75%;
}

label {
    text-align: right;
    width: 100%;
}
@media (max-width: 400px) {
    .phoneInput span {
        width: 30%;
    }
}
