/* Font - Gothams */

/* regular */
@font-face {
    font-family: 'Gotham';
    src:
      url('https://tickets.cafonline.com/cf_error_pages/assets/font/Gotham-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* bold */
@font-face {
    font-family: 'Gotham';
    src:
      url('https://tickets.cafonline.com/cf_error_pages/assets/font/Gotham-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'Gotham', sans-serif;
    background-color: #800000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('https://tickets.cafonline.com/cf_error_pages/assets/img/BG.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: auto 80%;
}

header {
    height: 80px;
    display: flex;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 5%);
    background-color: maroon;
}

header img {
    max-height: 80%;
    margin-left: 2rem;
    display: flex
    align-items: center;
}

.header-text span {
    font-size: 0.9em;
    opacity: 0.9;
}

.separator {
    height: 2px;
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
}

main {
    text-align: center;
    margin: auto;
    max-width: 800px;
    padding: 20px;
}

h1 {
    color: #00a651;
    font-size: 2.5em;
    margin-bottom: 10px;
}

p {
    font-size: 1.2em;
    line-height: 1.6;
}

/* Mobile optimisation */
@media (max-width: 768px) {
    body {
        background-position: right 80px;
        background-size: contain;
    }

    h1 {
        font-size: 1.8em; /* réduit le titre */
    }

    p {
        font-size: 1em; /* réduit le texte */
    }

    .header-text span {
        font-size: 0.8em; /* plus discret sur mobile */
    }
}
