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

.main-title {
  text-align: center;
}

.main-title h2 {
  position: relative;
  text-transform: uppercase;
  font-size: 4rem;
  font-weight: 700;
}

.main-title h2 span {
  color: rgb(57, 57, 57);
}

.main-title h2 .bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fafafa;
  transition: all 0.4s ease-in-out;
  z-index: -1;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 6.3rem;
}

.dark .main-title h2 span {
  color: rgb(256, 256, 256);
}

.dark .main-title h2 .bg-text {
  color: rgb(256, 256, 256, 0.2);
}

body {
  transition: 0.3s;
  margin: 0;
  padding: 0;
  background-color: #eaeaea;
  font-family: "Poppins", sans-serif;
  color: rgb(57, 57, 57);
}

h1 {
  font-size: 80px;
  line-height: 70px;
  font-weight: 400;
  margin: 10px 0;
}

h2 {
  font-size: 40px;
  line-height: 40px;
  font-weight: 300;
  margin: 50px 0 10px 0;
}

.main-text .intro-subtitle {
  font-size: 30px;
}

.main-text .text-slider-items {
  display: none;
}

p {
  margin: 0px;
  /* font-size: 30px; */
}

a {
  color: #182a3f;
  font-size: 20px;
  text-decoration: none;
  font-weight: 100;
}

.dark a {
  color: #cde1f8;
}

header {
  display: flex;
  justify-content: flex-end;
  padding: 10px 30px;
  z-index: 99;
}

.switch {
  width: 80px;
  height: 40px;
  border-radius: 20px;
  background-color: rgb(39, 38, 38);
  position: relative;
}

.flicker {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background-color: rgb(255, 255, 255);
  position: absolute;
  top: 5px;
  left: 5px;
  transition: 0.3s;
  box-shadow: inset 4px 4px 4px rgb(255, 255, 255),
    inset -4px -4px 4px rgb(195 193 198 / 90%);
}

.dark {
  background-color: rgb(57, 57, 57);
  transition: 0.3s;
}

.moon {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  box-shadow: 4px 4px 0 0 rgb(255, 255, 255);
  position: absolute;
  top: 5px;
  left: 45px;
}

.dark .flicker {
  transform: translateX(40px);
}

.dark > * {
  color: rgb(255, 255, 255);
}

.dark .about {
  color: #fff;
}

.main {
  height: 90vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  padding-top: 150px;
}

.main-text {
  padding: 30px;
  margin-bottom: 100px;
}

.square {
  width: 98%;
  margin: 1%;
  height: 350px;
  background-color: rgb(255, 255, 255);
  text-align: center;
}

.dark .square {
  background-color: rgb(71, 71, 71);
}

#revenoo {
  background-image: url("../images/revenoo-app.png");
  background-size: cover;
}

#burgerrator {
  background-image: url("../images/burgerrator.png");
  background-size: cover;
}

#news {
  background-image: url("../images/news-app.png");
  background-size: cover;
}

#dates {
  background-image: url("../images/dates-app.png");
  background-size: cover;
}

.sub-section {
  display: flex;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  width: 50%;
  height: 350px;
  display: block;
  margin-bottom: 100px;
}

.cube {
  position: absolute;
  width: 80px;
  height: 80px;
  transform: rotate(-25deg) skew(25deg);
}

.cube:before {
  position: absolute;
  content: "";
  width: 21px;
  height: 100%;
  transform: skewY(-45deg);
  left: -20px;
  bottom: -10px;
}

.cube:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 21px;
  transform: skewX(-45deg);
  left: -10px;
  bottom: -20px;
}

#html {
  left: 100px;
  bottom: 80px;
  background-image: url("../images/html-square.png");
  background-size: cover;
  background-color: rgb(175, 119, 227);
  box-shadow: -60px 60px 20px rgb(50 50 50/ 15%);
}

#html:before {
  background-color: rgb(189, 154, 221);
}

#html:after {
  background-color: rgb(205, 188, 221);
}

#css {
  left: 250px;
  bottom: 240px;
  background-image: url("../images/css-square.png");
  background-size: cover;
  background-color: rgb(227, 119, 191);
  box-shadow: -100px 100px 20px rgb(50 50 50/ 15%);
}

#css:before {
  background-color: rgb(221, 154, 207);
}

#css:after {
  background-color: rgb(221, 188, 211);
}

#javascript {
  left: 450px;
  bottom: 200px;
  background-image: url("../images/javascript-square.png");
  background-size: cover;
  background-color: rgb(119, 227, 186);
  box-shadow: -40px 40px 20px rgb(50 50 50/ 15%);
}

#javascript:before {
  background-color: rgb(154, 221, 202);
}

#javascript:after {
  background-color: rgb(188, 221, 212);
}

#react {
  left: 350px;
  bottom: 40px;
  background-image: url("../images/react-square.png");
  background-size: cover;
  background-color: rgb(119, 193, 227);
  box-shadow: -80px 80px 20px rgb(50 50 50/ 15%);
}

#react:before {
  background-color: rgb(154, 189, 221);
}

#react:after {
  background-color: rgb(188, 200, 221);
}

#wordpress {
  left: 600px;
  bottom: 30px;
  background-image: url("../images/wordpress-square.png");
  background-size: cover;
  background-color: rgb(119, 193, 227);
  box-shadow: -80px 80px 20px rgb(50 50 50/ 15%);
}

#wordpress:before {
  background-color: rgb(154, 189, 221);
}

#wordpress:after {
  background-color: rgb(188, 200, 221);
}

footer {
  display: flex;
  justify-content: center;
}

.dark footer {
  /* background-color: rgb(28, 28, 28); */
}

.box-shadow,
.paralax-mf,
.service-box,
.work-box,
.card-blog {
  /* box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1); */
}

.box-shadow-a,
.button:hover {
  box-shadow: 0 0 0 4px #cde1f8;
}

.display-5 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.1;
}

.display-6 {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.1;
}

.avatar {
  width: 32px;
  height: 32px;
  margin-right: 4px;
  overflow: hidden;
}

.display-table {
  width: 100%;
  height: 100%;
  display: table;
}

.table-cell {
  display: table-cell;
  vertical-align: middle;
}

@media only screen and (min-width: 970px) {
  .main-text {
    width: 50%;
  }

  .square {
    width: 48%;
    margin: 1%;
    height: 600px;
  }
}

@media only screen and (max-width: 1300px) {
  .hero-image {
    display: none;
  }
}

/* Back to top button */

.back-to-top {
  position: fixed;
  display: none;
  background: rgb(57, 57, 57);
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  padding-top: 12px;
  color: #fff;
}

.dark .back-to-top {
  background: #fff;
}

.dark .back-to-top i {
  color: rgb(57, 57, 57);
}

/*======================================
//--//-->   NAVBAR
======================================*/

.navbar-b {
  transition: all 0.5s ease-in-out;
  background-color: #eaeaea;
}

.navbar-b.navbar-reduce {
  box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.06);
}

.navbar-b.navbar-trans .nav-item,
.navbar-b.navbar-reduce .nav-item {
  position: relative;
  padding-right: 10px;
  padding-left: 0;
}

.navbar-b.navbar-trans .nav-link,
.navbar-b.navbar-reduce .nav-link {
  color: rgb(57, 57, 57);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
}

.navbar-b.navbar-trans .nav-link:before,
.navbar-b.navbar-reduce .nav-link:before {
  content: "";
  position: absolute;
  margin-left: 0px;
  width: 0%;
  bottom: 0;
  left: 0;
  height: 2px;
  transition: all 500ms ease;
}

.navbar-b.navbar-trans .nav-link:hover,
.navbar-b.navbar-reduce .nav-link:hover {
  color: #1b1b1b;
}

.navbar-b.navbar-trans .nav-link:hover:before,
.navbar-b.navbar-reduce .nav-link:hover:before {
  width: 35px;
}

.navbar-b.navbar-trans .show > .nav-link:before,
.navbar-b.navbar-trans .active > .nav-link:before,
.navbar-b.navbar-trans .nav-link.show:before,
.navbar-b.navbar-trans .nav-link.active:before,
.navbar-b.navbar-reduce .show > .nav-link:before,
.navbar-b.navbar-reduce .active > .nav-link:before,
.navbar-b.navbar-reduce .nav-link.show:before,
.navbar-b.navbar-reduce .nav-link.active:before {
  width: 35px;
}

.navbar-b.navbar-trans .nav-link:before {
  background-color: rgb(57, 57, 57);
}

.navbar-b.navbar-trans .nav-link:hover {
  color: rgb(57, 57, 57);
}

.navbar-b.navbar-trans .show > .nav-link,
.navbar-b.navbar-trans .active > .nav-link,
.navbar-b.navbar-trans .nav-link.show,
.navbar-b.navbar-trans .nav-link.active {
  color: rgb(57, 57, 57);
}

.navbar-b.navbar-reduce {
  transition: all 0.5s ease-in-out;
  background-color: #eaeaea;
}

.navbar-b.navbar-reduce .nav-link {
  color: rgb(57, 57, 57);
}

.navbar-b.navbar-reduce .nav-link:before {
  background-color: rgb(57, 57, 57);
}

.navbar-b.navbar-reduce .nav-link:hover {
  color: rgb(57, 57, 57);
}

.navbar-b.navbar-reduce .show > .nav-link,
.navbar-b.navbar-reduce .active > .nav-link,
.navbar-b.navbar-reduce .nav-link.show,
.navbar-b.navbar-reduce .nav-link.active {
  color: rgb(57, 57, 57);
}

.navbar-b.navbar-reduce .navbar-brand {
  color: rgb(57, 57, 57);
}

.navbar-b.navbar-reduce .navbar-toggler span {
  background-color: #1b1b1b;
}

.navbar-b .navbar-brand {
  color: rgb(57, 57, 57);
  font-size: 1.6rem;
  font-weight: 600;
}

.navbar-b .navbar-nav .dropdown-item.show .dropdown-menu,
.navbar-b .dropdown.show .dropdown-menu,
.navbar-b .dropdown-btn.show .dropdown-menu {
  -webkit-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
  visibility: visible !important;
}

.navbar-b .dropdown-menu {
  margin: 1.12rem 0 0;
  border-radius: 0;
}

.navbar-b .dropdown-menu .dropdown-item {
  padding: 0.7rem 1.7rem;
  transition: all 500ms ease;
}

.navbar-b .dropdown-menu .dropdown-item:hover {
  background-color: #182a3f;
  color: rgb(57, 57, 57);
  transition: all 500ms ease;
}

.navbar-b .dropdown-menu .dropdown-item.active {
  background-color: rgb(57, 57, 57);
}

/* DARK THEME */

.dark .navbar-b.navbar-trans .nav-link:before {
  background-color: #fff;
}

.dark .navbar-b.navbar-trans .nav-link:hover {
  color: #fff;
}

.dark .navbar-b.navbar-trans .show > .nav-link,
.dark .navbar-b.navbar-trans .active > .nav-link,
.dark .navbar-b.navbar-trans .nav-link.show,
.dark .navbar-b.navbar-trans .nav-link.active {
  color: #fff;
}

.dark .navbar-b.navbar-reduce .nav-link {
  color: #fff;
}

.dark .navbar-b.navbar-reduce .nav-link:before {
  background-color: #fff;
}

.dark .navbar-b.navbar-reduce .nav-link:hover {
  color: #fff;
}

.dark .navbar-b.navbar-reduce .show > .nav-link,
.dark .navbar-b.navbar-reduce .active > .nav-link,
.dark .navbar-b.navbar-reduce .nav-link.show,
.dark .navbar-b.navbar-reduce .nav-link.active {
  color: #fff;
}

.dark .navbar-b.navbar-reduce .navbar-brand {
  color: #fff;
}

.dark .navbar-b .navbar-brand {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
}

.dark .navbar-b .dropdown-menu .dropdown-item.active {
  background-color: #fff;
}

/*--/ Hamburger Navbar /--*/

.navbar-toggler {
  position: relative;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: 0;
}

.navbar-toggler span {
  display: block;
  background-color: rgb(57, 57, 57);
  height: 3px;
  width: 25px;
  margin-top: 4px;
  margin-bottom: 4px;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  left: 0;
  opacity: 1;
}

.navbar-toggler span:nth-child(1),
.navbar-toggler span:nth-child(3) {
  transition: -webkit-transform 0.35s ease-in-out;
  transition: transform 0.35s ease-in-out;
  transition: transform 0.35s ease-in-out, -webkit-transform 0.35s ease-in-out;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
  position: absolute;
  left: 12px;
  top: 10px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  opacity: 0.9;
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
  height: 12px;
  visibility: hidden;
  background-color: transparent;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
  position: absolute;
  left: 12px;
  top: 10px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  opacity: 0.9;
}

.dark .navbar-b {
  background-color: rgb(57, 57, 57);
}

.dark .navbar-b.navbar-trans .nav-link:before {
  background-color: rgb(255, 255, 255);
}

.dark .navbar-b.navbar-trans .nav-link,
.dark .navbar-b.navbar-reduce .nav-link {
  color: rgb(255, 255, 255);
}

.navbar {
  padding: 0 !important;
}

/*======================================
//--//-->   CONTACT
======================================*/

.footer-paralax {
  padding: 4rem 0 0 0;
}

.contact-mf {
  margin-top: 4rem;
}

/*------/ Box /------*/

.box-pl2 {
  padding-left: 2rem;
}

.box-shadow-full {
  padding: 3rem 1.25rem;
  position: relative;
  background-color: #fff;
  margin-bottom: 3rem;
  z-index: 2;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.dark .box-shadow-full {
  background-color: rgb(256, 256, 256, 0.1);
}

/*--/ Title Left /--*/

.title-box-2 {
  margin-bottom: 3rem;
}

.title-left {
  font-size: 2rem;
  position: relative;
}

.title-left:before {
  content: "";
  position: absolute;
  height: 3px;
  background-color: rgb(57, 57, 57);
  width: 100px;
  bottom: -12px;
}

.dark .title-left:before {
  background-color: #fff;
}

.lead {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/*------/ Ul resect /------*/

.ul-resect,
.socials ul,
.list-ico,
.blog-wrapper .post-meta ul,
.box-comments .list-comments,
.widget-sidebar .list-sidebar,
.widget-tags ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.list-ico {
  line-height: 2;
}

.list-ico span {
  color: rgb(57, 57, 57);
  margin-right: 10px;
}

.dark .list-ico span {
  color: #fff;
}

/*======================================
//--//-->   CONtaCT FORM
======================================*/

#sendmessage {
  color: #182a3f;
  border: 1px solid #182a3f;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  color: green;
}

#errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#captchamessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#captchamessage.show,
#sendmessage.show,
#errormessage.show,
.show {
  display: block;
}

.validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

/*======================================
//--//-->   FOOTER
======================================*/

.full {
  width: 100%;
}

.gap {
  height: 30px;
  width: 100%;
  clear: both;
  display: block;
}

.footer {
  background: #dadada;
  height: auto;
  padding: 30 0px;
  position: relative;
  width: 100%;
  border-bottom: 1px solid #cccccc;
  border-top: 1px solid #dddddd;
}

.dark .footer {
  background: rgb(256, 256, 256, 0.1);
}

.footer p {
  margin: 0;
}

.footer img {
  max-width: 100%;
}

.footer h3 {
  color: rgb(57, 57, 57);
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  padding: 40px 0 0px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.dark .footer h3 {
  color: #fff;
}

.footer h4 {
  color: rgb(57, 57, 57);
  font-size: 2em;
  font-weight: 600;
  line-height: 38px;
  padding: 40px 0 10px;
  font-weight: lighter;
}

.dark .footer h4 {
  color: #fff;
}

.footer ul {
  font-size: 13px;
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  margin-top: 0px;
  color: rgb(57, 57, 57);
  padding: 0 0 8px 0;
}

.dark .footer ul {
  color: #fff;
}

.email {
  border-bottom: 3px solid rgb(57, 57, 57);
}

.dark .email {
  border-bottom: 3px solid #fff;
}

.footer ul li a {
  padding: 0 0 12px 0;
  display: block;
  font-weight: 200;
}

.footer a {
  color: rgb(57, 57, 57);
}

.footer p {
  color: rgb(57, 57, 57);
  font-size: 16px;
}

.dark .footer a {
  color: #fff;
}

.dark .footer p {
  color: #fff;
}

.footer a:hover {
  text-decoration: none;
  font-weight: bold;
}

.supportLi h4 {
  font-size: 20px;
  font-weight: lighter;
  line-height: normal;
  margin-bottom: 0 !important;
  padding-bottom: 0;
}

.bg-gray {
  background-image: -moz-linear-gradient(
    center bottom,
    #bbbbbb 0%,
    #f0f0f0 100%
  );
  box-shadow: 0 1px 0 #b4b3b3;
}

.footer-bottom {
  width: 100%;
  margin-top: 2em;
  padding-top: 20px;
  padding-bottom: 10px;
  text-align: center;
}

.footer-bottom p.pull-left {
  padding-top: 6px;
  font-size: 0.75em;
}

.dark .footer img {
  content: url("../images/logo_blanc.png");
}

/*======================================
//--//-->   TESTIMONIALS
======================================*/

#testimonial-mf {
  margin-top: 80px;
  background: #fff;
  border-radius: 5px;
  padding: 20px 0;
}

.dark #testimonial-mf {
  background: rgb(256, 256, 256, 0.1);
}

.testimonial-box .description {
  padding: 0 5rem;
  margin-bottom: 20px;
}

.testimonials {
  padding-top: 50px;
}

.post-box,
.form-comments,
.box-comments,
.widget-sidebar {
  padding: 3rem;
}

.blog-wrapper .article-title {
  font-size: 1.9rem;
}

.box-comments .list-comments .comment-author {
  font-size: 1.5rem;
}

@media (min-width: 992px) {
  .testimonial-box .description {
    padding: 0 8rem;
  }
}

@media (min-width: 1200px) {
  .testimonial-box .description {
    padding: 0 13rem;
  }
}

.testimonials .owl-carousel .owl-item img {
  width: auto;
}

.testimonial-box {
  color: rgb(57, 57, 57);
  text-align: center;
}

.dark .testimonial-box {
  color: #fff;
}

.testimonial-box .author-test {
  margin-top: 1rem;
}

.testimonial-box .author-test img {
  margin: 0 auto;
}

.testimonial-box .author {
  color: rgb(57, 57, 57);
  text-transform: uppercase;
  font-weight: 600;
  margin: 1rem 0;
  display: block;
  font-size: 1.4rem;
}

.dark .testimonial-box .author {
  color: #fff;
}

.testimonial-box .comit {
  font-size: 2rem;
  color: rgb(57, 57, 57);
  background-color: #fff;
  width: 52px;
  height: 52px;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  line-height: 1.6;
  padding-top: 12px;
}

.ion-person:before {
  margin-top: 10px;
}

.contactButton {
  position: relative;
  display: inline-flex;
  width: 180px;
  height: 50px;
  perspective: 1000px;
  margin-top: 50px;
}

.contactButton a {
  font-size: 19px;
  letter-spacing: 1px;
  transform-style: preserve-3d;
  transform: translateZ(-25px);
  transition: transform 0.25s;
  font-family: "Montserrat", sans-serif;
}

.contactButton a:before,
.contactButton a:after {
  position: absolute;
  content: "CONTACT";
  height: 55px;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #ef4444;
  box-sizing: border-box;
  border-radius: 5px;
}

.contactButton a:before {
  color: #fff;
  background: #ef4444;
  transform: rotateY(0deg) translateZ(25px);
}

.contactButton a:after {
  color: #ef4444;
  transform: rotateX(90deg) translateZ(25px);
}

.contactButton a:hover {
  transform: translateZ(-25px) rotateX(-90deg);
}

.envoyerButton {
  position: relative;
  display: inline-flex;
  width: 180px;
  height: 50px;
  perspective: 1000px;
}

.envoyerButton a {
  font-size: 19px;
  letter-spacing: 1px;
  transform-style: preserve-3d;
  transform: translateZ(-25px);
  transition: transform 0.25s;
  font-family: "Montserrat", sans-serif;
}

.envoyerButton a:before,
.envoyerButton a:after {
  position: absolute;
  content: "ENVOYER";
  height: 55px;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #ef4444;
  box-sizing: border-box;
  border-radius: 5px;
}

.envoyerButton a:before {
  color: #fff;
  background: #ef4444;
  transform: rotateY(0deg) translateZ(25px);
}

.envoyerButton a:after {
  color: #ef4444;
  transform: rotateX(90deg) translateZ(25px);
}

.envoyerButton a:hover {
  cursor: pointer;
  transform: translateZ(-25px) rotateX(-90deg);
}

.link {
  color: rgb(57, 57, 57) !important;
  font-weight: 300;
}
.link:hover {
  text-decoration: none;
  font-weight: bold;
  color: rgb(57, 57, 57) !important;
}

.dark .link {
  color: white !important;
}

.dark .link:hover {
  text-decoration: none;
  font-weight: bold;
  color: white !important;
}

/*------/ Owl Carousel /------*/

.owl-theme .owl-dots {
  text-align: center;
  margin-top: 18px;
}

.owl-theme .owl-dots .owl-dot {
  display: inline-block;
}

.owl-theme .owl-dots .owl-dot span {
  width: 18px;
  height: 7px;
  margin: 5px 5px;
  background: #cde1f8;
  border: 0px solid #cde1f8;
  display: block;
  transition: all 0.6s ease-in-out;
  cursor: pointer;
}

.owl-theme .owl-dots .owl-dot:hover span {
  background-color: #cde1f8;
}

.owl-theme .owl-dots .owl-dot.active span {
  background-color: #1b1b1b;
  width: 25px;
}

/*------/ About Section /------*/

@media (max-width: 991px) {
  .about-card {
    flex-direction: column;
  }

  .about-card img {
    margin-bottom: 20px;
    margin-right: 0;
  }
}

#about {
  padding-top: 98px;
  padding-bottom: 51px;
}

#about .triangle-right {
  margin-top: 95px;
  width: 0;
  height: 0;
  border-top: 259px solid transparent;
  border-left: 470px solid #d6c6b2;
  border-bottom: 259px solid transparent;
}

#about .triangle-right img {
  position: absolute;
  left: -1px;
  top: 81px;
  width: 74%;
}

.fa-play {
  font-size: 100px;
}

#about .p-first {
  margin-bottom: 30px;
}

#about h2 {
  margin-bottom: 47px;
  margin-top: 12px;
}

#about .social-link-text {
  margin-top: 50px;
  margin-bottom: 25px;
}

#about .about-link {
  padding-left: 0px;
}

#about .about-link li {
  display: inline-block;
}

#about .about-link li a i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
  text-align: center;
  border: 1px solid rgb(57, 57, 57);
  margin-right: 10px;
  font-size: 22px;
  color: rgb(57, 57, 57);
  transition: all 0.3s;
}

#about .about-link li a i:hover {
  color: #222222;
  background: rgb(57, 57, 57);
  border-color: rgb(57, 57, 57);
}

#about .about-img {
  position: relative;
}

#about .about-img {
  position: relative;
}

#about .about-img .man {
  position: absolute;
  bottom: 161px;
  top: 0px;
  left: -20px;
}

.color-3 {
  /*color: #d6c6b2;*/
  color: rgb(57, 57, 57);
}

.dark .color-3 {
  color: #fff;
}

.text-white {
  color: white;
}

.apropos {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 24px;
  color: rgb(57, 57, 57);
}

.dark .apropos {
  color: #fff;
}

.btn-contact {
  border-radius: 5px;
  padding: 10px 20px;
  background-color: #ef4444;
  color: #eee;
}

.wave {
  fill: rgb(255, 255, 255, 0.6);
  width: 100vw;
  height: 30vh;
  position: absolute;
  bottom: -12%;
  left: 0;
}

/*--/ Title A /--*/

.title-box {
  margin-bottom: 4rem;
}

.title-a {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
}

.subtitle-a {
  color: #4e4e4e;
}

.line-mf {
  width: 40px;
  height: 2px;
  background-color: rgb(57, 57, 57);
}

.dark .line-mf {
  background-color: #fff;
}

/*------/ Ico Circle /------*/

.ico-circle {
  height: 100px;
  width: 100px;
  font-size: 2rem;
  border-radius: 50%;
  line-height: 1.55;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 0 10px rgb(57, 57, 57);
  display: block;
}

.dark .ico-circle {
  box-shadow: 0 0 0 10px #fff;
}

.wrapper {
  position: relative;
  font-family: sans-serif;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(57, 57, 57);
  flex-wrap: wrap;
}

.top_div {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.content {
  position: relative;
  width: 300px;
  padding: 20px;
  margin: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  text-align: center;
}

.content img {
  position: relative;
  width: 60px;
  height: 60px;
  padding: 5px;
  background: #dadada;
  border-radius: 50%;
}

.about-link img {
  position: relative;
  width: 60px;
  height: 60px;
  padding: 5px;
  background: #dadada;
  border-radius: 30%;
}

.subtitle {
  font-size: 20px;
  font-weight: 600;
}

li.item {
  vertical-align: top;
  display: inline-block;
  text-align: center;
  width: 90px;
}

.caption {
  font-size: 12px;
  display: block;
}

.content h2 {
  font-size: 18px;
  margin: 10px;
  text-transform: uppercase;
}

.content p {
  font-size: 13px;
  line-height: 1.4;
}

/*=========================================
PORTFOLIO
==========================================*/

#portfolio {
  padding-top: 50px;
}
.port-text {
  font-size: 16px;
  margin-top: 50px;
}

/* ============================
New Services
===============================*/

.services-list {
  padding-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}

.services-list div {
  background: #fff;
  padding: 40px;
  font-size: 13px;
  font-weight: 300;
  border-right: 10px;
  border-radius: 5px;
  transition: background 0.5s, transform 0.5s;
}

.dark .services-list div {
  background: rgb(256, 256, 256, 0.1);
}

.services-list i {
  font-size: 50px;
  margin-bottom: 30px;
}

.services-list div h2 {
  font-size: 30px;
  font-weight: 500px;
  margin-bottom: 15px;
}

.services-list div:hover {
  background: rgb(256, 256, 256, 0.3);
  transform: translateY(-10px);
}

/* ============================
New Portfolio
===============================*/

.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}

.work {
  height: 250px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.work img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
}

.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(57, 57, 57, 0.2), #969696);
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  font-size: 14px;
  transition: height 0.5s;
  color: #fff;
  text-shadow: 2px 0 #393939, -2px 0 #393939, 0 2px #393939, 0 -2px #393939,
    1px 1px #393939, -1px -1px #393939, 1px -1px #393939, -1px 1px #393939;
}

.layer h3 {
  font-weight: 500;
  margin-bottom: 20px;
}

.layer i {
  margin-top: 20px;
  color: rgb(57, 57, 57);
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  text-shadow: none;
}

.work:hover img {
  transform: scale(1.1);
}

.work:hover .layer {
  height: 100%;
}

.btn-voir-plus {
  display: block;
  margin: 50px auto;
  width: fit-content;
  border: 1px solid #ff004f;
  padding: 14px 50px;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  transition: background 0.5s;
}

.btn-voir-plus:hover {
  background: #ff004f;
}

.full-link {
  text-decoration: none;
  color: inherit;
}

.full-link:hover {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 992px) {
  .container {
    width: 100%;
  }

  #mainNav {
    width: 100vw;
  }

  .shape,
  .man {
    max-width: 90vw;
  }

  .main-title h2 .bg-text {
    font-size: 3.7rem;
  }

  .main-title h2 {
    font-size: 2.7rem;
  }

  h1 {
    font-size: 70px;
  }

  .main-text .intro-subtitle {
    font-size: 25px;
  }

  .services-list {
    margin-top: 0px;
  }

  .layer {
    height: 100%;
  }
}
