* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: careemReg;
}

/*  */

@font-face {
    font-family: careemReg;
    src: url(../fonts/careemRegular.otf);
}
@font-face {
    font-family: careemBold;
    src: url(../fonts/careemBold.otf);
}

/*  */

:root {
    --max-width: 1400px;
    --background--: #fff;
    --forground--: #f4f4f4;
    --color--: #000;
    --p-size: 22px;
    --p-padding: 10px 0;
    --header-size: 30px;
}
p {
    font-size: var(--p-size);
    padding: var(--p-padding);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.05em;
}

/*  */

.container {
    max-width: var(--max-width);
    margin: 100px auto 0 auto;
}
.container section {
    min-height: 500px;
    margin: 0 0 100px 0;
}

header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    min-height: 120px;
}
header span {
    color: #969696;
    padding: 10px 0;
}
header p {
    font-size: 18px;
}
/* header  */

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100px;
    padding: 20px;
    background: var(--forground--);
}
footer span {
    color: #5b5b5b;
}
footer ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 10px;
    margin: 10px 0;
}
footer ul li {
    height: auto;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer ul li a img {
    height: auto;
    width: 30px;
}
footer ul li:nth-child(1) a img {
    height: auto;
    width: 28px;
}
footer ul li:nth-child(2) a img {
    height: auto;
    width: 23px;
}

@media screen and (max-width: 1470px) {
    :root {
        --max-width: 1000px;
        --p-size: 17px;
    }

    header h2 {
        font-size: 22px;
    }
    header p {
        font-size: 17px;
    }
    /*  */

    footer span {
        font-size: 14px;
    }
}

@media screen and (max-width: 1075px) {
    :root {
        --max-width: 800px;
        --p-size: 15px;
    }
    /*  */

    .container {
        margin: 50px auto 0 auto;
    }
    /*  */

    header {
        min-height: 90px;
    }
    header h2 {
        font-size: 19px;
    }
    /*  */

    .container section {
        margin: 0 0 50px 0;
    }
}
@media screen and (max-width: 840px) {
    :root {
        --max-width: 600px;
        --p-size: 14px;
    }
    .container {
        padding: 0 20px;
        
    }

    header h2 {
        font-size: 17px;
    }
    header span {
        font-size: var(--p-size);
    }
    header p {
        font-size: var(--p-size);
    }

    li br {
        display: none;
    }
}
@media screen and (max-width: 750px) {
    :root {
        --max-width: 400px;
        --p-size: 14px;
    }
}
@media screen and (max-width: 390px) {
    :root {
        --max-width: 100%;
        --p-size: 14px;
    }
    br {
        display: none;
    }
}
