/*@media all  (min-width: 500px)*/
@media screen and (max-width: 500px)
{
    .bod{
        width: 500px;
    }
}
.bod {
   /* width: 100%;*/
 /* width: auto;*/
    height: 700px;
    background: black;
    margin: 0;
  /*  overflow: hidden; /* Evite la scrollbar */
  background-size:cover;
    /* Center les éléments */
    display: flex;
    align-items: center;
    justify-content: center;
    
}



.presentation {
    /* cosmétique */
    font-size: 32px;
    color: #4bd5ee;
    /* Animation */
    /* Apparition et disparition progressive */
    opacity: 0;
    animation-delay: 1s;
    animation-duration: 5s;
    animation-name: presentation;
    animation-timing-function: ease-out;
}

@keyframes presentation {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.crawl {
    /* centrage de l'élément' */
    position: absolute;
    top: 45%;
    left: 50%;
    width: 800px;
    margin: 0 0 0 -400px;
    top: auto;
    bottom: 0;
    height: 50em;
    /* cosmétique */
    color: #ffff66;    
    font-size: 64px;
    text-align: justify;
    /* Applique la transformation  */
    transform-origin: center bottom;
    transform: perspective(300px) rotateX(25deg);
}

.crawl > div {
    /* positionne la div en bas de l'écran (non visible) */
    /* l'animation la fait remonter progressivement */
    position: absolute;
    top: 100%; 
    animation-delay: 6s; /* Démarre l'animation après la première */
    animation-duration: 25s;
    animation-name: crawl;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    opacity :0;
}

@keyframes crawl {
    0% {
        top: 100%;
        opacity: 0;
    }

    5% {
        top: 100%;
        opacity: 1;
    }


    80% {
        opacity: 1; /* disparition progressive à la fin */
    }

    100% {
        top: 0;
        opacity: 0;
    }
}

.bod1 {
   min-width: 100%;
  
    background-color: black;
    color: azure;
    font-size: 30px;
    text-align: center;
}



.crawl1 {
    font-size: 25px;
    background-color: black;
    color: azure;
}



