#project-background{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);

  z-index: 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#project-detail {
  width: 80%;
  height: 80%;
  background-color: #333333;
  border-radius: 25px;
  overflow: hidden;

  z-index: 1;
}

.project-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
}
.project-title {
  color: rgb(201, 223, 175);;
  text-align: center;
}
.project-close {
  font-size: 2rem;
  margin: 0 1rem;
  color: lightgray;
}
.project-close:hover {
  color: rgb(201, 223, 175);;
  cursor: pointer;
}
.p-hide {
  visibility: hidden;
}

.project-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 90%;
  box-sizing: content-box;
  overflow-y: auto;
}

.project-pics {
  width: 100%;
}
#project-carousel {
  display: block;
  width: calc(0.75 * 100vw);
  margin: 2rem 0rem 1rem 3rem;
  box-sizing: border-box;
}

#project-carousel div {
  width: calc(0.75 * 100vw);
  box-sizing: border-box;
  overflow: hidden;
}
#project-carousel img {
  width: auto;
  height: 100%;
  box-sizing: border-box;
}
#project-thumbnails {
  display: flex;
  flex-wrap: wrap;
  width: calc(0.75 * 100vw);
  margin: 1rem auto;
  margin-top: 3.5rem;
}
#project-thumbnails img {
  margin: 1vh;
  
  width: 8vw;
  height: 8vw;
  object-fit: cover;
  cursor: pointer;
}


.project-description {
  width: 100%;
}
.project-description h3 {
  margin: 2rem;
  margin-bottom: 0;
}
#project-table {
    color: white;
  display: block;
  width: 85%;
  margin: 3rem auto;
  margin-top: 1rem;
  font-size: 1rem;
}
#project-table td:nth-child(even) {
  padding: 2px 0 0 30px;
}
#project-desc {
    color:white;
  width: 85%;
  margin: 3rem auto;
  margin-top: 1rem;
  font-size: 0.9rem;
}
#project-ressources {
  width: 85%;
  margin: 0 auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-around;
}
.project-ress {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
  justify-content: center;
  align-items: center;
}
.project-ress img {
  width: 5vh;
  height: 5vh;
  padding-bottom: 5px;
}

@media (min-width: 1400px) {
  .project-body {
    flex-direction: row;
  }
  .project-pics {
    width: 75%;
  }
  .project-description {
    width: 55%;
  }

  #project-carousel {
    width: calc(0.32 * 100vw);
  }
  #project-carousel div {
    width: calc(0.43 * 100vw);
  }
  #project-thumbnails {
    width: calc(0.32 * 100vw);
  }
  #project-thumbnails img {
    width: 5vw;
    height: 5vw;
  }

  #project-ressource {
    margin-bottom: 0;
  }
}
