/*reset*/

@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@100;300;400;500;700;900&display=swap');

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-size: 1.6rem;
  font-family: 'Encode Sans', sans-serif;
  margin: 0;
  font-weight: 300;
  background-color: #191c1f;
  text-transform: capitalize;
}

h1,
h2,
h3,
p,
figure,
ul,
ol,
section {
  margin: 0;
  padding: 0;
  list-style: none;
}

a,
button {
  text-decoration: none;
  padding: 0;
  border: 0;
}

img {
  display: inline-block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

* {
  box-sizing: border-box;
}

:root {
  --color-defaut: #222;
  --color-primary: #e8f3e8;
  --color-secondary: #34495e;
  --color-tertiaire: #1a3236;
  --color-defaut: #975102;
  --color-header: #0a3409;
}

/* scroll bars */

* {
  /* For FF and non-webkit browsers */
  scrollbar-width: thin;
  scrollbar-color: #222 #333;
}

*::-webkit-scrollbar {
  width: 0.2rem;
}

*::-webkit-scrollbar-thumb {
  background-color: #222;
  outline: 0.1rem solid #333;
}

/*theme*/
header {
  padding: 1rem;
}

header h1 {
  text-align: center;
  font-size: 7rem;
  font-weight: 900;
  color: rgb(255, 255, 255);
  text-shadow:
    #fff 0px 0px 4px,
    #27ae60 0px 0px 15px,
    #27ae60 0px 0px 20px,
    #27ae60 0px 0px 25px,
    #27ae60 0px 0px 40px;
}
header a {
  color: #fff !important;
}

/*MAIN*/

main {
  min-height: 80vh;
  margin: 1rem auto;
}

main h2 {
  font-size: 3rem;
  padding: 0.5rem;
  color: #fff;
}

main section h2 {
  text-align: center;
  font-size: 3rem;
  color: #fff;
  text-transform: capitalize;
}
main .page {
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 2rem;
}

main section p a {
  background-color: #fafafa;
  padding: 0.5rem 5rem;
  color: #000;
  font-weight: 700;
  font-size: 2rem;
  display: inline-block;
  border-radius: 0.75rem;
}

main section {
  margin: 1rem auto;
  display: block;
  border-radius: 0.75rem;
}

main section ul {
  padding: 2rem;
}

main section ul li {
  color: #fff;
}

main section img {
  margin: 1rem auto;
  display: block;
  object-fit: contain;
  border-radius: 0.75rem;
}

main section p {
  text-align: center;
}

.swiper {
  padding: 2rem;
  margin: 3rem auto;
  min-height: 70vh;
}
.swiper .swiper-wrapper {
  align-items: center;
}
.swiper .swiper-slide {
  border-radius: 5px;
  min-height: 40vh;
  background-color: #000;
  border: 1px solid #fff;
  transition: 0.2s;
}
.swiper .swiper-slide img {
  min-height: 40vh;
  border-radius: 0.75rem;
  object-fit: cover;
}
.swiper .swiper-slide.active {
  min-height: 70vh;
}
.swiper .prev,
.swiper .next {
  cursor: pointer;
  z-index: 100;
  border-radius: 20%;
  padding: 1rem;
  background-color: #000;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.95;
  transition: 0.2s;
}
.swiper .prev:hover,
.swiper .next:hover {
  opacity: 1;
}
.swiper .prev svg,
.swiper .next svg {
  width: 2rem;
  height: 2rem;
}
.swiper .prev svg path,
.swiper .next svg path {
  fill: #fff;
}
.swiper .prev {
  left: 25px;
}
.swiper .next {
  right: 25px;
}
.swiper .pagination {
  margin: 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  z-index: 100;
}
.swiper .pagination span {
  font-size: 0;
  opacity: 1;
  margin: 1rem;
  border: 0.2rem solid #fff;
}
.swiper .pagination span.swiper-pagination-bullet-active {
  background-color: transparent;
  transform: scale(1.5);
  border: 0.5rem solid #fff;
}

/* Footer */
footer .contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.5rem;
}

footer {
  color: #fff;
  background-color: #111;
  padding: 1rem;
  border-top: solid 0.5rem rgba(0, 0, 0, 0.37);
}

footer ul {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}

footer .tel img,
footer .mail img,
footer .cv img,
footer .link a:nth-child(1) img {
  filter: invert(1);
}

footer ul:first-child,
footer ul:nth-child(2) {
  border-right: solid 0.3rem rgb(255, 255, 255);
}

footer ul:last-child {
  border-left: solid 0.3rem rgb(255, 255, 255);
}

footer ul li {
  align-items: center;
}

footer ul li a img {
  display: inline-block;
  max-width: 5rem;
  vertical-align: middle;
  margin-right: 1rem;
}

footer ul li a {
  color: #fff;
  font-size: 2rem;
  text-align: center;
}

footer p {
  padding: 1rem;
  font-size: 1.6rem;
  text-align: start;
}

@media screen and (max-width: 75rem) {
  main {
    padding: 1rem;
  }

  footer .contact {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  footer ul li a img {
    display: inline-block;
    vertical-align: middle;
    max-width: 3.5rem;
  }

  footer ul {
    padding: 1rem;
  }

  footer .ico {
    margin: 1rem;
  }

  footer ul:first-child {
    border-right: none;
  }

  footer ul:last-child {
    border-left: none;
  }

  footer ul li a {
    display: inline-block;
    vertical-align: middle;
  }

  main .up {
    position: fixed;
    max-width: 4rem;
    padding: 1rem;
    max-height: 4rem;
    bottom: 2rem;
    right: 2rem;
    background-color: #fafafa;
    border-radius: 0.5rem;
    box-shadow: 0 0 0.5rem rgba(47, 47, 47, 0.725);
    border: solid 0.2rem #111;
    transform: rotate(180deg);
  }
}
