/* CSS Document */

* {
  box-sizing: border-box;
}

#header-gal {
  flex-direction: column;
  justify-content: space-between;
  background-image: url(../assets/images/Ban-Inst.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
 height: 100vh; 
  display: flex;
  padding: 0 50px 100px;
}

main {
  background-image: url(../assets/images/pattern_dj2.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

#header-gal h2 {
  color: white;
  font-weight: bolder;
  align-self: flex-start;
  font-size: 3rem !important;
}

.head-img img {
  display: none;
}
.head-img p {
  display: none;
  color: white;
  text-align: center;
  font-size: 16px;
}

#header-gal h2:nth-child(2) {
  align-self: center;
}

#gal-bot {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#gal-bot h2 {
  align-self: flex-end;
}

.slide-icone {
  font-size: 50px;
  font-weight: bolder;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  cursor: pointer;
  z-index: 100;
  align-self: center;
  position: relative;
  top: 20px;
}

.slide-icone a{
    color: white;
}

.sociaux {
  display: -webkit-box;
  display: none;
  -webkit-box-align: end;
  align-items: flex-end;
  background-image: url(../assets/images/brush_reseaux_sociaux.png);
  background-size: 170%;
  width: 281px;
  background-position: right;
  height: 100px;
  position: absolute;
  bottom: 0;
  padding-left: 20px;
  z-index: 1;
}
.sociaux a img {
  display: block;
  width: 25px;
  height: auto;
  margin-left: 5px;
  margin-right: 5px;
  align-self: center;
  position: relative;
  top: 12px;
}
.sociaux .yt img {
  width: 30px;
  position: relative;
  top: 15px;
}
.socAn {
  transition: all 0.3s ease-in-out;
}

footer {
  z-index: 1;
}

#up-icon {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-color: #1d171b;
  position: fixed;
  bottom: 40px;
  right: 0;
  cursor: pointer;
  z-index: 10;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
}
#up-icon .fa-angle-up {
  color: white;
  font-size: 30px;
  /* display: block*/
}

.trans-titres{
    transition: all .5s easy-in;
}
@media screen and (min-width: 768px) {
    
  #header-gal > h2:nth-child(1) {
    position: absolute;
    left: -43px;
    top: 100px;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  #header-gal > h2:nth-child(2) {
    align-self: flex-end;
    position: relative;
    top: 70px;

  }

  .head-img img {
    display: flex;
  }
  .head-img p {
    display: flex;
  }

  #gal-bot h2 {
    align-self: flex-start;
  }
}

@media screen and (min-width: 768px) {
  .slide-icone {
    position: relative;
    top: -20px;
  }
}

@media screen and (min-width: 992px) {
  .sociaux {
    display: flex;
  }
  #header-gal{
      padding-bottom: 50px;
  }
  #header-gal h2 {
    font-size: 4rem !important;
  }
  .slide-icone {
    position: relative;
    top: -60px;
  }
}

@media screen and (min-width: 1200px) {
  #header-gal h2 {
    font-size: 5rem !important;
  }
  #header-gal h2:nth-child(1) {
    left: -85px;
  }
  .slide-icone {
    position: relative;
    top: -90px;
  }
}
