* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: "Helvetica";
}

main {
  padding-top: 0;
}

/*home*/
.MainContainer {
  width: 100%;
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction:column;
  align-items: center;
  background-image: url(../images/homeBackground.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


.hero p{
  color:white;
  font-family:'Caviar Dreams' 'Helvetica'; 
  text-transform: uppercase;
  text-align:center;
  font-size:90%;
  margin:5vh;
  opacity:1;
  will-change: opacity;

  animation-name:text-hero-animation;
  animation-duration:4s;
  animation-iteration-count: 1;
}

@keyframes text-hero-animation{
  0%  {opacity:0;}
  100%{opacity:1;}
}

.CdC {
  width: 50%;
  height: 50%;
  margin: 0 auto;
  background: pink;
}

.Cdc .logo-img{
  display:flex;
  justify-content: center;
  width:80%;
  height:auto;
  object-fit: contain;
}

.Cdc .logo-left{
  animation-name:logo-left-animation;
  animation-duration:3s;
  animation-iteration-count:1;
}

@keyframes logo-left-animation{
  0%  {opacity:0; transform:translateY(-5vh);}
  100%{opacity:1; transform:translateY(0vh);}
}

.Cdc .logo-right{
  animation-name:logo-right-animation;
  animation-duration:3s;
  animation-iteration-count:1;
}

@keyframes logo-right-animation{
  0%  {opacity:0; transform:translateY(5vh);}
  100%{opacity:1; transform:translateY(0vh);}
}

.Cdc .logo-text{
  animation-name:logo-text-animation;
  animation-duration:3s;
  animation-iteration-count:1;
  margin-left:0;
}

@keyframes logo-text-animation{
  0%  {opacity:0; transform:translateY(5vh);}
  100%{opacity:1; transform:translateY(0vh);}
}



.MainContainer .hero .btn {
  position: absolute;
  left: calc(50% - 25);
  top: 90%;
  width: 15px;
  height: 30px;
  background: transparent;
  border: none;
  outline: 0;
}

.scroll-down {
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  text-align: center;
  width: 13px;
  height: 13px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  -webkit-transform: translate(-50%, 0%) rotate(45deg);
  -moz-transform: translate(-50%, 0%) rotate(45deg);
  transform: translate(-50%, 0%) rotate(45deg);
  -webkit-animation: fade_move_down 4s ease-in-out infinite;
  -moz-animation: fade_move_down 4s ease-in-out infinite;
  animation: fade_move_down 4s ease-in-out infinite;
}

.MainContainer .hero .btn .scroll-down:hover {
  cursor: pointer;
}

/*animated scroll arrow animation*/
@-webkit-keyframes fade_move_down {
  0% {
    -webkit-transform: translate(0, -10px) rotate(45deg);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translate(0, 10px) rotate(45deg);
    opacity: 0;
  }
}

@-moz-keyframes fade_move_down {
  0% {
    -moz-transform: translate(0, -10px) rotate(45deg);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    -moz-transform: translate(0, 10px) rotate(45deg);
    opacity: 0;
  }
}

@keyframes fade_move_down {
  0% {
    transform: translate(0, -10px) rotate(45deg);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translate(0, 10px) rotate(45deg);
    opacity: 0;
  }
}


/*Introduction*/

.container-home {
  display: flex;
  flex-direction: column;
  width: 970px;
  background-color: white;
  clear: both;
  margin: 0 auto;
}

div.grey-background {
  width: 100%;
  height: 190px;
  margin: 0 auto;
  background-color: #E9E8E8;
  display: flex;
  justify-content: center;
}

div.presentation {
  width: 90%;
  height: 300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: -240px;
  z-index: 10;
}

.orangeP {
  font-family: 'Helvetica';
  font-size: 20px;
  padding-left: 2%;
  border-style: hidden;
  border-left: solid;
  border-color: #FF9300;
}

.presentation img {
  width: 40%;
  margin-right: 4%;
}

div.title {
  width: 293px;
  margin-top: 10%;
  margin-bottom: 4%;
  margin-left: 6%;
}

div.title2 {
  width: 314px;
  margin-top: 40px;
  margin-left: 6%;
}

.title h3,
.title2 h3 {
  font-family: 'Caviar Dreams''Helvetica';
  width: 110%;
  font-size: 25px;
  padding-bottom: 5px;
  border-bottom-style: solid;
  border-bottom-color: #FF9300;
}

div.text {
  width: 100%;
  height: 70px;
  margin-top: 10px;
}

.text p {
  font-family: 'Helvetica';
  font-size: 20px;
}

/*Cards*/

body {
  margin: 0;
  padding: 0;
  font-family: 'Caviar Dreams''helvetica';
  color: #444
}

/**** CARD ****/

.containerCard {
  height: 730px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  justify-content: center;
}

.card {
  width: 40%;
  height: 200px;
  margin-bottom: 20px;
  margin-top: 20px;
  margin-left: 8%;
  display: flex;
  justify-content: flex-end;
}

.cardLeftPart {
  width: 70%;
  height: 100%;
  overflow: hidden;
}

.cardRightPart {
  width: 40%;
  height: 100%;
  background: #F2F2F2;
}

.cardRightPart h2 {
  font-size: 13px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.cardLeftPart img {
  max-width: 320px;
  max-height: auto;
}

#salleDeR .cardLeftPart img {
  max-width: 420px;
  max-height: auto;
}

.cardRightPart h2 {
  margin-bottom: 10px;
}

/* GROW */
.hvr-grow {
  transition-duration: 0.5s;
  transition-property: transform;
}

.hvr-grow:hover,
.hvr-grow:focus,
.hvr-grow:active {
  transform: scale(1.02);
}

/* SHADOW */
.hvr-shadow {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.hvr-shadow:hover,
.hvr-shadow:focus,
.hvr-shadow:active {
  box-shadow: 5px 7px 5px 0px #E2E2E2;
}

/* ICON */
.icon img {
  max-width: 30px;
  max-height: 60px;
}

.icon {
  display: flex;
  justify-content: space-around;
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 10px;
  height: 40px;
}

.iconText h3 {
  font-size: 12px;
  margin-top: 15px;
}

.button {
  margin: 0 auto;
  background: #FF9300;
  width: 80px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.button:hover {
  background: #dd8406
}

.button a {
  font-weight: bold;
  font-size: 12px;
  color: white;
  text-decoration: none;
}

#sceneSize img {
  width: 20px;
  max-height: 40px;
}

div#sceneSize {
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 0px;
  margin-bottom: 0px;
}

#regleSize img {
  max-width: 20px;
  max-height: 60px;
}

div#regleSize {
  margin-left: 5px;
  margin-right: 5px;
  height: 30px;
}

div#regleSize h3 {
  font-size: 10px;
  padding-top: 0px;
}

#sunSize img {
  max-width: 20px;
  max-height: 60px;
}

div#sunSize {
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 15px;
}

div#sunSize h3 {
  font-size: 10px;
}

#hallAcc {
  margin-top: 15px;
}

div#wifiSize h3 {
  padding-left: 10px;
}

#amphi {
  margin-top: 5px;
}

div#forkSize h3 {
  font-size: 10px;
  padding-left: 5px;
  margin-top: 0px;
}

#forkSize img {
  max-width: 24px;
  max-height: 24px;
}

#forkSize {
  margin-left: 10px;
  margin-top: 30px;
}

@media screen and (max-width:950px) {
  .containerCard {
    height: 1500px;
    width: 500px;
    flex-direction: row;
  }

  .icon {
    display: flex;
    justify-content: space-around;
  }
}

/*CINEMA*/

.cinema {
  margin-top: 2%;
  background-image: url(../images/cinema/cinema.png);
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  padding-bottom: 5%;

}

.inside {
  display: flex;
  justify-content: space-between;
}

.logoCine {
  z-index: 4;
  width: 15%;
  height: 5%;
  margin-left: 3%;
  margin-top: 12%;
}

.cineText h2 {
  color: white;
  margin-bottom: 1%;
  font-size: 40px;
  font-family: 'Caviar Dreams''helvetica';
}

.cinema p {
  padding-right: 36.4%;
  margin-bottom: 6%;
  color: white;
  font-size: 30px;
  font-family: 'Caviar Dreams''helvetica';
}

.cinema a {
  font-family: 'Caviar Dreams''helvetica';
  margin-right: 15%;
  border-style: solid;
  border-color: white;
  text-decoration: none;
  padding: 1%;
  color: white;
  font-size: 20px;
}

.cinema a:hover {
  cursor: pointer;
  border-color: #f0cf2f;
  color: #f0cf2f;
}

.cineText {
  padding-right: 4%;
  padding-top: 3%;
  text-align: right;
}

.text p {
  margin-top: 3%;
}

.Facebook {
  margin-top: 7%;
}

.fb {
  left: 10;
  right: 10;
  width: 50%;
  height: 500px;
  margin-bottom: 20px;
  border: none;
  overflow: hidden;
}

.second-facebook-section {
  display: flex;
}

.facebook-left-section {
  display: flex;
  flex-direction: row-reverse;
  width: 50%;
  position: relative;
}

.facebook-left-section p {
  position: absolute;
  top: 25%;
  left: 50%;
  font-family: 'Caviar Dreams''helvetica';
  font-size: 1.6rem;
  text-transform: uppercase;
  color: black;
}

.facebook-left-section img {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 30%;
  height: 30%;
  transform: rotate(-50deg);
}

.button2 {
  margin: 0 auto;
  background: #FF9300;
  width: 20%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4%;
  margin-bottom: 10%;
}

.button2:hover {
  background: #dd8406
}

.button2 a {
  font-weight: bold;
  font-size: 17px;
  color: white;
  text-decoration: none;
}


@media screen and (max-width:1500px) {
  .cineText h2 {
    font-size: 40px;
  }

  .cinema p {
    font-size: 28px;
    padding-right: 14%;
  }

  .cinema>img {
    height: 360px;
  }

  .logoCine {
    width: 20%;
    height: 100px;
    margin-left: 8%;
    margin-top: 11%;
  }
}

@media screen and (max-width:1050px) {
  .cineText h2 {
    font-size: 3rem;
  }

  .cinema p {
    font-size: 25px;
    padding-right: 9%;
  }

  .cinema>img {
    height: 360px;
  }

  .logoCine {
    width: 20%;
    height: 100px;
    margin-left: 8%;
    margin-top: 11%;
  }
}

@media screen and (max-width:1024px) {

  .hero p{
    font-size:120%;
  }
  .container-home {
    width: 670px;
  }

  div.grey-background {
    height: 140px;
  }

  div.presentation {
    margin-bottom: -220px;
  }

  .title,
  .title2 {
    margin: 0 auto;
  }

  .cinema>img {
    height: 320px;
  }

  .logoCine {
    width: 30%;
    margin-left: 4%;
    margin-top: 20%;
  }

  .cineText {
    position: absolute;
    margin-left: 12%;
  }

  .CineText h2 {
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
  }

  .cinema p {
    font-size: 25px;
    text-align: center;
    margin-bottom: 8%;
  }

  .cinema a {
    margin-right: 5%;
    font-size: 25px;
  }

  .cinema{
    background-attachment: scroll;
  }

  .Facebook {
    text-align: center;
  }

  .fb {
    margin-left: 14%;
  }

  .button2 {
    width: 25%;
  }

  .containerCard {
    height: auto;
    flex-flow: column;
    width: 100%;
  }

  .cardLeftPart {
    width: 100%;
    overflow: hidden;
  }

  .cardRightPart {
    width: 110%;
  }

  #salleDeR .cardLeftPart img {
    max-width: 100%;
    overflow: hidden;
    right: 0;
    max-height: auto;
  }

  .card {
    width: 100%;
  }

  .cardRightPart h2 {
    font-size: 1.7rem;
  }

  .iconText h3,.icon h3{
    position: absolute;
    visibility:hidden;
  }

  .icon img {
    width: 60px;
    height: 75px;
  }

  .facebook-left-section{
    position: absolute;
    visibility: hidden;
  }
  .fb{
    width:100%;
  }
}