@charset "UTF-8";
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url("fonts/lato-v16-latin-regular.eot");
  /* IE9 Compat Modes */
  src: local("Lato Regular"), local("Lato-Regular"), url("fonts/lato-v16-latin-regular.eot?#iefix") format("embedded-opentype"), url("fonts/lato-v16-latin-regular.woff2") format("woff2"), url("fonts/lato-v16-latin-regular.woff") format("woff"), url("fonts/lato-v16-latin-regular.ttf") format("truetype"), url("fonts/lato-v16-latin-regular.svg#Lato") format("svg");
  /* Legacy iOS */
}

@-webkit-keyframes mainblockScaleIn {
  0% {
    width: 25%;
  }
  100% {
    width: 40%;
  }
}

@keyframes mainblockScaleIn {
  0% {
    width: 25%;
  }
  100% {
    width: 40%;
  }
}

@-webkit-keyframes mainblockScaleOut {
  0% {
    width: 40%;
  }
  100% {
    width: 25%;
  }
}

@keyframes mainblockScaleOut {
  0% {
    width: 40%;
  }
  100% {
    width: 25%;
  }
}

html {
  font-size: 16px;
}

body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  margin: 0;
  color: #303030;
}

header {
  text-align: center;
  background-color: #303030;
  color: #ffffff;
  margin-bottom: 1%;
  padding-bottom: 1%;
}

header h1 {
  margin: 0;
  padding-top: 2%;
  font-size: 3rem;
}

header p {
  margin: 0;
}

main {
  height: 80vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: relative;
}

a {
  text-decoration: none;
  color: #ffffff;
  display: inline-block;
}

.mainblock {
  height: 15%;
  padding: 2%;
  -webkit-animation: mainblockScaleOut 500ms alternate both;
          animation: mainblockScaleOut 500ms alternate both;
}

.mainblock--cv {
  background: linear-gradient(100deg, #a80000 0%, rgba(0, 0, 0, 0.5) 85%), url("images/bannière_cv.png") no-repeat right;
  background-size: cover;
}

.mainblock--blog {
  background: linear-gradient(100deg, #a80000 0%, rgba(0, 0, 0, 0.5) 85%), url("images/bannière_blog.png") no-repeat right;
  background-size: cover;
}

.mainblock--omf {
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.5) 0%, #a80000 85%), url("images/bannière_omf.png") no-repeat left;
  background-size: cover;
}

.mainblock--bingo {
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.5) 0%, #a80000 85%), url("images/bannière_bingo.png") no-repeat left;
}

.mainblock--contact {
  background: linear-gradient(100deg, #700c0c 0%, #a80000 85%);
}

.mainblock--right {
  position: relative;
  right: 0;
  margin-left: 5%;
  text-align: left;
  border-radius: 15% 0 0 15%;
}

.mainblock--left {
  margin-right: 5%;
  text-align: right;
  border-radius: 0 15% 15% 0;
}

.mainblock h2 {
  margin: 0;
  font-size: 3rem;
}

.mainblock p {
  opacity: 0;
}

.mainblock:hover {
  -webkit-animation: mainblockScaleIn 500ms forwards;
          animation: mainblockScaleIn 500ms forwards;
}

.mainblock:hover p {
  -webkit-transition: 1000ms;
  transition: 1000ms;
  opacity: 1;
}
/*# sourceMappingURL=main.css.map */