@import url('../style/variables.css');


html{
    font-family: var(--font-open-sans), cursive;
    text-decoration: none;
  }
  
:root {
  --header-height: 60px;
}

/* Votre menu, en fixed */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;           /* au‑dessus de .centrev */
}


.centrev {
    margin-top: var(--header-height) !important;

}

  .logo{
    height: auto;
    flex: auto;
    width: 50vw;
    margin: auto;
  }
  
  .separator {
    width: 95vw;
    height: 0.5vh;
    margin: 15px auto;
    display: block;
    background: var(--light-color);
  }
  
  #voira {
    background-color: var(--rougelhc);
    padding-right: 0.5em;
    padding-left: 0.5em;
    color: var(--blanc);
    width: 30%;
    border-radius: 15px;
    flex: auto;
    justify-content: center;
    align-items: center;
    align-content: center;
    display: flex;
    margin: auto;
  }
  
  #voir{
    background-color: var(--rougelhc);
    padding-right: 0.5em;
    padding-left: 0.5em;
    color: var(--blanc);
    border-radius: 1px;
    width: 150%;
    border-radius: 15px;
  }

  

.projet {

    font-family: var(--font-open-sans);

    color: var(--blanc);

    height: auto;

    width: 80dvw;


    display: inline-block;

    background-color: var(--black-glass);

    border: 0px black solid;

        border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 0.1875em 0.375em rgba(0,0,0,0.16), 0 0.1875em 0.375em rgba(0,0,0,0.23);

    text-align: center;

    text-decoration: none;

    right:5%;

      text-decoration: none;

}

.projet:hover {

    box-shadow: 0 0.875em 1.75em rgba(0,0,0,0.25), 0 0.625em 0.625em rgba(0,0,0,0.22);

    transition: 0.3s;

}

.projet span {

margin-bottom: 2vh ;
    text-transform: uppercase;

    display: block;

    background-color: var(--bleulhc);

    text-shadow: -3px 2px 10px #000000;

    padding-top: 2vh;
    padding-bottom: 2vh;

}

.projet .date-project {

    font-size: 0.7em;

}

#projet {

    display: flex;

    flex-wrap: wrap;

}

.projet2 a{
  color: var(--blanc);
}

.projet2 {

font-family: var(--font-open-sans);
    text-decoration: none;
    color: var(--blanc);
    height: auto;
    width: 90dvw;
    margin-bottom: 2dvh;
    margin-top: 30px;
    display: inline-block;
    background-color: var(--black-glass);
    padding-bottom: 15px;
    border: 0px black solid;
    border-radius: 1px;
    overflow: hidden;
    box-shadow: 0 0.1875em 0.375em rgba(0, 0, 0, 0.16), 0 0.1875em 0.375em rgba(0, 0, 0, 0.23);
    margin-left: 0%;
    text-align: center;
    text-decoration: none;
    border-radius: 15px;

}

.projet2:hover {

    box-shadow: 0 0.875em 1.75em rgba(0,0,0,0.25), 0 0.625em 0.625em rgba(0,0,0,0.22);

    transition: 0.3s;

}

.projet2 span {

text-transform: uppercase;
    display: block;
    background-color: var(--bleulhc);
    text-shadow: -3px 2px 10px #000000;
    padding: 1dvh 0;
    margin-bottom: 2vh;

}

.projet2 .date-project {

    font-size: 0.7em;

}

#projet2 {

    display: flex;

    flex-wrap: wrap;

}

.projet2 h2{

  color: var(--rougelhc);

}

.projet3 {

  font-family: var(--font-open-sans);

    text-justify: auto;

    color: var(--blanc);

    height: auto;

    width: 80%;

    margin: 30px;

    display: inline-block;

    background-color: rgba(38,55,85,0.8);

    padding-bottom: 15px;

    border: 0px black solid;

    border-radius: 1px;

    overflow: hidden;

    box-shadow: 0 0.875em 1.75em rgba(0,0,0,0.25), 0 0.625em 0.625em rgba(0,0,0,0.22);

    margin-left: 0%;

    text-align: center;

    text-decoration: none;

    text-shadow: rgba(0,0,0,0.4) -2px 0.1px;

        border-radius: 15px;

}

.projet3:hover {

    box-shadow: 0 0.875em 1.75em rgba(0,0,0,0.25), 0 0.625em 0.625em rgba(0,0,0,0.22);

    transition: 0.3s;

}

.projet3 span {

    text-transform: uppercase;

    display: block;

    background-color: var(--bleulhc);

    padding-top: 1vh;

}

.projet3 .date-project {

    font-size: 0.7em;

}

#projet3 {

    display: flex;

    flex-wrap: wrap;

}

.projet3 h2{

  color: var(--rougelhc);

}

.left{

  float: left;

  /* text-align-all: center; */

  width: 50%;

}

.right{

  float: right;

  background-color: rgb(200, 200, 200,0.2);

  height: auto;

  /* text-align-all: center; */

    width: 50%;

    margin-bottom: 0px;

}

@import url('//fonts.googleapis.com/css?family=Roboto:500');

@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css');

body {

  text-align: center;

}

.face-button {

  height: 64px;

  display: inline-block;

  border: 3px solid var(--rougelhc);

  font-family: 'Roboto', sans-serif;

  font-size: 20px;

  font-weight: 500;

  text-align: center;

  text-decoration: none;

  color: var(--rougelhc);

  overflow: hidden;

}

.face-button .icon {

  margin-right: 6px;

}

.face-button .face-primary, .face-button .face-secondary {

  display: block;

  padding: 0 32px;

  line-height: 64px;

  transition: margin 0.4s;

}

.face-button .face-primary {

  background-color: var(--rougelhc);

  color: var(--blanc);

}

.face-button:hover .face-primary {

  margin-top: -60px;

}

.droite{
  float: right;
  width: 50%;
}
.gauche{
  float: left;
  width: 50%;
}

#ligne{

  background: rgba(255, 255, 255,0.7);

  width:80vw;
  height: 0.5vw ;

}

.dl{

    background-color: var(--orangelhc);
    padding: 0.5em;
    color: var(--blanc);
    border-radius: 15px;
    width: 150%;
    text-decoration: none;
}

.grid{
  display: flex;
  grid-gap: 16px;
  grid-template-columns: repeat( auto-fill , minmax(500px, 1fr));
  flex-wrap: wrap;
  padding: 0 20px;
  justify-content: space-around;
}

*:focus{
    outline: none;
}

body {
    margin: 0;
    font-family: "Raleway",sans-serif;
}
h1 {
    margin: 0;
    font-size: 12px;
    color: #ccc;
    padding: 0 10%;
}
h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    color: var(--blanc);
    padding: 0 10%;
}
.container {
  border-radius: 15px;
  display: block;
  width: 100%;
  /* height: 675px; */
  margin-bottom: 30px;
  /* margin: auto; */
  overflow: hidden;
  background-repeat: repeat;
  background-size: cover;
}
.music-player {
        border-radius: 15px;
    display: block;
    position: relative;
    width: 400px;
    height: 570px;
    margin: auto;
    margin-top: 6%;

    background: transparent linear-gradient(to bottom,rgba(10,11,31,0.9) 50%,rgb(10,11,31) 70%) repeat scroll 0 0;
    box-shadow: 1px 10px 20px 5px #222;
}
.cover {
    float: left;
    width: 100%;
    height: 66%;
}
.cover img {
display: block;
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: auto;
    text-align: center;
}
.titre {
    margin-top: 30px !important;
    float: left;
    width: 100%;
}
.lecteur {
    width: 100%;
    display: block;
    height: auto;
    position: relative;
    float: left;
}

.cover2 {
    float: left;
    width: 100%;
    height: 66%;
}
.cover2 iframe {
    position: absolute;
    /* top: 8%; */
    left: 0%;
    width: 100%;
    height: 60%;
    margin: auto;
    text-align: center;
    border-radius: 15px;
}

.music-player3 {
    
border-radius: 15px;
    display: block;
    position: relative;
    width: 400px;

    margin: auto;
    margin-top: 6%;
    background: transparent linear-gradient(to bottom,rgba(10,11,31,0.9) 50%,rgb(10,11,31) 70%) repeat scroll 0 0;
    box-shadow: 1px 10px 20px 5px #222;
}
.cover3 img {
display: block;
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: auto;
    text-align: center;
}

.cover3 {
   float: left;
    width: 100%;
    height: 100%;
}

.scrollpos a {
  bottom: 20px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: var(--blanc);
  font : normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
.scrollpos a:hover {
  opacity: .5;
}

#scroll a {
  padding-top: 60px;
}
#scroll a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 2px solid var(--blanc);
  border-radius: 50px;
  box-sizing: border-box;
}
#scroll a span::before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: '';
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: var(--blanc);
  border-radius: 100%;
  -webkit-animation: scroll 2s infinite;
  animation: scroll 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes scroll {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes scroll {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.contactrapide {
    width: 25vw;
}

/* ========== RESPONSIVE ========== */
/* --------- RESPONSIVE AMÉLIORÉ --------- */
@media (max-width: 1024px) {
  /* supprime floats et passe en colonne */
  .left, .right, .droite, .gauche,
  #projet, #projet2, #projet3 {
    float: none !important;
    width: 85vw !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 20px auto !important;
  }

  /* grille une seule colonne */
  .grid {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 10px !important;
    grid-template-columns: none !important;
  }

  /* boutons et liens pleine largeur */
  #voira, #voir, .dl, .face-button {
    width: 80vw !important;
    margin: 10px auto !important;
    padding: 0.5em !important;
  }

  /* logo plus petit */
  .logo {
    width: 60vw !important;
  }

  /* projets full-width */
  .projet, .projet2, .projet3 {
    width: 90vw !important;
  }

  /* player responsive */
  .music-player, .music-player3 {
    width: 90vw !important;
    height: auto !important;
        font-family: var(--font-open-sans);
    text-decoration: none;
    color: var(--blanc);
    height: auto;
    width: 90vw;
    margin-bottom: 30px;
    margin-top: 30px;
    display: inline-block;
    background-color: var(--black-glass);
    padding-bottom: 15px;
    border: 0px black solid;
    border-radius: 1px;
    overflow: hidden;
    box-shadow: 0 0.1875em 0.375em rgba(0, 0, 0, 0.16), 0 0.1875em 0.375em rgba(0, 0, 0, 0.23);
    margin-left: 0%;
    text-align: center;
    text-decoration: none;
    border-radius: 15px; 
  }

  /* cover images et iframes */
  .cover img, .cover2 iframe, .cover3 img {
    position: relative !important;
    width: 100vw !important;
    height: auto !important;
    top: 0; left: 0;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 90%;
  }
  .separator, #ligne {
    width: 90vw !important;
    height: 1px !important;
  }
  .face-button {
    font-size: 18px !important;
    padding: 0 16px !important;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 85%;
  }
  .logo {
    width: 80vw !important;
  }
  #voira, #voir, .dl {
    padding: 0.25em 0.5em !important;
  }
  .face-button {
    display: block !important;
    width: 100% !important;
    margin: 0.5em 0 !important;
  }
}


/* ===== RESPONSIVE .centrev ===== */
/* ===== .centrev : gestion de la hauteur ===== */




/* Desktop → Tablette */
@media screen and (max-width: 1024px) {
  .centrev {
    height: auto !important;
    min-height: 100vh;
    padding: 2em 1em !important;
    justify-content: flex-start !important;
  }
  .logo {
    width: 70vw !important;
  }
  .separator {
    width: 90% !important;
  }
}

/* Tablette → Mobile paysage */
@media screen and (max-width: 768px) {
  .centrev {
    height: auto !important;
    min-height: 100vh !important;
    padding: 2em 1em !important;
  }
  .logo {
    width: 80vw !important;
  }
  .separator {
    width: 95% !important;
  }
}

/* Mobile portrait */
@media screen and (max-width: 480px) {
  .centrev {
    padding: 4em 0.5em !important;
  }
  .logo {
    width: 90vw !important;
  }
  .separator {
    width: 100% !important;
  }
}
.social-icons li {
    vertical-align: top;
    display: inline;
    /* height: 100px; */
}