/*Importation des polices*/
@font-face {
    font-family: 'Product Sans Regular';
    src: url('Fonts/Product Sans Regular.ttf') format("truetype");
}

@font-face {
    font-family: 'Product Sans Bold';
    src: url('Fonts/Product Sans Bold.ttf') format("truetype");
}

@font-face {
    font-family: 'Product Sans Italic';
    src: url('Fonts/Product Sans Italic.ttf') format("truetype");
}

@font-face {
    font-family: 'Product Sans Bold Italic';
    src: url('Fonts/Product Sans Bold Italic.ttf') format("truetype");
}

@font-face {
    font-family: 'Alex Brush Regular';
    src: url('Fonts/Alex Brush Regular.ttf') format("truetype");
}

/*Toutes les pages*/

*{
    margin: auto;
    line-height: 1.3;
    font-size: 98%;
}

body {
    font-family: "Product Sans Regular";
    background-color:black;
}

h1 {
    text-align: center;
    color:white;
    font-size: xx-large;
    font-family: "Alex Brush Regular";
}

h2{
    height: 40px;
    margin: 0 20px;
    border-bottom: 1px solid #a2a9b1;
    font-family: "Product Sans Bold";
    font-size: 2em;
}

h3{
    font-weight: normal;
    margin:20px;
    font-size: x-large;
    padding-bottom: 1px;
    border-bottom: 1px solid #a2a9b1;
}

a{
    color: #2e86de;
}

/*Barre de menu*/

.topbar {
    position: relative;
    height: 120px;
    padding-left:0;
    z-index: 2;
    text-align: center;
    box-shadow:inset 0 0  0 #313131; 
    transition:1s;
    font-size: 100%;
}
.topbar a {
    color: white;
    text-decoration: none;
    transition:200ms; 
}

.topbar:hover {
    background-color:#313131; 
    transition:1s;
    box-shadow:inset 0 500px 10px 10px   #313131; 
    transition:2s;
}

.onglet{
    display: table;
    padding-left:0;
}
.onglet li{
    display: table-cell;
    width: 150px;
}

a:hover{
    color:#0069c8;
}

.onglet .current a{
    color:#0069c8;
}

/* css pour index: */ 	
#fondgates{
    position: relative;
    z-index: 2;
    margin-left:auto;
    margin-right:auto; 
    width:100%;
    display: flex;
    flex-direction: row;
    opacity: 0.8;
}

#portrait{
    animation:slidein 3s;
    padding-bottom:0;
    min-height:100px;
    max-height:70vh;
    border: 3px solid white;
}
#portrait img{
    min-height:100px;
    max-height:70vh;
}

#citplusbtn{
    animation: appear 6s;
}
#citation1{
    min-width: 10px;
    max-width: 21vw;
}
#citation1 img{
    box-sizing: border-box;
    min-width: 10px;
    max-width: 21vw;
    margin:0;
    border: 3px solid #313131;
}

#logobtn{
    min-width: 10px;
    max-width: 20vw;
}

.rangeebtns img{
    width:100%;
}

.rangeebtns{
    display: flex;
}

.btng:hover{
    transform: rotate(5deg);
}

.btnd:hover{
    transform: rotate(5deg);
}

.btng{
    transition: transform .5s;
    margin-right: 2px;
}

.btnd{
    transition: transform .5s;
    margin-left: 2px;
}

/*Vidéo de fond*/
#videoback{
    position:absolute;
    top:0;
    left: 0;
    height: 100vh;
    width: 100vw;
}

.divvideoback{
    position: relative;
    z-index: 1;
    opacity: 0.4;
    margin-left: auto;
    margin-right: auto;
}

.avertissement{
    position: relative;
    z-index: 4;
    text-align: center;
    color: white;
    animation: disappear 10s;
    opacity: 0;
}

/* Autres pages : */ 

#content{
	min-width: 600px;
    max-width: 1200px;
    background-color: white;
    animation-name: slidedown;
    animation-duration: 0.5s;
}

.block{
	width: auto;
	height: auto;
	display: flex;
	flex-direction: row;
    margin: auto;
}
.text{
	text-align: justify;
	margin-left: auto;
    margin-right: auto;
    width: 500px;
}

.text2{
    text-align: justify;
	margin-left: auto;
    margin-right: auto;
    width: 700px;
}

.image{
	margin-left: auto;
    margin-right: auto;
}
.image2{
    margin-top:5px;
    width:350px;
}

.legende{
    font-family: "Product Sans Italic";
    font-size: small;
    color: #636363;
    text-align: center;
}

.copyright{
    margin-top:0;
    color:white;
    text-align: center;
    opacity: 0.6;
    margin: 5px;
}

/* animations*/

@keyframes slidein{
    0%{
        opacity: 0;
        transform: translateX(25vw);
        transition: transform 0s;
    } 
    50%{
        opacity: 1;
        transform: translateX(25vw);
        transition: transform 0s;
    }
    100%{
        opacity: 1;
    }
}

@keyframes appear{
    0%{
        opacity: 0;
    }
    50%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

@keyframes slidedown{
    from{
        transform: translateY(100%);
        opacity:0;
    }
    to{
        transform: translateY(0px);
        opacity:1;
    }
}

@keyframes disappear{
    0%{
        opacity: 0;
    }
    25%{
        opacity: 1;
        font-size: large;
    }
    75%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}