/* --- Default rules --- */
section {
  background-color: #FFF;
}

section.content article {
  overflow: hidden;
  position: relative;
  border-bottom: 6px solid #FFF;
  background-color: #315E99;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

section article > h2 {
  background-color: #FFF;
  padding: 10px 0px;
  margin: 0px;
  box-shadow: 0px 10px 20px 0px rgba(60, 60, 60, 0.5);
}

.btn-square {
  border: 2px solid #4A8FD4;
  background-color: transparent;
  cursor: pointer;
  padding: 5px;
  color: #003F78;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-square:hover {
  text-decoration: none;
  border-color: #003F78;
  background-color: rgba(74, 143, 212, 0.8);
}

section.content .p-container {
  margin: 60px auto;
  padding: 50px 25px;
  background-color: #e9ecefbb;
  border-radius: 5px;
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hide {
  display: none;
}

/* --- Specifics --- */
section.intro {
  position: fixed;
  top: 0px;
  width: 100%;
  height: calc(100vh - 130px);
  z-index: 0;
  background: url('/assets/img/alpes-grenoble.jpg');
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.intro .jumbotron {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0px;
  background-color: #e9ecefe6;
}

section.intro .jumbotron .welcome {
  width: 100%;
}

section.intro .welcome ul.welcome-contact-list {
  list-style-type: none;
  padding: 0;
  text-align: center;
}

section.intro .welcome ul.welcome-contact-list li {
  display: inline-block;
  margin-bottom: 5px;
}

section.intro .welcome p.welcome-contact-mail {
  text-align: center;
}

/* -- Contenu -- */
section.content {
  position: relative;
  margin-top: calc(100vh - 130px);
  z-index: 50;
}

/* - Info text - */
section.content article.a-info-text {
  background: linear-gradient(315deg, #50a5e3, #184994);
  background-size: 600% 600%;
  animation: ColoredBackground 15s ease infinite;
}

@keyframes ColoredBackground {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

section.content article.a-info-text div.p-container p {
  width: auto;
  height: auto;
  margin: 0;
}

/* - CV - */
section.content article.a-cv {
  background-image: url('/assets/img/grenoble-Montagne.jpg');
}

ul.timeline li p.details {
  display: none;
}

/* - Projects - */
section.content article.a-projects {
  background-image: url('/assets/img/alps4K.jpg');
}

/* - Contact - */
section.content article.a-contact form.form-contact > * {
  margin-bottom: 10px;
}

section.content article.a-contact form.form-contact label.send-copy input {
  margin: 7px 10px;
}

section.content article.a-contact form.form-contact input[type="submit"].btn {
  float: right;
}

section.content article.a-contact form.form-contact.disabled * {
  display: none;
}

form.form-contact.disabled #enable-contact-form {
  display: block;
}


/* -- Pied de page -- */
footer {
  position: relative;
  background-color: #BBB;
  padding: 30px 0;
  height: 130px;
  z-index: 50;
}

/* --- General Media Queries --- */
@media (max-width: 1200px) {
  section.intro {
    position: initial;
    height: auto;
    padding: 100px 5vw;
    background-attachment: fixed;
  }
  section.content {
    margin-top: 0px;
  }
  section.content div.p-container {
	width: 100%;
	border-radius: 0;
  }
}
