@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:400,600,700');

/*--- 01. GENERAL SETTINGS ---*/
/* Template inspired by navis */
.bg-red{background-color: #EB5E55 ;}
.bg-blue{background-color: rgb(10, 88, 141)  ;}
.bg-green{background-color:#4EBDB6 }
.bg-grey{background-color: rgb(95, 94, 94) ;}

::-webkit-scrollbar {
  width: 6px;
  background-color: #fff;
}
::-webkit-scrollbar-thumb {
  background-color: #a6a6a6;
}
:focus {
  outline: -webkit-focus-ring-color none !important;
}
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  background-color: #fff!important;
}
html,
body {
  height: 100%;
}
h1 {
  font-size: 36px;
  margin-bottom: 0;
}
h2 {
  font-size: 24px;
  margin-bottom: 0;
}
h3 {
  font-size: 18px;
  margin-bottom: 0;
}
h4 {
  font-size: 14px;
  margin-bottom: 0;
  color: #333;
}
h5 {
  font-size: 12px;
  margin-bottom: 0;
}
h6 {
  font-size: 10px;
  margin-bottom: 0;
}
p {
  margin-top: 0;
  margin-bottom: 0;
  color: #555555;
}
figure {
  margin: 0;
}
body {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.01em;
  width: 100%;
  overflow: hidden;
}
.responsive-img {
  width: 100%;
  height: auto;
}
.title-section {
  font-size: 12px;
  letter-spacing: 0.09em;
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  padding: 5px 10px;
  color: #fff;
  padding-bottom: 4px;
  text-transform: uppercase;
  background-color: #FF0202;
  border-radius: 100px;
}
#header {
  position: absolute;
  z-index: 2000;
  width: 235px;
  top: 50px;
}
#header h1 {
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
  padding: 20px;
  background: #000;
}
#navigation {
  margin-top: 20px;
  width: 235px;
  display: block;
  list-style: none;
  z-index: 3;
}
#navigation a {
  color: #444;
  display: block;
  background: #fff;
  background: rgba(255, 255, 255, 0.9);
  line-height: 50px;
  padding: 0px 20px;
  text-transform: uppercase;
  margin-bottom: 6px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  font-size: 14px;
}
#navigation a:hover {
  background: #ddd;
}
.content {
  right: 30px;
  left: 288px;
  top: 0px;
  margin-top: 96px;
  position: absolute;
  padding-bottom: 96px;
}
.panel {
  top: 0;
  overflow: auto;
  width: 100%;
  min-height: 100%;
  position: absolute;
  background-color: #000;
  margin-left: -102%;
  z-index: 2;
  -webkit-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}
.panel:target {
  margin-left: 0%;
  background-color: #fff;
}
#home:target ~ #header #navigation #link-home,
#service:target ~ #header #navigation #link-service,
#about:target ~ #header #navigation #link-about,
#galery:target ~ #header #navigation #link-galery,
#contact:target ~ #header #navigation #link-contact {
  background: #000;
  color: #fff;
}

.button {
  border: none;
  font-family: 'Josefin Sans', sans-serif;;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  background-color: #FF0202;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: 48px;
  transition: all ease-in-out 0.2s;
  -webkit-transition: all ease-in-out 0.2s;
}
.button:hover {
  background-color: rgb(124, 5, 5);
  color: #fff;
  text-decoration: none;
}
.pd-left {
  padding-left: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*--- 02. PRELOADER ---*/
#preloader {
  top: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: #f7f7f7;
}
.loader {
  width: 80px;
  height: 80px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  -webkit-animation: sk-rotateplane 1.8s infinite ease-in-out;
  animation: sk-rotateplane 1.8s infinite ease-in-out;
  -webkit-transition-duration: 2s;
  transition-duration: 2s;
}
.loader p {
    font-size: 20px;
}
@-webkit-keyframes sk-rotateplane {
  0% {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
  }
  60% {
    -webkit-transform: rotateY(-360deg);
    transform: rotateY(-360deg);
  }
  100% {
    -webkit-transform: rotateY(-360deg);
    transform: rotateY(-360deg);
  }
}
@keyframes sk-rotateplane {
  0% {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
  }
  60% {
    -webkit-transform: rotateY(-360deg);
    transform: rotateY(-360deg);
  }
  100% {
    -webkit-transform: rotateY(-360deg);
    transform: rotateY(-360deg);
  }
}
/*--- 03. NAVIGATION -----*/
.mobile-nav {
  position: fixed;
  z-index: 9;
}
.mobile-nav i {
  color: #FF0202;
  font-size: 48px;
  margin-top: 15px;
  margin-left: 30px;
  cursor: pointer;
  display: block;
}
.mobile-nav span {
  top: -12px;
  margin-left: 30px;
  text-transform: uppercase;
  font-size: 10px;
  color: #FF0202;
  position: relative;
}
.bg-nav {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.nav-menu {
  background-color: #f7f7f7;
  overflow: hidden;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 16.666667%;
  position: fixed;
  height: 100%;
  z-index: 9;
  box-shadow: 1px 0px 4px 0px rgba(0, 0, 0, 0.13);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.header-menu {
  width: 100%;
  height: 35.2%;
  text-align: center;
}
.menu-logo > img {
  height: 90px;
  display: inline-block;
  vertical-align: middle;
}
.header-menu:before {
  height: 100%;
  display: inline-block;
  vertical-align: middle;
  content: '';
}
.menu-text {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 72px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}
.menu-text li {
  margin-bottom: 4px;
}
.menu-text li a {
  position: relative;
  letter-spacing: 0.15em;
  color: #333;
  font-size: 12px;
  text-decoration: none;
  padding: 2px 12px;
  -webkit-transition-duration: .3s;
          transition-duration: .3s;
}
.menu-text li a:hover {
  background: #FF0202;
  border-radius: 100px;
  color: #fff;
}
.social-links li {
  margin-top: 96px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
.social-links li a {
  color: #256088;
  font-size: 24px;
}

/*--- 04. HOME HEADER ---*/
.bg-title {
  position: fixed;
  width: 100%;
  height: 100%;
  background: url(../images/camion2.png) center;
  background-size: cover;
}
#home {
  z-index: 0;
  color: #fff;
}
.home-content {
  right: 30px;
  left: 21.3%;
  top: 0px;
  margin-top: 120px;
  position: absolute;
  padding-bottom: 96px;
}
.home-title-text {
  width: 70%;
}
.home-title-text h1 {
  letter-spacing: -1px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
}
.home-title-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  color: #000;
  font-weight: bold
}
.home-title-text p {
  color: #000;
  margin-top: 24px;
}
.title-page {
  width: auto;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  border-bottom: 4px solid #FF0202;
  padding-bottom: 12px;
  color: #FF0202;
}
/*--- 06. ABOUT SECTION ---*/
#about.panel {
  width: 100%;
  height: auto;
}
.about-content {
  right: 15px;
  left: 13.2%;
  top: 0px;
  margin-top: 96px;
  position: absolute;
  padding-bottom: 96px;
}
img.mobile-profile-img {
  display: none;
}
.about.title-page:before {
  content: "A PROPOS";
  top: -40px;
  position: absolute;
  color: rgba(0, 0, 0, 0.04);
  font-size: 62px;
  z-index: -1;
  font-weight: 300;
  letter-spacing: -4px;
  text-transform: capitalize;
}
.about-me{
  margin-bottom: 30px;
}
.about-me .text-title {
  margin: 96px 0 50px 0;
  font-weight: 600;
}
.about-me p {
  margin-top: 24px;
}
.about-box{
  display: inline-block;
  padding: 20px;
  margin-bottom: 20px;
  padding-top: 40px;
   
}

.card-icon {
  font-size: 3.2em;
  color: white;
  align-self: center;
  text-align: center;
  line-height: 1.363em;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px; 
}

.card-body{
  background: #FFF !important;
}

.card-title{
  font-size: 1rem;
  font-weight: 800;
}

/*--- 07. SERVICES SECTION ---*/
#services .s-text {
  margin-top: 96px;
}
.service-content {
  right: 15px;
  left: 21%;
  top: 0px;
  margin-top: 96px;
  position: absolute;
  padding-bottom: 96px;
}
.service.title-page:before {
  content: "Nos Services";
  top: -52px;
  position: absolute;
  color: rgba(0, 0, 0, 0.04);
  font-size: 72px;
  z-index: -1;
  font-weight: 300;
  letter-spacing: -4px;
  text-transform: capitalize;
}
.service-col {
  margin: 20px;
  padding: 20px;
  border-radius: 4px;
  text-align: center;
  border: 2px solid #e7e7e7;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.service-col:hover {
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
}

.service-col i {
  font-size: 3.45rem; 
  margin: 1rem 0;
}

.s1 i{
  color: #95080b;
}
.s1 h4,
.s1 p {
  margin: 1rem 0;
}

.s1:hover {
  border: 2px solid #95080b;
}

.s2 i{
  color: #E2B6A1;
}
.s2 h4,
.s2 p {
  margin: 1rem 0;
}

.s2:hover {
  border: 2px solid #E2B6A1;
}

.s3 i{
  color: #4B4244;
}
.s3 h4,
.s3 p {
  margin: 1rem 0;
}

.s3:hover {
  border: 2px solid #4B4244;
}

.p-txt-s{
  margin-bottom: 20px;
}

.h3list{
  color: #084C7A;
  font-weight: 700;
  margin: 20px 0;
}
.part-service{
  margin-left: 40px;
  
}

.list-service li {
  position: relative;
  margin: 20px;
}
.list-service li::after {
	display: block;
	content: '';
	position: absolute;
	top: .5em;
	left: -1em;
	width: 8px;
	height: 3px;
	border-left: 2px solid #3498db;
	border-bottom: 2px solid #3498db;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.sublist-service li {
  position: relative;
  margin-left: 30px;
}
.sublist-service li::after {
	display: block;
	content: '';
	position: absolute;
	top: .5em;
	left: -1em;
	width: 6px;
	height: 6px;
	background-color: #3498db;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/*--- 10. GALERY SECTION ---*/
#galery.panel {
  width:100%;
  height: 100%;
}
.galery-content {
  right: 15px;
  left: 15.6%;
  top: 0px;
  margin-top: 96px;
  position: absolute;
  padding-bottom: 96px;
}
.galery.title-page:before {
  content: "Photos";
  top: -52px;
  position: absolute;
  color: rgba(0, 0, 0, 0.04);
  font-size: 72px;
  z-index: -1;
  font-weight: 300;
  letter-spacing: -4px;
  text-transform: capitalize;
}
.galery-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 20px 0 80px;
}

.card-galery {
  width: 300px;
  margin: 10px;
  background-color: white;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
}
.card-galery:hover .card__caption {
  top: 50%;
  transform: translateY(-50%);
}

.card-galery:hover .card__thumb::after {
  top: 0;
}
.card-galery:hover .card__snippet {
  margin: 20px 0;
  color: white;
}
.card__thumb {
  position: relative;
  max-height: 400px;
  overflow: hidden;
}
.card__thumb img{
  width: 100%;
}
@media (min-width: 1024px) {
  .card__thumb {
    max-height: 500px;
 }
}
.card__thumb::after {
  position: absolute;
  top: 0;
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, .5) 40%, rgba(255, 255, 255, 0) 100%);
  transition: 0.3s;
}
@media (min-width: 1024px) {
  .card__thumb::after {
    top: calc(100% - 140px);
 }
}
.card__image {
  transition: 0.5s ease-in-out;
}
.card__caption {
  position: absolute;
  top: 50%;
  z-index: 1;
  padding: 0 20px;
  color: white;
  transform: translateY(-50%);
  text-align: center;
  transition: 0.3s;
}
@media (min-width: 1024px) {
  .card__caption {
    top: calc(100% - 110px);
    transform: unset;
 }
}
.card__title {
  display: -webkit-box;
  max-height: 85px;
  overflow: hidden;
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  line-height: 28px;
  text-shadow: 0px 1px 5px black;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.card__snippet {
  display: -webkit-box;
  max-height: 150px;
  margin: 20px 0;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;  
  color: transparent;
  font-size: 16px;
  line-height: 20px;
  text-overflow: ellipsis;
  transition: 0.5s ease-in-out;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
@media (min-width: 1024px) {
  .card__snippet {
    margin: 60px 0;
 }
}
.card__button {
  display: inline-block;
  padding: 10px 20px;
  color: white;
  border: 1px solid white;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.3s;
}
.card__button:hover {
  color: black;
  background-color: white;
}

/*--- 10. CONTACT SECTION ---*/
#contact.panel {
  width:100%;
  height: 100%;
}
.contact-content {
  right: 15px;
  left: 15.6%;
  top: 0px;
  margin-top: 96px;
  position: absolute;
  padding-bottom: 96px;
}
.contact.title-page:before {
  content: "Contact";
  top: -52px;
  position: absolute;
  color: rgba(0, 0, 0, 0.04);
  font-size: 72px;
  z-index: -1;
  font-weight: 300;
  letter-spacing: -4px;
  text-transform: capitalize;
}
.contact-text {
  margin-top: 96px;
}
.personal-info {
  margin-top: 48px;
}
.personal-info ul {
  margin-top: 24px;
}
.personal-info ul li{
  margin: 20px 0;
}
.personal-info ul li > p > span {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  color: #333;
}
.personal-info ul li > p > span {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  color: #333;
}
.personal-info ul li > p > a {
  text-decoration: none;
  color: #333
}
.personal-info ul li > p > a:hover {
  text-decoration: none;
  color:#FF0202
}

.contact-icon{
  font-size: 20px;
  margin-right: 10px;
  color:#084C7A;
}

/*--- 11. MEDIA QUERIES FOR RESPONSIVE DESIGN ---*/
@media (max-width: 1024px) {

  .menu-logo > img {
    height: 60px;
  }

  .home-content {
    margin-top: 100px;
  }

}
@media (max-width: 960px) {
  /* Resume-page */
  .resume-inner {
    margin-left: 15px;
  }


  .about.title-page:before, .service.title-page:before {
    top: -40px;
    font-size: 52px;
  }
  .service-col {
    margin: 20px 0 ;
  }
}

@media (max-width: 767px) {
  /* Navigation */
  .nav-menu {
    width: 200px;
    left: -201px;
  }
  .mobile-menu-open {
    left: 0;
  }
  /*home */
  .bg-title {
    background: url(../images/camion-mobile.png) center;
    background-size: cover;
  }
  .home-content {
    right: 0;
    left: 10.3%;
    margin-top: 80px;
  }
  .home-title-text {
    width: 90%;
  }
  .home-title-text h1{
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 1rem;
  }
  .home-title-text h3{
    font-size: .9rem;
  }
  .home-title-text p{
    font-size: .9rem;
  }

  .home-title-text .btn-home{
    font-size: 10px;
    font-weight: bold;
    margin-top: 28px !important;
  }
  
  /* About-Page */
  .about-me {
    margin-top: 96px;
  }
  .about-me h4 {
    margin-top: 48px;
  }
  img.mobile-profile-img {
    margin-top: 48px;
    display: block;
    width: 250px;
    margin: 0 auto;
    border: 3px solid #FF0202;
    padding: 4px;
  }
  .about-content {
    margin-top: 120px;
    left: 15px;
  }
  #about.panel {
    width: 97%;
    height: auto;
  }
  /* service-Page */
  .service-content {
    margin-top: 120px;
    left: 15px;
  }
  .item {
    width: 48%;
  }
  /* Resume-page */
  .resume-content {
    margin-top: 120px;
    left: 15px;
  }
  .resume-inner {
    margin-top: 48px;
  }
  .panel-2 {
    display: none;
  }
  /*- Contact-Page -*/
  .contact-content {
    margin-top: 120px;
    left: 15px;
  }
  .panel-cart {
    display: none;
  }
  #contact.panel {
    width: 97%;
  }
}
@media (max-width: 575px) {
  #about.panel,
  .panel,
  #contact.panel {
    width: 100%;
  }
  .contact-content {
    padding-bottom: 12px;
  }
  /* service-page */
  .item {
    width: 96%;
  }
}
@media (max-height: 480px) {
  .home-content {
    right: 0;
    left: 16.3%;
    margin-top: 24px;
  }
  .home-title-text {
    width: 100%;
  }
  .social-links {
    padding-bottom: 12px;
  }
  .menu-text {
    margin-top: 48px;
  }
}
@media (max-height: 480px) and (max-width: 3000px) {
  .home-content {
    left: 22%;
    right: 30px;
  }
}
@media (max-width: 360px) {
  .home-content {
    right: 15px;
    left: 16.3%;
    margin-top: 72px;
  }
  .home-title-text {
    width: 100%;
  }
}

form { padding: 28px; }
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.full { grid-column: 1 / -1; }
label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}
input, select, textarea {
    width: 100%;
    border: 1px solid #dbe3ea;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
}
textarea { min-height: 120px; resize: vertical; }
.hint {
    font-size: 13px;
    color: #6b7280;
    margin-top: 5px;
}
.checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 8px;
}
.checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    margin: 0;
}
.checkboxes input {
    width: auto;
}
.actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
}
button {
    background: #EB5E55;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
button:hover { background: #f52112; }
.msg, .errors {
    margin: 20px 28px 0;
    padding: 14px 16px;
    border-radius: 12px;
}
.msg {
    background: #ecfdf5;
    color: #166534;
}
.errors {
    background: #fef2f2;
    color: #991b1b;
}
.section-title {
    grid-column: 1 / -1;
    margin: 10px 0 -4px;
    padding-top: 8px;
    border-top: 1px solid #dbe3ea;
    font-size: 18px;
}
@media (max-width: 700px) {
    .grid { grid-template-columns: 1fr; }
    .header h1 { font-size: 24px; }
    form { padding: 20px; }
}
.Devis-gratuit.title-page:before {
  content: "Devis gratuit";
  top: -52px;
  position: absolute;
  color: rgba(0, 0, 0, 0.04);
  font-size: 72px;
  z-index: -1;
  font-weight: 300;
  letter-spacing: -4px;
  text-transform: capitalize;
}