/**GENERAL**/

body {
  overflow-x: hidden;
}

main {
  position: relative;
  transition: all 400ms ease-in-out;
}

.bg-light {
  background-color: #fafbfe;
}

.bg-white {
  background-color: #ffffff;
}

.bg-banner {
  height: 250px;
  color: #ffffff;
  background-image: url("../img/bg-yellow.jpg");
  background-position: center 70%;
  background-size: cover;
}

/**FONTS**/

h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  margin: 0 !important;
}

h2,
h3 {
  text-transform: uppercase;
}

h4 {
  font-size: 18px !important;
}

header h2 {
  text-transform: none;
  font-size: 1.25rem;
  transition: all 400ms ease-in-out;
}

.main-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #E3B85B;
  text-transform: uppercase;
  transition: all 400ms ease-in-out;
}


@media (max-width: 1200px) {
  .main-title {
    font-size: 1.2rem;
  }

  header h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 900px) {
  .main-title {
    font-size: 1.1rem;
  }

  header h2 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 1rem;
    padding-bottom: 20px;
  }
}

.section-title {
  font-size: 1.75rem;
}

.div-title, .subtitle {
  font-size: 1.25rem;
}

.subtitle, .subtitle-4 {
  padding: 20px 0;
}

p {
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75rem;
  color: #666666;
}

/**HEADER**/

header {
  position: relative;
}


@media (min-width: 992px) {
  #menu {
    position: fixed;
    z-index: 1;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 10px 10px -10px rgba(33, 43, 53, 0.1);
    transition: 400ms ease-in-out;
  }
}

@media (max-width: 768px) {
  #menu {
    padding: 10px 0;
  }



  #menu-title {
    padding: 20px 0;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  main {
    padding-top: 0!important;
  }
}

header .row {
  transition: all 400ms ease-in-out;
}

#logo {
  max-height: 75px;
  transition: all 400ms ease-in-out;
}


/**SECTION 1**/

#bg-form {
  background-image: url("../img/bg-yellow.jpg");
  background-size: cover;
  background-position: center 75%;
}

#info-form p {
  font-size: 12px;
  margin-bottom: 0;
}

#info-form a {
  color:#666666;
}

/**SECTION 3**/

#icon-1 {
  background-image: url("../img/icon-surendettement.svg");
  background-size: cover;
  height: 75px;
  width: 67px;
  margin: auto;
  margin-bottom: 15px;
  transition: all 400ms;
}

.picto-card:hover #icon-1 {
  background-image: url("../img/icon-surendettement-white.svg");
  transition: all 400ms;
}

#icon-2 {
  background-image: url("../img/icon-mensualites.svg");
  background-size: cover;
  height: 75px;
  width: 67px;
  margin: auto;
  margin-bottom: 15px;
  transition: all 400ms;
}

.picto-card:hover #icon-2 {
  background-image: url("../img/icon-mensualites-white.svg");
  transition: all 400ms;
}

#icon-3 {
  background-image: url("../img/icon-remboursement.svg");
  background-size: cover;
  height: 75px;
  width: 92px;
  margin: auto;
  margin-bottom: 15px;
  transition: all 400ms;
}

.picto-card:hover #icon-3 {
  background-image: url("../img/icon-remboursement-white.svg");
  transition: all 400ms;
}


.picto-card {
  background-color: #ffffff;
  padding: 25px 0 25px 0;
  box-shadow: 1px 4px 20px -2px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  transition: all 400ms;
}

.picto-cards a {
  color: #212529;
  text-decoration: none;
}

.picto-card .section-title-border {
  width: 25px;
  height: 1.5px;
  transition: all 400ms;
}

.picto-card:hover .section-title-border {
  width: 50px;
  height: 1.5px;
  background-color: #ffffff;
  transition: all 400ms;
}

.picto-card:hover {
  background-color: #E3B85B;
  color: #ffffff;
}

@media (min-width: 1400px) {
  .picto-card {
    padding: 25px 0 25px 0;
  }
}

@media (min-width: 1400px) {
  .picto-cards > .col-lg-3 {
    width: 20%;
  }
}

@media (min-width: 1200px) {
  .picto-cards > .col-sm-6 {
    padding: 25px;
  }
}

/**SECTION 4**/

ul span {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 10px 0 10px 0;
}

.fa-circle-check {
  font-size: 25px;
  color: #E3B85B;
  padding-right: 10px;
}

li {
  font-family: "Rubik", sans-serif;
  line-height: 1.75rem;
  color: #666666;
}

/**SECTION 5**/

.cards > div {
  position: relative;
}

.img-cards {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.img-cards img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: 1s ease-in-out;
}

.img-cards:hover img {
  transform: scale(1.3);
  transition: 1s ease-in-out;
}

.card-title h4 {
  font-size: 18px;
  color: #ffffff;
  font-weight: 600;
  position: absolute;
  top: 150px;
  padding-left: 25px;
}

.info-cards {
  padding: 25px;
  background-color: #ffffff;
  box-shadow: 1px 4px 20px -2px rgba(0, 0, 0, 0.1);
}

.icon-cards {
  border-top: 1px solid #e7e7e7;
  margin-top: 20px;
  padding-top: 25px;
}

.icon-cards img {
  width: 50px;
}

/**SECTION 6**/

#bg-bottom {
  height: 300px;
  color: #ffffff;
  background-image: url("../img/bg-yellow.jpg");
  background-position: center 75%;
  background-size: cover;
}

/**IMAGES**/

.img-section img {
  object-fit: cover;
}

/**BUTTONS**/

.bouton {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  background-color: #E3B85B;
  color: #ffffff;
  font-size: 15px;
  transition: all 0.3s;
  border: 2px solid #E3B85B;
  padding: 10px 18px;
  transition: all 400ms;
}

.section-title-border {
  background-color: #E3B85B;
  width: 50px;
  height: 2px;
  transition: all 400ms;
}

/**FOOTER**/

.link {
  font-family: "Rubik", sans-serif;
  color: #E3B85B;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.4s ease-in-out;
  text-transform: uppercase;
}

.link:hover {
  opacity: 0.75;
  transition: all 0.4s ease-in-out;
}

/**SCROLL UP**/

#scrollUp {
  width: 40px;
  height: 40px;
  background: #E3B85B none repeat scroll 0 0;
  border-radius: 0px;
  bottom: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  color: #fff;
  font-size: 20px;
  line-height: 40px;
  position: fixed;
  right: 15px;
  text-align: center;
  transition: all 400ms;
}

#scrollUp:hover {
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateY(-5%);
  transition: all 400ms;
}

/**TRANSITIONS**/

.animation-in {
  visibility: hidden;
  animation-delay: 0.1s;
  animation-name: fadeIn;
}

.animation-up {
  visibility: hidden;
  animation-delay: 0.1s;
  animation-name: fadeInUp;
}

.animation-up-2 {
  visibility: hidden;
  animation-delay: 0.2s;
  animation-name: fadeInUp;
}

.animation-up-3 {
  visibility: hidden;
  animation-delay: 0.3s;
  animation-name: fadeInUp;
}

.animation-up-4 {
  visibility: hidden;
  animation-delay: 0.4s;
  animation-name: fadeInUp;
}

/**ANIMATIONS**/

.picto-card:hover,
.bouton:hover {
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateY(-5%);
  transition: all 400ms;
}
