:root {
    --main-bg-color: #17171A;
    --text-color: #fff;
    --dark: #17171A;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw; /* Interdit physiquement de dépasser la largeur de l'écran */
    overflow-x: hidden;
}


body {
    background: var(--main-bg-color);
    color: var(--text-color);
    font-family: "Red Hat Display", sans-serif;
    position: relative;

    .background-blobs {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        overflow: hidden;
        pointer-events: none;
    }

    .bubble {
        position: absolute;
        pointer-events: none;
        max-width: 100%;
        scale: 0.5;
    }

    .red_bubble {
        right: -35%;
        top: -30vw;
    }

    .orange_bubble {
        left: -35%;
        top: -30vw;
    }

    .yellow_bubble {
        right: -35%;
        bottom: -40vw;
    }
}

.container {
    width: 100%;
    padding-right: 10px; /* Standard Bootstrap gutter */
    padding-left: 10px;  /* Standard Bootstrap gutter */
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box; /* Ensures padding doesn't affect total width */
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

h1{
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
h2{
    font-weight: bold;
    font-size: 1.5rem;
}

.error-message{
    color: red;
}

footer{
    background: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65.59px;
    font-size: 12.8px;
    color: var(--dark);
}