/* Variables */
/* General */
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

a {
  color: #A66D40;
  text-decoration: none;
}

a:hover {
  color: #ca8c5c;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 16px;
  font-style: italic;
  color: #6f7180;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #A66D40;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background: #cda17f;
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9997;
  transition: all 0.5s;
  padding: 0 15px;
  background: #2F190F;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#header .copyright {
  margin-bottom: 15px;
  padding-left: 15px;
  color: #A66D40;
  font-size: 14px;
}
#header .profile img {
  margin: 50px auto 25px;
  display: block;
  width: 170px;
}
#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  font-family: "Poppins", sans-serif;
}
#header .profile h1 a,
#header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#main {
  margin-left: 300px;
}

.container,
.container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }
  #main {
    margin-left: 0;
  }
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
}
/* Navigation Menu */
/* Desktop Navigation */
.nav-menu {
  padding: 30px 0 0 0;
}
.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
}
.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #A66D40;
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 18px;
}
.nav-menu a i,
.nav-menu a:focus i {
  font-size: 24px;
  padding-right: 8px;
  color: #A66D40;
}
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover > a {
  text-decoration: none;
  color: #fff;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #A66D40;
  color: #fff;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

.mobile-nav-active {
  overflow: hidden;
}
.mobile-nav-active #header {
  left: 0;
}

/* Hero Section */
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/background.jpg") top center;
  background-size: cover;
}
#hero:before {
  content: "";
  background: rgba(71, 39, 20, 0.3);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
#hero .hero-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
  max-width: 450px;
  padding: 0 20px;
}
#hero p {
  color: #fff;
  margin-bottom: 10px;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
}
#hero p span.first-letter {
  font-weight: bold;
  font-size: 20px;
}
#hero p.hero-intro {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}
@media (max-width: 768px) {
  #hero p.hero-intro {
    font-size: 34px;
    line-height: 36px;
  }
}
/* Sections General */
section {
  padding: 60px 0;
  overflow: hidden;
}
section .btn-form,
section .btn-form:hover:active {
  background-color: #472714;
  border-color: #472714;
}
section .btn-form:hover, section .btn-form:active, section .btn-form:focus-visible,
section .btn-form:hover:active:hover,
section .btn-form:hover:active:active,
section .btn-form:hover:active:focus-visible {
  background-color: #2F190F;
  border-color: #2F190F;
}

.section-title {
  padding-bottom: 30px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #472714;
}
.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #A66D40;
  bottom: 0;
  left: 0;
}
.section-title p {
  margin-bottom: 5px;
}

.section-bg {
  background: #472714;
}
.section-bg .section-title h2 {
  color: white;
}

/* About */
.about .bloc-texte-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.about .bloc-texte-image .image {
  min-width: 320px;
  padding: 10px;
  text-align: center;
}
.about .bloc-texte-image .texte {
  padding: 10px;
}
@media screen and (max-width: 1024px) {
  .about .bloc-texte-image {
    flex-wrap: wrap;
  }
  .about .bloc-texte-image .image {
    width: 100%;
    order: 1;
  }
  .about .bloc-texte-image .texte {
    order: 2;
  }
}
.about .bloc-texte-image blockquote {
  font-size: 24px;
  font-style: italic;
  font-weight: bold;
  color: #A66D40;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .about .bloc-texte-image blockquote {
    font-size: 20px;
  }
}

.message-success {
  min-height: 100vh;
}
.message-success .info {
  text-align: center;
  padding: 15px;
  background-color: white;
}

/* Portfolio */
.portfolio .portfolio-item {
  margin-bottom: 30px;
}
.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}
.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #272829;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}
.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  color: #A66D40;
}
.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}
.portfolio .portfolio-wrap {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 4px;
}
.portfolio .portfolio-wrap .portfolio-image {
  display: block;
}
.portfolio .portfolio-wrap .portfolio-image img {
  max-width: none;
  width: 100%;
}
.portfolio .portfolio-wrap .portfolio-title {
  padding: 7px;
  background: white;
}
.portfolio .portfolio-wrap .portfolio-title h4 {
  margin-bottom: 0;
}
.portfolio .portfolio-wrap:hover {
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15), 0 5px 5px rgba(0, 0, 0, 0.2);
}

small {
  font-size: 10px;
}