@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

:root {
  --container-bg-color: #333;
  --left-bg-color: rgba(255, 0, 0, 0.7);
  --left-button-hover-color: rgba(161, 11, 11, 0.3);
  --right-bg-color: rgba(0, 115, 255, 0.7);
  --farright-bg-color: rgba(33, 33, 33, 1);
  --right-button-hover-color: rgba(92, 92, 92, 0.3);
  --middle-bg-color: rgba(3, 16, 53, 0.7);
  --hover-width: 75%;
  --other-width: 25%;
  --speed: 1000ms;
}

html, body {
  padding:0;
  margin:0;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  width: 100%;
  height: auto;
  background-color: black;
}

h1 {
  font-size: 2.2rem;
  color: #fff;
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  white-space: nowrap;
}

animated-text {
  display: none;
  justify-content: var(--animated-align);
  font-weight: bold;
  text-transform: uppercase;
}

animated-char {
  animation: var(--animated-animation) 80ms linear calc(var(--animated-index) * 80ms) backwards;
  display: inline-block;
}

@keyframes rotateFromLeft{
  from {
    transform-origin: bottom left;
    transform: scale(0) rotateZ(90deg);
  }
  to {
    transform: none;
  }
}

@keyframes rotateFromRight {
  from {
    transform-origin: bottom right;
    transform: scale(0) rotateZ(-90deg);
  }
  to {
    transform: none;
  }
}

@keyframes fadeSlideToLeft {
  from {
    transform-origin: center;
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes fadeSlideToRight {
  from {
    transform-origin: center;
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes typing {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes type {
  from {
    visibility: hidden;
  }
  to {
    visibility: visible;
  }
}

@keyframes pop {
  0% {
    transform-origin: bottom;
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    animation-timing-function: cubic-bezier(.8,.1,0,1.28);
    transform: none;
  }
}

animated-text {
  font-size: 2rem;
  text-align: center;
}


body::-webkit-scrollbar {
  width: 12px; /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: rgba(228,228,228,0.1); /* color of the tracking area */
  width: 13px
}

body::-webkit-scrollbar-thumb {
  background-color: rgb(185,185,185); /* color of the scroll thumb */
  border-radius: 20px; /* roundness of the scroll thumb */
}




.container{
  background-color: black;
  text-align: center;
  height: 100%;
  display: block;
  top:0;
  position: relative;
  margin-bottom: 100px;
}

.container .row {
  padding-top: 2%;
  color: white;
  display: block;
  position: relative;
}

.banner-center-box > ul {
  list-style-type: none;
}

.acc-wraper{
  width:100%;
  display: block;
}

.accordion{
  display:flex;
  flex-wrap:nowrap;
  height: 500px;
  width: 100%;
  left: 0;
  position: absolute;
  right: 0;
}

.accordion > div{
  width:50%;
  flex-grow:1;
  flex-shrink:1;

  transition:all .5s ease;
  position:relative;
}

.accordion > div:hover{
  flex-shrink:0
}

.accordion div img{
  width:100%;
  height:100%;
  object-fit: cover;
}




.logoRounded{
  display: block;
  position: absolute;
  width: 150px;
  height: 150px;
  left: 50%;
  top: -15%;
  border: #fff solid 2px;
  border-radius: 50%;
  transform: translateX(-50%);
  background-color: white;
}

.pano{
  background-image: url('../images/logo-pano.webp');
  background-size: cover;
}
.ralph{
  background-image: url('../images/logo-ralph.webp');
  background-size: cover;
}
.reunionaffichage{
  background-image: url('../images/logo-reunion-affichage.webp');
  background-size: cover;
}
.winlight{
  background-image: url('../images/logo-winlight.webp');
  background-size: cover;
}

.button {
  display: block;
  position: absolute;
  left: 50%;
  top: 40%;
  height: 2.5rem;
  padding-top: 1.3rem;
  width: 15rem;
  text-align: center;
  color: #fff;
  border: #fff solid 0.2rem;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateX(-50%);
}

.button-contact {
  display: block;
  position: relative;
  left: 50%;
  margin-top: 1rem;
  height: 2.5rem;
  padding-top: 1rem;
  width: 15rem;
  text-align: center;
  color: #fff;

  /*

  background-color: white;
  border: #fff solid 0.2rem;
  border-radius: 50px 50px 50px 50px;

   */

  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateX(-50%);
}

.split.left {
  background-color: #ff0000;
}

.split.left:before {
  position:absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--left-bg-color);
}

.split.right {
  background-color: #0073ff;
}

.split.right:before {
  position:absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--right-bg-color);
}

.split.farright {
  background-color: #000000;
}

.split.farright:before {
  position:absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--farright-bg-color);
}

.split.middle {
  background-color: #031035;
}

.split.middle:before {
  position:absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--middle-bg-color);
}

.split.left:hover {
  background: url('../images/pano_background.jpg') center center no-repeat;
  background-size: cover;
}

.split.right:hover {
  background: url('../images/reunionaffichage_background.png') center center no-repeat;
  background-size: cover;
}

.split.farright:hover {

}

.split.middle:hover {
  background: url('../images/ralph_background.jpg') center center no-repeat;
  background-size: cover;
}






.social-wrap{
  display: block;
  position: absolute;
  display: grid;
  height: 100px;
  width: 100%;
  top: 60%;
  font-family: "Poppins", sans-serif;
  place-items: center;
}
.social-wrap ul {
  padding-left: 0px !important;
  margin-top: 50px;
}

.wrapper {
  display: inline-flex;
  list-style: none;
}

.wrapper .icon {
  position: relative;
  background: #ffffff;
  border-radius: 50%;
  padding: 15px;
  margin: 10px;
  width: 20px;
  height: 20px;
  font-size: 18px;
  display: flex;
  color: black;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #ffffff;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #ffffff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
  background: #1877F2;
  color: #ffffff;
}

.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
  background: #1DA1F2;
  color: #ffffff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background: #E4405F;
  color: #ffffff;
}




@media screen and (max-width: 1366px) {
  h1 {
    top: 25%;
    font-size: 1.5rem;
  }
  animated-text{
    font-size: 1.5rem;
  }
  .button {
    top: 40%;
    height: 2rem;
    padding-top: 1rem;
    width: 10rem;
    font-size: 1rem;
  }
  .logoRounded{
    width: 130px;
    height: 130px;
    top: -15%;
  }
}

/*
@media screen and (max-width: 1024px) {
  h1 {
    top: 25%;
    font-size: 1.5rem;
  }
  .button {
    top: 40%;
    height: 2rem;
    padding-top: 1rem;
    width: 10rem;
    border: #fff solid 0.2rem;
    font-size: 1rem;
  }
  .logoRounded{
    width: 100px;
    height: 100px;
    top: -10%;
  }

}*/

@media screen and (max-width: 1024px) {
  h1 {
    top: 25%;
    font-size: 1.5rem;
  }
  .container{
    width: 100%;
    height: 450px;
    display: block;
    background-color: black;
    text-align: center;
  }
  .button {
    display: block;
    position: absolute;
    top: 40%;
    height: 2rem;
    padding-top: 1rem;
    width: 10rem;
    border: #fff solid 0.2rem;
    font-size: 1rem;
  }
  .button-contact {
    margin-top: 1rem;
    height: 2.5rem;
    padding-top: 1.3rem;
    width: 15rem;
  }
  .logoRounded{
    width: 100px;
    height: 100px;
    top: -10%;
  }
  .accordion{
    display:block;
    flex-wrap:nowrap;
    width:100%;
    height: 100%;
    bottom:0;
    left:0;
    position:relative;
    right:0;
  }
  .split.left {
    width: 100%;
    height: 500px;
    background-color: #ff0000;
    display:block;
  }
  .split.right {
    width: 100%;
    height: 500px;
    background-color: #0073ff;
    display:block;
  }
  .split.farright {
    width: 100%;
    height: 500px;
    background-color: #000000;
    display:block;
  }
  .split.middle {
    width: 100%;
    height: 500px;
    background-color: #031035;
    display:block;
  }
  animated-text{
    font-size: 1rem;
  }
}
