@font-face {
  font-family: "Catamaran";
  src: url("../fonts/Catamaran-Light.eot");
  src: url("../fonts/Catamaran-Light.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Catamaran-Light.woff") format("woff"),
    url("../fonts/Catamaran-Light.woff2") format("woff2"),
    url("../fonts/Catamaran-Light.otf") format("opentype"),
    url("../fonts/Catamaran-Light.ttf") format("truetype"),
    url("../fonts/Catamaran-Light.svg#CatamaranLight") format("svg");
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: "Catamaran";
  src: url("../fonts/Catamaran-Regular.eot");
  src: url("../fonts/Catamaran-Regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Catamaran-Regular.woff") format("woff"),
    url("../fonts/Catamaran-Regular.woff") format("woff2"),
    url("../fonts/Catamaran-Regular.otf") format("otf"),
    url("../fonts/Catamaran-Regular.ttf") format("truetype"),
    url("../fonts/Catamaran-Regular.svg#Catamaran") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* ************************ */

html {
  height: 100%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  background-color: white;
  color: #604f3f;
  font-family: Catamaran, arial, sans-serif;
  font-weight: normal;
  position: relative;
  margin: 0;
  min-height: 100%;
}

#content .row {
  width: 100%;
  margin: 0;
}

/*** HEADER ***/

header {
  font-weight: lighter;
}

#top-page {
  background-color: #d8806a;
  height: 80px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 3;
}

/* Barre de navigation */
.navbar-default {
  background-color: transparent;
  border: none;
  color: white;
  /*position: fixed;*/
  /*z-index: 3;*/
  width: 100%;
}

.navbar-header {
  height: 80px;
}

/* Logo header */
.navbar-default .navbar-brand,
.navbar-default .navbar-brand:hover {
  color: white;
  text-decoration: none;
}

#logo-header {
  max-height: 50px;
}

/* Icone menu */
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
  background-color: transparent;
}

.navbar-default .navbar-toggle {
  border: none;
}

.navbar-toggle {
  padding-right: 0;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: white;
}

/* Menu */
.navbar-default .navbar-collapse,
.navbar-default .navbar-collapse .collapsing,
.navbar-default .navbar-collapse .collapse .in {
  text-align: center;
  height: 92vh;
  border-width: 2pt;
  padding-top: 15px;
  overflow: hidden;
  position: fixed;
  z-index: 2;
  width: 100%;
  background-color: #d8806a;
}

.navbar-default .navbar-nav > li > a {
  color: rgba(255, 255, 255, 1);
  font-size: 1.4em;
  transition: 0.5s;
  animation-timing-function: ease-out;
  /* padding: 10px;
	margin: 0 5px; */
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > #en-cours > a {
  color: rgba(255, 255, 255, 1);
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 2px;
  /* border-bottom: 2px solid #FFFFFF; */
}

.active {
  color: rgba(255, 255, 255, 1);
}

/*** MAIN ***/

main {
  text-align: center;
  padding-bottom: 200px;
  font-size: 1.2em;
}

/* Contenu page */
#content {
  margin-top: calc(5vh + 80px);
}

#h1 {
  margin-bottom: 40px;
  text-transform: uppercase;
}

h1 {
  color: #d8806a;
  font-size: 2.3em;
}

h2 {
  font-family: Poppins, arial, sans-serif;
  color: #604f3f;
  font-size: 27px;
}

#content p,
#content ul,
main > p {
  font-size: 1.2em;
}

main > p {
  padding: 0 15px;
}

#content ul p {
  font-size: 1em;
}

hr {
  border: 1px solid #d8806a;
  width: 30px;
  margin: 30px auto 40px;
}

.btn {
  background-color: #ffffff;
  color: #d8806a;
  border: 1px solid #d8806a;
  border-radius: 150px;
  transition: 0.6s;
  animation-timing-function: ease-out;
  padding: 10px 40px;
  margin: 20px 0;
  font-size: 1.2em;
  text-decoration: none;
}

.btn:hover {
  background-color: #d8806a;
  color: #ffffff;
}

main a,
main a:focus {
  color: #604f3f;
  font-weight: 700;
  text-decoration: underline;
  transition: 0.2s;
  animation-timing-function: ease-out;
}

main a:hover {
  color: #d8806a;
  text-decoration: none;
}

main a.secondary-link,
main a.secondary-link:focus {
  color: #8c7968;
  font-weight: 500;
  transition: 0.4s;
  animation-timing-function: ease-out;
}

main a.secondary-link:hover {
  color: #d8806a;
  text-decoration: none;
}

/* ** PAGE COMPETENCES */

#competences-wrapper {
  margin-bottom: 60px;
}

.competences {
  /* margin-top: 30px;*/
  margin-bottom: 50px;
}

.icone-skill {
  display: none;
  width: 30px;
  margin-right: 20px;
}

.icone-skill.mobile {
  display: block;
  width: 40px;
  margin: 0 auto;
}

.competences h2 {
  margin-top: 10px;
}

/*#integration-web, #developpement-web, #bases-de-donnees, #webmarketing, #design, #langues, #autres{
	opacity:0;
}*/
.competences-content {
  opacity: 0;
  width: 100%;
}

.competences ul {
  /* list-style-type: none;
	padding: 0;*/
  text-align: left;
  margin-top: 20px;
}

.competences ul > li {
  margin-bottom: 10px;
}

/* ** PAGE PARCOURS */
#filtre > div {
  padding: 10px 30px;
  margin-top: 30px;
  font-size: 1.2em;
  border: 2px solid #d8806a;
  border-radius: 100px;
  color: #d8806a;
  background-color: #ffffff;
  font-weight: 500;
  cursor: pointer;
  transition: 0.6s;
}

#filtre > div:hover,
#filtre > div.active {
  color: white;
  background-color: #d8806a;
}

#filtre > div.active {
  cursor: initial;
}

#work-wrapper,
#studies-wrapper {
  opacity: 0;
  text-align: left;
}

#studies-wrapper {
  display: none;
}

#studies,
#work {
  padding-top: 60px;
  /* font-size: 1.2em; */
  line-height: 1.6em;
}

/*#work h2,
#studies h2 {
	font-size: 1.6em;
	line-height: 1.3em;
}*/

#work header .date,
#studies header .date {
  color: #d8806a;
  font-size: 0.7em;
  font-family: Catamaran, arial, sans-serif;
}

.societe {
  color: #8c7968;
  font-style: italic;
}

.conclusion {
  font-weight: 700;
}

/* Expériences & formations */
#studies > section,
#work > section {
  margin-bottom: 100px;
}

/* ** PAGE PORTFOLIO */

#portfolio .intro {
  font-weight: 700;
  font-size: 1.3em;
}

#portfolio .intro + p {
  margin-bottom: 50px;
}

.projet-wrapper {
  width: 100%;
  margin: 0 auto 80px;
  text-align: left;
}

.projet-wrapper:last-of-type {
  margin-bottom: 60px;
}

.projet a {
  opacity: 0.8;
  transition: 0.6s;
  animation-timing-function: ease-out;
}

.projet a:hover {
  opacity: 1;
}

figure {
  margin: 0 !important;
}

.projet figcaption {
  font-weight: 700;
  font-size: 27px;
  margin-bottom: 30px;
  text-align: center;
}

.projet-img {
  width: 100%;
  margin: 0 auto 30px !important;
  border: 2px solid #eeeeee;
  border-radius: 20px;
  opacity: 0;
}

.projet-wrapper ul {
  padding: 0;
  margin-left: 20px;
}

.projet-wrapper ul > li {
  font-weight: 700;
  margin-bottom: 30px;
}

.projet-wrapper ul > li:last-of-type {
  margin-bottom: 40px;
}

.projet-wrapper ul > li p {
  margin-top: 10px;
  margin-bottom: 0;
}

.italic-text {
  font-style: italic;
  font-weight: 500;
}

.bold-text {
  font-weight: 700;
}

/* ** PAGE A PROPOS */

/* Photo */
#photo-sandra {
  width: 100%;
  max-width: 250px;
  /*width: 280px;
	height: 280px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% top;*/
  margin-bottom: 40px;
  opacity: 0;
}

/* Texte */
#presentation {
  text-align: left;
}

#presentation > p {
  /*font-size: 1.2em;*/
  margin-bottom: 30px;
}

/* ** PAGE CONTACT */

#contact-intro {
  margin-bottom: 40px;
  opacity: 0;
}

#contact form .form-group {
  text-align: left;
}

#contact form .form-group:not(:last-of-type) {
  margin-bottom: 30px;
}

#contact form label {
  font-weight: 500;
}

.erreur-form {
  color: #d8806a;
  margin-bottom: 30px;
  list-style: none;
  padding: 0;
}

#contact #tel {
  margin-bottom: 80px;
}

#contact #message {
  height: 250px;
  margin-bottom: 60px;
}

#envoi {
  margin: 50px 0;
}

/*.msg-sent {
	font-size: 1.2em;
}*/

.msg-sent:last-of-type {
  margin-top: 50px;
  font-weight: 700;
}

/* ** PAGE 404 */

#content-404 {
  margin-top: 10vh;
}

#content-404 h1 {
  width: 80%;
  margin: 0 auto 30px;
}

#content-404 > .row {
  display: none;
}

/*** FOOTER ***/

footer {
  position: absolute;
  bottom: 0px;
  padding: 15px;
  width: 100%;
  background-color: #d8806a;
  color: white;
  text-align: center;
}

footer > .container-fluid {
  text-align: center;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Icones footer */
footer #icone-linkedin,
footer #icone-github {
  width: 35px;
  opacity: 0.8;
  transition: 0.6s;
  animation-timing-function: ease-out;
}

footer #icone-linkedin:hover,
footer #icone-github:hover {
  opacity: 1;
}

footer > div > a > img {
  margin-right: 20px;
}

/* CV */
footer > div > a,
footer > div > a:active,
footer > div > a:focus,
footer > div > a:visited {
  color: #ffffff;
  transition: 0.4s;
  text-decoration: underline;
  text-underline-offset: 3px;
  animation-timing-function: ease-out;
  font-size: 1.2em;
}

footer > div > a:hover {
  text-decoration: none;
  color: #ffffff;
}

/* Copyright */
footer > div > #copyright {
  padding-top: 15px;
  width: 100%;
  text-align: right;
}

@media screen and (min-width: 500px) {
  main {
    padding-bottom: 140px;
  }

  footer {
    text-align: left;
    height: 70px;
  }

  footer > .container-fluid {
    display: block;
    text-align: left;
  }

  footer > div > #copyright {
    padding-top: 7px;
    width: auto;
  }
}

@media screen and (min-height: 500px) {
  /* ** PAGE 404 */
  #content-404 {
    margin-top: 20vh;
  }
}

@media screen and (min-width: 768px) and (min-height: 500px) {
  /* ** PAGE 404 */

  #content-404 > .row {
    display: block;
    margin-bottom: 40px;
  }
}

/***** Format Tablette *****/
@media screen and (min-width: 768px) {
  /*** HEADER ***/
  .navbar-default .navbar-brand {
    margin-left: -15px;
  }

  /* Menu */
  .navbar-default,
  .navbar-default .navbar-collapse {
    position: initial;
  }

  /*** MAIN ***/

  #main-navbar > .container-fluid {
    padding: 0 15px;
  }

  #h1 {
    margin-bottom: 60px;
  }

  /*h2 {
		font-size: 1.2em;
	}*/

  /* ** PAGE PARCOURS */

  #filtre > div {
    display: inline-block;
    margin: 0 20px;
  }

  /* ** PAGE PORTFOLIO */

  .projet-wrapper {
    padding: 0 40px;
  }

  /*** FOOTER ***/

  /* Copyright */
  /*footer>div>p {
		padding-right: 15px;
	}*/
}

@media screen and (min-width: 992px) {
  /*** MAIN ***/

  #main-navbar > .container-fluid {
    padding: 0 15px;
  }

  #h1 {
    margin-bottom: 40px;
  }

  /*h2 {
		font-size: 1.3em;
	}*/

  /* ** PAGE COMPETENCES */

  #competences-wrapper .row {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .competences {
    text-align: left;
    border-radius: 20px;
    border: 2px solid #f4d9d2;
    margin: 20px;
    padding: 20px;
    width: calc(33% - 40px);
  }

  .competences h2 {
    text-align: center;
  }

  .competences ul {
    list-style-type: disc;
    padding: 0;
    margin: 30px 20px 20px;
  }

  /* ** PAGE PORTFOLIO */

  .projet-wrapper {
    margin-bottom: 120px;
    max-width: 1000px;
  }

  .projet-wrapper:last-of-type {
    margin-bottom: 60px;
  }

  /*#portfolio .projet figcaption {
		margin-bottom: 20px;
	}*/

  /* ** PAGE A PROPOS */

  /* Photo */
  #photo-sandra {
    /*margin-top: 50px;*/
    margin-bottom: 0;
  }

  /*#presentation>p {
		font-size: 1.3em;
	}*/
}

/***** Format grand écran *****/
@media screen and (min-width: 1300px) {
  /*h2 {
		font-size: 1.8em;
	}*/

  /* ** PAGE COMPETENCES ** */
  #competences-wrapper .row {
    width: 90% !important;
  }

  .icone-skill.mobile {
    display: none;
  }

  .icone-skill {
    display: inline-block;
  }

  .competences h2 {
    margin-top: 20px;
  }
}
