@font-face {
  font-family: 'KefaBold';
  src: url('fonts/Kefa-Bold.eot');
  src: url('fonts/Kefa-Bold.eot?#iefix') format('embedded-opentype'), url('fonts/Kefa-Bold.woff2') format('woff2'), url('fonts/Kefa-Bold.woff') format('woff'), url('fonts/Kefa-Bold.ttf') format('truetype'), url('fonts/Kefa-Bold.svg#Kefa-Bold') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kefa';
  src: url('fonts/Kefa-Regular.eot');
  src: url('fonts/Kefa-Regular.eot?#iefix') format('embedded-opentype'), url('fonts/Kefa-Regular.woff2') format('woff2'), url('fonts/Kefa-Regular.woff') format('woff'), url('fonts/Kefa-Regular.ttf') format('truetype'), url('fonts/Kefa-Regular.svg#Kefa-Regular') format('svg');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kohinoor';
  src: url('fonts/KohinoorTelugu-Regular.eot');
  src: url('fonts/KohinoorTelugu-Regular.eot?#iefix') format('embedded-opentype'), url('fonts/KohinoorTelugu-Regular.woff2') format('woff2'), url('fonts/KohinoorTelugu-Regular.woff') format('woff'), url('fonts/KohinoorTelugu-Regular.ttf') format('truetype'), url('fonts/KohinoorTelugu-Regular.svg#KohinoorTelugu-Regular') format('svg');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
body,
html {
  width: 100vw;
  overflow-x: hidden;
}
.ham {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-right: -10px;
  z-index: 9999999;
}
.hamRotate.active {
  transform: rotate(45deg);
}
.hamRotate180.active {
  transform: rotate(180deg);
}
.line {
  fill: none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke: #9C4F38;
  stroke-width: 3.5;
  stroke-linecap: round;
}
.ham1 .top {
  stroke-dasharray: 40.5 139;
}
.ham1 .bottom {
  stroke-dasharray: 40.5 180;
}
.ham1.active .top {
  stroke-dashoffset: -98px;
}
.ham1.active .bottom {
  stroke-dashoffset: -138px;
}
.loader {
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  opacity: 1;
  display: flex;
  justify-content: center;
  align-content: center;
}
.loader svg {
  width: 100px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loader .spin {
  transform-origin: center;
  animation: spin 1.1s linear infinite;
}
.loader.hidden {
  opacity: 0;
  transition: opacity 0.1s;
}
body {
  margin: 0;
  color: #9C4F38;
  font-family: "Kohinoor";
  font-size: 18px;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100vw;
  overflow-x: hidden;
  text-align: center;
}
h1,
h2 {
  font-family: "Kefa";
  font-size: 40px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 200;
  position: relative;
}
h2 {
  margin-bottom: 60px;
}
h2::after {
  content: "";
  width: 5px;
  height: 5px;
  background-color: #9C4F38;
  border-radius: 10px;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -20px;
}
h2,
h3,
p {
  font-weight: 100;
  letter-spacing: 0.08em;
}
h3 {
  font-size: 17px;
}
p {
  color: black;
}
nav {
  font-family: 'Kefa';
  font-size: 15px;
  width: 500px;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #9C4F38;
}
nav ul {
  list-style-type: none;
  padding-inline-start: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
nav ul li a {
  color: #9C4F38;
  text-decoration: none;
  display: block;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
nav ul li a:hover,
nav ul li a.active {
  -webkit-transform: skewX(-15deg);
  -moz-transform: skewX(-15deg);
  -o-transform: skewX(-15deg);
  transform: skewX(-15deg);
}
header {
  padding-top: 50px;
}
.mobile {
  display: none;
}
.mobile .header-container {
  display: flex;
  justify-content: center;
  justify-content: space-around;
  align-items: center;
}
.mobile nav {
  position: absolute;
  margin-top: 0;
  right: 0;
  text-align: right;
  padding-top: 150px;
  z-index: 999999;
  background-color: white;
  top: -40%;
  opacity: 0;
  width: 100vw;
  transition: all 0.5s cubic-bezier(0, 0.61, 0.34, 1.01);
}
.mobile nav.active {
  top: 0;
  opacity: 1;
}
.mobile nav ul {
  flex-direction: column;
}
.mobile nav ul li {
  margin-right: 20px !important;
  margin-bottom: 20px;
}
header.mobile {
  width: 100vw;
}
.hidden {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}
.fadeIn {
  transition: all 0.8s ease-in;
}
iframe {
  width: 100%;
}
#top-section {
  width: 80vw;
}
#top-section div {
  border-radius: 10px;
}
section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  position: relative;
  flex-direction: column;
  padding: 70px 0;
}
section.fadeIn {
  transition-delay: 0.2s;
}
.section-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}
#tableaux p {
  font-size: 12px;
  margin-bottom: 30px;
  margin-top: -30px;
  font-style: italic;
  opacity: 0.8;
}
#about .section-container div {
  width: 50%;
  padding: 40px;
}
#about .section-container div h3 {
  text-align: left;
  margin-bottom: 20px;
  font-size: 20px;
}
#about .section-container div img {
  max-width: 500px;
}
#about .section-container div p {
  text-align: justify;
  font-size: 14px;
}
#restauration #vertical {
  width: 200px;
}
#restauration p {
  font-size: 12px;
  text-align: justify;
  margin-bottom: 50px;
}
#exotisme {
  width: 900px;
  max-width: 100%;
  margin-top: 40px;
}
#oeuvres {
  position: relative;
}
#oeuvres nav {
  z-index: 999;
}
#oeuvres .section-container {
  margin-top: 50px;
  margin-bottom: 100px;
  align-items: normal;
}
#oeuvres .section-container.hidden {
  display: none;
}
#oeuvres .section-container#trompe {
  flex-wrap: wrap;
}
#oeuvres .section-container#trompe .solo {
  width: 90%;
  display: block;
  margin: 0 auto;
  margin-bottom: 30px;
}
#oeuvres .section-container#trompe .solo.small {
  width: 70%;
}
#oeuvres .section-container div {
  width: 50%;
  padding: 20px;
}
#oeuvres .section-container div img {
  margin-bottom: 40px;
}
#oeuvres .section-container div.beforeafter {
  width: 90%;
  max-width: 90vw;
  margin: 0 auto;
  position: relative;
  padding: 0;
}
#oeuvres .section-container div.beforeafter.half {
  width: 40%;
}
#oeuvres .section-container div.beforeafter.half2 {
  width: 45%;
}
#oeuvres .section-container div.beforeafter.details {
  width: 34%;
  margin-bottom: 50px;
}
#oeuvres .section-container div.beforeafter.details img {
  margin-bottom: 20px;
}
#oeuvres .section-container div.beforeafter.med {
  width: 70%;
}
#oeuvres .section-container div.beforeafter.mid {
  width: 50%;
}
#oeuvres .section-container div.beforeafter .first-img,
#oeuvres .section-container div.beforeafter .second-img {
  width: 100%;
  /* ensure both images have the same size */
  display: block;
}
#oeuvres .section-container div.beforeafter .second-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
#oeuvres .section-container div.beforeafter:hover .second-img {
  opacity: 1;
}
#contact {
  padding-top: 0;
}
footer {
  padding: 1em;
  width: 100vw;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  border-top: 1px solid #9C4F38;
}
footer p,
footer a {
  color: #9C4F38;
  text-decoration: none;
}
/* Styles for screens with a width less than 1500px */
@media screen and (max-width: 1200px) {
  #about .section-container div img {
    width: 400px;
  }
}
@media screen and (max-width: 1000px) {
  #about .section-container div img {
    width: 100%;
  }
}
@media screen and (max-width: 900px) {
  #about .section-container {
    flex-direction: column;
  }
  #about .section-container div {
    width: 100%;
  }
  #about .section-container div img {
    margin: 0 auto;
  }
}
@media screen and (max-width: 700px) {
  section {
    width: 100vw;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  h1 {
    font-size: 30px;
  }
  .mobile {
    display: block;
  }
  .desktop {
    display: none;
  }
  #oeuvres nav {
    width: 100%;
  }
  #oeuvres .section-container {
    flex-direction: column;
  }
  #oeuvres .section-container div {
    width: 100%;
  }
  #oeuvres .section-container div img {
    margin: 0 auto;
  }
  #oeuvres .section-container div.beforeafter {
    margin-bottom: 20px;
  }
  #oeuvres .section-container div.beforeafter.half,
  #oeuvres .section-container div.beforeafter.half2,
  #oeuvres .section-container div.beforeafter.details,
  #oeuvres .section-container div.beforeafter.med {
    width: 100%;
  }
  #oeuvres .section-container#trompe .solo.small {
    width: 100%;
  }
  #tableaux p {
    margin-top: 10px;
  }
}
