@import "./reset.css";
@import "./all.css";
@import "./fonts.css";
@import "./variables.css";

html {
    font-size: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-first);
    direction: rtl;
    background-color: var(--color-third);
    font-size: 0.9rem;
    height: 100%;
}

button {
    all: unset;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: unset;
}

.container {
    max-width: 84rem;
    width: calc(100% - var(--margin-container));
    margin: 0 auto;
    position: relative;
}

.d-flex {
    display: flex;
}

.d-flex__aline-center {
    align-items: center;
}

.d-flex__justify-center {
    justify-content: center;
}

.d-flex__column {
    flex-direction: column;
}

@media screen and (max-width: 1100px) {
    body {
        font-size: 1.35rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 90%;
    }

    body {
        line-height: 1.5em;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 60%;
    }

    body {
        line-height: 1.6em;
    }
}

@media screen and (max-width: 320px) {
    html {
        font-size: 60%;
    }

    body {
        line-height: 1.7em;
    }
}
