/*body {background: #F3F3F3;}*/
/*body {background: #7f60a3;}*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100vw;
  max-height: 100vh;
}

body {
    background-image: url(https://i.gyazo.com/154427784dbda976dc05eb3a7abec7f4.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .fiche-rpg {
    font-family: Montserrat; 
    font-size: 12px; 
    margin: 15px auto;
    width: 90%;
  }

  .fiche-top {
    background-image: -webkit-gradient(linear,left top,right top,from(#4a5e83),to(#3c2446)); 
    background-image: linear-gradient(90deg,#4a5e83,#3c2446); 
    color: #fff; 
    display:flex; 
    align-items: center; 
    justify-content:space-between; 
    height: 75px; 
    padding: 0 20px; 
    border-radius: 10px;
  }

  .name {
    display:flex; 
    align-items:center;
  }

  .name div {
    margin-left: 25px;
    text-transform: uppercase; 
    font-size: 15px; 
    font-weight: 500;
    letter-spacing: 1px;
    width: max-content;
  }
  
  .name span {
    display:block; 
    font-size: 13px; 
    font-weight: 900; 
    font-family: Karla; 
    margin-top: 5px;
    color: #96dbd0;
  }
  
  .lvl {
    display:block; 
    background: rgba(0,0,0,0.3); 
    border-radius: 10px; 
    text-align:center;
    position:relative;
    width: 150px; 
    height: 60px;
    display:flex; 
    align-items:center; 
    justify-content:center;
    font-size: 30px;
    overflow:hidden;
    text-shadow: 2px 1px #000;
    opacity: 0;
  } 
  
  .fiche-body {
    display: flex;
    margin: 20px 0;
  }
  .fiche-left {
    background: #FFF;
    border-radius: 10px;
    overflow:hidden;
    flex: 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content: flex-start;
    opacity: 0;
  }
  .fiche-left img {
    height: 150px;
    width: 150px;
    border-radius: 100%;
    margin: 20px;
    border: 4px solid #4a5e83;
  }
  
  .rpg-infos {
    width: calc(100% - 55px);
    text-transform:uppercase;
    font-family: karla;
    font-size: 12px;
    color: #777;
    margin-bottom: 20px;
    font-weight: 500;
  }
  .rpg-infos div {
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom: 1px solid #DDD;
    height: 40px;
  }
  .rpg-infos div:last-child {border:none;}
  .rpg-infos span {
    font-size: 15px;
    color: #3c2446;
    margin: 10px;
  }
  .rpg-infos a {
    color: #777;
  }
  
  .fiche-right {
    flex: 1; 
    position:relative;
    width: 90%;
  }

  .classe {
    background-image: -webkit-gradient(linear,left top,right top,from(#4a5e83),to(#3c2446)); 
    background-image: linear-gradient(90deg,#4a5e83,#3c2446);
    text-align: right;
    height:45px;
    padding: 0 20px;
    -webkit-clip-path: polygon(0% 0%, 100% 100%, 100% 100%, 100% 0%);
    clip-path: polygon(7.5% 0%, 0% 100%, 100% 100%, 100% 0%);
    color: #fff;
    text-transform:uppercase;
    font-size: 18px;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    position:relative;
    width:50%;
    margin-left: 43%;
    z-index:9;
    letter-spacing: 1px;
  }
  .classe img {
    width: 25px; 
    height: 25px;
    margin-left: 20px;
  }
  
  .rpg-stats {
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1;
    margin: 10px 0;
  }

  .fiche-details {
    background: #FFF;
    border-radius: 10px; 
    overflow:hidden;
    height: 100%;
  }
  
  /*** Onglets ***/ 
  
  .tabs {
    display:flex; 
    justify-content: flex-start; 
    align-items:center; 
    height: 50px;
    color: #fff;
    background-image: -webkit-gradient(linear,left top,right top,from(#4a5e83),to(#3c2446)); background-image: linear-gradient(90deg,#4a5e83,#3c2446);
  } 

  .tabs label {
    font-size:20px; 
    cursor: pointer; 
    margin: 0 32px; 
    color: #fff; 
    opacity: 1;
    visibility: visible;
  }  

  .tabs label:nth-child(5){
    /*opacity: 0;*/
    visibility: visible;
  }
  .tabs label:nth-child(6){
    /*opacity: 0;*/
    visibility: visible;
  }
  .tabs label:nth-child(7){
    /*opacity: 0;*/
    visibility: visible;
  }

  .tabs label:hover {
    color: #96dbd0;
  }
  .tabs-body {
    flex:1;
  } 
  .tabs-body input {display:none;} 
  .tabs-body .rcont {
    height:350px;
    position:relative; 
    overflow:hidden;
  } 
  .tabs-body .rcont > div {
    position: absolute; 
    width:100%; 
    height:400px; 
    transition: ease 0.5s; 
    color: #222;
  } 
  .tabs-body .rcont .r1{left:-100%;} 
  .tabs-body .rcont .r2 {left: -100%;} 
  .tabs-body .rcont .r3 {left: -100%;} 
  .tabs-body .rcont .r4 {left: -100%;} 
  .tabs-body input#r1:checked ~ .rcont .r1 {left:0px;} 
  .tabs-body input#r2:checked ~ .rcont .r2 {left:0px;} 
  .tabs-body input#r3:checked ~ .rcont .r3 {left:0px;} 
  .tabs-body input#r4:checked ~ .rcont .r4 {left:0px;} 
  .tabs-body input#r1:checked ~ .rtabs label[for=r1], .tabs-body input#r2:checked ~ .rtabs label[for=r2], .tabs-body input#r3:checked ~ .rtabs label[for=r3]{transition: 1s ease;} 
  
  /**** TAB 1 ****/
  .title {
    font-size: 20px;
    text-transform:uppercase;
    -webkit-background-clip: text!important;
    -webkit-text-fill-color: transparent!important;
    background-image: -webkit-linear-gradient(-20deg,#4a5e83,#3c2446)!important;
    margin: 15px;
    text-align:center;
  }
  .fiche-histoire {
    margin: 15px 20px;
    flex:1;
    height: 220px;
    text-align:justify;
    line-height: 16px;
    font-weight: 600;
  }
  
  /**** ONGLET 2 ****/
  .compets, .compets2 {
    border: 1px solid #ccc;
    border-radius: 10px; 
    margin: 20px;
    padding: 15px 20px 10px;
    position:relative;
    text-align: justify;
    line-height: 20px;
  }
  .compets ttl, .compets2 ttl {
    position:absolute;
    top: -10px;
    left: 5px; 
    color: #fff;
    text-transform:uppercase;
    background-image: -webkit-gradient(linear,left top,right top,from(#4a5e83),to(#3c2446)); background-image: linear-gradient(90deg,#4a5e83,#3c2446);
    border-radius: 25px;
    padding: 5px;
    border: 1px solid #ccc;
    font-family: karla;
    font-size: 10px;
    letter-spacing: 1px;
    line-height: 10px;
  }
  .compets span {
    font-weight: 500;
    text-transform: uppercase;
    -webkit-background-clip: text!important;
    -webkit-text-fill-color: transparent!important;
    background-image: -webkit-linear-gradient(-20deg,#4a5e83,#3c2446)!important;
  }
  .compets span:before {
     content:'\ebc6 \ebc6';
    font-family:'honeybee';
    letter-spacing: -4px;
    font-size: 8px;
    font-weight: 600;
    margin-right: 5px;
  }
  .compets2 {
    display:flex;
    position:relative;
    flex:1;
    justify-content:space-around;
    padding: 30px;
  }
  .skill {
    width: 40px; 
    height: 40px;
    /*margin: 5px;*/
  }
  .skikki {
    width: 40px; 
    height: 40px;
    /*border-radius: 100%;*/
    /*border: 2px solid #ccc;*/
    /*background: #ccc;*/
  }  
  
  /**** ONGLET 3 ****/
  
  #inventaire {
      height:246px;
      display: flex;
      background: #eee;
    background-image: -webkit-gradient(linear,left top,right top,from(#4a5e83),to(#3c2446)); background-image: linear-gradient(90deg,#4a5e83,#3c2446);
    padding:20px;
  }
  #inventaire input {
      display: none;
  }
  #inventaire .cd-im {
    width:110px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      justify-content: center;
      align-items: center;
      -webkit-transition: all 1s ease;
      -moz-transition: all 1s ease; 
    margin-right: -20px;
  }
  .cd-immi {
      width: 70px;
      height: 70px;
      margin: 0 auto;
      margin: 10px;
      background-position: center!important;
      cursor:pointer;
    color: #fff;
    background: #242021;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
  }
  .cd-immi:hover{
    background: rgba(207, 203, 203, 0.24);
  }
  .cd-immi span {
    text-transform:uppercase;
    font-size: 8px;
  }
  .cd-immi img {
    width:30px;
    height:30px;
    margin-top: 5px;
  }
  #inventaire .cd-bod {
      width: 100%;
      position: relative;
      overflow: hidden;
  }
  .cd-bod .tb1, .cd-bod .tb2 {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      height: 286px;
      z-index: 1;
      opacity:0;
      -webkit-transition: all 1s ease;
      -moz-transition: all 1s ease;
      display: flex;
      flex-direction: column;
  }
  #inventaire input#tb1:checked ~ .cd-bod .tb1, #inventaire input#tb2:checked ~ .cd-bod .tb2 {
      z-index: 2;
      opacity: 1
  }
  .ttl {
      padding: 20px;
      background: #444;
      color: #fff;
    text-align: right;
      text-transform: uppercase;
      font: 20px 'Montserrat', sans-serif;
      font-weight: 100;
      margin: 0px;
    display:flex; 
    align-items:center; 
    justify-content:space-between;
  }
  .ttl div {
    display:flex; 
    align-items:center;
  }
  .ttl img {
    width: 30px;
    height:30px;
    margin-right: 5px;
  }
  #invent {
      text-align: justify;
      color: #FFF;
      line-height: 125%;
    background-image: -webkit-gradient(linear,left top,right top,from(rgba(0,0,0,0)),to(rgba(0,0,0,0.5))); background-image: linear-gradient(90deg,rgba(0,0,0,0),rgba(0,0,0,0.5));
    display:flex;
    align-items:flex-start;
    justify-content:space-around;
    flex-wrap:wrap;
    flex-direction: column;
    height: 200px;
    border-radius: 10px;
  }
  .item {
    background: rgba(0,0,0,0.6);
    border-radius: 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    width: 70px;
    height: 70px;
    margin:15px;
  }
  .item:nth-child(5){
    opacity: 0;
  }

  .item:nth-child(6){
    opacity: 0;
  }
  
  .item:nth-child(7){
    opacity: 0;
  }
  
  .item:nth-child(8){
    opacity: 0;
  }

  .item:hover {
    background: rgba(122, 118, 118, 0.24);
  }
  .item img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
  }

  .contact {
    background: #FFF;
    /*border-radius: 10px;*/
    overflow:hidden;
    flex: 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content: flex-start;
    opacity: 1;
  }
  .contact img {
    height: 120px;
    width: 120px;
    border-radius: 100%;
    margin: 10px auto;
    margin-bottom: 0;
    border: 4px solid #4a5e83;
  }


  @media (min-width:600px){

    body {
      background-image: url(https://i.gyazo.com/154427784dbda976dc05eb3a7abec7f4.png);
      background-size: auto;
      background-position-x: center;
      background-position-y: 35%;
    }

    .fiche-rpg {
      width: 950px;
      margin: 20px auto;
    }

    .fiche-top {
      height: 100px;
    }

    .name div {
      margin-left: 20px; 
      text-transform: uppercase; 
      font-size: 20px; 
      letter-spacing: 1px;
    }

    .name span {
      display:block; 
      font-size: 13px; 
      font-weight: bolder; 
      font-family: Karla; 
      margin-top: 5px;
    }

    .lvl {
      opacity: 1;
    }

    .fiche-body {
      height: 440px;
    }

    .fiche-left {
      background: #FFF;
      border-radius: 10px;
      overflow:hidden;
      flex: 0.5;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content: flex-start;
      opacity: 1;
      width: 30%;
    }
    .fiche-left img {
      height: 150px;
      width: 150px;
      border-radius: 100%;
      margin: 20px;
      border: 5px solid #4a5e83;
      margin-bottom: 40px;
    }

    .rpg-infos {
      width: calc(100% - 60px);
      text-transform:uppercase;
      font-family: karla;
      font-size: 11px;
      color: #777;
      margin-bottom: 20px;
    }

    .fiche-right {
      flex:1; 
      position:relative;
      margin-left:20px;
      width: 65%;
    }

    .tabs {
      display:flex; 
      justify-content: flex-end;
      align-items:center; 
      height: 50px;
      color: #fff;
      padding-right: 5px;
      background-image: -webkit-gradient(linear,left top,right top,from(#4a5e83),to(#3c2446)); background-image: linear-gradient(90deg,#4a5e83,#3c2446);
    } 
  
    .tabs label {
      font-size:20px; 
      cursor: pointer; 
      margin: 0 10px;
      padding-right: 10px;
      color: #fff; 
      /*opacity: 0;*/
      visibility: hidden;
    } 
 
    .tabs label:nth-child(5){opacity: 1;visibility: visible;}
    .tabs label:nth-child(6){opacity: 1;visibility: visible;}
    .tabs label:nth-child(7){opacity: 1;visibility: visible;}

    .fiche-histoire {
      margin: 40px;
      flex:1;
      height: 220px;
      text-align:justify;
      line-height: 16px;
      padding-right: 10px;
      font-size: 15px;
      font-weight: 500;
    }

    .compets2 {
      height: 120px;
    }
    
    #inventaire {
      height:246px;
      display: flex;
      background: #eee;
      background-image: -webkit-gradient(linear,left top,right top,from(#4a5e83),to(#3c2446)); background-image: linear-gradient(90deg,#4a5e83,#3c2446);
      padding:20px;
    }
    #invent {
      text-align: justify;
      color: #FFF;
      line-height: 125%;
    background-image: -webkit-gradient(linear,left top,right top,from(rgba(0,0,0,0)),to(rgba(0,0,0,0.5))); background-image: linear-gradient(90deg,rgba(0,0,0,0),rgba(0,0,0,0.5));
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;
    flex-wrap:wrap;
    flex-direction: column;
    height: 200px;
    border-radius: 10px;
    margin-left: 15px;
  }
  .item {
    background: rgba(0,0,0,0.6);
    border-radius: 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    width: 70px;
    height: 70px;
    margin:15px;
  }
    .item:nth-child(5){opacity: 1;}
    .item:nth-child(6){opacity: 1;}
    .item:nth-child(7){opacity: 1;}
    .item:nth-child(8){opacity: 1;}

  }
