:root {
  --primary-color: #177e89;
  --secondary-color: #cfe0c3;
  --third-color: #ef6013db;
  --fourth-color: #d4c2fc;
  --fifth-color: #8a7090;
  --sixth-color: #2e515d;
}
*,
* :before,
*:after {
  box-sizing: border-box;
}
html,
body {
  font-family: "Manrope", sans-serif;
  background: url(/ressources/images/b4.png) fixed center center;
  margin: 0;
  padding: 0;
  color: #f0f0f0;
}
html {
  height: 100%;
  scroll-behavior: smooth;
  font-size: 100%;
}
h2 {
  font-family: "Merriweather Sans", sans-serif;
  font-size: clamp(0.4rem, 3vw + 1.9rem, 3.5rem);
  margin: 4rem 0 6rem 0;
}
p {
  font-size: clamp(0.4rem, 1.5vw + 1.1rem, 1rem);
}
a {
  text-decoration: none;
  color: #f0f0f0;
}

/* **********************************************        Nav Bar        ********************************************** */

header {
  width: 90%;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(42, 39, 39, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 10px;
  margin: 2rem auto;
  z-index: 4;
}
header h2 {
  font-size: clamp(1.3rem, 2vw + 1rem, 1.8rem);
  margin: 0;
}
.nav-title a {
  position: relative;
  display: inline-block;
}
.nav-title a::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  width: 100%;
  height: 2px;
  transform: scale(0);
  transform-origin: left;
  background-color: var(--secondary-color);
  transition: transform 0.3s ease-out;
}
.nav-title a:hover::before {
  transform: scaleX(1);
}
header .onglets {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 2rem;
}
header .sous-onglets a {
  font-size: clamp(0.6rem, 1vw + 0.8rem, 1.3rem);
  margin-right: 1rem;
  position: relative;
  display: inline-block;
  font-weight: 600;
}
header .sous-onglets a:nth-child(4) {
  margin-right: 0;
}
header .sous-onglets a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  width: 100%;
  height: 1px;
  transform: scale(0);
  transform-origin: left;
  background-color: var(--secondary-color);
  transition: transform 0.3s ease-out;
}
header .sous-onglets a:hover::after {
  transform: scaleX(1);
}
.header__burger {
  display: none;
}
.header__burger svg {
  stroke: #f0f0f0;
  width: 30px;
}
header .header__nav__close {
  display: none;
}
header .header__nav__close svg {
  stroke: #177e89;
  width: 30px;
  position: absolute;
  top: 16px;
  left: 16px;
}

/* ********************************************        Section 1  Hero       ********************************************* */

.main {
  background: url(/ressources/images/birdModif/grive-musicienne122.png)
    no-repeat center / cover;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero {
  margin: 2% 0 0 7%;
}
.hero h1 {
  font-size: clamp(0.4rem, 3vw + 2.5rem, 4.9rem);
  letter-spacing: -2px;
  margin: 0 0 5rem 0;
}
.main-button {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: auto;
  height: 62px;
  gap: 12px;
  background: var(--primary-color);
  box-shadow: 6px 7px 20px 1px rgb(0 0 0 / 57%);
  border-radius: 45px;
  border: none;
  color: var(--secondary-color);
  font-size: clamp(1rem, 3vw + 1rem, 1.2rem);
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.4s ease-in-out;
  padding: 1.2rem;
}
.main-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  outline: 2px solid var(--primary-color);
}
.mini-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border: 1px solid var(--secondary-color);
  border-radius: 50%;
}
.main-button:hover .mini-circle {
  border: 1px solid var(--primary-color);
}
.main-button:hover img {
  content: url("/ressources/images/vectorblue.png");
}

/* ********************************************        Section 2  Galleries       ********************************************* */

.galleries {
  position: relative;
  width: 100%;
  height: auto;
  height: auto;
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* background: url(/ressources/images/b4.png) no-repeat center / cover; */
  padding: 5rem 0 7rem 0;
}
.galleries-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-container {
  display: grid;
  max-width: 800px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 3rem;
  grid-row-gap: 3rem;
  justify-content: center;
}
.grid-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.galleries h2 {
  margin: 0 0 2rem 6rem;
  color: var(--primary-color);
}
.card {
  position: relative;
  width: 100%;
  height: 290px;
  transition: 0.4s ease-in-out;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 6px 7px 20px 1px rgba(0, 0, 0, 0.391);
}
.card-container {
  display: inherit;
}
.card::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(rgb(255 255 255 / 0%), rgb(24 24 24 / 51%));
  z-index: 2;
}
.card-text {
  position: absolute;
  bottom: 10%;
  left: 10%;
  z-index: 3;
  font-family: "Merriweather Sans", sans-serif;
}
.card h3 {
  font-size: clamp(0.4rem, 1.5vw + 0.8rem, 1.4rem);
}
.card h4 {
  display: inline-block;
  border: 1.5px solid;
  padding: 0.6rem;
  margin: 0;
}
.card:hover {
  -ms-transform: scale(1.01); /* IE 9 */
  -webkit-transform: scale(1.01); /* Safari 3-8 */
  transform: scale(1.03);
  opacity: 98%;
}
.card4 {
  grid-area: 2 / 1 / 3 / 3;
}
.card5 {
  grid-area: 2 / 3 / 3 / 4;
}
#d4 {
  bottom: 7rem;
}

/* ********************************************        Section 3  About       ********************************************* */

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  height: auto;
  background: url(/ressources/images/Slice10.png) no-repeat center / cover;
  /* background-color: var(--secondary-color); */
  color: var(--sixth-color);
  position: relative;
  padding: 8rem 0;
}

#circle-shape {
  font-family: "Roboto", sans-serif;
  margin: 2rem;
  max-width: 800px;
}
#circle-shape p {
  line-height: 1.9rem;
  font-size: clamp(0.1rem, 1vw + 0.5rem, 0.9rem);
  padding: 2rem 0rem;
  letter-spacing: 0.3px;
}
#circle-shape h2 {
  margin: 0;
}
#circle-shape .curve {
  width: 220px;
  height: auto;
  min-width: 150px;
  float: left;
  margin-right: 3rem;
  border-radius: 50%;
  -webkit-shape-outside: circle();
  shape-outside: circle();
  padding: 0rem;
}
.down-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 10%;
  left: 94%;
  cursor: pointer;
  border: 1.5px solid var(--secondary-color);
  transition: 0.2s ease-in-out;
}
.d1 {
  bottom: 4%;
}
.d3 {
  bottom: 6%;
}
.point {
  width: 3.5px;
  height: 3.5px;
  background-color: var(--secondary-color);
  margin-bottom: 3.5px;
  border-radius: 50px;
}
.point3 {
  margin-bottom: 5px;
}
.chevron {
  display: flex;
}
.barre {
  width: 10px;
  height: 2px;
  background-color: var(--secondary-color);
  transform-origin: bottom right;
  transform: rotate(45deg);
  border-radius: 10px;
  margin-top: 2px;
}
.barre1 {
  transform-origin: bottom right;
  transform: rotate(45deg);
}
.barre2 {
  transform: rotate(-45deg);
  transform-origin: bottom left;
}
.down-button:hover .barre {
  background-color: var(--secondary-color);
}
.down-button:hover {
  border: 2.5px solid var(--sixth-color);
  background-color: var(--secondary-color);
}
.down-button:hover .point {
  border: var(--sixth-color);
  background-color: var(--sixth-color);
}
.down-button:hover .barre {
  background-color: var(--sixth-color);
}
.down-button2 {
  border: 1px solid var(--sixth-color);
}
.down-button2 .point {
  background-color: var(--sixth-color);
}
.down-button2 .barre {
  background-color: var(--sixth-color);
}
.down-button2:hover {
  border: 2.5px solid var(--secondary-color);
  background-color: var(--sixth-color);
}
.down-button2:hover .point {
  border: var(--secondary-color);
  background-color: var(--secondary-color);
}
.down-button2:hover .barre {
  background-color: var(--secondary-color);
}

/* ********************************************        Section 4 Contact      ********************************************* */

.contact-section {
  position: relative;
  width: 100%;
  height: 80vh;
  height: 80dvh;
  font-family: "Roboto", sans-serif;
  background: linear-gradient(
    113.75deg,
    #2c4e58 32.55%,
    rgba(10, 167, 178, 0.64) 123.6%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.left-box2 {
  display: flex;
  flex-direction: column;
  padding: 0 15rem;
  width: 40%;
  height: auto;
}
.left-box2 h2 {
  margin: 0 0 4rem 0;
}
.mini-mail {
  margin-bottom: 2rem;
}
form {
  display: flex;
  flex-direction: column;
}
.input-text {
  font-weight: bolder;
  border-radius: 5px;
  width: 250px;
  outline: none;
  border: none;
  padding: 1rem;
}
input {
  height: 40px;
}
textarea {
  margin-bottom: 2rem;
  font-size: 1.1em;
  padding-top: 1rem;
}
.img2 {
  height: 65%;
  width: 50%;
  max-width: 600px;
  border-radius: 10px;
  background: url(/ressources/images/birdModif/m2.webp) no-repeat center / cover;
}
.button2 {
  margin-top: 0.5rem;
  width: 160px;
  height: 45px;
  font-size: clamp(1rem, 2vw + 0.8rem, 1rem);
}
.mini-circle2 {
  height: 30px;
  width: 30px;
  margin-left: -0.8rem;
}
.mini-circle2 img {
  height: 15px;
}

/* ********************************************     Footer    ********************************************* */

footer {
  position: relative;
  width: 100%;
  height: 20vh;
  height: 20dvh;
  font-family: "Roboto", sans-serif;
  color: rgb(44, 42, 42);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
footer a {
  font-size: clamp(0.3rem, 0.7vw + 0.5rem, 1rem);
  color: rgb(44, 42, 42);
}
footer p {
  margin: 0;
}
footer img {
  cursor: pointer;
}
.logos {
  display: flex;
  gap: 2rem;
}
.logos img {
  width: 30px;
  height: auto;
}
.rubrics {
  display: flex;
  gap: 2rem;
}
.rubrics a {
  margin: 1.7rem 0.8rem;
}
footer a:hover {
  color: rgb(71, 106, 106);
}
.borderline {
  font-size: clamp(0.3rem, 0.7vw + 0.5rem, 0.8rem);
  display: flex;
  gap: 1rem;
  height: auto;
  align-content: center;
  align-items: center;
  color: rgb(44, 42, 42);
}
.borderline a {
  color: rgb(44, 42, 42);
}
.borderline span {
  color: rgb(221, 78, 78);
}
.borderline img {
  width: 28px;
  height: auto;
}
.logo1:hover {
  content: url("/ressources/rs/insta.png");
}
.logo2:hover {
  content: url("/ressources/rs/800px-Telegram_Messenger.png");
}
.logo3:hover {
  content: url("/ressources/rs/twitter.png");
}
.logo4:hover {
  content: url("/ressources/rs/github.png");
}
.up-barre {
  width: 12px;
  height: 2px;
  background-color: var(--sixth-color);
  transform-origin: top-left;
  transform: rotate(45deg);
  border-radius: 10px;
  margin-bottom: 0.5rem;
}
.down-button:hover .up-barre {
  background-color: var(--secondary-color);
}
.up-barre1 {
  transform-origin: 100%;
  transform: rotate(-45deg);
}
.up-barre2 {
  transform: rotate(45deg);
  transform-origin: 0%;
}
