:root {
  --main-bg-color: hsl(0, 0%, 97%);
  --secondary-bg-color: hsl(1.88, 22.6%, 57.3%);
  --third-bg-color: hsl(1.83, 21.2%, 55%);
  --main-bg-color: oklch(0.95 0 0);
  --secondary-bg-color: oklch(0.63 0.06 21);
  --third-bg-color: oklch(0.57 0.06 21);
  --title-color: black;
  --font-size: 1rem;
  --header-height: 88px;
  --snap-gap: 30px;
  }

/* @supports (width: 1dvw) and (height: 1dvh) {
  :root {
    --vh: 1dvh;
    --vw: 1dvw;
  }
} */

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Helvetica', 'Verdana', sans-serif;
  list-style: inside;
}

em {
  font-style: italic;
}

/* Global Styles */
html, body {
  font-size: var(--font-size);
  justify-content: center;
  margin: 0 auto;
  scroll-behavior: smooth;
  padding: 0;
  max-width: 1250px;
  min-width: 360px;
  min-height: 100vh;
  background-color: var(--main-bg-color);
  line-height: 1.6;
}

.body-color {
  background-color: var(--secondary-bg-color);
  transition: background-color 0.3s ease;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.5rem, 4.3vw, 3rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.2rem, 3.5vw, 2.5rem);
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
}

h3 {
  font-size: clamp(1.2rem, 3.2vw, 2.2rem);
  margin: 0.5rem 0;
}

h4 {
  font-size: clamp(1rem, 2.6vw, 1.7rem);
  margin: 0.4rem 0 0 0;
}

h5 {
  font-size: clamp(0.9rem, 2.3vw, 1.4rem);
  margin: 0.3rem 0 0 0;
}

h6 {
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  margin: 0.3rem 0 0 0;
}

p {
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  text-wrap: pretty;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.move-main {
  display: none;
}

.backgroundContainer {
  /* import 2 different sizes of background image */
  background-image:  url(../img/vue-Paris-narrow-b.jpg);
  background-position-y: 55px; /* adjust vertical position with header */
  height: 100vh;
  width: 100vw;
  width: 100dvw;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-clip: padding-box;
}

.contactClaire {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  align-items: center;
}

.link-underline {
  text-decoration: none;
  color: black;
}

.link-underline:hover {
  text-decoration: none;
  color: #404040;
}

.btn {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  border: 4px solid transparent;
  border-radius: 0.5rem;
  background-color: var(--secondary-bg-color);
  background-origin: border-box, padding-box;
  color: white;
  margin-bottom: 2rem;
  padding: 0.75rem 1.5rem;
  margin-top: 2.5rem;
  box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.75);
  cursor: pointer;
}

.btn:hover {
  background-color: var(--third-bg-color);
  box-shadow: 0px 0px 13px 5px rgba(0,0,0,0.85);
  text-decoration: none;
}

.mainImage {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 35vw);
  height: auto;
  border-radius: 2%;
  animation: mainImage 2s forwards;
}

@keyframes mainImage {
  from {
    opacity: 0%;
  }
  to {
    opacity: 100%;
  }
}

.content {
  margin: 2rem;
  /* text-align: justify; */
}

.content ul li{
  padding-top: 0.3rem;
  margin-left: 1.5rem;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  list-style-type: disc;
  font-weight: normal;
}

/* --- CLD presentation section --- */

#presentationClaire {
  text-align: left;
  margin: 1rem;
  /* padding-top: 1rem; */
  }

#photoMains {
  display: none;
  float: left;
  margin: 1rem 1rem 1rem 1rem;
  width: calc(30% + 10rem);
  max-width: 120vw;
  height: auto;
  border-radius: 2%;
}

/* --- CLD contact footer  --- */

.footerCld {
  /* width: 100%;
  margin-left: 1rem;
  margin-right: 1rem; */
    width: calc(100% - 2vw);

  margin-bottom: 2rem;
}

#arcDeTriomphe {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  width: calc(100% - 25vw);
  border-radius: 2%;
}

.contactDetails {
  text-align: left;
  margin-top: 1rem;
  margin-left: 12%;
  margin-bottom: 3rem;
}

#linkedIn {
  width: 8%;
  min-width: 3.5rem;
  height: auto;
  margin-top: 2rem;
}

.in {
  width: 90%;
  height: auto;
}

.googleMap {
  width: 98%;
  align-items: center;
  margin: auto;
  height: auto;
  overflow: hidden;
}

/* --- bottom container --- */
.bottomContainer {
  display: none;
  background-color: var(--secondary-bg-color);
  transition: background-color 0.3s ease;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
  align-items: center;
  width: 90%;
  border-top: 1.9px solid black;
  margin-left: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
  z-index: 100;

}

.bottomText P {
  display: inline-block;
  font-size: clamp(.8rem, 2.2vw, 1.5rem);
  text-align: left;
}

.bottomIn {
  width: 8%;
  background-color: var(--secondary-bg-color);
}

.show-bottomContainer {
  display: flex;
}

/*  Attention: media queries always at the end of the file  */

/* --- CSS breakpoints with mobile first approach --- 
@custom-media --mobile (max-width: 455px);  normally not used since mobile first
@custom-media --tablet (width >= 455px) and (width < 767.98px);
@custom-media --laptop (width >= 768px) and (width < 1279.98px);
@custom-media --desktop (width >= 1280px);
*/

/* Media queries for tablets and larger smartphones */
@media (width <768px) {
  #photoMains {
    display: none;
  }
}

/* Media queries for laptops and desktops */
@media (width>= 768px) {
  section#presentationClaire {
    display: block;
  }

  #photoMains {
    display: block;
  }

  .contactContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
  }

  #arcDeTriomphe {
    display: block;
    margin-left: 0;
    margin-right: 5%;
    height: auto;
    width: 45%;
    border-radius: 2%;
  }

  .contactDetails {
    margin-top: 0;
    margin-left: 1rem;
  }

  .contactClaire {
    text-align: left;
    margin: 5rem 0;
  }
}
