@import url("https://use.typekit.net/twn7nwq.css");

* {
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
  list-style-type: none;
  scroll-behavior: smooth;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  line-height: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: "poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #343434;
}

body {
  background-color: #ffffff;
}

/* HEADER PROJET 
-------------------------------------------------------------------------------------------
*/

header {
  border-bottom: 1px solid #eeeeee;
}

header nav {
  width: 100%;
  max-width: 1280px;
  min-width: 320px;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 44px;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header nav ul {
  display: flex;
}

header .logo a {
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
}

header .logo a:hover {
  color: #777777;
}

header nav ul li a {
  margin-left: 24px;
  font-weight: 500;
}

header nav ul li a:hover {
  color: #777777;
}

@media only screen and (min-width: 0px) and (max-width: 580px) {
  header nav ul {
    flex-direction: column;
  }
  header nav ul li a {
    margin-left: 0px;
  }

  header .logo a {
    font-size: 34px;
  }
}
/* META PROJET 
-------------------------------------------------------------------------------------------
*/

section.meta-projet {
  width: 100%;
  max-width: 1280px;
  min-width: 320px;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 44px;
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
}

.meta-projet h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.line {
  height: 4px;
  width: 28px;
  background-color: #bebebe;
  margin-bottom: 8px;
}

.meta-projet h1 {
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 12px;
}

.meta-projet p {
  color: #777777;
  font-style: italic;
  margin-bottom: 4px;
  font-size: 14px;
}

.meta-projet a {
  font-weight: 800;
  margin-top: 8px;
  text-transform: uppercase;
}

.meta-projet a i {
  margin-right: 6px;
}

.meta-projet .detail-projet {
  font-weight: 600;
}

.meta-projet a:hover {
  color: #777777;
}

/* BANNER PROJET 
-------------------------------------------------------------------------------------------
*/

.banner img {
  width: 100%;
  max-width: 980px;
  min-width: 296px;
}

.banner {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  background-color: #eeeeee;
  padding-left: 12px;
  padding-right: 12px;
}

/* BANNER PROJET 
-------------------------------------------------------------------------------------------
*/

.details-projet {
  width: 100%;
  max-width: 1280px;
  min-width: 320px;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 44px;
  margin-bottom: 44px;
}

.details-projet h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.details-projet .line {
  margin-bottom: 44px;
}

.details-projet summary {
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid #bebebe;
  padding-bottom: 28px;
  margin-bottom: 18px;
  cursor: pointer;
}

.details-projet summary:hover {
  color: #777777;
}

.details-projet summary i {
  font-size: 24px;
  margin-left: 12px;
  margin-bottom: 4px;
}

.details-projet li {
  padding-left: 16px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
}

.details-projet li i {
  font-size: 4px;
  margin-right: 12px;
  margin-top: -4px;
}

.details-projet ul {
  margin-bottom: 44px;
}

/* SHOW PROJET 
-------------------------------------------------------------------------------------------
*/

.show {
  width: 100%;
  max-width: 1280px;
  min-width: 320px;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 44px;
  margin-bottom: 44px;
}

.show h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.show .line {
  margin-bottom: 44px;
}

.show a {
  font-weight: 800;
  margin-top: 8px;
  text-transform: uppercase;
}

/* QUEEN PROJET 
-------------------------------------------------------------------------------------------
*/

.queen {
  width: 100%;
  max-width: 1280px;
  min-width: 320px;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 44px;
  margin-bottom: 44px;
}

/* FOOTER PROJET 
-------------------------------------------------------------------------------------------
*/

footer {
  padding-top: 60px;
}

/* PORTFOLIO PROJET 
-------------------------------------------------------------------------------------------
*/

.portfolio {
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1200px;
  min-width: 320px;
  flex-wrap: wrap;
}

.figure {
  position: relative;
  background-color: #343434;
}

.portfolio img {
  width: 352px;
  height: 352px;
  border-radius: 24px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  position: absolute;
}

.portfolio a {
  display: flex;
  position: relative;
  width: 352px;
  height: 352px;
  margin: 24px;
}

.portfolio span {
  opacity: 0;
  z-index: 8;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  height: 100%;
  width: 100%;
  background-color: rgb(255, 255, 255, 0.8);
  border-radius: 24px;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
}

.portfolio span:hover {
  opacity: 1;
}

.portfolio span h5 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.portfolio span p {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.8;
}

.portfolio .line {
  height: 4px;
  width: 28px;
  background-color: #bebebe;
  margin-bottom: 8px;
  margin-top: 4px;
}

.titre-cate {
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 1200px;
  min-width: 320px;
  padding: 24px;
  margin-left: auto;
  margin-right: auto;
}

/* LINKS PROJET 
-------------------------------------------------------------------------------------------
*/

.links {
  width: 100%;
  max-width: 1200px;
  min-width: 320px;
  padding: 24px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 24px;
  margin-top: 8px;
}

.links a {
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 12px;
  margin-right: 12px;
  font-size: 14px;
  letter-spacing: 2px;
}

.links a:hover {
  color: #777777;
}
