@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700&family=Poppins:wght@100;200;300&display=swap");

:root {
  --orange: #ff7f00;
}

* {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
  /* text-transform: capitalize; */
  outline: none;
  transition: all 0.2s linear;
}

*::selection {
  background: var(--orange);
  color: #fff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 6rem;
  scroll-behavior: smooth;
}

section {
  padding: 6rem 9%;
}

.heading {
  text-align: center;
  color: #fff;
  /* text-transform: capitalize; */
  padding: 3.5rem;
  font-size: 4rem;
  background: black;
  border-radius: 5rem 5rem 0 0;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--orange);
  color: #333;
  padding: 1rem 4rem;
  border: 0.3rem solid #333;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1.7rem;
  font-weight: bold;
  text-decoration: none;
}

.btn:hover {
  background: #333;
  color: white;
  border-radius: 0.5rem;
  transform: scale(1);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #333;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 1rem 9%;
  border-bottom-style: inset;
}

header .logo {
  font-size: 3rem;
  font-weight: bolder;
  color: #fff;
  text-transform: uppercase;
}

header .logo img {
  height: 12rem;
  width: 30rem;
}

header .logo span {
  color: var(--orange);
  font-size: 4rem;
}

header .navbar a {
  color: #fff;
  font-size: 2.3rem;
  margin: 0 4rem;
  text-decoration: none;
}

header .navbar a:hover {
  color: var(--white);
  background-color: var(--orange);
  border: 0.1rem solid white;
  /* padding-bottom: 0.5rem; */
  transform: scale(1);
  text-decoration: none;
  padding: 5px;
  border-radius: 0.5rem;
}

#menu-bar {
  color: #fff;
  border: 0.1rem solid #fff;
  border-radius: 0.5rem;
  font-size: 3rem;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  display: none;
}

.home {
  min-height: 100vh;
  display: flex;
  align-items: right;
  justify-content: unset;
  flex-flow: column;
  position: relative;
  z-index: 0;
  background-image: url(../Img/accueil.jpg);
  background-size: cover;
  background-position: center;
  margin-top: 5rem;
}

.home .content {
  margin-top: 10rem;
  text-align: center;
  max-width: 50rem;
  background-color: var(--orange);
  background-clip: padding-box;
  padding: 2rem;
  box-shadow: 8px 12px 25px 12px rgba(0, 0, 0, 0.83);
  /* opacity: 0.8; */
  outline: 40px solid rgba(0, 0, 0, 0.5);
  outline-offset: 8px;
}

.home .content h3 {
  font-size: 4rem;
  color: whitesmoke;
  /* text-transform: uppercase; */
  text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.home .content h3 span {
  color: #333;
}

.home .content p {
  font-size: 2.5rem;
  color: whitesmoke;
  padding: 0.5rem 0;
}
.home .content .shar {
  padding: 0rem 0;
}

.home .content .shar a {
  /* height: 5rem;
  width: 5rem; */
  line-height: 5rem;
  font-size: 4rem;
  color: #333;
  border: white;
  margin: 3rem;
  border-radius: 50%;
  text-decoration: none;
}
.home .content .shar a:hover {
  color: rgb(255, 255, 255);
}

/* Gallery starts */
/* 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: capitalize;
  transition: all 0.2s cubic-bezier(0.34, 1.12, 0.68, 1.31);
} */

.gallery {
  min-height: 100vh;
  background: #666;
  padding-bottom: 100px;
  margin-top: 8rem;
}

.gallery .controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
  list-style: none;
}

.gallery .controls .buttons {
  /* height: 40px;
  width: 140px; */
  padding: 1.5rem;
  background: #fff;
  color: var(--orange);
  font-size: 20px;
  line-height: 40px;
  cursor: pointer;
  margin: 20px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  text-align: center;
  border-radius: 5rem;
  border-style: groove;
}

.gallery .controls .buttons.active {
  background: var(--orange);
  color: #fff;
}
.gallery .controls .buttons:hover {
  background-color: var(--orange);
  transform: scale(1.2);
  color: #fff;
}

.gallery .image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery .image-container .image {
  height: 250px;
  width: 350px;
  overflow: hidden;
  border: 10px solid #fff;
  margin: 20px;
}

.gallery .image-container .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.gallery .image-container .image:hover img {
  transform: scale(1.4);
}

/* Gallery  ends */

/*CONTACT START */
.contact {
  margin-top: 13rem;
  background-color: #222;
}
.contact .heading {
  color: var(--orange);

  border-bottom: groove 1px var(--orange);
}
.contact .row {
  display: flex;
  background: #333;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem;
}

.contact .row form {
  flex: 1 1 45rem;
  padding: 5rem 2;
  text-align: center;
}
.contact .row form h3 {
  text-transform: uppercase;
  font-size: 2.5rem;
  color: var(--orange);
}
.contact .row form .info {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background: #222;
  border-radius: 5rem;
}
.contact .row form .info span {
  color: var(--orange);
  font-size: 3rem;
  padding: 2rem;
}
.contact .row form .info p {
  width: 90%;
  padding: 2rem;
  font-size: 2rem;
  color: #fff;
  text-transform: none;
  background: none;
  align-items: center;
}
.contact .row .info a {
  width: 90%;
  padding: 2rem;
  font-size: 2rem;
  color: var(--orange);
  text-transform: none;
  background: none;
  align-items: center;
}

/* CONTACT END */

/* footer */

.footer {
  background: #333;
  text-align: center;
  border-top: outset;
  padding: 0;
}

.footer .shar {
  padding: 1rem 0;
}

.footer .shar a {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 4rem;
  color: rgb(255, 255, 255);
  border: white;
  margin: 3rem;
  border-radius: 50%;
  text-decoration: none;
}
.footer .shar a:hover {
  background: var(--orange);
  text-decoration: none;
}
.footer .links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 0;
  gap: 1rem;
}
.footer .links a {
  padding: 0.7rem 2rem;
  color: rgb(255, 255, 255);
  border: solid 3px var(--orange);
  font-size: 2rem;
  text-decoration: none;
}
.footer .links a:hover {
  background: var(--orange);
}

/* media queries */

@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 991px) {
  header {
    padding: 2rem;
  }
}
@media (max-width: 768px) {
  #menu-bar {
    display: initial;
  }
  #menu-bar:hover {
    background: var(--orange);
  }

  header .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #333;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  header .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  header .navbar a {
    display: block;
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    margin: 1.5rem 0;
    background: #222;
    transform: scale(1);
    font-size: 2.5rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
}
@media (max-width: 325px) {
  html {
    font-size: 40%;
  }
}
