/*--------------- RESET / ALL ---------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "roboto";
  scroll-behavior: smooth;
  color: #111;
  font-family: "Libre Franklin";
}

body {
  overflow-x: hidden;
}

@font-face {
  font-family: "Libre Franklin";
  src: url(../fonts/LibreFranklin-VariableFont_wght.ttf);
}

/*--------------- BURGER MENU ---------------*/

#burger {
  position: fixed;
  top: 10px;
  right: 25px;
  width: 3.75em;
  height: 3.75em;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1002;
  transition: 0.3s;
  cursor: pointer;
}

#burger::before {
  content: "";
  position: absolute;
  width: 75%;
  height: 5%;
  background-color: #111;
  z-index: 1002;
  transform: translateY(-14px);
  border-radius: 10px;
  box-shadow: 0 14px 0 #111;

  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#burger::after {
  content: "";
  position: absolute;
  width: 75%;
  height: 5%;
  background-color: #111;
  z-index: 1002;
  transform: translateY(14px);
  border-radius: 10px;

  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#burger.active::before {
  transform: translateY(0px) rotate(-45deg);
  box-shadow: none;
}

#burger.active::after {
  transform: translateY(0px) rotate(45deg);
}

nav {
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

#close-menu {
  z-index: 1001;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 70vw;
  height: 100vh;
}

#close-menu.active {
  display: block;
}

#english {
  width: 2.75em;
  height: 2.75em;
  border-radius: 4px;
  border: solid 2px #111111;
  z-index: 1001;
  position: absolute;
  top: 20px;
  left: 32px;
  font-weight: bolder;
  transition: 0.3s;
}
#english a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
#english:hover {
  transform: scale(1.1);
}

#menu {
  z-index: 1001;
  position: fixed;
  top: 0;
  right: 0;
  width: 30vw;
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #111;
  overflow: hidden;
  padding-left: 2vw;
  transform: translateX(100%);
  transition: 0.5s;
}

#menu.active {
  transform: translateX(0);
}

#menu #menu-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
}

#menu ul {
  height: 100vh;
  padding-top: 15vh;
  list-style: none;
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  gap: 2vh;
}

#menu ul li {
  font-size: 2vw;
  font-weight: bold;
  letter-spacing: 4px;
  text-transform: uppercase;
}

#menu ul li a {
  text-decoration: none;
  color: #111;
  position: relative;
  /* text-shadow: 0px 0px 5px #fff, 0px 0px 10px #fff, 0px 0px 15px #fff, 0px 0px 20px #fff, 0px 0px 25px #fff, 0px 0px 30px #fff; */
}

#menu ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: #111;
  transition: 0.3s;
}

#menu ul li a:hover::before {
  width: 100%;
}

#menu .socials {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#menu .socials img {
  width: 44px;
  height: 44px;
  transition: all 0.3s;
}

#menu .socials img:hover {
  transform: scale(1.1);
}

/* ---------- HEADER --------- */

header {
  z-index: 1000;
  position: sticky;
  top: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

header h1 a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  text-decoration: none;
  color: #111;
  font-size: 3.25vw;
}

header #logo {
  height: 60px;
  width: 60px;
  border-radius: 50%;
}

header #logo img {
  width: 100%;
  border-radius: 50%;
}

header .separation {
  position: absolute;
  bottom: 1px;
  left: 6%;
  width: 88%;
  margin: 0 auto;
  text-align: center;
  transform: translateY(8px);
}

header .separation::before {
  position: absolute;
  top: 75%;
  left: 0;
  content: "";
  background-color: #111;
  width: 45%;
  height: 1px;
}
header .separation::after {
  position: absolute;
  top: 75%;
  right: 0;
  content: "";
  background-color: #111;
  width: 45%;
  height: 1px;
}

header .separation img {
  transform: translateY(50%);
  width: 9.5%;
}

/* ---------- GENERAL ---------- */

main {
  width: 100%;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

main h2 {
  position: relative;
  font-size: 3vw;
  font-weight: bolder;
  width: fit-content;
  display: block;
}

main h2 span {
  display: inline-block;
  width: 12vw;
  height: 1px;
  background-color: #111;
  transform: translateY(-1vw);
  margin: 0 10px;
}

/* ---------- INDEX ---------- */

main .section-index {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin: 50px 0;
  gap: 10px;
}

main .section-index .article-index {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  padding: 0 10vw;
  text-align: center;
}

main .section-index .article-index .see-more {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: #555;
  font-size: 15px;
  width: 150px;
}

main .section-index .article-index .see-more .more-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

main .section-index .article-index .see-more .more-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #555;
}

main .section-index .article-index .see-more:hover .more-dots {
  animation: lireSuiteHover 1.5s ease-in-out infinite;
}

@keyframes lireSuiteHover {
  0% {
    gap: 4px;
  }
  50% {
    gap: 12px;
  }
  100% {
    gap: 4px;
  }
}

.swiper {
  display: none !important;
  width: 100%;
  height: fit-content;
  margin: 0 auto;
}

.swiper .swiper-button-prev,
.swiper .swiper-button-next {
  color: #fff;
}

.swiper .swiper-pagination-bullet {
  background-color: #111;
}

.swiper .swiper-pagination-bullet-active {
  background-color: #fff;
}

.swiper .swiper-wrapper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper .swiper-wrapper .swiper-slide a {
  width: 100%;
  margin: 0 auto;
}

.swiper .swiper-wrapper .swiper-slide a img {
  display: block;
  width: 100%;
}

main .section-index .article-index .slider {
  width: 70%;
  height: 300px;
  margin: 0 15%;
  position: relative;
  display: flex;
  transition: all 0.5s;
  overflow: hidden;
}

main .section-index .article-index .slider .slide {
  width: 33%;
  height: 100%;
  position: relative;
  text-align: center;
  transition: 0.5s;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: left;
}

main .section-index .article-index .slider .slide:nth-child(1) {
  background-image: url("../medias/images/aquarelles/paint-verone-italie-decembre-2019.png");
}

main .section-index .article-index .slider .slide:nth-child(2) {
  background-image: url("../medias/images/aquarelles/paint-central-park-new-york-juillet-2021.png");
}

main .section-index .article-index .slider .slide:nth-child(3) {
  background-image: url("../medias/images/aquarelles/paint-andalousie-novembre-2021.png");
}

main .section-index .article-index .slider .slide:hover {
  width: 59%;
  cursor: pointer;
}

main .section-index .article-index .slider .slide a {
  display: block;
  width: 100%;
  height: 100%;
}

#apercu-expo {
  width: 250px;
}

/* ---------- GALERIE ---------- */

main .section-galerie {
  display: grid;
  grid-template-columns: 50% 50%;
  row-gap: 100px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 50px 0;
}

main .section-galerie .article-galerie {
  position: relative;
  width: 100%;
  padding: 20px;
}

main .section-galerie .article-galerie::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
}

main .section-galerie .article-galerie img {
  display: block;
  position: relative;
  width: 85%;
  margin: 0 auto;
  box-shadow: 1px 1px rgb(154, 154, 154), -1px -1px rgb(154, 154, 154), 1px -1px rgb(154, 154, 154), -1px 1px rgb(154, 154, 154), 31px 31px #eddfa1, -31px -31px #eddfa1,
    31px -31px #eddfa1, -31px 31px #eddfa1, 36px 36px black, -36px -36px black, 36px -36px black, -36px 36px black, 38px 38px white, -38px -38px white, 38px -38px white,
    -38px 38px white, 40px 40px black, -40px -40px black, 40px -40px black, -40px 40px black;
}

main .section-galerie .article-galerie p {
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 100%;
  padding: 0 10%;
  text-align: right;
}

/* ---------- A PROPOS ---------- */

main .section-aPropos {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: start;
  margin: 60px 0;
}

main .section-aPropos .article-aPropos {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

main .section-aPropos .article-aPropos p {
  width: 90%;
  margin-right: 50px;
}

#img-aPropos {
  display: block;
  width: 70%;
  position: relative;
  box-shadow: 1px 1px rgb(154, 154, 154), -1px -1px rgb(154, 154, 154), 1px -1px rgb(154, 154, 154), -1px 1px rgb(154, 154, 154), 31px 31px #eddfa1, -31px -31px #eddfa1,
    31px -31px #eddfa1, -31px 31px #eddfa1, 36px 36px black, -36px -36px black, 36px -36px black, -36px 36px black, 38px 38px white, -38px -38px white, 38px -38px white,
    -38px 38px white, 40px 40px black, -40px -40px black, 40px -40px black, -40px 40px black;
}

main .section-aPropos .article-aPropos #nomAPropos {
  position: absolute;
  bottom: -25px;
  right: 0;
  width: 100%;
  padding: 0 15%;
  text-align: right;
}

/* ---------- EXPOSITIONS ---------- */

.main-expositions .section-expositions {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px 0;
}

.main-expositions p {
  text-align: center;
}

.main-expositions .section-expositions img {
  width: 33%;
}

/* ---------- CONTACT ---------- */

main .section-contact {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

main .section-contact .article-contact {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

main .section-contact .article-contact form {
  width: 350px;
  margin: 50px 0;
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  gap: 32px;
}

.inputBox {
  position: relative;
  width: 100%;
}

.inputBox input,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 8px;
  border: none;
  border-bottom: 2px solid #111;
  background: transparent;
  outline: none;
  color: #111;
  font-size: 1em;
}

.inputBox textarea {
  height: 80px;
}

.inputBox label {
  position: absolute;
  left: 4px;
  bottom: 8px;
  pointer-events: none;
  font-size: 18px;
  color: #111;
  transition: 0.3s;
}

.inputBox input:valid ~ label,
.inputBox input:focus ~ label {
  transform: translateY(-20px);
  font-weight: bolder;
  letter-spacing: 0.2em;
  left: 6px;
}

.inputBox textarea:valid ~ label,
.inputBox textarea:focus ~ label {
  transform: translateY(-70px);
  font-weight: bolder;
  letter-spacing: 0.2em;
  left: 6px;
}

.inputBox input:-webkit-autofill,
.inputBox input:-webkit-autofill:hover,
.inputBox input:-webkit-autofill:focus {
  box-shadow: 0 0 0px 1000px #fff inset;
  box-shadow: 0 0 0px 1000px #fff inset;
  box-shadow: 0 0 0px 1000px #fff inset;
}

#submitButton {
  width: fit-content;
  margin: 0 auto;
  border: none;
  border-bottom: 2px solid #111;
  padding: 8px 16px;
  font-size: 18px;
  background-color: transparent;
  outline: none;
  transition: 0.3s;
  cursor: pointer;
}

#submitButton:hover {
  font-weight: bolder;
  letter-spacing: 0.2em;
}

#formContact span {
  color: red;
  font-size: 12px;
}

/* ---------- FOOTER ---------- */

footer {
  position: relative;
  display: flex;
  justify-content: start;
  align-items: start;
  width: 100%;
  gap: 50px;
  height: 150px;
  margin-top: 50px;
  padding: 30px;
  border-top: solid 1px black;
}

footer::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 80%;
  height: 1px;
  background-color: #111;
  transform: translateX(-50%);
}

footer .conditions p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
}

footer .conditions ul {
  list-style: none;
}

footer .conditions ul li a {
  text-decoration: none;
  color: #111;
  position: relative;
}

footer .conditions ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: #111;
  transition: 0.3s;
}

footer .conditions ul li a:hover::before {
  width: 100%;
}

footer .socialLinks {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
}

footer .socialLinks p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
}

footer .socialLinks .sLinks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

footer .socialLinks .sLinks img {
  width: 44px;
  height: 44px;
  transition: 0.3s;
}

footer .socialLinks .sLinks img:hover {
  transform: scale(1.1);
}

footer span {
  display: block;
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 10px;
}

/* ---------- DP ---------- */

.main-DP {
  display: flex;
  justify-content: start;
  align-items: start;
  padding: 50px;
}

.main-DP .section-DP {
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: start;
}

.main-DP .section-DP .article-DP {
  width: 70%;
  margin: 50px 0;
}
