/* ---------- ROOT ---------- */

:root {
    --color-bg: #f0e0ac;
    --color-black: #0f0e0e;
    --color-white: #f9f4ee;
    --color-red-light: #e63946;
    --color-red-dark: #c12f3a;
    --color-green: #4caf50;
}

/* ---------- /ROOT ---------- */

/* ---------- GLOBAL ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--color-black);
    font-size: 18px;
    font-family: "Lato", sans-serif;
}

h1,
h2,
h3,
h4 {
    font-family: "Cinzel", serif;
}
h1 {
    font-size: 3.5rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.5rem;
}
h4 {
    font-size: 1.5rem;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}
body {
    background-color: var(--color-black);
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}
/* body::-webkit-scrollbar {
    width: 5px;
}
body::-webkit-scrollbar-track {
    background: #fff;
}
body::-webkit-scrollbar-thumb {
    background-color: #000;
}
*/

/* ---------- /GLOBAL ---------- */

/* ---------- APP ---------- */

#newspaper {
    overflow-x: hidden;
    position: relative;
    max-width: 1440px;
    width: 100%;
    background-color: var(--color-bg);
    padding: 5px;
}

.overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/img/overlay.png") center center no-repeat;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

/* ---------- /APP ---------- */

/* ---------- ELEMENTS ---------- */

section {
    margin: 10px 0;
    width: 100%;
}
img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
button,
a {
    cursor: pointer;
    text-decoration: none;
    color: #0f0e0e;
    border: none;
    background: none;
    outline: none;
}

.call-us {
    position: fixed;
    bottom: 25px;
    right: calc(50% - 122px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 244px;
    height: fit-content;
    margin: auto;
    border: 2px solid var(--color-black);
    background-color: var(--color-white);
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 1000;
}
.call-us:hover {
    color: var(--color-red-dark);
    border-color: var(--color-red-dark);
}

.call-us span {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 10px;
}

.call-us img {
    width: 30px;
    height: 30px;
}

.button {
    color: var(--color-black);
    margin: 10px;
    padding: 10px 20px;
    transition: 100ms;
    height: 50px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-black);
}
.button:hover {
    color: var(--color-red-dark);
    border-color: var(--color-red-dark);
}
.button:active,
.button:focus {
    transform: scale(0.95);
}
.logo {
    width: 250px;
    height: 250px;
}
.line {
    width: 100%;
    background-color: var(--color-black);
}
.line--small {
    height: 1px;
}
.line--medium {
    height: 2px;
}
.line--big {
    height: 3px;
}

span.red {
    color: var(--color-red-light);
    font-weight: bold;
}
form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

form .input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 10px 0;
}

form .input-container label {
    margin-bottom: 5px;
    font-weight: bold;
    cursor: pointer;
}

form .input-container input {
    padding: 10px;
    border: 2px solid var(--color-black);
    outline: none;
    width: 200px;
    font-size: 1rem;
    text-align: center;
}

form .input-container input:hover {
    border-color: var(--color-red-light);
}

form .input-container input:focus {
    border-color: var(--color-red-dark);
}

/* ---------- /ELEMENTS ---------- */

/* ---------- HEADER ---------- */

.header {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
}

.header__logo {
    width: 300px;
    height: 300px;
}

.header__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.header__title {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header__title__text {
    width: 100%;
    text-align: center;
}
.header__title__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
}
.header__lines {
    width: 100%;
}
.header__lines .line {
    margin: 10px 0;
}
.header__nav {
    display: flex;
    justify-content: space-evenly;
}
.header__nav .button {
    width: 40vw;
    max-width: 200px;
}

/* ---------- /HEADER ---------- */

/* ---------- MAIN ---------- */

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ---------- /MAIN ---------- */

/* ---------- FOOTER ---------- */

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer__logo {
    width: 120px;
    height: 120px;
}
.footer__contact,
.footer__location {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.footer__contact .button {
    margin: 20px 0;
}
.footer__contact h2,
.footer__location h2 {
    font-size: 1.5rem;
    text-align: center;
}
.footer__location__city {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.footer__location__city__name {
    margin: 10px 0;
}
.footer__location__city__infos,
.footer__location__city__days,
.footer__location__city__hours {
    margin-bottom: 5px;
}
.footer__location__city__infos {
    margin-top: 10px;
}
.footer__location__city__map {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95%;
    height: 400px;
    margin: 20px 0;
}
.footer__location__city__map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ---------- /FOOTER ---------- */

/* ---------- INDEX ---------- */
.pizza-month__title {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pizza-month__content {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: px;
}

.pizza-month__img {
    width: calc(50vw - (5px * 2)); /* - newspaper padding */
    max-width: 300px;
}
.pizza-month__text {
    width: calc(50vw - (5px * 2)); /* - newspaper padding */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 20px;
}

.pizza-month__price {
    align-self: flex-end;
    font-style: italic;
}

.pizza-month__text .button {
    width: 90%;
    font-size: 15px;
    margin-bottom: 0;
}

.pizza-card {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-black);
    min-height: 250px;
}

.pizza-card__img {
    position: relative;
    width: calc(50vw - (5px * 2)); /* - newspaper padding */
    max-width: 300px;
    order: 0;
    z-index: 1;
}

.pizza-card__img__default-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4); /* semi-transparent sans affecter le texte */

    font-weight: bold;
    font-size: 0.8rem;
}

.pizza-card__img__default-badge span {
    padding: 10px;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    border-radius: 5px;
}

.pizza-card__img__new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-red-light);
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px var(--color-black);
    color: var(--color-white);
    font-weight: bold;
    font-size: 0.8rem;
}

.pizza-card__figcaption {
    width: calc(50vw - (5px * 2));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 20px;
    order: 1;
}

.pizza-card__figcaption__name {
    font-size: 1rem;
}

.pizza-card__figcaption__ingredients,
.pizza-card__figcaption__ingredients span,
.pizza-card__figcaption__toppings,
.pizza-card__figcaption__toppings span {
    font-size: 15px;
}

.pizza-card__figcaption__ingredients span,
.pizza-card__figcaption__toppings span {
    display: inline-block;
    margin-top: 5px;
    font-weight: bold;
}

.pizza-card__figcaption__price {
    align-self: flex-end;
    font-style: italic;
    margin-top: 10px;
}

.pizza-card__figcaption__button {
    width: 120px;
    font-size: 15px;
}

.pizzas__pub {
    width: 300px;
    margin: auto;
}
/* ---------- /INDEX ---------- */

/* ---------- /FIDELITE ---------- */
.fidelite {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fidelite__title h2 {
    text-align: center;
}
.fidelite__content {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.fidelite__content p {
    margin: 10px 0;
}

.fidelite__content p i {
    text-decoration: underline;
}

.fidelite__content ul {
    list-style-type: none;
    margin: 20px 0;
    text-align: center;
    border: 2px solid var(--color-black);
    border-radius: 20px;
    padding: 20px;
    width: fit-content;
    background-color: var(--color-white);
}

.fidelite__content ul li {
    margin: 10px 0;
}
.fidelite__content ul li span {
    font-weight: bold;
}

.fidelite-form h2 {
    text-align: center;
}

.fidelite-card {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fidelite-card h2 {
    margin-bottom: 20px;
    text-align: center;
}

.fidelite-card p {
    font-weight: bold;
}

.fidelite-card__points {
    display: flex;
    flex-wrap: wrap;
    width: 280px;
    gap: 10px;
    justify-content: center;
    box-shadow: 0 0 10px var(--color-black);
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.fidelite-card__points__point {
    background-color: var(--color-black);
    width: 40px;
    height: 40px;
    padding: 3px;
}

/* ---------- /FIDELITE ---------- */

/* @media screen and (max-width: 768px) {
    .header__logo {
        width: 50%;
        align-self: center;
    }
    .header__title {
        flex-direction: column;
    }
}
 */
