/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
  font-size: 62.5%; /* équivalence "10px" sur l'élément racine */
}

body {
    position:relative;
    min-height: 1000px;
    font-family: 'Ostia Antica WEB_Book';
    font-variant-numeric: slashed-zero; /* enable */
    font-size: 1.4em;
    line-height: 1.2;
    color:#000;
    margin:0;
}

#languages{
    text-align: center;
}

#languages a:hover{
    text-decoration: line-through;
}

.vertical-center{
  margin-top: 40vh; /* poussÃ© de la moitiÃ© de hauteur de viewport */
  transform: translateY(-20%); /* tirÃ© de la moitiÃ© de sa propre hauteur */
}

.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; }

.container {
    padding:70px 20px 10px 20px;
}

.row{
    margin-bottom: 50px;
        margin:0 auto;
}

/*.topx{
    position: relative;
    top: -140px;
}*/

.blue a:hover{
    color:blue;
}

.logo{
    font-size: 1.8rem;
    letter-spacing: normal;
    line-height: 1.5;
    border-bottom: none;
    font-weight: normal;
    width: auto;
    /*float:left;*/
}

/* Texte défilant */
.messagedefilant {
  display: block;
  margin: 0 auto;
  padding: 0;
  
  /*overflow: hidden;*/
  position: relative;
  width: 50%;
  max-width: 640px;
  height: 60px;
}
 
.messagedefilant div {
  position: absolute;
  min-width: 100%; /* au minimum la largeur du conteneur */
}
 
.messagedefilant div span, 
.messagedefilant div:after {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  white-space: nowrap;
  top:0;
}
 
.messagedefilant div span {
  animation: defilement 10s infinite linear;
  background: none;
}
 
.messagedefilant div:after {
  position: absolute;
  top:0; left:0;
  content:attr(data-text);
  animation: defilement2 10s infinite linear;
  background: #edc;
}
 
@keyframes defilement {
  0% { margin-left: 0; }
  100% { margin-left: -100%; }
}
 
@keyframes defilement2 {
  0% { margin-left: 100%; }
  100% { margin-left: 0%; }
}

h1{
  font-size: 1.8rem;
  font-weight: normal;
}

h3{
    /*font-family: 'Ostia Antica WEB_Italic';*/
    font-size: 1rem;
    margin: 0;
    letter-spacing: normal;
    font-weight: normal;
}

.underline{
    text-decoration: underline;
}

a{
    color:black;
    text-decoration: none;
}
a:hover{
    color:black;
}

.hello{
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 1vw;
  /*color:transparent;
  -webkit-transition: 500ms linear 500ms; 
    transition: 500ms linear 500ms;*/
  display: inline-block;
  margin: 0;
  font-weight: 600;
  background-image: none;
  background-image: linear-gradient(45deg,#fff070 0%,#fff070 35%,#00c9d3 66%,#00c9d3 100%);
  background-image: linear-gradient(45deg,#fff070 0%,#fff070 calc(var(--x) * .1 * 1%),#00c9d3 calc(var(--x) * .4 * 1%),#00c9d3 calc(var(--x) * .7 * 1%) );
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
    
}

/*.hello a:hover{
  color:black;
  text-decoration: none;
}*/

.title{
    transform:rotateX(0deg); transition:500ms;
    /*text-shadow:  -2px 2px 2px #b2fff8;*/
    /*-ms-transform: rotate(-45deg) translate( -50%,0);
    -o-transform: rotate(-45deg) translate( -50%,0);
    -ie-transform: rotate(-45deg) translate( -50%,0);
    -webkit-transform: rotate(-45deg) translate( -50%,0);
    transform: rotate(-45deg) translate( -50%,0);
    -ms-transform-origin: 1em center;
    -o-transform-origin: 1em center;
    -ie-transform-origin: 1em center;
    -webkit-transform-origin: 1em center;
    transform-origin: 1em center;*/
}





label {
    display: inline-block;
    width: 5em;
  }

.title:hover{ transform:rotateX(180deg)}

.infos-footer{
  padding-top: 60px;
  margin:0 auto;
}

/** FOOTER **/
 
footer{
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    /*background-image:linear-gradient(transparent 20%, white 80%);*/
    /*background-color: #FFF;*/
    text-align: center;
    font-size:0.8rem;
}

/** BACK TOP **/

#back-top {
    position: relative;
    padding-top:30px;
    text-align: center;
    cursor: pointer;
    font-size:2.5rem;
    
}

/** DIAPORAMA **/

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  /*display: flex;*/
   margin: auto;
}

.slideshow-container img{
  margin: auto;
  display:flex;
  /*background-color: #000;
  padding:20px;*/
}

.contour{
margin:10px 10px 10px 0px;
}


/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
  position: absolute;
  top: 0;
  bottom: 20%;
  width: 50%;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  cursor: crosshair;/*url(../img/next3.png), auto;*/
  z-index:100;
}

.prev {
  left: 0;
  cursor: crosshair;
  z-index:100;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #000;
  font-size: 12px;
  padding: 5px;
  position: relative;
  text-align: center;
}

.infos{
    margin-top:5px;
    font-size: 1.2rem;

}

.infobio{
  display:inline-block;
  float:right;
  margin-right: 60px;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/** GRAYSCALE IMG **/

.grayscale img:hover  {
-webkit-filter: grayscale(0%); /* Chrome, Safari, Opera */
filter: grayscale(0%);
-webkit-transition:all 0.3s;
transition:all 0.3s;
}

.grayscale img{
-webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
filter: grayscale(100%);
}

#draggable { 
    position:fixed !important;
    top:460px;
    left:400px; 
    display: block;
    z-index: 999;
    cursor: pointer;}

/** FONTS **/

@font-face {
    font-family: 'Ostia Antica WEB_Regular';
    src:    url('../font/Ostia_Antica_WEB-Regular.eot');
    src:    url('../font/Ostia_Antica_WEB-Regular.eot?#iefix') format('embedded-opentype'),
            url('../font/Ostia_Antica_WEB-Regular.woff') format('woff'),
            url('../font/Ostia_Antica_WEB-Regular.woff2') format('woff2');
}

@font-face {
font-family: 'Ostia Antica WEB_Italic';
    src:    url('../font/Ostia_Antica_WEB-Italic.eot');
    src:    url('../font/Ostia_Antica_WEB-Italic.eot?#iefix') format('embedded-opentype'),
            url('../font/Ostia_Antica_WEB-Italic.woff') format('woff'),
            url('../font/Ostia_Antica_WEB-Italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Ostia Antica WEB_Book';
    src:    url('../font/Ostia_Antica_WEB-Book.eot');
    src:    url('../font/Ostia_Antica_WEB-Book.eot?#iefix') format('embedded-opentype'),
            url('../font/Ostia_Antica_WEB-Book.woff') format('woff'),
            url('../font/Ostia_Antica_WEB-Book.woff2') format('woff2');
}

@font-face {
    font-family: 'Ostia Antica WEB_Book_Italic';
    src:    url('../font/Ostia_Antica_WEB-Book_Italic.eot');
    src:    url('../font/Ostia_Antica_WEB-Book_Italic.eot?#iefix') format('embedded-opentype'),
            url('../font/Ostia_Antica_WEB-Book_Italic.woff') format('woff'),
            url('../font/Ostia_Antica_WEB-Book_Italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Ostia Antica WEB_Light';
    src:    url('../font/Ostia_Antica_WEB-Light.eot');
    src:    url('../font/Ostia_Antica_WEB-Light.eot?#iefix') format('embedded-opentype'),
            url('../font/Ostia_Antica_WEB-Light.woff') format('woff'),
            url('../font/Ostia_Antica_WEB-Light.woff2') format('woff2');
}

@font-face {
    font-family: 'Ostia Antica WEB_Light_Italic';
    src:    url('../font/Ostia_Antica_WEB-Light_Italic.eot');
    src:    url('../font/Ostia_Antica_WEB-Light_Italic.eot?#iefix') format('embedded-opentype'),
            url('../font/Ostia_Antica_WEB-Light_Italic.woff') format('woff'),
            url('../font/Ostia_Antica_WEB-Light_Italic.woff2') format('woff2');
}

/* Grid */

.tab {
 }

.tab li{
    display: list-item;


}

.tab[color="primary"] > li {
  color: #ffffff;
  background-color: transparent;
}

.tab[color="primary"] > li > a:hover,
.tab[color="primary"] > li > a:focus {
color: #000;
background-color: transparent;
text-decoration: line-through;
padding:3px;
}

.tab[color="primary"] > li.active > a,
.tab[color="primary"] > li.active > a:hover,
.tab[color="primary"] > li.active > a:focus {
color: #000;
background-color: transparent;
text-decoration: none;
border: 1px solid #000;
padding:3px;
}

/*.tab > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;*/
}

a:hover {
  color: #000;
  text-decoration: none;
}

a {
  color: #000;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

.ghost{
opacity:0;
animation: transition 1s ease-in-out 1s forwards; }
@keyframes transition {
0%   { margin-left: 0;opacity:0; }
100% { margin-left: 0;opacity:1; }
}

.box-content{
    margin-bottom:10px;
}


/* header */


header{
  position: fixed;
  width:100%;
  border-bottom: solid 1px #000;
  z-index: 999;
  background-color: #FFF;
}

.menu{
  position: relative;
  width:100%;
  margin-left: 30px;
  padding: 0 0;
}

.toggle-wrapper {
  float:right;
  padding-right:20px;
}

.toggle-button {
  background: #FFF;
  color: #000;
  text-align: center;
  padding: 20px 0;
  display: block;
  cursor: pointer;
}
.toggle-menu {
  display: none;
}
.toggle-menu ul{
  list-style: none;
  padding:0;
}

.toggle-menu li {
  text-align: center;
  border-top: none;
}

.toggle-menu a {
  text-decoration: none;
  color: #000;
  background: #FFF;
  display: block;
  padding: 10px 0;
}

.toggle-menu a:hover {
  color: black;
  background: white;
}


@media all and (max-width: 599px) and (min-width: 300px) {
    
    .logo{
        font-size: 1.4rem;}
    
    .container {
    padding: 50px 20px 10px 20px;}

    .tiret2{display:;}

.prev, .next {
  position: absolute;
  top: 0;
  bottom: 30%;
  width: 50%;
}

}

 
}