

/* CORPS */
*, ::before,::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
  background-color: #C6B3B7;
  margin: 0;
  font-size: 18px;
  font-family: 'policeTexte';
  color: #3D4D5D;
}

main{
  padding-top: 100px;
}


/* TITRES*/

h1{
    padding-top: 200px;
    font-size: 80px;
    font-family: 'policeH1';
    color: white;
    padding-top: 130px;
}

h2{
    font-family: 'policeTitre';
    font-size: 55px;
}

h3{
  font-family: 'policeTitre';
  font-size: 45px;
}

h4{
    font-family: 'policeTitre';
    font-size: 35px;
    padding: 10px;
}

.grosTitre{
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
    letter-spacing: 3px;
    padding: 30px;
}

.titre {
  position: relative;  /* Relative positioning for the parent container */
  font-weight: 300;
  margin: 40px;
  color: #3D4D5D;
  text-align: center;
  letter-spacing: 3px;
  display: flex;       /* Use Flexbox */
  justify-content: center;  /* Center horizontally */
  align-items: center; /* Center vertically */
}

.titre span {
  position: absolute;
  left: 50%;           /* Center the span horizontally */
  transform: translateX(-50%);  /* Correct the horizontal centering */
  top: -90%;
  text-align: center;
  opacity: 0.2;
  font-weight: 700;
  z-index: 0;
  font-size: 120px;
  padding: 5px;
}


/* EN TETE */

/* MENU */
nav{
    position: fixed;
    z-index: 50;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background-color: #d7c9cc;
    box-shadow: inset 0 -1px 0 #3D4D5D;
}

.nav-icon{
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 20px;
}

.nav-icon span {
    font-size: 25px;
    margin-left: 10px;
    font-weight: 400;
    color: #3D4D5D;
}

.nav-icon img {
    width: 40px;
    transform: rotate(-17deg) translateX(5px);
}

.hamburger{
    display: none;
}

.navlinks-container a{
    margin: 0 10px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color:#414141;
    display: inline-block;
    position: relative;
}

.navlinks-container a::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -3px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: #3D4D5D;
    transition: transform 0.3s ease-out;
}

.navlinks-container a:hover::after {
    transform: rotateX(1);
}

@media (max-width:900px) {
    nav{
        padding: 15px 20px;
        position: relative;
    }

    .nav-icon{
        order: 2;
        margin: 0 auto;
    }

    .main-navlinks{
        order: 1;

    }

    .nav-icon span {
        font-size: 22px;
    }

    /* HAMBURGER */

    .hamburger {
        width: 20px;
        height: 20px;
        cursor: pointer;
        border: none;
        display: flex;
        background: #d7c9cc;
        align-items: center;
        position: relative;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: #3D4D5D;
        position: absolute;
        pointer-events: none;
        transition: opacity 0.3s 0.15s ease-out;
    }

    .hamburger span:nth-child(1),.hamburger span:nth-child(3){
        transition: transform 0.3s ease-out;
    }

    .hamburger span:nth-child(1){
        transform: translateY(7px);
    }

    .hamburger span:nth-child(2){
        transform: translateY(-7px);   
    }

    .hamburger.open span:nth-child(1){
        transform: translate(0) rotate(135deg);
    }

    .hamburger.open span:nth-child(2){
        opacity: 0;
        transition: opacity 0 ease-out;
    }

    .hamburger.open span:nth-child(3){
        transform: translate(0) rotate(-135deg);
    }

    .navlinks-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        background: #d7c9cc;
        top: 100%;
        left: 0;
        height: 100vh;
        padding: 15PX 50px 15px 20px;
        border-right: 1px solid #3D4D5D;
        transform: translate(-100%); 
        transition: transform 0.4s ease-out;
    }

    .open{
        transform: translate(0%);
    }

    .navlinks-container a{
        font-size: 18px;
        margin: 10px 0;
    }
}

@media (max-width:500px) {
    .nav-icon img {
        width: 30px;
    }

    .nav-icon span{
        font-size: 20px;
    }
}

/* BODY */

/* BUT */

.competenceBUT{
  position: relative;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  margin: 40px;
  padding: 30px 0;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
}

.main-bulle{
  position: relative;
  width: 250px;
  height:250px ;
  background-color:#C6B3B7;
  border: 3px solid #3D4D5D;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #3D4D5D;
  font-size: 18px;
  text-align: center;
  padding: 10px;
  margin: 250px;
}

.petite{
  position: absolute;
  border-radius: 50%;
  background-color: #3D4D5D;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #C6B3B7;
  font-size: 14px;
  text-align: center;
  padding: 5px;
}

.petite.bulle{
  width: 200px;
  height: 200px;
}

.petite.bulle:hover{
  cursor:pointer;
  transform:scale(1.1)
}

.un{
  top: -230px;
}

.un a {
  text-decoration: none;
  padding: 2px;
  background-color: #C6B3B7;
  border: 2px solid ;
  font-size: 12px;
  border-radius: 5px;
  color: #3D4D5D;
}

.deux{
  top: -50px;
  left: 260px;
}

.deux a {
  text-decoration: none;
  padding: 2px;
  background-color: #C6B3B7;
  border: 2px solid ;
  font-size: 12px;
  border-radius: 5px;
  color: #3D4D5D;
}

.trois{
  top: 170px;
  left: 260px;
}

.trois a {
  text-decoration: none;
  padding: 2px;
  background-color: #C6B3B7;
  border: 2px solid ;
  font-size: 12px;
  border-radius: 5px;
  color: #3D4D5D;
}

.quatre{
  top: 280px;
}

.quatre a {
  text-decoration: none;
  padding: 2px;
  background-color: #C6B3B7;
  border: 2px solid ;
  font-size: 12px;
  border-radius: 5px;
  color: #3D4D5D;
}

.cinq{
  top: -50px;
  right: 260px;
}

.cinq a {
  text-decoration: none;
  padding: 2px;
  background-color: #C6B3B7;
  border: 2px solid ;
  font-size: 12px;
  border-radius: 5px;
  color: #3D4D5D;
}

.six{
  top: 170px;
  right: 260px;
}

.six a {
  text-decoration: none;
  padding: 2px;
  background-color: #C6B3B7;
  border: 2px solid ;
  font-size: 12px;
  border-radius: 5px;
  color: #3D4D5D;
}

.infoCompetences{
  padding: 20px;
}

.modal1 ,.modal2,.modal3,.modal4,.modal5,.modal6{
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 25%; right: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.modal1:target,.modal2:target,.modal3:target,.modal4:target,.modal5:target,.modal6:target {
  visibility: visible;
  opacity: 1;
}

.modal_content1,.modal_content2,.modal_content3,.modal_content4,.modal_content5,.modal_content6 {
  border-radius: 4px;
  position: relative;
  width: 500px;
  max-width: 90%;
  background: #C6B3B7;
  border: 3px solid #3D4D5D;
  padding: 1.5em 2em;
}

.modal_close1,.modal_close2,.modal_close3,.modal_close4,.modal_close5,.modal_close6 {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #3D4D5D;
  text-decoration: none;
}

.modal_content1 i,.modal_content2 i,.modal_content3 i,.modal_content4 i,.modal_content5 i,.modal_content6 i{
  color: black;
}

.voirProjet{
  background-color: #3D4D5D;
  color: #C6B3B7;
  padding: 3px;
}

.btnProjet{
  text-decoration: none;
  padding: 5px;
  background-color: #3D4D5D;
  border-radius: 5px;
  color: #C6B3B7;
}


/* TECHNO */

  body #scene {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 20px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 40px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    overflow: hidden;
  }
  body #scene #left-zone {
    background: #fff;
    flex-grow: 0;
    display: flex;
    width: 60%;
    align-items: center;
    justify-content: left;
  }
  body #scene #left-zone .list {
    display: flex;
    list-style: none;
    align-content: stretch;
    flex-direction: column;
    flex-grow: 1;
    margin: 0;
    padding: 0;
  }
  body #scene #left-zone .list li.item input[type="radio"] {
    display: none;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ label {
    display: block;
    opacity: 0.5;
    height: 50px;
    text-align: center;
    line-height: 50px;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ label:first-letter {
    text-transform: uppercase;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ label:hover {
    opacity: 0.75;
    cursor: pointer;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ label.label_web:before {
    content: " ";
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    margin-left: 15px;
    background-image: url('/image/site-internet.png');
    background-position: center;
    background-size: 75% 75%;
    background-repeat: no-repeat;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ label.label_logiciel:before {
    content: " ";
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    margin-left: 15px;
    background-image: url('/image/logiciel.png');
    background-position: center;
    background-size: 75% 75%;
    background-repeat: no-repeat;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ label.label_bdd:before {
    content: " ";
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    margin-left: 15px;
    background-image: url('/image/base-de-donnees.png');
    background-position: center;
    background-size: 75% 75%;
    background-repeat: no-repeat;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ label.label_projet:before {
    content: " ";
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    margin-left: 15px;
    background-image: url('/image/gestion-de-projet.png');
    background-position: center;
    background-size: 75% 75%;
    background-repeat: no-repeat;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ label.label_pres:before {
    content: " ";
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    margin-left: 15px;
    background-image: url('/image/presentation.png');
    background-position: center;
    background-size: 75% 75%;
    background-repeat: no-repeat;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ .content {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ .content.content_web .picto {
    height: 100px;
    width: 100px;
    margin: 10px;
    background-image: url('/image/site-internet.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .content.content_web h2 {
    color: #D64541;
  }
  .content.content_logiciel .picto {
    height: 100px;
    width: 100px;
    margin: 10px;
    background-image: url('/image/logiciel.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
 .content.content_logiciel h2 {
    color: #F5D76E;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ .content.content_bdd .picto {
    height: 100px;
    width: 100px;
    margin: 10px;
    background-image: url('/image/base-de-donnees.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .content.content_bdd h2{
    color: #00B16A;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ .content.content_projet .picto {
    height: 100px;
    width: 100px;
    margin: 10px;
    background-image: url('/image/gestion-de-projet.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .content.content_projet h2 {
    color: #F27935;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ .content.content_pres .picto {
    height: 100px;
    width: 100px;
    margin: 10px;
    background-image: url('/image/presentation.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .content.content_pres h2 {
    color: purple;
  }
  .content h1:first-letter {
    text-transform: uppercase;
  }
  body #scene #left-zone .list li.item input[type="radio"] ~ .content p {
    max-width: 50%;
    text-align: center;
  }
  body #scene #left-zone .list li.item input[type="radio"]:checked ~ label {
    opacity: 1;
    animation: all 1s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  }
  body #scene #left-zone .list li.item input[type="radio"]:checked ~ label.label_web {
    color: #D64541;
    border-right: solid 4px #D64541;
  }
  body #scene #left-zone .list li.item input[type="radio"]:checked ~ label.label_logiciel {
    color: #F5D76E;
    border-right: solid 4px #F5D76E;
  }
  body #scene #left-zone .list li.item input[type="radio"]:checked ~ label.label_bdd {
    color: #00B16A;
    border-right: solid 4px #00B16A;
  }
  body #scene #left-zone .list li.item input[type="radio"]:checked ~ label.label_projet {
    color: #F27935;
    border-right: solid 4px #F27935;
  }
  body #scene #left-zone .list li.item input[type="radio"]:checked ~ label.label_pres {
    color: purple;
    border-right: solid 4px purple;
  }
  body #scene #left-zone .list li.item input[type="radio"]:checked ~ .content {
    animation-duration: 0.75s;
    animation-name: slidein;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  }
  body #scene #middle-border {
    background-color: #eee;
    height: 75%;
    flex-grow: 1;
    max-width: 2px;
    z-index: 0;
  }
  body #scene #right-zone {
    background: #fff;
    height: 100%;
    flex-grow: 3;

  }
.titre {
  display: flex;
  flex-direction: row;
}

.langage img{
  width: 150px;
  padding: 20px;
}

#scene {
  display: flex;
  flex-direction: row;
}

#left-zone {
  width: 30%;
  padding: 20px;
  background-color: #f0f0f0;
}

#right-zone {
  width: 70%;
  padding: 20px;
}

ul.list {
  list-style-type: none;
  padding: 0;
}

ul.list .item {
  margin: 10px 0;
}

ul.list .item label {
  cursor: pointer;
  display: block;
  padding: 10px;
  background-color: white;
  border-radius: 5px;
  color: #3D4D5D;
}

.content {
  display: none;
}

.content h2 {
  margin-top: 0;
}

#radio_web:checked ~ #right-zone #web,
#radio_logiciel:checked ~ #right-zone #logiciel,
#radio_bdd:checked ~ #right-zone #bdd,
#radio_projet:checked ~ #right-zone #projet,
#radio_pres:checked ~ #right-zone #pres {
  display: block;
}

/*----------FOOTER----------- */

footer{
  border-top: 5px dashed #3D4D5D ;
  color: #3D4D5D;
  padding: 30px 80px;
}

.footer-top{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 50px;
  justify-items: center;
  margin: 0 auto 80px auto;
}

.footer-col {
  width: max-content;
}

.footer-col > * {
  display: block;
  width: max-content;
}

.footer-col > h3{
  margin-bottom: 20px;
}

.footer-col a{
  padding: 5px 0;
}

.footer-col img{
  width: 30px;
  padding-right: 6px;
}
.footer-middle{
  width: 100%;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
}

.footer-middle h3{
  margin-bottom: 10px;
}

.footer-middle a{
  width: 300px;
  height: 60px;
  margin: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
  color: #3D4D5D;
  z-index: 0;
  border: 2px solid #3D4D5D;
  border-radius: 6px;
  background: #C6B3B7;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-middle a::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 100%;
  background: #3D4D5D;
  border-radius: 50% 50% 0% 0%;
  z-index: -1;
  transition: all .5s;
}

.footer-middle a:hover::before{
  top: 0px;
  border-radius: 0;
}

.footer-middle a:hover {
  background: transparent;
}

footer a, footer a:visited, footer a:active{
  text-decoration: none;
  color:inherit;
  transition: all 0.2s ease;
}

 footer a:hover{
  color: white;
}

.reseau {
  display: flex;
  justify-content: center;
  align-items: center;
  
}