/* Custom CSS */

body {
    /* padding-top: 56px; */
    font-family: "Lucida Console", "Courier New", monospace;
}

h1 {
    color: #0e0e0e;
}

/* .body {
    margin: auto;
} */

.container {
    text-align: center;
    border: #48120E solid;
    border-radius: 25px;
    padding: 20px;
    background-color: #AB3E16;
    box-shadow: 3px 3px 0.5px #48120E;
    max-width: 700px;
    margin: auto;
}

.container h1 {
    color: #F8F3E6;
}

.button {
    background-color: #48120E;
    border: none;
    color: #F8F3E6;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 32px;
    border-radius: 25px;
    cursor: pointer;
}

.answer {
    display: none;
}

.answer.active {
    display: block;
}

.header {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    align-items: center;
}

.logo img {
    max-width: 58px;
    height: auto;
}

.logo {
    display: flex;
    flex-direction: row;
}

.logo h1 {
    font-size : 1.5rem;
}

/* Feu */

:root {
    --glitter: url("https://assets.codepen.io/13471/silver-glitter-background.png");
}

.fire {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 100%;
}

.fire img {
    display: block;
    width: 100%;
    height: auto;
}

.fire::before,
.fire::after {
    content: "";
    position: absolute;
    inset: 0;
}

.fire::before {
    background-image: var(--glitter), var(--glitter),
        linear-gradient(
            0deg,
            white 0px,
            #ff8951 5px,
            #dcbc169c 30%,
            transparent 70%
        ),
        radial-gradient(ellipse at bottom, transparent 30%, black 60%);
    background-size: 350px 500px, 400px 650px, 100% 100%, 100% 100%;
    background-blend-mode: hard-light, color-dodge, multiply;
    background-position: 0px 0px, 0px 0px, var(--gradientPos);
    background-repeat: repeat, repeat, repeat, no-repeat;
    mix-blend-mode: color-dodge;
    filter: brightness(3.7) blur(7px) contrast(6);
    animation: fire 1.75s linear infinite;
    box-shadow: inset 0 -40px 50px -60px #63bbc5;
}

@keyframes fire {
    0% {
        background-position: center 0px, center 0px, 50% 100%, center center;
    }
    100% {
        background-position: center -500px, center -650px, 50% 100%, center center;
    }
}


/* Responsive Adjustments */

@media only screen and (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .button {
        padding: 10px 20px;
    }

    .fire {
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .fire::before {
        filter: brightness(2.5) blur(5px) contrast(4);
        animation: fire 2s linear infinite;
    }
}

/* menu */

.menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu a {
    color : #0e0e0e;
    text-decoration: none;
    /*font-size: 25px;*/
}

/* back button */
.back-button {
    width: 50px;
}

@media only screen and (min-width: 769px) {
    .back-button {
        width: 30px;
    }
}

/* floating icon */

.floating-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.floating-icon:hover {
    transform: scale(1.1);
}
.floating-icon img {
    max-width: 50px;
}


