a {
  text-decoration: none;
}

p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: 585858;
  margin-right: auto;
  margin-left: auto;
}

.links {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: 585858;
  margin-right: auto;
  margin-left: auto;
}
ul {
  display: flex;
  justify-content: flex-end;
}

footer {
  padding-top: 8vh;
  display: grid;
  margin-top: auto;
}

body {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
}

.nav-elements {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-element {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  padding-left: 1vw;
  padding-right: 1vw;
  font-size: 1.38vw;
  color: #585858;
  cursor: pointer;
}

.bold,
.nav-element:hover {
  color: #1b1833;
  text-shadow: 0px 0px 1px #1b1833;
}

.post {
  position: relative;
  cursor: pointer;
}

.footer {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #bc3955;
  margin-right: auto;
  margin-left: auto;
  padding-top: 2vh;
}

.footer-links {
  margin-right: auto;
  margin-left: auto;
}

.footer-links img {
  width: 4vh;
  padding: 1vh;
}

.title,
.date {
  font-family: "Poppins", sans-serif;
  color: white;
  font-size: 24px;
  padding: 16px 32px;
  opacity: 0;
}

.date {
  margin-top: auto;
  font-weight: 600;
  text-align: end;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.3s ease;
  background-color: rgba(0, 0, 0, 0.5);
  display: grid;
}

.navbar {
  display: flex;
  padding: 1% 0% 1%;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  margin-bottom: 10%;
}

.responsive-navbar {
  display: flex;
}

.post:hover .overlay,
.title,
.date {
  opacity: 1;
}
.post img {
  display: block; /* remove extra space below image */
}
.logo img {
  width: 22vw;
  margin-top: auto;
}

.burger {
  display: none;
  text-decoration: none;
  margin-left: auto;
  margin-top: auto;
  margin-bottom: auto;
}

.post img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

#traditionnal,
#concept,
#illustration,
#graphic,
#contact {
  display: none;
}

#contact.active {
  grid-template-columns: repeat(1, 1fr) !important;
  grid-template-rows: repeat(1, 1fr) !important;
}

.sameline-content {
  display: flex;
  justify-content: flex-start;
  height: auto;
}

.sameline-element {
  display: flex;
  justify-content: space-evenly;

  flex: 1;
}

.content {
  width: 1920px;
  margin-left: auto;
  margin-right: auto;
}
.content-body {
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.width-responsive {
  width: 30%;
  justify-self: center;
  align-self: center;
}

.width-responsive-2-video {
  width: 60%;
  justify-self: center;
}

.content-body img,
video {
  height: auto;
  width: 100%;
  object-fit: contain;
}

.active {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

@media screen and (max-width: 1250px) {
  .active {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}

@media screen and (max-width: 800px) {
  .active {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }
}

@media screen and (max-width: 800px) {
  .nav-element {
    display: none;
  }
  .burger {
    float: right;
    display: block;
    color: #585858;
  }
  .logo img {
    width: 50vw !important;
  }
  .fa {
    font-size: 20px;
  }
  .sameline-content {
    flex-direction: column;
  }
}

@media screen and (min-width: 1921px) {
  .nav-element {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    padding-left: 1vw;
    padding-right: 1vw;
    font-size: 26px;
    color: #585858;
  }
  .bold {
    color: #1b1833;
  }

  .logo img {
    height: 99.45px;
    width: 421.73px;
  }
}

@media screen and (max-width: 2200px) {
  .content {
    width: 90%;
  }
}

@media screen and (max-width: 800px) {
  .navbar {
    display: grid;
  }
  .nav-elements.responsive {
    display: grid;
    margin-right: auto;
    padding-top: 30%;
  }

  .nav-elements.responsive .nav-element {
    display: block;
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 8%;
    padding-bottom: 8%;
    font-size: 4vw;
  }

  .width-responsive {
    width: 100%;
    align-self: center;
  }

  .width-responsive-2-video {
    width: 100%;
    justify-self: center;
  }
}

/* CONTACT FORM */

.content-title {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  text-align: center;
  padding-bottom: 16%;
}

.contact-section {
  width: 22rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
}

@media screen and (max-width: 800px) {
  .contact-section {
    width: 75vw;
  }
}

.contact-intro > * + * {
  margin-top: 1rem;
}

.contact-title-form {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: #585858;
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.contact-description {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  color: #585858;
  line-height: 2.25rem;
}

.form-group-container {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: #585858;
  margin-bottom: 0.5rem;
}

.form-input {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: #585858;
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  height: 2.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.form-textarea {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: #585858;
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  height: 2.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.form-input::placeholder,
.form-textarea:focus-visible {
  color: #6b7280;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.form-textarea {
  min-height: 120px;
}

.form-submit {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: #585858;
  width: 100%;
  margin-top: 1.2rem;
  background-color: #bc3955;
  color: #fff;
  padding: 13px 5px;
  border-radius: 0.375rem;
  border: none;
}
