/* --------------------------------

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background: #36D1DC;
	background: -webkit-linear-gradient(to right, rgba(54, 209, 220, 1), rgba(91, 134, 229, 1));
	background: linear-gradient(to right, rgba(54, 209, 220, 1), rgba(91, 134, 229, 1));
}

/* --------------------------------

Main components

-------------------------------- */
#cd-intro {
  position: relative;
  height: 300px;
  margin-top: 0px;
  z-index: 1;
}
#cd-intro #cd-intro-background {
  margin-top: -100px;
  height: 100%;
  width: 100%;
  background: url("../img/header_bg_activites.jpg") no-repeat center center;
  background-size: cover;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}
#cd-intro #cd-intro-tagline {
  position: absolute;
  width: 90%;
  max-width: 1170px;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
#cd-intro h1 {
  /*text-transform: uppercase;*/
  /*font-size: 24px;
  font-size: 1.5rem;*/
  /*text-align: center;*/
  /*color: #FFF;*/
  /*text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);*/
}
@media only screen and (min-width: 768px) {
  #cd-intro {
    height: 400px;
    margin-top: 0px;
  }
  #cd-intro h1 {
    /*font-size: 30px;
    font-size: 1.875rem;*/
  }
}
@media only screen and (min-width: 1170px) {
  #cd-intro {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 500px;
    margin-top: 0;
  }
  #cd-intro h1 {
    /*font-size: 32px;
    font-size: 2rem;*/
  }
}

.cd-content {
  position: relative;
  /*padding: 2em 0;*/
  padding: 0;
  line-height: 1.6;
  z-index: 2;
}
.cd-content::before {
  /* subtle gradient right above the main content */
  content: '';
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 50px;
  background: -webkit-linear-gradient( bottom , rgba(46, 49, 61, 0.3), rgba(46, 49, 61, 0));
  background: linear-gradient(to top, rgba(46, 49, 61, 0.3), rgba(46, 49, 61, 0));
}
.no-cssgradients .cd-content::before {
  /* use Modernizr to detect whether the browser supports or not css gradients */
  display: none;
}
.cd-content h2 {
  font-size: 20px;
  font-size: 1.25rem;
}
.cd-content p {
  margin: 1em 0;
}
@media only screen and (min-width: 768px) {
  .cd-content {
    line-height: 1.8;
  }
  .cd-content h2 {
    font-size: 30px;
    font-size: 1.875rem;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-content {
    padding: 5em 0 0 0;
    margin-top: 395px;
  }
  .cd-content p {
    font-size: 20px;
    font-size: 1.25rem;
  }
}
