@import url("https://fonts.googleapis.com/css2?family=Texturina:wght@200&display=swap");
@import url("animation-elements.css");
@import url("snackbar.css");
/* @import url("screen-height-max-800.css"); */
/* @import url("screen-width-1024.css"); */
:root{
  --main-color:#e53935;
  --second-color:#ffffff;
  --thumbar-color:#ec7471;
  --second-text-color:#6a6a66;
  --third-text-color:#000000;
  --card-border-color:#eeeeee;
  --background-primary-color:#ffffff;
  --background-secondary-color:#fafafa;
  --background-third-color:#f6f6f6;
  --h1-primary-color:#212121;
  --background-main-color-opacity:linear-gradient(to right, #ec7471 2%, var(--main-color) 82%);
  --flex-gap:15px;
}
/* Placeholder */
::placeholder{
  font-family:'Texturina', serif !important;
  font-size:0.9rem;
}
/* Refer to this link https://css-tricks.com/the-focus-visible-trick/ */
:focus:not(:focus-visible){
  outline:none;
}
*{
  box-sizing:border-box !important;
  user-select: none;
}
::-webkit-scrollbar {
  width: 6px !important;
}

/* Track */
::-webkit-scrollbar-track {
  background: white !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--main-color);
}

/* Some class utilities */

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
  display: none !important;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
  -ms-overflow-style: none !important;  /* IE and Edge */
  scrollbar-width: none !important;  /* Firefox */
  overflow:hidden;
}

/* Show scrollbar for Chrome, Safari and Opera */
.show-scrollbar::-webkit-scrollbar {
  display: block !important;
}

/* Show scrollbar for IE, Edge and Firefox */
.show-scrollbar {
  -ms-overflow-style: auto !important;  /* IE and Edge */
  scrollbar-width: auto !important;  /* Firefox */
  scrollbar-color: var(--main-color) !important; /* Firefox */
  overflow:scroll;
}
.nav-main-color{
  background:var(--main-color);
}
.nav-second-color{
  background:var(--second-color);
}
.background-cover{
  background-position:center !important;
  background-repeat:no-repeat !important;
  background-size:cover !important;
}
.actual-section{
  background:var(--main-color);
}
.button{
  padding:10px 37px 12px 37px;
  border-radius:25px;
  background:var(--main-color);
  text-align:center;
  display:inline-block;
  color:#ffffff;
  margin-top:40px;
  text-decoration:none;
  cursor:pointer;
}
.button:hover{
  transition:background 0.5s ease;
  background:var(--second-color);
  color:var(--main-color);
}
.line{
   display:inline-block;
   width:20px;
   height:3px;
   background:var(--main-color);
   vertical-align:middle;
   margin-right:10px;
}
.overlay{
  position:relative;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7);
}
.ellipsis{
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* End helpers class */

body, html{
  font-family: 'Texturina', serif !important;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow-x:hidden;
  margin:0;
  padding:0;
  width:100%;
  height:100%;
}

@media (prefers-reduced-motion: reduce) {
  body, html {
    scroll-behavior: auto;
  }
}

/* Header section */

header{
  width:100%;
  background:url("../img/header-bg.jpg");
}

#header-overlay{
  padding:35px 50px 0px 50px;
}
#large-screen-menu{
  width:100%;
  /* height:80px; */
  position:relative;
}
#large-screen-menu a img{
  width:250px;
  height:24px;
  display:inline-block;
  position:absolute;
  left:0px;
  top:25px;
}
#large-screen-menu ul{
  list-style:none;
  position:absolute;
  top:0px;
  right:0px;
}
#large-screen-menu ul li{
  display:inline-block;
  margin-left:20px;
  padding:9px 10px 12px 10px;
  border-radius:15px;
  transition:background 0.5s ease;
}
#large-screen-menu ul li:hover{
  background:var(--main-color);
}
#large-screen-menu ul li a{
   text-decoration:none;
   color:#ffffff;
   font-size:0.9rem;
}
#header-text-area{
  height:calc(100% - 80px);
  margin:0 auto;
  width:80%;
  padding:80px;
  text-align:center;
  color:#ffffff;
}
#header-text-area h1{
  font-size:2.3rem;
}
#header-text-area p{
  font-size:1.2rem;
  color:#e0e0e0;
  margin-top:20px;
  line-height:22px;
}
#header-social-networks{
  text-align:center;
}
.social-network-link{
  width:36px;
  height:36px;
  border-radius:50%;
  /* background:var(--main-color); */
  text-align:center;
  display:inline-block;
  margin:0 auto;
  margin-top:40px;
  padding-top:9px;
  transition:background 1s ease, transform 1s ease;
  margin-left:10px;
}
.social-network-link:hover{
  background:var(--second-color);
  transform:rotate(360deg);
}
.social-network-link:hover svg{
  fill:var(--main-color);
}
.social-network-link svg{
  fill:var(--second-color);
  display:-inline-block;
  width:18px;
  height:18px;
  transition:fill 1s ease;
}

/* About us section */

#about-us{
  text-align:center;
  padding:50px;
  background:var(--background-secondary-color);
}

#about-us-flex{
  display:flex;
  width:100%;
  margin:0 auto;
  margin-top:50px;
  margin-bottom:20px;
}
.about-us-child{
  width:50%;
  height:100%;
}
#about-us-first-child{
  background:url("../img/about-us.svg");
  background-repeat:no-repeat;
  height:auto;
  width:50%;
  border-radius:3px;
}
#about-us-second-child{
  padding:0px 50px 0px 50px;
  text-align:left;
  color:var(--second-text-color);
}
#about-us-second-child h1{
  font-size:2rem;
  margin-bottom:5px;
  margin-top:-15px;
  color:var(--main-color);
}
#about-us-second-child-title{
  /* margin-top:10px; */
  font-size:1.8rem;
  font-weight:bold;
  color:var(--h1-primary-color);
  line-height:50px;
}
#about-us-second-child-description{
  margin-top:10px;
  font-size:1.1rem;
  color:var(--second-text-color);
}
#about-us-second-child a {
   float:right;
   margin-top:50px;
}

/* Our Services section */

#our-services{
  text-align:center;
  padding:40px !important;
  background:var(--background-primary-color);
}
#our-services h1, #who-we-are h1, #testimony h1{
  font-size:2rem;
  color:var(--main-color);
}
#our-services-description, #who-we-are-description, #testimony-description{
  max-width:800px; /*This dimension need to be changed on mobile device */
  color:var(--second-text-color);
  font-size:1.2rem;
  margin:0 auto;
  margin-top:10px;
  margin-bottom:40px;
}
#our-services-flex{
  display:flex;
  margin:0 auto;
  flex-wrap:wrap;
  padding:var(--flex-gap);
  gap:var(--flex-gap);
  width:100%;
  opacity:0;
  transition:opacity ease 2s;
}
.our-services-flex-child{
  width:calc( (100% / 3) - ( var(--flex-gap) * 2 / 3) );
  height:auto;
  border-radius:5px;
  border:1px solid var(--card-border-color);
  text-align:center;
  padding:15px;
  transition:transform ease 0.4s, box-shadow ease 0.4s;
  will-change: transform;
}
.our-services-flex-child:hover{
  transform:translate3d(0,-7px ,0);
  box-shadow: 1px 13px 24px -22px rgba(0,0,0,0.75);
}
.our-services-flex-child-big-circle{
  width:105px;
  height:105px;
  border-radius:50%;
  border:2px dashed var(--card-border-color);
  display:inline-block;
  text-align:center;
  padding:5px;
}
.our-services-flex-child-big-circle > span{
   width:90px;
   height:90px;
   border-radius:50%;
   display:inline-block;
   text-align:center;
   margin:0 auto;
   padding:20px;
   padding-top:25px;
}
.our-services-flex-child span svg{
   width:40px;
   height:40px;
   display:inline-block;
}
.our-services-flex-child-title{
  font-size:1.3rem;
  margin-top:10px;
  font-weight:bold;
}
.our-services-flex-child-description{
   color:var(--second-text-color);
   margin-top:10px;
   text-align:center;
   font-size:1rem !important;
   /* display: -webkit-box !important; */
   /* -webkit-line-clamp: 5 !important;
   -webkit-box-orient: vertical !important;
   overflow: hidden !important; */
}
#our-services-flex-child-first-circle, #our-services-flex-child-fifth-circle{
   background:#00b894;
}
#our-services-flex-child-second-circle, #our-services-flex-child-sixth-circle{
  background:#1f0757;
}
#our-services-flex-child-third-circle, #our-services-flex-child-fourth-circle{
  background:#fdd76e;
}

/* Who we are  section */

#who-we-are{
  text-align:center;
  padding:50px;
  background:var(--background-third-color);
}
#who-we-are-flex-parent, #testimony-flex-parent{
  display:flex;
  margin-top:35px;
  justify-content:center;
  gap:var(--flex-gap);
  flex-wrap:wrap;
  justify-content:start;
}
.who-we-are-flex-child{
  width:calc((100% / 4 ) - ((var(--flex-gap) * 3) / 4));
  height:475px;
  background:#ffffff;
  border-radius:5px;
  position:relative;
  opacity:0;
  transform:translate3d(0,75px,0);
  will-change:transform;
}
.who-we-are-flex-child-bg{
   height:350px;
   background-position:center top !important;
   background-size:cover !important;
   background-repeat:no-repeat !important;
   border-radius:5px 5px 0 0;
}
.who-we-are-flex-child-name, .who-we-are-flex-child-overlay-name{
   font-size:1.1rem;
   font-weight:bold;
   margin-top:15px;
   padding-left:15px;
   padding-right:15px;
}
.who-we-are-flex-child-role{
   font-size:0.9rem;
   color:var(--second-text-color);
   margin-top:5px;
   padding-left:15px;
   padding-right:15px;
}
.who-we-are-flex-child-social{
   width:100%;
   margin:0 auto;
   margin-top:10px;
   text-align:center;
}
.who-we-are-flex-child-social svg{
  fill:var(--second-text-color);
  display:inline-block;
  width:14px;
  height:14px;
  margin-left:10px;
}
.who-we-are-flex-child-social svg:first-child{
  margin-left:-5px;
}
.who-we-are-flex-child-overlay{
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:var(--background-main-color-opacity);
  opacity:0;
  border-radius:5px;
  will-change:opacity;
  padding:70px 50px 70px 50px;
  color:var(--second-color);
}
.who-we-are-flex-child-overlay-title{
  font-size:0.94rem;
}
.who-we-are-flex-child:hover .who-we-are-flex-child-overlay{
  transition:opacity ease 0.3s;
  opacity:0.92;
}
.who-we-are-flex-child-overlay-name{
  margin-top:30px;
}
.who-we-are-flex-child-overlay-role{
  font-size:0.9rem;
  margin-top:7px;
}
.who-we-are-flex-child-overlay-social-flex-parent{
  display:flex;
  width:100%;
  height:50px;
  justify-content:center;
  margin:0 auto;
  margin-top:20px;
  /* background:blue; */
}
/* Flex child */
.who-we-are-flex-child-overlay-social-flex-parent a{
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--second-color);
  margin: var(--flex-gap) 0 0 var(--flex-gap);
  text-align:center;
  padding-top:7px;
}
.who-we-are-flex-child-overlay-social-flex-parent a:first-child{
  margin-left:0;
}
.who-we-are-flex-child-overlay-social-flex-parent a svg{
  fill:var(--second-text-color);
  display:inline-block;
  width:16px;
  height:16px;
}
.who-we-are-flex-child-overlay-social-flex-parent a svg:hover{
  fill:var(--main-color);
}
.who-we-are-flex-child-overlay-button{
  border:1px solid var(--second-color);
  background:transparent;
  color:var(--second-color) !important;
}
.who-we-are-flex-child-overlay-button:hover{
  color:var(--main-color) !important;
}
#who-we-are-flex-child-ceo-bg{
   background:url("../img/ceo-ubix.jpg");
}
#who-we-are-flex-child-daf-bg{
   background:url("../img/daf-ubix.jpg");
}
#who-we-are-flex-child-director-bg{
  background:url("../img/founder-director-ubix.jpg");
}
#who-we-are-flex-child-cmo-bg{
   background:url("../img/cmo-ubix.jpg");
}
#who-we-are-flex-child-project-leader-bg{
   background:url("../img/to-remove-project-manager.png");
}
#who-we-are-flex-child-leader-dev-bg{
  background:url("../img/lead-dev-ubix.jpg");
}
#who-we-are-flex-child-front-end-bg{
  background:url("../img/front-end-ubix.jpg");
}
#who-we-are-flex-child-attache-bg{
  background:url("../img/assistance-ubix.jpg");
}
#who-we-are-flex-child-front-end-mobile-bg{
  background:url("../img/front-end-mobile-ubix.jpg");
}
#who-we-are-flex-child-back-end-php-bg{
  background:url("../img/back-end-php-ubix.jpg");
}
#who-we-are-flex-child-front-end-mobile-react-bg{
  background:url("../img/front-end-mobile-react-ubix.jpg");
}
#who-we-are-flex-child-community-bg{
  background:url("../img/community-ubix.jpg");
}
#who-we-are-flex-child-back-end-nodejs-bg{
  background:url("../img/back-end-nodejs.jpg");
}

/* Section with fixed background */
#fixed-background-section{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:-1;
  height:1100px;
  background:url("../img/our-beloved-team.jpeg");
}

/* Contact us */
#contact-us{
  /* height:400px; */
  padding:100px;
  padding-top:30px;
  padding-bottom:80px;
  background:transparent;
  text-align:center;
}
#contact-us p{
   color:var(--second-color);
   font-size:2.4rem;
   font-weight:bold;
   opacity:0;
   transform:translate3d(-50px,0,0);
   transition:transform ease 1s;
}
#contact-us span{
   transform:scale3d(0,0,0);
   transition:transform ease 1s;
   margin-top:30px !important;
}

/* Testimony area */
#testimony{
  text-align:center;
  padding:50px;
  padding-bottom:60px;
  background:var(--background-primary-color);
}
#testimony-flex-parent{
  opacity:0;
  transition:opacity ease 2s;
  gap:var(--flex-gap);
}
.testimony-flex-child{
  width:calc((100% / 3) - ((var(--flex-gap) * 2) / 3));
  height:310px;
  background:#ffffff;
  border-radius:5px;
  position:relative;
  border:1px solid var(--card-border-color);
  will-change:transform;
  color:var(--second-text-color);
  transition:transform ease 0.4s, box-shadow ease 0.4s;
}
.testimony-flex-child:hover{
  transform:translate3d(0,-7px ,0);
  box-shadow: 1px 13px 24px -22px rgba(0,0,0,0.75);
}
.testimony-text{
   height:200px;
   border-bottom:1px solid var(--card-border-color);
   text-align:left;
   border-radius:5px 5px 0 0;
   padding:30px;
   padding-top:20px;
   line-height:23px;
}
.testimony-text::before {
    content: '\201C';
}

.testimony-text::after {
    content: '\201D';
}
.testimony-text::before, .testimony-text::after{
    font-size:1.5rem;
}
.testimony-author{
  height:92px;
  border-radius:0 0 5px 5px;
  padding:30px;
  text-align:left;
  position:absolute;
  bottom:0;
  left:0;
  right:0;
}
.testimony-author-picture{
  display:inline-block;
  position:relative;
  top:50%;
  transform:translate3d(0,-50%,0);
  width:64px;
  height:64px;
  border-radius:50%;
  float:left;
  margin-right:20px;
}
.testimony-author-name{
  font-size:1.1rem;
  color:var(--third-text-color);
  display:inline-block;
  margin-top:-5px;
}
.testimony-author-profession{
   display:block;
   font-size:0.85rem;
}
#testimony-author-first-bg{
   background:url("../img/michel-mbili.jpeg");
}
#testimony-author-second-bg{
   background:url("../img/stephane-agoume.jpeg");
}
#testimony-author-third-bg{
   background:url("../img/thierry-graziani.jpeg");
}

/* Footer Section */
footer{
  background:#111111;
}
#footer-flex-parent{
   display:flex;
   border-bottom:1px solid #292929;
   gap:var(--flex-gap);
   padding:50px;
}
.footer-flex-child{
  width:calc((100% / 4 ) - ((var(--flex-gap) * 3) / 4));
}
.footer-flex-child p{
   font-size:1.1rem;
   color:var(--second-text-color);
}
.footer-flex-child ul{
  list-style:none;
  padding:0;
}
.footer-flex-child ul li{
   margin-top:10px;
}
.footer-flex-child ul li a{
  color:var(--background-secondary-color);
  font-size:0.75rem;
  text-decoration:none;
  display:inline-block;
}
.footer-flex-child ul li a:hover{
  transition:color ease 0.2s;
  color:var(--main-color);
}
#footer-flex-child-social-network a{
  display:inline-block;
  margin-top:15px;
  margin-left:15px;
}
#footer-flex-child-social-network-first-link{
  margin-left:0 !important;
}
#footer-flex-child-social-network a:hover svg{
  fill:var(--main-color);
}
#footer-flex-child-social-network a svg{
  fill:var(--second-color);
  display:-inline-block;
  width:16px;
  height:16px;
  transition:fill 1s ease;
}
.additionals-infos{
  display:block;
  margin-top:10px;
  color:var(--background-secondary-color);
}
.additionals-infos > span{
  color:#bdbdbd;
}
#footer-copyright{
  text-align:center;
  padding:20px;
  color:var(--background-secondary-color);
  font-size:0.9rem;
}
#footer-copyright span{
  display:inline-block;
  vertical-align:middle;
}
#footer-copyright span:first-child{
   font-size:1.1rem;
}

/* Button Up */
#arrow-up{
  position:fixed;
  bottom:60px;
  right:10px;
  width:40px;
  height:40px;
  border-radius:50%;
  background:var(--background-primary-color);
  display:none;
  text-align:center;
  padding-top:8px;
  box-shadow:0px 0px 2px 0px rgba(17, 17, 18, 0.3);
}
#arrow-up svg{
  width:16px;
  height:16px;
}

/* Questions And Answers */
#questions-answers{
   position:fixed;
   bottom:0;
   right:0;
   height:450px;
   width:280px;
   background:var(--background-secondary-color);
   /* box-shadow:-1px -1px 1px 0px rgba(50, 50, 50, 0.75); */
   will-change:transform;
   border-radius:5px 0px 0px 0px;
   transform:translate3d(0,415px,0);
   contain:strict;
   box-shadow: 10px 4px 46px -23px rgba(0,0,0,0.75);
   overflow-y:hidden;
   padding-bottom:10px;
}
#questions-answers-header{
   background:var(--main-color);
   height:35px;
   border-radius:5px 0px 0px 0px;
   padding:7px;
   padding-top:6px;
   cursor:pointer;
   position:sticky;
   top:0;
   left:0;
   right:0;
}
#questions-answers-header svg{
   width:18px !important;
   height:18px !important;
   display:inline-block;
}
#questions-answers-header span{
   display:inline-block !important;
   vertical-align:top;
   color:var(--second-color);
   font-size:1rem;
   transform:translate3d(5px,-3px, 0);
}
.questions-answers-close{
  transform:translate3d(0,415px,0) !important;
  transition:transform 0.4s ease !important;
  overflow-y:hidden !important;
}
.questions-answers-open{
   transform:translate3d(0,0,0) !important;
   transition:transform 0.4s ease !important;
   overflow-y:auto  !important;
}
#questions-answers-intro{
   padding:10px;
   text-align:left;
   color:var(--third-text-color);
   font-size:1.1rem;
}
#questions-answers-intro span{
  color:var(--second-text-color);
  font-size:0.9rem;
  display:inline-block;
}
#questions-answers-intro span > span{
  color:var(--main-color);
  cursor:pointer;
}
#questions-answers details{
   padding:5px;
   font-size:0.92rem;
   cursor:pointer;
   border-radius: 4px;
   border: 1px solid var(--card-border-color);
   width:calc(100% - 10px);
   margin:0 auto;
   margin-top:5px;
}
#questions-answers details summary{
   padding:5px;
}
#questions-answers details p{
  color:var(--second-text-color);
  font-size:0.9rem;
  padding:5px;
}

/* Contact Us modal */
#contact-us-modal{
   position:fixed;
   left:0;
   right:0;
   bottom:0;
   top:0;
   background:rgba(0,0,0,0.8);
   z-index:999999999999999;
   display:none;
}
#modal-box{
  position:relative;
  width:30%;
  top:50%;
  margin:0 auto;
  transform:translate3d(0,-50%,0);
  height:68%;
  background:var(--background-primary-color);
  border-radius:5px;
  padding:30px;
  text-align:center;
  contain:strict;
}
#modal-box img{
  float:right;
  width:14px;
  height:14px;
  clear:both;
  cursor:pointer;
  opacity:0.5;
  transition:opacity ease 0.5s;
}
#modal-box img:hover{
  opacity:1;
}
#modal-box-intro{
  margin-top:30px;
  color:var(--third-text-color);
  font-size:1.7rem;
}
#modal-box-message{
  color:var(--second-text-color);
  font-size:1.1rem;
  margin-bottom:30px;
}
input, textarea{
   display:block;
   margin-top:15px;
   border-radius:10px;
   padding:15px;
   outline:none;
   border:1px solid #ffffff;
   width:100%;
   background:var(--card-border-color);
}
textarea{
  height:120px;
  resize:none;
}

#send-message:hover{
  transition:none;
  background:var(--main-color);
  color:var(--second-color);
}

/* Une petite correction pour les ecrans d'ordinateur inferieurs a 1366px */

@media screen and (min-width:1025px) and (max-width:1200px){

  #modal-box{
    width:45%;
   
  }

}
