/* ---------- Fonts ----------*/
@font-face {
    font-family: 'SF-Pro';
    src: url('../fonts/SF-Pro.ttf');
}

/* ---------- Variables ----------*/
:root {
    /* ========== Colors ========== */
    --mainColorLight: #533E3C;
    --seccondColorLight: #EAE2D6;
    --shiftColorLight: #E2D8CD;
    --dangerColor: #b71d1d;

    /* ========== End Colors ========== */


    /* ========== Typography ========== */
    /* Fonts Familyes */
    --arabic-font: 'Tajawal', sans-serif;
    --english-font: 'Comfortaa', cursive;

    /* Colors : */
    /* Light Mood */
    --firstTyColorLight: #666666;
    --seccondTyColorLight: #777777;
    --thirdTyColorLight: #888888;

    /* Dark Mood */
    --firstTyColorDark: #EEEEEE;
    --seccondTyColorDark: #C3C3C3;
    --thirdTyColorDark: #999999;

    /* Sizes */
    /* Fonts Sizes */
    --title-size: 36px;
    --subTitle-size: 16px;
    --super-big-size: 28px;
    --bigger-size: 24px;
    --big-size: 22px;
    --normal-size: 20px;
    --small-size: 18px;
    --smaller-size: 16px;
    --h2-size: 32px;
    --h3-size: 26px;

    /* Font Weight */
    --super-big-weight: 800;
    --biggest-weight: 700;
    --bigger-weight: 600;
    --big-weight: 500;
    --normal-weight: 400;
    --small-weight: 300;
    --smaller-weight: 200;

    /* Line Height */
    --line-height-big: 28px;
    --line-height-normal: 24px;
    --line-height-small: 22px;

    /* Text Shadow */
    --normal-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    /* ========== End Typography ========== */
}

/* ========== End Variables ========== */


/* ========== Global Class ========== */

/* ========== Base Styles ========== */
* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    user-select: none;
    font-family: 'SF-Pro';
}

html {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

body {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    direction: rtl;
}

img.background {
    position: absolute;
    width: 100%;
    top: 50%; left: 0;
    transform: translateY(-50%);
    z-index: -99;
}

@media only screen and (max-width: 525px) {
    img.background {
        height: 100%;
        width: unset;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
    }
}

body.arabic p.english {
    display: none;
}

body.arabic p.arabic {
    display: block;
}

body.english p.english {
    display: block;
}

body.english p.arabic {
    display: none;
}

/* ========== Main Content ========== */
.body {
    position: relative;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    direction: rtl;
    padding: 24px;
}

@media only screen and (max-width: 525px) {
    .body {
        justify-content: start;
        align-items: center;
        padding: 128px 16px 24px 16px;
    }
}

/* ===== Flags Controls ===== */
.flags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.flagContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.arrow {
    font-size: 32px;
    transition: .5s all ease-in-out;
}

/* Operation Dir */
.dir .arrow {
    transform: rotateY(0deg);
}
.dir.oppest .arrow {
    transform: rotateY(180deg);
}

/* Currency Information */
.flagImg {
    width: 64px;
    border-radius: 10px;
}

.currency {
    font-size: 16px;
    font-weight: 600;
}

/* ===== Inputs Data ===== */
.DataContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.DataContainer .input {
    width: 100%;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0px 16px 16px 0px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(3px);
    font-size: 26px;
    font-weight: 500;
}

.DataContainer .input input {
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: transparent;
    border: none; outline: none;
    font-size: 26px;
    font-weight: 500;
}

.DataContainer .trnasferBTN {
    padding: 8px 24px;
    border-radius: 7px;
    background: #149043;
    box-shadow: 0px 16px 16px 0px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(5px);
    font-size: 18px;
    color: #fff;
}