@charset "UTF-8";
@import url(../fonts/HK_Grotesk/stylesheet.css);
/* @import url("https://fonts.cdnfonts.com/css/hk-groteks"); */
/* @import url("https://fonts.cdnfonts.com/css/glacial-indifference"); */
@import url(../fonts/Glacial/stylesheet.css);
@import url(../fonts/factum/stylesheet.css);
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
  object-fit: contain;
  font-family: "object-fit: contain;";
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
a {
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
hr {
  box-sizing: content-box;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: 700;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
meta.foundation-version {
  font-family: \/5.5.3/;
}
meta.foundation-mq-small {
  font-family: "/only screen/";
  width: 0;
}
meta.foundation-mq-small-only {
  font-family: "/only screen and (max-width: 40em)/";
  width: 0;
}
meta.foundation-mq-medium {
  font-family: "/only screen and (min-width:40.0625em)/";
  width: 40.0625em;
}
meta.foundation-mq-medium-only {
  font-family: "/only screen and (min-width:40.0625em) and (max-width:64em)/";
  width: 40.0625em;
}
meta.foundation-mq-large {
  font-family: "/only screen and (min-width:64.0625em)/";
  width: 64.0625em;
}
meta.foundation-mq-large-only {
  font-family: "/only screen and (min-width:64.0625em) and (max-width:90em)/";
  width: 64.0625em;
}
meta.foundation-mq-xlarge {
  font-family: "/only screen and (min-width:90.0625em)/";
  width: 90.0625em;
}
meta.foundation-mq-xlarge-only {
  font-family: "/only screen and (min-width:90.0625em) and (max-width:120em)/";
  width: 90.0625em;
}
meta.foundation-mq-xxlarge {
  font-family: "/only screen and (min-width:120.0625em)/";
  width: 120.0625em;
}
meta.foundation-data-attribute-namespace {
  font-family: false;
}
body,
html {
  height: 100%;
}
*,
:after,
:before {
  box-sizing: border-box;
}
body,
html {
  font-size: 100%;
}
body {
  background: #fff;
  color: #222;
  cursor: auto;
  font-family: Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  position: relative;
}
a:hover {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
}
#map_canvas embed,
#map_canvas img,
#map_canvas object,
.map_canvas embed,
.map_canvas img,
.map_canvas object,
.mqa-display embed,
.mqa-display img,
.mqa-display object {
  max-width: none !important;
}
.left {
  float: left !important;
}
.right {
  float: right !important;
}
.clearfix:after,
.clearfix:before {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.hide {
  display: none;
}
.invisible {
  visibility: hidden;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: inline-block;
  vertical-align: middle;
}
textarea {
  height: auto;
  min-height: 50px;
}
.row,
select {
  width: 100%;
}

.button,
button {
  border: 0 solid #007095;
  /* -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  cursor: pointer;
  font-family: Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
  font-weight: 400;
  line-height: normal;
  margin: 0 0 1.25rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  padding: 1rem 2rem 1.0625rem;
  font-size: 1rem;
  background-color: #008cba;
  color: #fff;
  transition: background-color 0.3s ease-out; */
}

.clearing-thumbs,
[data-clearing] {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
}
.clearing-thumbs:after,
.clearing-thumbs:before,
[data-clearing]:after,
[data-clearing]:before {
  content: " ";
  display: table;
}
.clearing-thumbs:after,
[data-clearing]:after {
  clear: both;
}
.clearing-thumbs li,
[data-clearing] li {
  float: left;
  margin-right: 10px;
}
.clearing-thumbs[class*="block-grid-"] li,
[data-clearing][class*="block-grid-"] li {
  margin-right: 0;
}
.clearing-blackout {
  background: #333;
  height: 100%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 12;
  left: 0;
}
.clearing-blackout .clearing-close {
  display: block;
}
.clearing-container {
  height: 100%;
  margin: 0;
  overflow: hidden;
  position: relative;
  z-index: 12;
}
.clearing-touch-label {
  color: #aaa;
  font-size: 0.6em;
  left: 50%;
  position: absolute;
  top: 50%;
}
.visible-img {
  height: 95%;
  position: relative;
}
.visible-img img {
  position: absolute;
  left: 50%;
  top: 50%;
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  max-height: 100%;
  max-width: 100%;
}
.clearing-caption {
  background: #333;
  bottom: 0;
  color: #ccc;
  font-size: 0.875em;
  line-height: 1.3;
  margin-bottom: 0;
  padding: 10px 30px 20px;
  position: absolute;
  text-align: center;
  width: 100%;
  left: 0;
}
.clearing-close {
  color: #ccc;
  display: none;
  font-size: 30px;
  line-height: 1;
  padding-left: 20px;
  padding-top: 10px;
  z-index: 13;
}
.clearing-close:focus,
.clearing-close:hover {
  color: #ccc;
}
.clearing-assembled .clearing-container {
  height: 100%;
}
.clearing-assembled .clearing-container .carousel > ul,
.clearing-feature li {
  display: none;
}
.clearing-feature li.clearing-featured-img {
  display: block;
}

select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #fafafa;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+");
  background-position: 100%;
  background-repeat: no-repeat;
  border: 1px solid #ccc;
  color: rgba(0, 0, 0, 0.75);
  font-family: inherit;
  font-size: 0.875rem;
  line-height: normal;
  padding: 0.5rem;
  border-radius: 0;
  height: 2.3125rem;
}
select::-ms-expand {
  display: none;
}
select.radius {
  border-radius: 3px;
}
select:focus {
  background-color: #f3f3f3;
  border-color: #999;
}
select:disabled {
  background-color: #ddd;
  cursor: default;
}
select[multiple] {
  height: auto;
}

blockquote,
dd,
div,
dl,
dt,
form,
h1,
h2,
h3,
h4,
h5,
h6,
li,
ol,
p,
pre,
td,
th,
ul {
  margin: 0;
  padding: 0;
}
a {
  color: #c1c1c1;
  line-height: inherit;
  text-decoration: none;
}
a:focus,
a:hover {
  color: #4a4a4a;
}
a img {
  border: none;
}
p {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  text-rendering: optimizeLegibility;
}
p,
p.lead {
  line-height: 1.6;
}
p.lead {
  font-size: 1.21875rem;
}
p aside {
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.35;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #222;
  font-family: Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
  text-rendering: optimizeLegibility;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
  color: #6f6f6f;
  font-size: 60%;
  line-height: 0;
}
h1 {
  font-size: 2.125rem;
}
h2 {
  font-size: 1.6875rem;
}
h3 {
  font-size: 1.375rem;
}
h4,
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}

body,
nav {
  background-color: #fafafa;
}
a,
h1,
h2,
h3,
h4,
li,
p,
ul {
  color: #4a4a4a;
}
a {
  cursor: default !important;
}
p,
ul {
  font-family: "GlacialIndifference", sans-serif;
  line-height: clamp(16px, 2vw, 23px) !important;
  padding: 12px 0 16px;
}
em,
p,
ul {
  font-weight: 500;
}
em {
  font-family: "HKGrotesk", sans-serif;
  font-style: italic;
  font-size: clamp(14px, 2vw, 20px);
  line-height: clamp(16px, 2vw, 23px);
}

figure,
li,
ul {
  margin: 0;
}
li,
ul {
  list-style-type: none;
}
#default,
#text-slide {
  display: flex;
  justify-content: center;
  /* height: 80vh;
  height: 80svh; */
}

#default {
  height: calc(100vh - 6rem);
}

#preview {
  display: flex;
  justify-content: space-between;
  gap: 12rem;
  width: 100%;
  padding: 0 4rem;
}

#default #preview {
  /* margin: 6rem auto 0; */
  margin-top: 10vh;
}

#preview .title,
.container-projets .title {
  font-family: "HKGrotesk", sans-serif;
  font-weight: 400;
  font-size: 2.4em;
  color: #4a4a4a;
  display: inline-block;
  width: 30%;
  padding-top: 4rem;
}

.container-projets .title {
  padding: 0 4rem;
  width: 100%;
  /* margin-bottom: 4rem; */
}

#projets {
  width: 100%;
}

#projets .title {
  margin: 0;
}

/* 
.container-projet .title {
  margin: 0 auto 0;
} */

/* .container-projets .title div {
  width: calc(30% - 4rem);
} */

.container-projets .title .heading {
  /* height: 5rem; */
  /* padding-right: 5.5rem; */
  width: calc(30% - 3.6rem);
  display: inline-block;
}

#preview .title .heading,
.container-projets .title .heading {
  line-height: 4rem;
}

#preview .title div div:nth-child(2),
.container-projets .title div div:nth-child(2) {
  line-height: 2rem !important;
  border-top: 1px solid #d6d6d6;
  font-size: 0.7em;
  display: flex;
  font-style: italic;
  align-items: center;
  padding-top: 0.5rem;
}

#preview .title .biography-heading {
  font-style: normal !important;
}

#preview .title div div span,
.container-projets .title div div span {
  font-style: normal;
  font-weight: 400;
}

#preview .title div div span:nth-child(2),
.container-projets .title div div span:nth-child(2) {
  font-size: clamp(0.4rem, 1vw, 1rem);
  color: #c1c1c1;
  line-height: normal !important;
  margin-top: 0.3rem;
}

#preview .title .text {
  margin-top: 5rem;
  /* width: max(30rem, 30vw); */
  /* height: 5rem; */
  font-size: clamp(1rem, 1vw, 2rem);
}

#default #preview .title .text {
  margin-top: 7.5rem;
}

#default img,
#text-slide img {
  max-height: 68svh;
  max-height: 68vh;
  max-width: 100%;
  object-fit: contain;
}
.image-preview {
  opacity: 1;
  visibility: visible;
  right: 2vw;
  z-index: 0;
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* transition: opacity 1.6s ease-in-out, visibility 0s linear 1.6s; */
}
/* 
.image-preview.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 1.6s ease-in-out, visibility 0s linear 0s;
} */

#contact {
  position: relative;
  float: right;
}
#contact ul {
  margin: 0 !important;
}
#contact ul li {
  font-family: "HKGrotesk", sans-serif;
}
#contact ul li a:hover {
  color: #c1c1c1;
  border-bottom: 0.25px solid #d6d6d6;
}
#about,
#contact-container {
  display: flex;
  justify-content: space-between;
}

#about .cv {
  padding: 24px 24px 50px;
  width: 46vw;
  overflow-y: auto;
  max-height: calc(100vh - 11rem);
}

#about .bio p,
#about .bio ul li em {
  font-family: "GlacialIndifference", sans-serif;
}

#about .bio ul li a em {
  cursor: pointer !important;
  color: #c1c1c1;
}

#about .bio p {
  font-weight: 700;
  font-size: clamp(14px, 2vw, 20px);
  line-height: 1.2em;
  text-align: justify;
  text-justify: inter-word;
}
#about .bio a:hover {
  color: #d6d6d6;
}
#about .cv {
  margin-left: 0;
  margin-bottom: 110px;
}
#about .cv section {
  margin: 0;
  list-style-type: none;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 700;
  font-family: "HKGrotesk", sans-serif;
}
#about .cv section article {
  margin-left: 0;
}
#about .cv section article li,
#about .cv section article p {
  font-size: clamp(14px, 2vw, 20px);
  margin: 0;
  font-weight: 400;
  line-height: clamp(16px, 2vw, 23px);
  font-family: "GlacialIndifference", sans-serif;
}
#about .cv section article li a,
#about .cv section article p a {
  border-bottom: none;
  color: #c1c1c1;
  cursor: pointer !important;
}
#about .cv div,
#about .cv section article li a:hover,
#about .cv section article p a:hover {
  border-bottom: 0.25px solid #d6d6d6;
}
#about .cv div {
  margin-bottom: -1px;
  color: #4a4a4a !important;
  text-decoration: none;
  border-top: 0.25px solid #d6d6d6;
}
#about .cv :hover {
  cursor: default;
}
#about .cv #first div {
  border-top: inherit;
}
.subcontent {
  padding-left: 20px;
}
.subsubcontent {
  padding-left: 40px;
}
.dropdown-container {
  display: none;
}
#projetmenu nav {
  width: 100%;
}

.container {
  margin: 0;
  /* padding: 24px; */
  width: 100%;
  height: 75vh;
  height: 75svh;
  overflow: auto;
  background-color: #fafafa;
  display: flex;
}

.container-projet-wrapper {
  height: fit-content;
}

.container-projet {
  margin: 0;
  padding: 0px;
  height: 59vh;
  height: 59svh;
  overflow: hidden;
  background-color: #fafafa;
}

.container figure {
  float: right;
  max-width: 100%;
  height: 45vw;
  max-height: 83vh;
  max-height: 83svh;
}
.container figure img {
  height: 100%;
}
.container figure img,
.container figure video {
  height: 30vh;
  height: 30svh;
  margin-bottom: 14px;
}

.container .navigation-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
}

.container .navigation-buttons button {
  background-color: inherit;
  padding: 0;
  top: inherit;
  opacity: 1;
  margin-left: 32px;
  margin-right: 32px;
  margin-bottom: 0;
}
.container button.left {
  background-image: url(../images/left_arrow.svg);
  margin-left: 4rem;
  width: 4rem;
  height: 0.5rem;
  cursor: pointer !important;
}
.container button.right {
  background-image: url(../images/right_arrow.svg);
}
.container button.left,
.container button.right {
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: contain;
  display: none !important;
}
.container .cross {
  font-family: Arial;
  line-height: 1;
  font-size: 18px;
  color: #4a4a4a;
  position: fixed;
  right: 0;
  bottom: 0;
  margin: 20px 30px;
  padding: 0;
}
.container .slide {
  width: 100%;
  height: 100%;
  display: none;
  line-height: clamp(16px, 2vw, 23px);
}
.container .slide h1 {
  display: inline;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 400;
  margin-right: 30px;
}
.container .slide:first-letter {
  text-transform: capitalize;
}
.container .slide p {
  text-indent: 30px;
  display: inline;
  font-size: clamp(14px, 2vw, 20px);
}

#contact {
  padding: 0;
}
#contact img {
  height: 65vh;
  height: 65svh;
}

#slider {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  height: 80svh;
}

.slider-container {
  width: 100%;
  margin: auto;
}

.slider-subcontainer {
  margin: 0;
  /* width:85%;
    margin:auto; */
}

.slide-img {
  max-width: 100%;
  width: auto;
  height: 30vh;
  height: 30svh;
  border-radius: 5px;
  background-position: center;
  background-size: cover;
  margin: auto;
  z-index: 1000;
  object-fit: cover;
}

@media (max-width: 1600px) {
  .container {
    width: 100%;
  }
}
.slider-controls-wrapper {
  position: absolute;
  z-index: 2;
  bottom: 6px;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left,
.right,
.cross {
  z-index: 2;
  cursor: default;
}

.custom-slide h1 {
  line-height: 23px;
  line-height: clamp(16px, 2vw, 23px);
  display: inline;
  font-size: 20px;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 400;
  margin-right: 30px;
}
.custom-slide p,
#default #preview .text p {
  line-height: clamp(16px, 2vw, 23px);
  text-indent: 30px;
  display: inline;
  font-size: 1em;
  color: #545454;
}

#default #preview .text {
  height: 68vh;
  max-height: 50%;
  overflow-y: auto;
  padding-right: 7px;
}

#text-slide #preview .title {
  padding-top: 1.5rem;
}

#text-slide #preview .text {
  height: calc(100vh - 62vh);
  max-height: 50%;
  overflow-y: auto;
  padding-right: 7px;
}

#default #preview .text {
  transition: opacity 0.5s ease;
  opacity: 0;
}

#default #preview:hover .text {
  opacity: 1;
}

.custom-slide:first-letter {
  text-transform: capitalize;
}

@media screen and (min-width: 1440px) {
}

.project-slider {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #fafafa;
}

.modal-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90%;
  width: 100%;
}

.modal-content {
  /* margin: auto; */
  max-width: 90%;
  height: auto;
  max-height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.modal-content img,
.modal-content video {
  max-width: 100%;
  height: fit-content;
  max-height: 75vh;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  padding-bottom: 12px;
}

.caption-container,
.home-caption {
  font-family: "HKGrotesk", sans-serif;
  height: auto;
  padding-top: 8px;
  text-align: right;
  font-size: small;
  color: #4a4a4a;
  width: 100%;
  z-index: 10;
}
.caption-container {
  display: flex;
  justify-content: space-between;
  align-items: start;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 0;
  position: absolute;
  bottom: 0; /* Position the caption at the bottom of the media */
  /* width: fit-content; */
  text-align: center;
  bottom: -40px;
  height: 50px;
}

.caption-container #caption {
  text-align: left;
}

.caption-container a {
  color: #4a4a4a;
  margin-right: 1.5rem;
  cursor: pointer !important;
}

.media-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.contact {
  display: block;
  float: right;
  text-align: right;
}

.contact-label a {
  font-weight: bolder;
  font-size: 28px;
  line-height: 1.2;
}

.bio-img {
  width: 50%;
  height: 50%;
  object-fit: cover;
  margin: 25px 0;
}

.bio-pdf,
.bio-pdf a {
  text-decoration: none;
  margin: 25px 0;
  font-size: 25px;
}

.project-pdf,
.project-pdf a {
  text-decoration: none;
  margin: 25px 0;
  font-size: 0.9rem;
  cursor: pointer !important;
}

.bio-pdf a {
  cursor: pointer !important;
}

.bio-pdf a:hover {
  color: #222;
}

#projects {
  margin: 0;
  position: relative;
}

.media-gallery,
.media-projet {
  display: flex;
  flex-direction: row;
  justify-self: start;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-shrink: 0;
  width: 100vw;
}

.media-projet {
  padding: 0 24px;
}

.media-gallery::-webkit-scrollbar,
.media-projet::-webkit-scrollbar {
  display: none;
}

.media-gallery a,
.media-projet div {
  display: inline-flex;
  flex-shrink: 0;
  margin: 0 20px 0 0;
  text-decoration: none;
}

.media-gallery a:first-child {
  margin-left: 24px;
}

.media-gallery img,
.media-gallery video {
  height: 16rem;
  object-fit: contain;
  align-self: center;
  font-size: 0;
  text-indent: -100%;
  overflow: hidden;
  cursor: pointer !important;
}

.media-projet img,
.media-projet video {
  height: 16rem;
  /* height: calc(var(--vh, 1vh) * 40); */
  object-fit: contain;
  align-self: center;
  font-size: 0;
  text-indent: -100%;
  overflow: hidden;
  cursor: pointer !important;
}

.container button.arrow-button {
  background-image: url(../images/nav_arrow.svg);
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: contain;
  float: right !important;
  margin-right: 0px;
  margin-top: 26px;
  top: 0;
}

.container button.navigate {
  background-image: url(../images/navigate_arrow.svg);
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: contain;
  background-color: unset;
  float: right !important;
  margin-right: 4rem;
  width: 24px;
  height: 1rem;
  top: 0;
  padding: 0;
}

.container button.navigate-left {
  margin-right: unset;
  margin-left: 4rem;
  rotate: 180deg;
}

.container button.projets {
  margin-top: 1rem;
}

#text-slide {
  /* min-height: 90vh; */
  /* text-align: justify; */
  margin: auto;
  min-width: 60vw;
  width: 100%;
  position: absolute;
  top: 0;
  margin-top: calc(10vh + 2.3rem);
  /* height: calc(100vh - 24vh); */
}

#text-slide:hover {
  cursor: pointer !important;
}

.arrow-button::-moz-focus-inner {
  border: 0;
}
.navigate::-moz-focus-inner {
  border: 0;
}

.container-projets {
  display: flex;
  flex-direction: column;
  margin-top: calc(10vh + 4rem);
  /* gap: 10vh; */
  /* margin-top: -32px; */
}

#projets-slider,
#projet-slider {
  height: 100%;
  width: 100vw;
  display: flex;
  align-items: center;
}
.container-projet {
  margin-top: calc(10vh + 3.8rem);
}

.container-projet-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 85svh;
  height: 85vh;
}

#slider-slide {
  position: absolute;
  top: 0;
  z-index: 1;
  /* margin: calc(var(--vh, 1vh) * 16) 40px 0; */
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: calc(100vh - 7rem);
}

.copyright {
  display: flex;
  justify-content: end;
  width: 100%;
  padding: 0 6rem;
  font-family: "HKGrotesk", sans-serif;
  font-size: xx-small;
  color: #4a4a4a;
}

.address-label {
  font-weight: bolder;
  font-size: 28px;
  line-height: 1.2;
}

.email-social-label a {
  font-weight: bolder;
  font-size: 22px;
  line-height: 1.2;
  cursor: pointer !important;
}

.email-social-label li {
  margin: 0.5rem 0;
}

.email-social-label a,
.email-social-label a:visited {
  color: #545454;
  font-weight: 400;
}

.email-social-label a span.instagram {
  background-image: url(../images/instagram.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 2rem;
  height: 4rem;
  display: flex;
}

.email-social-label a:hover {
  color: #c1c1c1;
  border-bottom: 0.25px solid #d6d6d6;
  text-decoration: none;
  border: none;
}

#image-preview img {
  max-width: auto;
}

#contact-container #contact-image {
  width: 100%;
}

#contact-container #contact-image .image-preview img,
.contact-cover img {
  height: 500px;
}

.close-icon-container {
  display: flex;
  justify-content: flex-end;
  margin: 2.5rem auto 2.2rem;
  height: 2rem;
  padding: 0 3rem;
}

.close-icon-container img {
  height: 2rem;
  width: 2rem;
  cursor: pointer !important;
}

.close-modal {
  z-index: 1;
}

#about #preview {
  padding-right: 0;
}

#about #preview p {
  padding: 0;
}

#about #preview .title .text {
  margin-top: 0;
}

#about #preview .title em {
  font-weight: 400;
  font-size: clamp(14px, 1vw, 20px);
}

#about #preview .image-preview,
#contact-container #preview .image-preview {
  right: unset;
  max-height: 30rem;
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
}
#about #preview .image-preview img,
#contact-container #preview .image-preview img {
  max-height: 28rem;
  max-width: 100%;
  object-fit: contain;
}

/* #about #preview .image-preview img {
  max-height: 100%;
} */

#about #preview .info-pdf {
  font-size: 12px;
  margin-top: 0.7rem;
  margin-left: 0.7rem;
  height: 16px;
}
#about #preview .info-pdf a {
  cursor: pointer !important;
  color: #4a4a4a;
}

#contact-container #preview .image-preview {
  margin-top: 9rem;
}

#about #preview .title,
#contact-container #preview .title {
  padding-top: calc(10vh + 3.75rem);
  width: 32%;
}

@media (hover: none) and (pointer: coarse) {
  #default #preview .text {
    opacity: 1;
    transition: none;
  }

  .bio-pdf a:hover {
    color: unset;
  }

  #caption {
    opacity: 1;
  }
}

::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 2px;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #d6d6d6;
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.bio-section .bio-content {
  padding: 1rem 0 2rem;
}

.bio-section .bio-content .links {
  margin-top: 2rem;
}
.bio-section .bio-content .links a {
  display: block;
  cursor: pointer !important;
  font-size: 1rem;
  font-weight: 500;
}

.bio-section .bio-content .links .link span {
  font-size: clamp(14px, 2vw, 20px);
  color: #1a1a1a;
  font-weight: 700;
}

.dropdown-btn {
  cursor: pointer !important;
}

#action-buttons {
  display: flex;
  justify-content: center;
  align-items: start;
}

#action-buttons #caption {
  max-width: 60%;
}

@media (max-width: 1024px) {
  .container .slide {
    padding-top: 20px;
  }
  .container .slider-wrapper {
    height: 100vw;
  }
  .container button {
    padding: 0;
    height: 20px;
    width: 30px;
    top: inherit;
    bottom: 10px;
    opacity: 1;
    margin-left: 30px;
    margin-right: 30px;
  }
  .container button.left,
  .container button.right {
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: contain;
  }
  .container .cross {
    margin: 15px 30px;
  }

  #preview {
    flex-direction: column;
    justify-content: start;
    gap: 0rem;
  }

  #default #preview {
    margin-top: calc(14vh + 4rem);
  }

  #projet-slider {
    height: calc(100% - 18rem);
  }

  .container-projets .title {
    width: 100%;
    /* margin-bottom: 0; */
  }

  .container-projets .title .heading {
    width: unset;
  }

  #preview .title {
    padding-top: 0;
    padding-bottom: 6rem;
  }

  .container-projet {
    /* padding: 4.7rem 0; */
    /* gap: 10rem; */
  }

  #preview .title div:nth-child(2),
  #preview .title .project-pdf {
    display: none;
  }

  #about #preview .title .text {
    display: unset;
  }

  #about #preview {
    padding-right: 4rem !important;
  }

  #about .cv {
    width: 100%;
    height: 100%;
    max-height: unset;
    padding: 0 12px 8rem 0;
    overflow-y: unset;
  }

  nav .wrapper {
    padding: 0 4rem;
  }

  #about #preview .title,
  #contact-container #preview .title {
    /* padding-top: 9.5rem; */
    width: 50%;
  }

  .image-preview {
    width: 100%;
  }

  .contact-info {
    justify-content: unset;
    width: unset;
    height: 50vh;
  }

  .copyright {
    padding: 0 4rem;
    position: absolute;
    bottom: 6.2rem;
  }

  #preview .title div div span:nth-child(2),
  .container-projets .title div div span:nth-child(2) {
    margin-top: 0.2rem;
  }

  /* #preview .title div:first-child,
  .container-projets .title div:first-child {
    margin-right: max(240px, 40vw);
  } */

  .modal-content {
    height: auto;
    max-height: 85vh;
  }

  .caption-container {
    /* bottom: -58px; */
  }

  #default img,
  #text-slide img {
    max-height: 60vh;
    max-height: 60svh;
  }
}

@media (max-height: 1020px) {
  .media-projet div {
    /* margin-top: calc(var(--vh, 1vh) * 18); */
    /* height: 30vh;
    height: calc(var(--vh, 1vh) * 40); */
  }

  .media-projet img,
  .media-projet video,
  .media-gallery img,
  .media-gallery video {
    height: 16rem;
    /* height: calc(var(--vh, 1vh) * 35); */
  }
}

@media (max-height: 1250px) {
  .media-projet div {
    /* margin-top: calc(var(--vh, 1vh) * 32); */
    /* height: 30vh;
    height: calc(var(--vh, 1vh) * 40); */
  }
}

@media (max-height: 900px) {
  .media-gallery img,
  .media-gallery video {
    /* margin-top: 10%; */
    height: 180px;
  }

  .media-projet div {
    /* margin-top: calc(var(--vh, 1vh) * 20); */
    /* height: 30vh;
    height: calc(var(--vh, 1vh) * 40); */
  }

  .media-projet img,
  .media-projet video {
    height: 180px;
    /* height: calc(var(--vh, 1vh) * 35); */
  }
}

@media (max-width: 700px) {
  #slider-slide {
    /* margin-top: 12%; */
  }

  .media-gallery img,
  .media-gallery video {
    /* margin-top: 100px; */
    height: 280px;
  }

  .media-projet img,
  .media-projet video {
    /* margin-top: 50px; */
    height: 280px;
    /* height: calc(var(--vh, 1vh) * 35); */
  }
}

@media (max-height: 720px) {
  .media-gallery img,
  .media-gallery video {
    height: 180px;
  }

  .media-projet div {
    /* margin-top: calc(var(--vh, 1vh) * 12); */
    /* height: 30vh;
    height: calc(var(--vh, 1vh) * 40); */
  }

  .media-projet img,
  .media-projet video {
    height: 180px;
    /* height: calc(var(--vh, 1vh) * 28); */
  }

  .email-social-label a {
    font-size: 18px;
  }

  .email-social-label a span.instagram {
    width: 2rem;
  }

  #contact-container #contact-image {
    width: 100%;
  }

  #contact-container #contact-image .image-preview img,
  .contact-cover img {
    height: 370px;
  }
}

@media (max-height: 600px) {
  #contact-container {
    height: 370px;
  }

  #contact-container #contact-image .image-preview img,
  .contact-cover img {
    height: 320px;
  }
}

@media (max-height: 540px) {
  #slider-slide {
    /* margin-top: 140px; */
  }

  .media-gallery img,
  .media-gallery video {
    height: 200px;
  }

  .media-projet img,
  .media-projet video {
    height: 20vh;
    height: 20svh;
    height: calc(var(--vh, 1vh) * 20);
  }

  .email-social-label a {
    font-size: 16px;
  }

  .email-social-label a span.instagram {
    width: 1.5rem;
  }

  #contact-container {
    height: 300px;
  }

  #contact-container #contact-image .image-preview img,
  .contact-cover img {
    height: 260px;
  }
}

@media (max-height: 420px) {
  #slider-slide {
    margin-top: 80px;
  }
  .container button.arrow-button {
    margin-top: 16px;
  }
  .container button.navigate {
    margin-top: 16px;
  }
  #contact-container #contact-image {
    margin-top: 50px;
  }
}

@media (max-width: 700px) {
  #caption,
  .home-caption {
    padding-top: 10px;
    font-size: xx-small;
  }

  .modal-content {
    margin-top: 60px;
    height: fit-content;
  }

  .modal-container {
  }

  #slider-slide {
    /* margin-top: calc(var(--vh, 1vh) * 20); */
    right: 0;
    left: 0;
  }

  #text-slide {
    min-width: 70vw;
    /* padding: 0 10vw; */
  }
}

@media (max-width: 540px) {
  .modal-content {
    padding-top: 0px;
  }

  #slider-slide {
    right: 0;
    left: 0;
  }

  .container-projet {
  }

  /* #preview .title div:first-child,
  .container-projets .title div:first-child {
    margin-right: max(50px, 15vw);
  } */
}

@media (max-width: 640px) {
  .email-social-label a {
    font-size: 18px;
  }

  #contact-container #contact-image .image-preview img,
  .contact-cover img {
    height: 350px;
  }

  #text-slide {
    min-width: 75vw;
  }
}

@media (max-width: 475px) {
  .media-gallery img,
  .media-gallery video {
    height: 23vh;
  }

  .media-projet img,
  .media-projet video {
    height: 23vh;
  }

  .email-social-label a {
    font-size: 16px;
  }

  #contact-container #contact-image {
    margin-top: 100px;
  }

  #contact-container #contact-image .image-preview img,
  .contact-cover img {
    height: 320px;
  }

  #text-slide {
    min-width: 80vw;
    margin-bottom: 36px;
  }

  #caption {
    padding-top: 1px;
  }
}

@media (max-width: 300px) {
  .email-social-label a {
    font-size: 16px;
  }

  #contact-container #contact-image {
    margin-top: 80px;
  }

  #contact-container #contact-image .image-preview img,
  .contact-cover img {
    height: 180px;
  }
}

.contact-cover {
  text-align: right;
  margin-top: 4vh;
  margin-top: 4svh;
}

#caption {
  transition: opacity 0.2s ease-in-out;
  opacity: 0;
}

@media (max-width: 812px) {
  nav {
    height: auto;
    width: 100%;
    margin: 0;
    text-align: center;
    padding: 0;
  }
  nav a {
    margin: 1vw;
  }
  #about {
    width: 100%;
    float: none;
  }
  #about .cv ul li p {
    width: 100% !important;
  }

  .slider-subcontainer {
    margin: auto;
  }

  #preview .title div div:nth-child(2),
  .container-projets .title div div:nth-child(2) {
    font-size: 0.5em;
  }
}
@media (max-width: 824px) and (orientation: landscape) {
  .container figure {
    height: 30vw;
  }
  .slider-subcontainer {
    margin: auto;
  }
}
@media (max-width: 824px) {
  .image-preview {
    right: unset;
    width: 100%;
  }

  #default img,
  #text-slide img {
    max-height: 56svh;
    max-height: 56vh;
  }

  /* 
  #projets {
    gap: 9.4rem;
    margin-top: 8rem;
  } */

  #preview {
    /* padding: 5px 0; */
    gap: unset;
  }

  #preview img {
    padding: 0;
  }

  .container-projets .title .heading {
    /* width: 40%; */
  }

  #about #preview {
    padding-right: 4rem !important;
  }

  #about .cv {
    width: 100%;
    height: 100%;
    max-height: unset;
    padding: 24px 12px 2rem 0;
    overflow-y: unset;
  }

  nav .wrapper {
    padding: 0 4rem;
  }

  #about #preview .title,
  #contact-container #preview .title {
    padding-top: 7.4rem !important;
    width: fit-content;
    max-width: max(70%, 500px);
    padding-bottom: 2rem;
  }

  #default #preview,
  .container-projets {
    margin-top: 12vh;
  }

  #text-slide {
    margin: 6rem auto 0;
    top: 0;
  }

  #text-slide #preview {
    padding-top: 0;
  }

  #preview .title,
  .container-projets .title {
    width: fit-content;
    padding-right: 2rem;
    padding-bottom: 4rem;
    /* margin-bottom: 2rem; */
  }

  #text-slide #preview .title {
    padding-top: 1.7rem;
  }

  .container-projets .title {
    width: 100%;
  }

  #projet-slider {
    height: calc(100% - 14rem);
  }

  /* .container-projet {
    padding: 2.4rem 0;
  } */

  /* .container-projets {
    gap: 5.7rem;
  } */

  .copyright {
    padding: 0 4rem;
    bottom: 6rem;
  }

  /* 
  #preview .title,
  .container-projets .title {
    font-size: 2.8rem;
  } */
}
@media (max-width: 476px) {
  nav {
    height: auto;
    font-size: 0.6em !important;
  }
  nav a {
    margin: 5px;
    line-height: 1;
    font-weight: 600;
  }
  #default {
    height: 78vh;
    height: 78svh;
    position: absolute;
    width: 100vw;
    width: 100svw;
    max-width: 100%;
  }
  #default img {
    height: 100%;
    max-height: 78vh;
    max-height: 78svh;
    width: 98vw;
    width: 98svw;
  }
  .image-preview {
    right: unset;
  }
  #preview img {
    padding: 0;
  }
  #about {
    float: none !important;
    width: 100%;
  }
  #about .cv div {
    margin-bottom: -0.4px;
  }

  .slider-container {
    margin: 0;
  }
  .slider-subcontainer {
    margin: 0;
  }

  .container button.navigate {
    margin-right: 1rem;
  }

  .container button.navigate-left {
    margin-left: 1rem;
  }

  .close-icon-container {
    padding: 0rem 1rem 0;
    margin-top: 5rem;
    position: absolute;
    right: 0.5em;
    z-index: 7;
  }

  #preview,
  .container-projets {
    padding: 0 2rem;
  }

  .container-projets {
    margin-top: 7.4rem;
  }

  #preview {
    gap: 2rem;
  }

  #projets {
    margin-top: 0;
  }

  #projets,
  .container-projet {
    padding: 0;
  }

  #slider-slide {
    /* position: relative;  */
    margin-top: 0vh;
    height: 78vh;
    height: 78svh;
    align-items: center;
  }

  #contact img {
    height: 55vh;
    height: 55svh;
  }

  #preview .title div:first-child,
  .container-projets .title div:first-child {
    height: 3.5rem;
    padding-right: 2rem;
  }

  #preview .title div div span:nth-child(2),
  .container-projets .title div div span:nth-child(2) {
    /* margin-top: 0.3rem; */
  }

  #preview .title div div:nth-child(2),
  .container-projets .title div div:nth-child(2) {
    font-size: 0.35em;
  }

  #about #preview {
    padding-right: 2rem !important;
    gap: 0.5rem;
  }

  #about #preview .title,
  #contact-container #preview .title {
    width: 100%;
    max-width: unset;
    padding-bottom: 0;
  }

  #about #preview .title div:first-child {
    height: unset;
  }

  .container-projets .title {
    padding: 0 2rem;
  }

  .caption-container #action-buttons a {
    font-size: x-small;
  }

  .copyright {
    padding: 0 1rem;
    bottom: 4rem;
  }
  nav {
    padding: 0;
  }

  nav .wrapper {
    padding: 1rem;
  }

  .modal-content img,
  .modal-content video {
    max-height: unset;
    width: 100%;
  }

  #projet-slider {
    height: 100%;
  }

  .container {
    height: 95vh;
    height: 95svh;
  }

  #text-slide #preview {
    gap: 0;
  }

  .modal-content {
    margin-top: 10vh;
    height: fit-content;
  }

  #text-slide {
    margin-top: 5.8rem;
  }
}

.lang-switch a {
  margin: 0;
}

/* Base Navigation Styles */
nav {
  position: fixed;
  width: 100%;
  bottom: 0; /* Default position at the bottom */
  z-index: 8;
  border-top: 1px solid #d6d6d6;
}

nav .wrapper {
  width: 100vw;
  padding: 2rem 4rem;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "HKGrotesk", sans-serif;
  text-transform: uppercase;
  font-size: 1.2em;
  font-weight: 600;
  color: #c1c1c1;
}

nav.maintenance {
  color: #d6d6d6;
  padding: 1.1rem 3rem;
  font-family: "HKGrotesk", sans-serif;
  text-transform: uppercase;
  font-size: clamp(14px, 2vw, 28px);
  font-weight: 400;
  border: none;
}

nav a {
  margin-right: 30px;
  color: #999;
}
nav a:hover {
  color: #999;
  border-bottom: 0.25px solid #999;
}

nav .wrapper .lang-switch a {
  margin-right: 0;
  color: #999;
}

nav .wrapper .lang-switch .active a,
nav .wrapper a.active {
  color: #4a4a4a;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  border: none;
  background: transparent;
  z-index: 10;
  margin-left: auto; /* Align the hamburger to the right */
}

.hamburger-menu span {
  width: 25px;
  height: 2px;
  background-color: #999;
  margin: 4px 0;
  transition: 0.4s;
}

/* Cross transformation when active */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0; /* Hide the middle line */
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

#mobile-title {
  display: none; /* Hide on desktop */
  font-family: "HKGrotesk", sans-serif;
  font-size: 1.2em;
  font-weight: 600;
  color: #4a4a4a;
  margin-right: auto; /* Push the title to the left */
  text-transform: initial !important;
  width: unset;
  padding: unset;
  margin: unset;
}


.menu-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

@media (max-width: 476px) {
  nav {
    top: 0;
    bottom: auto;
    /* border-bottom: 1px solid #d6d6d6; */
    border-top: none;
  }

  nav.maintenance {
    top: unset;
    bottom: 48px;
  }

  .hamburger-menu {
    display: flex;
  }

  nav .wrapper {
    flex-direction: row;
    padding: 2rem 2rem 0;
    font-size: 2.4em;
  }

  /* Set initial position for sliding menu */
  .menu-items {
    flex-direction: column;
    justify-content: center;
    text-align: center; /* Ensure text is aligned to the left */
    padding: 2rem; /* Add padding for spacing on the left */
    background-color: #fafafa;
    position: absolute;
    top: 0;
    right: -100%; /* Start off-screen to the right */
    height: 100vh; /* Full screen height for sliding effect */
    width: 100%; /* Set width of sliding menu */
    transition: transform 0.4s ease; /* Smooth slide animation */
    z-index: 9;
    padding-bottom: 20vh;
  }

  .lang-switch {
    margin-top: 4rem;
  }

  .menu-items div:first-child {
    display: flex;
    flex-direction: column;
    margin-top: 24px;
  }

  /* Slide menu in from the right when active */
  .menu-items.active {
    transform: translateX(-100%);
  }

  nav a {
    margin: 10px 0;
    padding: 1rem 0; /* Add padding for better click area */
    width: 100%; /* Ensure links take full width */
  }

  nav a:hover {
    color: #4a4a4a;
    border-bottom: none;
    background-color: #f0f0f0; /* Highlight effect on hover */
  }

  #mobile-title {
    display: inline;
    z-index: 10;
  }

  .hamburger-menu {
    margin-left: 0; /* Reset margin so it aligns with the title */
    padding: 0;
  }

  #preview .title > div:first-child,
  .container-projets .title > div:first-child {
    display: none;
  }

  #about #preview .title {
    height: 100%;
    padding-right: 0;
  }

  .container-projets .title {
    margin-top: 7.5rem;
  }

  #about #preview .title > div:first-child,
  #text-slide #preview .title > div:first-child,
  .container-projets .title > div:first-child {
    display: block;
    padding-right: 0;
  }

  #about #preview .title .heading > div:first-child,
  #text-slide #preview .title .heading > div:first-child,
  .container-projets .title .heading > div:first-child {
    display: none;
  }

  #about #preview .title .heading > div:nth-child(2),
  #text-slide #preview .title .heading > div:nth-child(2),
  .container-projets .title .heading > div:nth-child(2) {
    border-top: none;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  #preview .title div div span:nth-child(2),
  .container-projets .title div div span:nth-child(2) {
    font-size: 0.6em;
  }

  #preview .title {
    min-height: 3.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
  .custom-slide p,
  #default #preview .text p {
    padding: 0;
  }
  #text-slide #preview .title {
    padding-top: 1.7rem;
  }
  #default #preview .title .text,
  #preview .title .text {
    margin-top: 3rem;
  }
  #preview .title {
    width: 35%;
    padding-top: 4rem;
  }

  .container-projets {
    margin-top: 7.2rem;
  }

  .container-projets .title {
    padding-top: 2rem;
  }

  .container-projets .title .heading {
    width: calc(35% - 3.6rem);
  }

  .image-preview {
    width: 65%;
  }

  #preview {
    gap: 6rem;
  }

  #about #preview .title,
  #contact-container #preview .title {
    padding-top: 9rem;
    width: 40%;
  }

  #about .cv {
    max-height: calc(100vh - 9rem);
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (min-height: 900px) {
  #about #preview .title,
  #contact-container #preview .title {
    width: 60%;
  }
}

@media (max-width: 390px) {
  #slider-slide {
    /* margin-top: -100%; */
  }

  .container-projets .title {
    margin-bottom: 3.6rem !important;
  }

  #preview {
    padding: 0 2rem;
    gap: unset;
  }

  #default #preview .title {
    padding-bottom: 3rem;
  }

  #contact {
    width: 100%;
  }

  #contact img {
    height: 50vh;
    height: 50svh;
  }

  .contact-label a {
    font-size: 18px !important;
  }

  .container-projet {
    height: calc(100vh - 15rem);
  }

  #preview .title div div span:nth-child(2),
  .container-projets .title div div span:nth-child(2) {
    margin-top: 0.2rem;
  }

  #about #preview .title .heading > div:nth-child(2),
  #text-slide #preview .title .heading > div:nth-child(2),
  .container-projets .title .heading > div:nth-child(2) {
    font-size: 1rem;
  }

  #preview .title div div span:nth-child(2),
  .container-projets .title div div span:nth-child(2) {
    font-size: 0.6em;
  }
}

@media (max-width: 350px) {
  #slider-slide {
    /* margin-top: -140%; */
  }

  #preview .title,
  .container-projets .title {
    font-size: 1.5em;
  }

  #preview .title div div:nth-child(2),
  .container-projets .title div div:nth-child(2) {
    font-size: 0.4em;
  }
}
