/* Votre Style */
@import url('https://fonts.googleapis.com/css?family=Lato:700,900');

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Lato', sans-serif;
    font-weight:700;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

html {
    font-size: 62.5%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;
    background-color: #cccccc;
}

#hero {
    padding: 32px;
    border: 16px solid white;
    font-size: 5.6rem;
    font-weight: 900;
    color: white;
    position: relative;
}

#hero:before {
    content: "";
    position: absolute;
    background-size: cover;
    background-image: linear-gradient(to bottom, rgba(204,204,204,0.85) 0%,rgba(204,204,204,0.85) 100%), url(https://images.unsplash.com/photo-1483965463974-fa25f3231fbc?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&s=273fba0529aa0ffdb64271c3b26235ce);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
    animation: showHeroBackground 0.75s ease-in-out 2.5s forwards;
}

#hero .line {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
}

#hero .line .hidden {
    max-width: 0px;
    overflow: hidden;
    animation: showFullHero 1s ease-in-out 2s forwards;
    text-transform: uppercase;
}

#tag {
    margin-top: 32px;
    font-size: 2rem;
    color: white;
    opacity: 0;
    animation: showHeroBackground 0.75s ease-in-out 2.5s forwards;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

#tag div {
    margin-left: 16px;
    margin-right: 16px;
}

#tag a:hover {
    text-shadow: 0 0 3px rgba(51,51,51,0.25);
    transition: text-shadow 0.3s ease-in-out;
}

a {
    text-decoration: none;
    color: inherit;
}

@keyframes showFullHero {
    0% {
        max-width: 0px;
    }
    100% {
        max-width: 150px;
    }
}


@keyframes showHeroBackground {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #333333;
    }

    #hero {
        border: 16px solid #cccccc;
        color: #cccccc;
    }

    #hero:before {
        background-image: linear-gradient(to bottom, rgba(51,51,51,0.85) 0%,rgba(51,51,51,0.85) 100%), url(https://images.unsplash.com/photo-1483965463974-fa25f3231fbc?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&s=273fba0529aa0ffdb64271c3b26235ce);
    }

    #tag {
        color: #cccccc;
    }

    #tag a:hover {
        text-shadow: 0 0 3px rgba(204,204,204,0.25);
    }
    
}