@import url('https://fonts.googleapis.com/css2?family=NTR&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200&display=swap');
/* new */
html{
    font-size: 100%;
    box-sizing: border-box;
}
*,*::after,*::before{
    box-sizing: inherit;
     margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
:root{
    --tit:#64ffda;
    --bd: #8892b0;
    /* --txt: #aaaaaa; */
    --txt:#8892b0;
    --cnt:#ccd6f6;
    --cnthov:rgba(100,255,218,0.1);
    --bg:#0a192f;
}
@media only screen and (max-width: 600px) {
  .flex{
    display: flex;
    flex-direction:column;
    align-items: flex-start;
    padding-left: 15%;
    padding-top: 10%;
    width: 235%;
}
}
@media only screen and (max-width: 600px) {
  .titre-desc{
    /* width: 40%; */
    /* height: 30%; */
    font-size: 22px;
    max-width: 40%;
    
    text-align: justify;
    padding-bottom: 50px;
    margin-top: 70px;
  
}
}
@media only screen and (max-width: 800px) {
  .titre{
    
     overflow: hidden;
    max-height: 180px ; 
}
}
#summary{
  /* background-color: red; */
  width: 222px;
  position: fixed;
  right: 48px;
  top: 398px;
  align-items: center;
  
}
#summary ul{
    list-style: none;
    text-decoration: none;
}
#summary a:hover{
    color: var(--txt);
}
a, i{
    text-decoration: none;
    color: var(--tit);
    font-size: larger;
    font-weight: bold;
    padding-bottom: 3px;
    transition: 0.5s width ease-in-out;

}

body{
   height: 100vh;
    color: #a8b2d1;
    background: #0a192f;
    /* font-family: "NTR",sans-serif; */
    font-family: 'Unbounded', cursive;
}
.flex{
    display: flex;
    flex-direction:column;
    align-items: flex-start;
    padding-left: 15%;
    padding-top: 10%;
    /* min-height: 100vh; */
}
.light{
    color: #ccd6f6;
    font-size: 50px ; 
    width: 100%;
}

.spec{
    font-weight: bold;
    color: var(--tit);
    font-size: 65px;
}
.titre-desc{
    /* width: 40%; */
    /* height: 30%; */
    font-size: 22px;
    max-width: 40%;
    /* max-height: 40px; */
    text-align: justify;
    padding-bottom: 50px;
    /* margin-top: -20px; */
  
}
.titre{
    /* animation: control-width 5s steps(31) infinite ; */
     overflow: hidden;
    /* max-height: 135px ;  */
}
@keyframes control-width {
    from{
        width: 0;
    }
    to{
        width:100%;
    }
    
}
.titre-desc p{
    color:    #8892b0;
    font-size: 23px;
    line-height: 160%;
    /* animation: control-width 1s ;
    overflow: hidden; */
}
#contact{
    /* border: 1px var(--tit) solid;
    border-radius: 5px;
    width: 15%; */
    /* text-align: center; */
    /* height: 50px; */
    font-size: 22px;
    font-weight: bolder;
    font-family: "NTR",sans-serif;
    padding: 10px 30px;
    cursor: pointer;
    border: 1px solid var(--tit);
    border-radius: 4px;
    overflow: hidden;
    margin-top: -1%;
    
}
#contact:hover{
    background-color: var(--cnthov) ;
    
}
#contact a{
    text-decoration: none ;
    color: var(--tit);
    
}

#contact span{
    /* margin-top: 50%; */
    text-align: center;
    vertical-align: middle;
}
.desc{
    font-size: 22px;
    max-width: 40%;
    /* max-height: 40px; */
    text-align: justify;
    /* padding-bottom: 50px; */
    /* margin-top: -20px; */
    color:    #8892b0;
    font-size: 23px;
    line-height: 180%;
}
.titree{
    display: flex;
    padding-bottom: 42px;
    width: 160%;
    vertical-align: middle;
    font-family: "NTR",sans-serif;
    font-size: 35px;
    font-weight: 500;
}
.titree::after{
    /* border-bottom: #64ffda 1px solid; */
    content: "";
    display: block;
    width: 204%;
    margin-top: 27px;
    height: 0.5px;
    margin-left: 20px;
    background-color: var(--txt);
    content: "";
   
}
.slash{
    font-size: 70px;
}
ul {
    width: 100%;
    display: flex;
    /* text-align: center; */
    flex-wrap: wrap;
    padding: 16px 4px;
    font-size: 17px;
    vertical-align: middle;

}
.desc li {
    vertical-align: middle;

    list-style: none;
    padding: 0px 32px;
    width: 50%;
}
.material-symbols-outlined{
    color: var(--tit);
    vertical-align: middle;
}

/* .titre3::after{
    content: "";
    display: block;
    width: 90%;
    margin-top: 27px;
    height: 0.5px;
    margin-left: 20px;
    background-color: var(--txt);
} */
.titre3::after{
    display: block;
    width: 120%;
    margin-top: 8px;
    height: 0.5px;
    margin-left: -37px;
    background-color: var(--txt);
    content: "";
}
.titre3{
    display: flex;
    /* padding-bottom: 42px; */
    width: 121%;
    vertical-align: middle;
    font-family: "NTR",sans-serif;
    font-size: 35px;
    font-weight: 500;
    align-items: center;
}

/* ///////////////////////////////////// animation */

.scroll{
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
}
.show{
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
}

/* //////////////////////////////////// partie de projet */
@keyframes move {
    0% {
      margin-left: -400px;
    }
    100% {
      margin-left: 800px;
    }
}
#prj-sec{
    width: 700px;
    height: 450px;
    background-color: var(--bg);
    /* margin-top: 100px; */
    /* border: 1px  solid; */
    border-radius:50px ;
    box-shadow: 1px 1px 10px 1px #000000;
    overflow: hidden;
   
}
#prj-sec img{
    border-radius: 50px 50px 2px 2px;
    filter: brightness(60%);
    
}
.prj-tit{
    font-size:small;
    overflow: hidden;
}
.prj-lang{
    color: var(--tit);
}
.prj-cont{
    text-align: center;
}
.prj-scr{
/*     
    animation-name: move;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-direction: right;
    animation-timing-function: ease-in-out; */
    /* transition: transform .6s ease-in-out,-webkit-transform .6s ease-in-out; */
}
#slider {
  margin: 0 auto;
  width: 800px;
  max-width: 100%;
  text-align: center;
}
#slider input[type=radio] {
  display: none;
}
#slider label {
  cursor:pointer;
  text-decoration: none;
}
#slides {
  padding: 10px;
  /* border: 3px solid #ccc; */
  background: var(--txt);
  position: relative;
  z-index: 1;
}
#overflow {
  width: 100%;
  overflow: hidden;
}
#slide1:checked ~ #slides .inner {
  margin-left: 0;
}
#slide2:checked ~ #slides .inner {
  margin-left: -100%;
}
#slide3:checked ~ #slides .inner {
  margin-left: -200%;
}
#slide4:checked ~ #slides .inner {
  margin-left: -300%;
}
#slides .inner {
  transition: margin-left 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
  width: 400%;
  line-height: 2;
  height: 300px;
}
#slides .slide {
  width: 25%;
  float:left;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color:var(--tit);
  
}
.slide h2{
  font-weight: bolder;
  font-size:40px;
}
.slide p {
  font-weight: bolder;
  padding-top: 70px;
  color: white;
}
#slides .slide_1 {
  background-image: linear-gradient(  rgba(0,0,0,0.5) , rgba(0,0,0,0.5)),url(codemaster\ \(3\).png);
  background-size:cover ;
  background-position: center;
}
#slides .slide_2 {
  background-image: linear-gradient(  rgba(0,0,0,0.5) , rgba(0,0,0,0.5)),url(rh.png);
  background-size:cover ;
  background-position: center;
}
#slides .slide_3 {
  background-image:linear-gradient(  rgba(0,0,0,0.5) , rgba(0,0,0,0.5)), url(java.png);
  background-size:cover ;
  background-position: center;
}
/* #slides .slide_4 {
  background: #00A8E8;
} */
#controls {
  margin: -180px 0 0 0;
  width: 100%;
  height: 50px;
  z-index: 3;
  position: relative;
}
#controls label {
  transition: opacity 0.2s ease-out;
  display: none;
  width: 50px;
  height: 50px;
  opacity: .4;
}
#controls label:hover {
  opacity: 1;
}
#slide1:checked ~ #controls label:nth-child(2),
#slide2:checked ~ #controls label:nth-child(3),
#slide3:checked ~ #controls label:nth-child(4),
#slide4:checked ~ #controls label:nth-child(1) {
  background: url(https://image.flaticon.com/icons/svg/130/130884.svg) no-repeat;
  float:right;
  margin: 0 -50px 0 0;
  display: block;
}
#slide1:checked ~ #controls label:nth-last-child(2),
#slide2:checked ~ #controls label:nth-last-child(3),
#slide3:checked ~ #controls label:nth-last-child(4),
#slide4:checked ~ #controls label:nth-last-child(1) {
  background: url(https://image.flaticon.com/icons/svg/130/130882.svg) no-repeat;
  float:left;
  margin: 0 0 0 -50px;
  display: block;
}
#bullets {
  margin: 150px 0 0;
  text-align: center;
}
#bullets label {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius:100%;
  background: #ccc;
  margin: 0 10px;
}
#slide1:checked ~ #bullets label:nth-child(1),
#slide2:checked ~ #bullets label:nth-child(2),
#slide3:checked ~ #bullets label:nth-child(3),
#slide4:checked ~ #bullets label:nth-child(4) {
  background: #444;
}
@media screen and (max-width: 900px) {
  #slide1:checked ~ #controls label:nth-child(2),
  #slide2:checked ~ #controls label:nth-child(3),
  #slide3:checked ~ #controls label:nth-child(4),
  #slide4:checked ~ #controls label:nth-child(1),
  #slide1:checked ~ #controls label:nth-last-child(2),
  #slide2:checked ~ #controls label:nth-last-child(3),
  #slide3:checked ~ #controls label:nth-last-child(4),
  #slide4:checked ~ #controls label:nth-last-child(1) {
     margin: 0;
  }
  #slides {
     max-width: calc(100% - 140px);
     margin: 0 auto;
  }
}