body, html {
  margin: 0;
  height: 100%;
  width: 100%;
  padding: 0;
}

html {
  overflow-y: scroll;
  /* overflow-x: hidden; */
}

/* Form */

.required::after {
  color: #dc3545;
  content: " *";
}

.header {
  max-width: auto;
  max-height: 15vh;
  position: sticky;
  top: 0;
  z-index: 50;
}

.bg-logo,
.bg-footer {
  background-color: #d9e3f1;
}

main,
.bg-404,
.bg-error {
  /* background-color: whitesmoke; */
  min-height: 100vh;
  /* width: 100%; */
  position: static;
}

#position {
  position: relative;
  z-index: 1;

}

.footer {
  /* border: 2px solid black; */
  box-shadow: 5px -5px 10px rgba(55,94,148,.2);
  width: 100%;
  max-height: 10vh;
  position: sticky;
  bottom: 0;
  z-index: 51;
}

/* Home img */

.home {
  padding: 2rem;
}

.img--logo {
  height: 4.5rem;
  width: auto;
}

.img--logo-footer {
  height: 1.2rem;
  width: auto;
}

.img_home {
  margin-top: 1rem;
  padding: 1rem;
}

.img_home--moi {
  border-radius: 18rem;
}

.img_home--real,
.img_home--cv {
  border-radius: 5rem;

}

/* cv img  */

.img--skills {
  border-radius: 1rem;
  height: 1.5rem;
  width: 1.7rem;
}

/* profil img */

.img--profil {
  border-radius: 18rem;
  height: 8rem;
  width: 10rem;

}

/* Navigation */

.navbar--custom {
  padding-right: 1rem;
}

.nav_item--marging {
  width: 8.5rem;
}

/********   Background  Front ********/
.img_home--background {
  background: url('../uploads/images/monitor.jpg') center / cover no-repeat;
  z-index: -1;
}

.img_real--background {
  background: url('../uploads/images/programming.png') center / cover no-repeat;
  z-index: -1;
}

.img_profil--background {
  background: url('../uploads/images/road-1.jpg') center / cover no-repeat;
  z-index: -1;
}

/****  Box shodow *******/
.card--shadow {
  box-shadow: -10px -5px 15px rgb(30, 30, 31, 0.904);
}

.accordeon--shadow {
  box-shadow: -2px -5px 10px rgb(100, 132, 236, 0.5);
}

/*  for input password User*/
.visibility input {

}

.breadcrumb--visibility {
  display: block;
}

/*** Title ****/

h1 {
  font-size: 1.5rem;
  font-weight: bold;
}

h2 {
  font-size: 1.2rem;
}

.h2--cv {
  font-weight: bold;
  font-style: italic;
}

.h1--page {
  font-size: 1.4rem;
}

.h1--page_real {
  color: #ffffff;
  font-weight: bold;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: 0.9rem;
}

.h3-admin {
  font-size: 1rem;
}

.h4--skills {
  font-size: 0.9rem;
}

.h5--skills {
  font-size: 0.8rem;
}

.text--profil {
  text-align: justify;
  color: rgb(0, 0, 0);
  font-size: 12px;
  font-family: 'Kalam', cursive;
  text-indent: 1.2rem;
  z-index: 5;
  background-color: rgb(245, 245, 245, 0.384);
  border-radius: 5%;
  box-shadow: -8px -5px 10px rgba(30, 30, 31, 0.733);
}

.li--profil {
  color: rgb(0, 0, 0);
  font-size: 16px;
  font-family: 'Kalam', cursive;
  list-style-type: none;
}

.p-footer,
.footer-link {
  font-size: 0.6rem;
}

.footer-link {
  text-decoration: none;
}

/******* error ***************/

.bg-404 {
  background: url('../uploads/images/404.jpg') center / cover no-repeat;
  z-index: -1;
}

.bg-error {
  background: url('../uploads/images/mistake.jpg') center / cover no-repeat;
  z-index: -1;
}

/******************************** ADMIN ***********************************************/

p .required {
  color: #dc3545;
  text-transform: lowercase;
  font-size: smaller;
}

/* image size for logo in BackOffice */
.imgSize {
  width: 40px;
}

.nav_item--home {
  width: 7rem;
}

.nav_item--Skills {
  width: 8.6rem;
}

/**************** Media queries **************/

@media all and (max-width: 767px) {
  .breadcrumb--visibility {
    display: none;
  }

  .img--profil {
    height: 8rem;
    width: 9rem;
    border-radius: 18rem;
  }

  .text--profil {
    font-size: 12px;
  }

  .li--profil {
    font-size: 18px;
  }

  .p--cv {
    font-size: 0.85rem;
  }
  
  .p-footer {
    font-size: 0.5rem;
  }
}

@media all and (min-width: 768px) and (max-width: 992px) {

  .img--profil {
    height: 10rem;
    width: 10rem;
  }

  .p-footer,
  .footer-link {
    font-size: 0.7rem;
  }

  .img--logo-footer {
    height: 1.5rem;
    width: auto;
  }

  .img--skills {
    height: 2.4rem;
    width: 2.6rem;
  }

  .h4--skills {
    font-size: 1rem;
  }

  .h5--skills {
    font-size: 0.9rem;
  }

  .p--cv {
    font-size: 0.85rem;
  }

  .img--profil {
    height: 10rem;
    width: 10rem;
  }


  .text--profil {
    font-size: 14px;
  }

  .li--profil {
    font-size: 18px;
  }

  .imgSize {
    width: 60px;
  }
}

@media all and (min-width: 992px) and (max-width: 1200px) {
  .img--profil {
    height: 16rem;
    width: 17rem;
    border-radius: 18rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  .h1--page {
    font-size: 2.4rem;
    font-weight: normal;
  }

  h2 {
    font-size: 2rem;
  }

  h4 {
    font-size: 1.4rem;
  }

  .h4--skills {
    font-size: 1.15rem;
  }

  .h5--skills {
    font-size: 1rem;
  }

  h5 {
    font-size: 1.2rem;
  }

  .p-footer,
  .footer-link {
    font-size: 0.9rem;
  }

  .img--logo-footer {
    height: 2rem;
    width: auto;
  }

  .img--skills {
    height: 2.6rem;
    width: 2.8rem;
  }

  .text--profil {
    font-size: 16px;
  }

  .li--profil {
    font-size: 20px;
  }

  .imgSize {
    width: 80px;
  }
}

@media all and (min-width: 1200px) {
  .img--profil {
    height: 18rem;
    width: 20rem;
    border-radius: 18rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  .h1--page {
    font-size: 3rem;
    font-weight: normal;
  }

  h2 {
    font-size: 2.2rem;
  }

  h4 {
    font-size: 1.5rem;
  }

  h5 {
    font-size: 1.3rem;
  }

  .h4--skills {
    font-size: 1.3rem;
  }

  .h5--skills {
    font-size: 1rem;
  }

  .p-footer,
  .footer-link {
    font-size: 1rem;
  }

  .img--logo-footer {
    height: 3rem;
    width: auto;
  }

  .h3-admin {
    font-size: 1.8rem;
  }

  .img--skills {
    height: 3rem;
    width: 3.2rem;
  }

  .text--profil {
    font-size: 20px;
  }

  .li--profil {
    font-size: 24px;
  }

  .h3-admin {
    font-size: 1.8rem;
  }

  .imgSize {
    width: 90px;
  }
}
