﻿@font-face {
    font-family: Robofan;
    src: url('../Lib/Robofan.otf');
}

/**************************************************          ACCEUIL          **************************************************/

body {
    background-color: #141e2e;
    color: white;
    font-family: 'Comic Sans MS';
    margin: 0;
    text-align: center;
}

.titreAccueil {
    font-family: Robofan;
    height: 20px;
}

.diaporama {
    align-items: center;
    display: flex;
    margin: auto;
    max-width: 800px;
    position: relative;
}

    .diaporama > img {
        width: 100%
    }

.slides {
    display: none
}

.precedent, .suivant {
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 35px;
    color: white;
    font: bold 30px Robofan;
    height: 70px;
    position: absolute;
    transition: 0.4s ease;
    user-select: none;
    width: 70px;
}

.precedent {
    left: 1%;
}

.suivant {
    right: 1%;
}

    .precedent:hover, .suivant:hover {
        background-color: black;
    }

/* Animation transition slides */
.transition {
    animation-name: transition;
    animation-duration: 4s;
}

@keyframes transition {
    from {
        opacity: .1
    }

    to {
        opacity: 1
    }
}