:root {
    font-size: 16px;
    font-family: 'Tajawal', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;


    --white: #ebf3f9;
    --green: rgba(60, 255, 46, 0.568);
    --red: rgba(255, 46, 46, 0.568);
    --orange: #db8238;
    --yellow: #ffff52;

    color-scheme: light;
    --text: #eaf0ed;
    --background: #171515;
    --primary: #00c8ff;
}

.background-img {
    position: fixed;
    top: 0;
    z-index: -1;
}


* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
    height: 100%;
}


* {
    box-sizing: border-box;
}

img {
    height: auto;
    display: block;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
}

body {
    color: var(--text);
    background-color: var(--background);
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-x: hidden;
    text-align: center;
}

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

h1,
h2,
h3,
.news-title {
    background: linear-gradient(to right, var(--yellow), var(--orange));
    background-clip: text;
    -webkit-background-clip: text;
    display: inline-block;
    color: transparent;
}

footer {
    width: 100%;
    padding: 2rem 2rem 1rem 2rem;
    display: grid;
    place-items: center;
    text-align: center;
    background-color: var(--text);
    color: var(--background);
    margin-top: auto;
}

footer p {
    font-size: 1.3rem;
}

footer a {
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    justify-items: center;
}

a img {
    transition: all 0.3s ease;
}


footer a:hover img {
    width: 40px;
    height: 40px;
}


footer div {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: .5rem 2rem;
    flex-wrap: wrap;
}

.msg_green {
    display: block;
    width: fit-content;
    padding: .7rem;
    box-shadow: 5px 5px 11px 2px rgba(0, 0, 0, 0.205);
    border-radius: .4rem;
    background-color: var(--green);
    font-weight: bold;
    margin: 0 auto 1rem auto;
}

.msg_red {
    display: block;
    width: fit-content;
    padding: .7rem;
    border-radius: .4rem;
    background-color: var(--red);
    box-shadow: 5px 5px 11px 2px rgba(0, 0, 0, 0.205);
    font-weight: bold;
    margin: 0 auto 1rem auto;
}



.pages {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.pages>a {
    min-width: 1.6rem;
    height: 1.6rem;
    text-align: center;
    display: grid;
    padding: .15rem;
    opacity: .55;
    font-size: 1rem;
    background-color: var(--text);
    border-radius: .2rem;

    &:hover {
        opacity: 1;
    }
}

.pages>.highlight {
    opacity: 1;
}