/* Général */
*,
::after,
::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: #ffffff;
  font-family: "DM Serif Text", serif;
  letter-spacing: 0.05rem;
}
h1,
h2,
h3 {
  font-family: "Lato", sans-serif;
  margin-top: 30px;
  margin-bottom: 15px;
}
#title {
  text-align: center;
}
.container {
  height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: 330px 1fr;
  grid-template-rows: 70px 1fr 430px 90px;
  grid-template-areas:
    "header header"
    "sidebar content"
    "highter-footer highter-footer"
    "footer footer";
  position: relative;
}

/* Header */
header {
  grid-area: header;
  border-bottom: 1px solid rgb(230, 221, 198);
  width: 100%;
  font-family: "Lato", sans-serif;
  position: fixed;
  background-color: rgb(194, 184, 163);
  z-index: 9999;
}
.container-header {
  display: flex;
  align-items: center;
}
.container-header>.search {
  margin-left: auto;
}
.logo {
  display: inline-block;
  margin: 5px 3px 5px 30px;
}
.logo>img {
  height: 60px;
  width: 60px;
}
.brand {
  display: inline;
  font-size: 34px;
  font-weight: 900;
}
.menu {
  list-style-type: none;
  margin-left: 20px;
  margin-right: 20px;
  width: 360px;
  display: flex;
  justify-content: space-between;
}
.home {
  text-decoration: none;
  cursor: pointer;
  color: black;
  font-weight: 700;
}
.home:hover {
  color: rgb(161, 152, 130);
  transition: color 0.3s ease;
}
.btnSignUp {
  width: 110px;
  height: 32px;
  margin-left: 10px;
  margin-right: 30px;
  font-weight: 700;
  letter-spacing: 0.1rem;
  border-radius: 5px;
  background-color: rgb(161, 152, 130);
  border: 1px solid #333;
  color: #fff;
  text-align: center;
  padding: 5px 9px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.btnSignUp:hover {
  background-color: #fff;
  color: black;
  transition: background 0.3s ease;
}
.search {
  position: relative;
}
input[type="search"] {
  border: 1px solid #dedede;
  border-radius: 1rem;
  color: #343a40;
  font-size: 0.8rem;
  height: 1rem;
  line-height: 1rem;
  outline: none;
  padding: 1rem;
  width: 240px;
  padding-left: 2rem;
}
.search::after {
  background-image: url("./search.svg");
  background-repeat: no-repeat;
  background-size: 1.2rem;
  content: "";
  height: 100%;
  left: 0.7rem;
  position: absolute;
  top: 0.5rem;
  width: 2rem;
  z-index: 10;
}

/* Icône Hamburger */
.box {
  display: none;
}
.box-hamburger {
  height: 33px;
  width: 30px;
  display: flex;
  margin-right: 30px;
  justify-content: center;
  align-items: center;
  position: relative;
}
.contLigne {
  width: 28px;
  height: 16px;
  cursor: pointer;
  position: relative;
}
.lignes {
  width: 100%;
  height: 3px;
  border-radius: 5px;
  background: #000;
  position: absolute;
  transition: all .5s ease-in-out;
}
.lignes:nth-child(1){
  top: 0px;
}
.lignes:nth-child(2){
  top: 8px;
}
.lignes:nth-child(3){
  top: 16px;
}
@media screen and (max-width: 1100px) {
  .box {
    display: block;
    margin-left: 30px;
  }
  .menu, .btnSignUp, .brand {
    display: none;
  }
}
@media screen and (max-width: 560px) {
  .brand {
    display: none;
  }
  .container-header {
    padding: 10px;
  }
  input[type="search"] {

    width: 200px;
  }
  .box-hamburger {

    margin-right: 20px;

  }
}

/* Content */
.content {
  color: rgb(63, 63, 63);
  grid-area: content;
  padding: 40px;
}
.info {
  height: 60px;
  padding-left: 20px;
  font-size: .9rem;
  margin: 20px 0px;
  border-left: 3px solid rgb(161, 152, 130);
  background-color: rgb(254, 247, 220);
  position: relative;
}
.info-p {
  transform: translateY(90%);
}
.fond-icon {
  display: inline-block;
  width: 18.5px;
  height: 18.1px;
  border-radius: 50%;
  background-color: white;
  position: absolute;
  left: -11px;
  top: 21px;
}
.fa-info-circle {
  color: rgb(161, 152, 130);
  font-size: 18px;
  position: absolute;
  top: 21px;
  left: -11px;
}
.info-p>a {
  text-decoration: none;
  color: rgb(63, 63, 63);
  font-weight: bolder;
  cursor: pointer;
}
.info-p>a:hover {
  color: rgb(75, 71, 62);
  transition: color 0.2s ease-in-out;
}
@media screen and (max-width: 560px) {
  .content {
    padding: 0px 20px 10px 20px;
    font-size: .9rem;
  }
    .info {
      font-size: .8rem;
      height: 100px;
      margin: 5px 0px;
      padding-left: 16px;
  }
}

/* Sidebar */
.sidebar {
  background-color: rgb(230, 221, 198);
  grid-area: sidebar;
  height: calc(100vh - 4rem);
  overflow-y: scroll;
}
.sidebar-inner {
  padding: 20px;
}
.main {
  padding-left: 20px;
  border-left: 1px solid rgb(93, 90, 83);
}
.li-sidebar {
  list-style-type: none;
}
.li-sidebar>a {
  text-decoration: none;
  font-weight: 400;
  color: black
}
.li-sidebar>a:hover {
  color: rgb(100, 96, 85);
  font-weight: 700;
  transition: color 0.2s ease-in-out;
}
@media screen and (max-width: 1208px) {
.info-p {
  transform: translateY(25%);
  }
}
@media screen and (max-width: 864px) {
  .sidebar {
    display: none;
  }
  .container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 70px 1fr 430px 90px;
    grid-template-areas:
      "header"
      "content"
      "highter-footer"
      "footer";
  }

}

/* Footer */
.highter-footer {
  background-color: rgb(194, 184, 163);
  grid-area: highter-footer;
  font-size: 0.8rem;
  letter-spacing: 0.025em;
  padding: 1rem 0 3rem 0;
  position: relative;
  z-index: 1;
}
.columns {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.column>ul>li {
  list-style-type: none;
}
.highter-footer>columns>column>a, .contact, .page {
    line-height: 1.8;
    text-decoration: none;
    transition: opacity 0.15s ease;
    vertical-align: top;
    will-change: opacity;
    color: black;
    cursor: pointer;
}
.highter-footer>columns>column>a:hover, .contact:hover, .page:hover {
  opacity: 0.6;
}
.footer-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.contact {
  padding-top: 1rem;
}
.column {
  overflow: hidden;
  padding-left: 3rem;
  padding-top: 2rem;
}
.column:nth-child(1) {
  flex: 0 0 100%;
}
@media screen and (min-width: 700px) {
  .column:nth-child(1) {
  flex: 0 0 100%;
  }
}
@media screen and (min-width: 1000px) {
  .column:nth-child(1) {
    flex: 0 0 20%;
  }
}
.column:nth-child(2) {
  flex: 0 0 50%;
}
@media screen and (min-width: 700px) {
  .column:nth-child(2) {
  flex: 0 0 25%;
  }
}
@media screen and (min-width: 1000px) {
  .column:nth-child(2) {
    flex: 0 0 20%;
  }
}
.column:nth-child(3) {
  flex: 0 0 50%;
}
@media screen and (min-width: 700px) {
  .column:nth-child(3) {
  flex: 0 0 25%;
  }
}
@media screen and (min-width: 1000px) {
  .column:nth-child(3) {
    flex: 0 0 20%;
  }
}
.column:nth-child(4) {
  flex: 0 0 100%;
} 
@media screen and (min-width: 700px) {
  .column:nth-child(4) {
  flex: 0 0 50%;
  }
}
@media screen and (min-width: 1000px) {
  .column:nth-child(4) {
    flex: 0 0 40%;
  }
}
footer {
  background-color: rgb(161, 152, 130);
  grid-area: footer;
  display: flex;
  align-items: center;
  padding: 40px;
  color: rgb(254, 247, 220);
}
.fab {
  font-size: 30px;
  margin: 10px;
  color: rgb(254, 247, 220);
}
footer a:first-of-type {
  margin-left: auto;
}
.fab:hover {
  color: black;
  transition: color 0.3s ease;
}
@media screen and (max-width: 530px) {
  footer {
    padding: 20px;
    font-size: 14px;
  }
  .fab {
    font-size: 20px;
    margin: 6px;
  }
}
@media screen and (max-width: 440px) {
  footer {
    padding: 10px;
    font-size: 11px;
  }
  .fab {
    font-size: 16px;
    margin: 6px;
  }
}
@media screen and (max-width: 395px) {
  .highter-footer {
    padding: 1rem 0 2rem 0;

  }
  .column {
    padding-left: 1.5rem;
    padding-top: .8rem;
  }
}