@charset "UTF-8";

@font-face {
  font-family: "Basel";
  src: url("../fonts/Basel-Book.eot") format("eot"),
    url("../fonts/Basel-Book.woff") format("woff"),
    url("../fontsBasel-Book.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
}

* {
  box-sizing: border-box;
}


/* width */
.box::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.box::-webkit-scrollbar-track {
background-color:  white;
}
 
/* Handle */
.box::-webkit-scrollbar-thumb {
  background: rgb(226, 226, 226); 

}

.box.anim::-webkit-scrollbar-track {
  background-color:  yellow;
  }
   

body {
  -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
  font-family: Basel;
  color: black;
  font-size: 15px;
  hyphens: auto;
}

.hidden {
  display: none;
}

.wrapper {
  display: grid;
  background-color: black;
  width: 100%;
  height: 100%;
  row-gap: 2px;
  column-gap: 2px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(24, 1fr);
}


.box {
  position: relative;
  background-color: white;
  transition: all 1s ease-in-out;
}

.box-header {
  display: flex;
  justify-content: space-between;
  border-bottom: solid 2px;
  padding: 2px 0;
}

.box-headerdeux {
  display: flex;
  justify-content: space-between;
  transition: none;
}


.box-headerstop {
  display: flex;
  justify-content: space-between;
}

.box-header span {
  width: 16%;
}

.box-headerdeux span {
  width: 50%;
  transition: none;
  
}

.box-headerstop span {
  width: 16%;
}

.box-headerstop {
  border-bottom: solid 2px;
}

.box-content {
  display: none;
  padding-top: 2px;
  padding-bottom: 4px;
  border-bottom: solid black 2px;
}

.box.one {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 30px;
  background-color: yellow;
  padding-top: 6px;
  grid-column: 1 / span 12;
  grid-row: 1/ span 1;
}

.box.nested-box {
  grid-column: 1 / span 6;
  grid-row: 3/ span 22;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.box .nested-box-row {
  display: flex;
}

.box.nested-box .four {
  width: 100%;
  height: 50%;
  flex: 1 1 auto;
  border-bottom: solid 2px black;
}

.box.nested-box .ten,
.box.nested-box .eleven {
  padding-left: 5px;
  flex: 0 0 auto;
  width: 65%;
  overflow: hidden;
  white-space: nowrap;
}

.hide-box {
  height: 0 !important;
  flex: 0 0 auto !important;
  padding-top: 0 !important;
  border-width: 0 !important;
  /* padding: 0 !important; */
}


.box.two {
  transition: none;
  background-color: rgb(226, 226, 226);
  padding-left: 5px;
  grid-column: 1/ span 3;
  grid-row: 2/ span 1;
  font-size: 3.3vw;
  letter-spacing: -0.1vw;
}

.box.three {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: none;
  padding-left: 5px;
  grid-column: 4/ span 9;
  grid-row: 3 span 1;
  font-size: 3.3vw;
  letter-spacing: -0.1vw;
}

.box.five {
  font-size: 16px;
  line-height: 1;
  padding: 4px;
  grid-column: 7/ span 6;
  grid-row: 3/ span 8;
  overflow-y: auto;
  transition: none;
}

.box.four {
  padding-top: 5px;
  padding-left: 5px;
  font-size: 22px;
  text-align: left;
  overflow: auto;
}

.box.six {
  transition: 2s ease-in-out;
  font-size: 20px;
  grid-column: 8/ span 5;
  grid-row: 11/ span 14;
  font-size: 20px;
}

.box.seven {
  background-color: rgb(226, 226, 226);
  grid-column: 7/ span 1;
  grid-row: 11/ span 1;
  font-size: 3.3vw;
  transition: none;
  text-align: center;
  }

.box.eight {
  grid-column: 7/ span 1;
  grid-row: 12/ span 12;
  font-size: 50px;
  display: flex;
  align-items: center;
}

.box.nine {
  background-color: rgb(226, 226, 226);
  grid-column: 7/ span 1;
  grid-row: 24/ span 1;
  font-size: 3.3vw;
  letter-spacing: -0.1vw;
  transition: none;
  text-align: center;
  color: transparent;
}

.box.anim {
  background-color: yellow;
  padding-top: 5px;
  padding-left: 5px;
  overflow: auto;
  flex: 1 1 auto;
  height: 100%;
  width: 100%;
  border-top: solid 2px black;
}

.solutions{
  font-size: 22px;
}

.box-image {
  width: 100%;
  height: 100%;
}

.box-image img {
  object-fit: contain;
  object-position: 0% 0%;
  width: 100%;
  height: 100%;
}

.box-image img:nth-child(1) {
  position: absolute;
  display: block;
}

.box-image img:nth-child(2) {
  display: none;
  position: absolute;
}

.box.twelve {
  display: none;
}

.box.ten {
  background-color: rgb(226, 226, 226);
  font-size: 3.3vw;
  letter-spacing: -0.1vw;
  transition: none;
}

.box.eleven {
  font-size: 50px;
  cursor: pointer;
  background-color: yellow;
  font-size: 3.3vw;
  transition: none;
}

p {
  font-size: 16px;
  line-height: 1.10;
  margin-left: 25%;
  margin-right: 2%;
}

sup {font-size:13px; vertical-align:top;}

.nospace{
  padding-bottom: 5px;
  font-size: 16px;
  margin-left: 25%;
  margin-right: 2%;
  display: inline-block;
}

h1 {
  font-size: 22px;
  padding-right: 15px;
  padding-left: 2px;
}

h2 {
  font-size: 22px;
  margin-left: 25%;
}

h3 {
  margin-left: 21%;
  margin-right: 2%;
 
}

.fact {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 22px;
  margin-bottom: 3px;
}

.factdeux {
  padding-top: 5px;
}

.factalt {
  line-height: 1.2;
  font-size: 160px;
  letter-spacing: -2px;
}

.box-header:hover {
  background-color: yellow;
}



/* media queries */
@media only screen and (max-width:1239px){

  body{
    font-size: 14px;
  }

  p{
    font-size: 14px;
  }

  .nospace{
    font-size: 14px;    
  }

  .box.five{
    font-size: 13px;
  }

  h1{
    font-size: 20px;
  }

  .solutions{
    font-size: 20px;
  }
      
  .box.four{
    font-size: 20px;
  }

  .fact{
    font-size: 20px;
  }

}

@media only screen and (max-width:1015px){

  .box-image img {
    object-fit: contain;
    object-position: 50% 50%;
    width: 100%;
    height: 100%;
  }


  .wrapper{
    display: inline-block;   
  }
      
  .box{
   border-bottom: 2px solid black;
  }

  p{
   margin-left: 40%;
   font-size: 14px;
  }
      
  .nospace{
    padding-bottom: 5px;
    font-size: 14px;
    margin-left: 40%;
  }
        
  h1{
    font-size: 20px;
  }

  h2{
    margin-left: 40%;
  }

  .fact{
    font-size: 20px;
  }
      
  .box.two{
    font-size: 40px;   
  }
        
  .box.three{
    font-size: 40px;  
  }

  .box.five{
    height: 24.5%;
    overflow-y: auto;
  }
    
  .box.anim{
    border-bottom: 0;
  }
      
  .box.ten{
    padding-right: 50px;
    border-bottom: 0;
    font-size: 40px;
  }

  .box.eleven{
    border-bottom: 0;
    font-size: 40px;
  }
      
  .box.four{
    font-size: 20px;
    transition: none;
  }
      
  .box.five{
    transition: none;
    border-bottom: 2px solid black;
  }

  .box.six{
    height: 50%;
    transition: none;
  }
      
  .box.seven{
    font-size: 40px;
    border-bottom: 0px; 
  }
      
  .box.nine{
    font-size: 40px;
  }
    
}

@media only screen and (max-width:572px){

  .fact{
    font-size: 20px;
  }

  .box.two{
    padding-left: 7px;
  }

  .box.three{
    padding-left: 7px;
  }

  p{
    margin-left: 5px;
  }

  h1{
    margin-left: 4px;
  }

  h2{
    margin-left: 4px;
  }

  #result{
    margin-left: 8px;
    border-bottom: 15px solid white;
  }

  .box-headerdeux{
    display: block;
  }

  .box-headerdeux br{
    display: none;
  }

  .espaceapres{
    border-bottom: 15px solid white;
  }

  p.espace:before{
    content:"\a";
    white-space: pre
  }

  .espace{
    margin-top: 5px;
  }

  h2 br{
    display: none;
  }

  .nospace{
    margin-left: 5px;
    padding-bottom: 5px;
  }

  .box-header {
    display: flex;
    justify-content: space-between;
  }


  .nodisplaymobile{
    display: none;
  }

  .box-header span {
    width: 60%;
  }

  .box-headerstop span {
    width: 60%;
  }

  .box.five{
    padding-left: 10px;
    padding-right: 10px;
  }v

  h3{
    padding-left: 15px;
  }

  .spanafter {
    padding-bottom: 50px solid black;
  }
  .box .nested-box-row {
    display: flex;
    flex-wrap: wrap;
  }

.box.nested-box .ten,
.box.nested-box .eleven {
  padding-left: 5px;
  flex: 0 0 auto;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  flex-wrap: wrap;
  padding-left: 9px;
}

.box.nested-box .ten{
  border-bottom: 2px solid black;
}


}