/* Général */

.animate-in {
    -webkit-animation: fadeIn .5s ease-in;
    animation: fadeIn .5s ease-in;
}
.animate-out {
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
    opacity: 0;
}
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

html {
  background: linear-gradient(#29F499, #06AFE8);
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  overflow: hidden;
}

p {
  font-size: 2vh;
  font-weight: 600;
}

a {
  text-decoration: none;
}

h2 {
  font-size: 4vh;
  font-weight: 900;
  margin-left: 5vh;
}

/* Blocs */

.contenu {
  display: flex;
  height: 100%;
  width: 100%;
}

.bloc1, .bloc2 {
  height: 100vh;
  width: 50%;
  overflow: hidden;
}

.bloc1 {
  background-color: #F8F6F8;
  background-image: url(../images/fond-artistique.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
}

.bloc2 {
  background: linear-gradient(#29F499, #06AFE8);
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.3);
}

.bloc1 p, .bloc2 p {
  padding-left: 5vh;
  padding-right: 5vh;
  text-align: justify;
  color: #4b4b4b;
  font-size: 1.8vh;
}

.bouton {
  color:  #F8F6F8;
  background-color: #2A282A;
  width: fit-content;
  padding: 2vh 3vh 2vh 3vh;
  border-radius: 50px;
  font-weight: 600;
  font-size: 2.5vh;
  margin-left: auto;
  margin-right: auto;
  transition:0.2s;
}

.bloc1 .logo:hover, .video:hover, .bouton:hover,  .fa-facebook:hover {
  transform: scale(1.05);
  -ms-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -o-transform: scale(1.05);
  -moz-transform: scale(1.05);
  transition:0.2s;
}

.centrer {
  display: block;
  text-align: -webkit-center;
}

.erreur, .confirmation {
  font-size: 2.5vh;
}

.erreur {
  color: red;
}

.confirmation {
  color: green;
}

/* Bloc1 */

.bloc1 .logo {
  width: 12vh;
  margin: 5vh 0 0 5vh;
  transition: 0.2s;
}

.bloc1 h1 {
  font-size: 3.5vh;
  background: linear-gradient(to right, #FF2625, #E5C633);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: right;
  line-height: 5vh;
  margin: 5vh;
}

.bloc1 h2 {
  background: linear-gradient(to right, #8438DC, #24CFFE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3vh;
}

/* Bloc2 */

.bloc2 .travaux {
  background-image: url(../images/travaux.png);
  background-repeat: no-repeat;
  background-size: 41vh;
  background-position: top right 5vh;
}

.bloc2 h2 {
  color: white;
  margin-top: 0;
  font-size: 3vh;
}

.bloc2 .video {
  width: 15vh;
  margin: 5vh 0 0 5vh;
  transition: 0.2s;
}

.bloc2 .fermer {
  font-size: 7vh;
  text-align: right;
  height: 10vh;
  margin: 5vh;
}

.bloc2 .fermer a {
  color: #2A282A;
  transition: 0.2s;
}

.bloc2 .fermer a:hover {
  color: #FFF;
  transition: 0.2s;
}

.bloc2 .en-construction {
  color: #2A282A;
  text-align: center;
  font-size: 5vh;
  background-image: url(../images/peinture.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding-top: 6vh;
  height: 15vh;
  margin-bottom: 8vh;
  text-shadow: 2px 5px 0 #19d5bd;
}

.bloc2 .contact {
  margin-top: 8vh;
  display: inline-block;
}

.bloc2 .fa-facebook {
  font-size: 3vh;
  margin-left: 3vh;
  color: #FFF;
}

.bloc2 .submit {
  width: fit-content;
  padding: 2vh 3vh 2vh 3vh;
  font-size: 2.5vh;
  outline: none;
}

/* Formulaire de contact */

form .bouton {
  border: none;
  margin-left: auto;
  margin-right: auto;
}

.bloc2 input,textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 2vh;
  margin: 2vh;
  width: calc(100% - 8vh);
  padding: 2vh;
  border: none;
}

/* Responsive */

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

.contenu {
  display: block;
}

.bloc1, .bloc2 {
  width: 100%;
  height: fit-content;
  padding-bottom: 6vh;
}

.mobile-1 {
  display: none;
}

.mobile-2 {
  height: -webkit-fill-available;
}

.mobile-0 {
  display: -webkit-box;
}

.bloc1 h1 {
  font-size: 3vh;
}

.bloc2 .en-construction {
  font-size: 3.5vh;
  padding-top: 5vh;
  height: 10vh;
}

}

/* Impression */

@media print {

.contenu {
  display: block;
}

.bloc1, .bloc2 {
  width: 100%;
  height: fit-content;
}

p {
  font-size: 14px;
}

.bloc1 h1 {
    font-size: 24px;
    background: #4b4b4b;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #4b4b4b;
    line-height: 3vh;
}

.bloc2 h2 {
  color: #4b4b4b;
}

.bloc2 {
  box-shadow: none;
}

.bloc2 .en-construction {
  display: none;
}

.bloc2 .video {
  display: none;
}

.bloc2 .fermer {
  display: none;
}

.bloc2 .fa-facebook {
  display: none;
}

.bloc2 .bouton {
  display: none;
}

.bloc2 form {
  display: none;
}

.bloc2 iframe {
  display: none;
}

}
