html {
  scroll-behavior: smooth;
}
body{
    height: 200vh;
    background-color: var(--primary-light)!important;
}
#cookiePopup {
  right: 0;
  background-color: #ffffff;
  position: fixed;
  font-size: 14px;
  width: 20vw;
  max-width: 42.85em;
  box-shadow: 0 0 2em rgba(5, 0, 31, 0.15);
  font-family: "Poppins", sans-serif;
  text-align: justify;
  line-height: 1.8em;
  padding: 2em 1.4em;
  border-radius: 6px;
  transition: all 0.5s ease-in;
  z-index: 9999999;
  bottom: 8px;
  right: 8px;
}
#cookiePopup img {
  display: block;
  width: 3.75em;
  transform: translateZ(0);
  position: relative;
  margin: auto;
}
#cookiePopup p {
  text-align: center;
  margin: 1.4em 0;
  color: rgb(69, 68, 68);
}
#cookiePopup button {
  background-color: #6859fe;
  border: none;
  color: #ffffff;
  font-size: 1.2em;
  padding: 1em 1.4em;
  display: block;
  position: relative;
  margin: auto;
  border-radius: 5px;
}
#cookiePopup a {
  color: #6859fe;
}
.hide {
  visibility: hidden;
  bottom: 0;
  right: 2em;
}
.show {
  visibility: visible;
  bottom: 2em;
  right: 2em;
}
@media only screen and (max-width: 37.5em) {
  #cookiePopup {
    width: 100%;
  }
  .hide {
    bottom: 2em;
    right: 0;
  }
  .show {
    right: 0;
    bottom: 0;
  }
}


.main{
    width: 100%;
    height: 100vh;
    /*background-color: var(--primary);*/
    background-color: #cbd0d2;
    background-image: url(../src/img/forest.jpg); background-repeat: no-repeat; background-size: cover;
}
.line{
    background-color: var(--medium);
    height: 0.1px;
}
.main-section .full-screen{
    height: 100vh;
    padding: 50px 0;
    margin-top: 12px;
    /*border-top: 1px solid rgba(255, 255, 255, 0.2);*/
    padding-left: 3vw;


}
.main-section .home-text,
.main-section .home-img
{
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    background-color:none;

}

.main-section .home-img .img-box
{
    max-width: 350px;
    display: block;
    margin: auto;
    border-radius: 50%;
}

.main-section .home-img .img-box:hover
{
    background-color: var(--primary-dark);
}
.main-section .home-img .img-box img{
    width: 100%;
    border-radius: 50%;

}
.main-section .home-text p{
    color: var(--medium2);
    font-size: 18px;
    /*text-transform: capitalize;*/
    margin: 0;
}
.main-section .home-text h2{
    font-size: 55px;
    font-weight: 700;
    color: var(--primary);
}
.main-section .home-text h1{
    font-size: 20px;
    font-weight: 600;
    color: var(--medium2);

}

.hover-in-shadow:hover:after{
    box-shadow: var(--inner-shadow);
}

.effect-wrap .effect{
    position: absolute;
    z-index: 2;
    width: 30px;
    height: 30px;
}
.little-effect-wrap .little-effect{
    position: absolute;
    z-index: 2;
    width: 10px;
    height: 10px;
}
.little-effect-wrap2 .little-effect2{
    position: absolute;
    z-index: 2;
    width: 15px;
    height: 15px;
}
.effect-5{
    width: 10px;
    height: 10px;
    border: 4px solid var(--tertiary);
    top: 25%;
    right: -5;
    animation: righttoleft 50s normal infinite;
}
.effect-4{
    width: 10px;
    height: 10px;
    border: 4px solid var(--tertiary);
    border-radius: 50%;
    top: -5%;
    right: 20%;
    animation: lefttoright 50s normal infinite;
}
.effect-3{
    width: 10px;
    height: 10px;
    border: 4px solid var(--tertiary);
    background-color: var(--tertiary);
    left: 15%;
    bottom: 0%;
    animation: bottomtotop 120s normal infinite;

   
}
.effect-2{
    width: 30px;
    height: 30px;
    border: 4px solid var(--tertiary);
    left: 10%;
    top: 20%;
    animation: spin 10s linear infinite;
}
.effect-1{
    width: 30px;
    height: 30px;
    border: 4px solid var(--tertiary);
    right: 10%;
    bottom: 10%;
    animation: spin 10s linear infinite;
}

@keyframes spin{
    0%{
        transform: rotate(0deg);
    }100%{
        transform: rotate(360deg);
    }
}
@keyframes bottomtotop {
    from {
      margin-bottom: -1%;
    }
    to {
      margin-bottom: 100%;
    }
  }
  @keyframes lefttoright {
    from {
        top: -5%;
        right: 20%;
    }
    to {
      top: 25%;
      right: -5%;
    }
  }




  
 

  .section2 a {
	cursor: pointer;
}
.section2 a:hover {
	text-decoration: none;
}

.section2 .section{
  position: relative;
  width: 100%;
  display: block;
}
.section2 .full-height{
  min-height: 100vh;
}

.section2 .over-hide{
  overflow: hidden;
}
.section2 .padding-tb{
  padding: 20px 0;
}
[type="radio"]:checked,
[type="radio"]:not(:checked){
  position: absolute;
  left: -9999px;
}
.section2 .checkbox:checked + label,
.section2 .checkbox:not(:checked) + label{
  position: relative;
  cursor: pointer;
  margin: 0 auto;
  text-align: center;
  margin-right: 6px;
  margin-left: 6px;
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid #bdc3c7;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  background-image: url('https://yannisthomas.fr/src/img/imgfondjmc.jpg');
  animation: border-transform 6s linear infinite alternate forwards;
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    animation-play-state: paused;
}
.section2 .checkbox.scnd + label{
  background-image: url('https://yannisthomas.fr/src/img/datascout.png');
}
.section2 .checkbox.thrd + label{
  background-image: url('https://www.yannisthomas.fr/src/img/comptearebours.png');
}
/*.section2 .checkbox.foth + label{
  background-image: url('https://www.yannisthomas.fr/src/img/comptearebours.png');
}*/

.section2 .checkbox:checked + label{
  box-shadow: 0 8px 25px 0 rgba(16,39,112,.3);
  transform: scale(1.3);
    -webkit-animation-play-state: running;
    -moz-animation-play-state: running;
    animation-play-state: running;
}
@keyframes border-transform{
  0%,100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; } 
  14% { border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%; } 
  28% { border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%; } 
  42% { border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%; } 
  56% { border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%; } 
  70% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; } 
  84% { border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%; } 
}

.section2 .slider-height-padding {
  padding-top: 440px;
}

.section2 ul {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  z-index: 100;
  padding: 0;
  margin: 0;
  list-style: none;
}
.section2 ul li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  z-index: 100;
  padding: 0;
  margin: 0;
  list-style: none;
  height: 400px;
  border: 5px solid #bdc3c7;
  background-size: contain;
  background-position: center;
  background-image: url('https://yannisthomas.fr/src/img/imgfondjmc.jpg');
  background-repeat: no-repeat;
  background-color: black;
  border-radius: 50%;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 2.7;
  color: #343434;
  writing-mode: vertical-rl;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 25px 0 rgba(16,39,112,.1);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.section2 ul li span {
  mix-blend-mode: difference;
}
.section2 ul li:nth-child(2) {
  background-image: url('https://yannisthomas.fr/src/img/datascout.png');
}
.section2 ul li:nth-child(3) {
  background-image: url('https://www.yannisthomas.fr/src/img/comptearebours.png');
}
/*.section2 ul li:nth-child(4) {
  background-image: url('https://www.yannisthomas.fr/src/img/comptearebours.png');
}*/


.section2 .checkbox.frst:checked ~ ul li:nth-child(1) {
  opacity: 1;
  pointer-events: auto;
  border-radius: 16px;
}
.section2 .checkbox.scnd:checked ~ ul li:nth-child(2) {
  opacity: 1;
  pointer-events: auto;
  border-radius: 16px;
}
.section2 .checkbox.thrd:checked ~ ul li:nth-child(3) {
  opacity: 1;
  pointer-events: auto;
  border-radius: 16px;
}
/*.section2 .checkbox.foth:checked ~ ul li:nth-child(4) {
  opacity: 1;
  pointer-events: auto;
  border-radius: 16px;
}*/

.section2 .logo {
	position: absolute;
	top: 30px;
	right: 30px;
	display: block;
	z-index: 100;
	transition: all 250ms linear;
}
.section2 .logo img {
	height: 26px;
	width: auto;
	display: block;
}



@media (max-width: 767px) {
  .section2 .slider-height-padding {
    padding-top: 340px;
  }
  .section2 ul li {
    height: 300px;
    font-size: 13px;
    letter-spacing: 1px;
  }
}

@media (max-width: 575px) {
  .section2 .slider-height-padding {
    padding-top: 100vw;
  }
  .section2ul li {
    height: 200px;
  }
  .main-section .full-screen {
    height: 67vh;
  }
  .main-section .home-text, .main-section .home-img{
    width: 100vw !important;
    max-width:100vw !important;
  }
  .main-section .container .row{
    display: block !important;
  }
  .home-text{
    padding-left: 0px !important;
  }
}

#portefolio{
 /* background: var(--primary);*/
}



/********* Galerie ************/

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.25;
  background-color: #18222d;
}

.grid {
  width: 100%;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;

  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  flex-wrap: wrap;
  position: absolute;
  z-index: -1;
  top: 29vh;
  right: 3vw;
  zoom: 1.7;
  height: 100vh
}

.grid-block {
  width: 50%;
  min-height: 11.25rem;
  padding: 1rem;
}

.image-grid {
  -webkit-transform: rotateX(45deg) rotateZ(45deg);
  transform: rotateX(45deg) rotateZ(45deg);
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

.image-grid .tile-link:hover .tile-img {
  top: -1rem;
  left: -1rem;
}

.image-grid .tile-img {
  position: relative;
  top: 0;
  left: 0;
  -webkit-transition-property: opacity, top, left, box-shadow;
  transition-property: opacity, top, left, box-shadow;
}

.tile-link {
  display: block;
}

.tile-link:hover .tile-img {
  opacity: 1;
}

.tile-link:hover .tile-img-link {
  display: block;
}

.tile-link:hover .tile-img-link:hover .tile-img {
  opacity: 0.5;
}

.tile-img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  -webkit-transition-property: opacity;
  transition-property: opacity;
  -webkit-transition-duration: 0.125s;
  transition-duration: 0.125s;
  -webkit-transition-timing-function: ease-in;
  transition-timing-function: ease-in;
}
.tile-link:hover .tile-img1 {
  box-shadow: 5px 5px rgba(244, 170, 200, 0.4),
    10px 10px rgba(244, 170, 200, 0.3), 15px 15px rgba(244, 170, 200, 0.2),
    20px 20px rgba(244, 170, 200, 0.1), 25px 25px rgba(244, 170, 200, 0.05);
}

.tile-link:hover .tile-img2 {
  box-shadow: 5px 5px rgba(45, 186, 233, 0.4), 10px 10px rgba(45, 186, 233, 0.3),
    15px 15px rgba(45, 186, 233, 0.2), 20px 20px rgba(45, 186, 233, 0.1),
    25px 25px rgba(45, 186, 233, 0.05);
}

.tile-link:hover .tile-img3 {
  box-shadow: 5px 5px rgba(214, 221, 244, 0.4),
    10px 10px rgba(214, 221, 244, 0.3), 15px 15px rgba(214, 221, 244, 0.2),
    20px 20px rgba(214, 221, 244, 0.1), 25px 25px rgba(214, 221, 244, 0.05);
}

.tile-link:hover .tile-img4 {
  box-shadow: 5px 5px rgba(82, 119, 192, 0.4), 10px 10px rgba(82, 119, 192, 0.3),
    15px 15px rgba(82, 119, 192, 0.2), 20px 20px rgba(82, 119, 192, 0.1),
    25px 25px rgba(82, 119, 192, 0.05);
}

.tile-link:hover .tile-img5 {
  box-shadow: 5px 5px rgba(138, 218, 245, 0.4),
    10px 10px rgba(138, 218, 245, 0.3), 15px 15px rgba(138, 218, 245, 0.2),
    20px 20px rgba(138, 218, 245, 0.1), 25px 25px rgba(138, 218, 245, 0.05);
}

.tile-link:hover .tile-img6 {
  box-shadow: 5px 5px rgba(203, 215, 193, 0.4),
    10px 10px rgba(203, 215, 193, 0.3), 15px 15px rgba(203, 215, 193, 0.2),
    20px 20px rgba(203, 215, 193, 0.1), 25px 25px rgba(203, 215, 193, 0.05);
}

.tile-link:hover .tile-img7 {
  box-shadow: 5px 5px rgba(91, 209, 250, 0.4), 10px 10px rgba(91, 209, 250, 0.3),
    15px 15px rgba(91, 209, 250, 0.2), 20px 20px rgba(91, 209, 250, 0.1),
    25px 25px rgba(91, 209, 250, 0.05);
}

.tile-link:hover .tile-img8 {
  box-shadow: 5px 5px rgba(145, 156, 196, 0.4),
    10px 10px rgba(145, 156, 196, 0.3), 15px 15px rgba(145, 156, 196, 0.2),
    20px 20px rgba(145, 156, 196, 0.1), 25px 25px rgba(145, 156, 196, 0.05);
}

.tile-link:hover .tile-img9 {
  box-shadow: 5px 5px rgba(188, 97, 129, 0.4), 10px 10px rgba(188, 97, 129, 0.3),
    15px 15px rgba(188, 97, 129, 0.2), 20px 20px rgba(188, 97, 129, 0.1),
    25px 25px rgba(188, 97, 129, 0.05);
}

.tile-link:hover .tile-img10 {
  box-shadow: 5px 5px rgba(4, 140, 231, 0.4), 10px 10px rgba(4, 140, 231, 0.3),
    15px 15px rgba(4, 140, 231, 0.2), 20px 20px rgba(4, 140, 231, 0.1),
    25px 25px rgba(4, 140, 231, 0.05);
}


@media (max-width: 1000px) {
  .image-grid {
    -webkit-transform: rotateX(0deg) rotateZ(0deg);
    transform: rotateX(0deg) rotateZ(0deg);
    -webkit-perspective: 1000px;
    perspective: 1000px;
  }
  .grid {
    width: 100%;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
  
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: wrap;

    position: relative;
    z-index: 0;
    top: 0;
    right: 0;
    zoom: 1;
    height: auto;
  }
  .grid-block {
    width: 50%;
    min-height: 0.25rem;
    padding: 0.5rem;
}
}




/*FOOTER*/

footer {
  background: #fff;
  /*background: -webkit-linear-gradient(59deg, #3d4153, #303240);
  background: linear-gradient(59deg, #3d4153, #303240);*/
  color: var(--primary);
}

footer a {
  color: var(--primary);
  font-size: 14px;
  transition-duration: 0.2s;
}

footer a:hover {
  color: #FA944B;
  text-decoration: none;
}

.copy {
  font-size: 12px;
  padding: 10px;
  border-top: 1px solid #FFFFFF;
}

.footer-middle {
  padding-top: 2em;
  color: var(--primary);
}


/*SOCİAL İCONS*/

/* footer social icons */

ul.social-network {
  list-style: none;
  display: inline;
  margin-left: 0 !important;
  padding: 0;
}

ul.social-network li {
  display: inline;
  margin: 0 5px;
}


/* footer social icons */

.social-network a.icoFacebook:hover {
  background-color: #3B5998;
}

.social-network a.icoLinkedin:hover {
  background-color: #007bb7;
}
.social-network a.icoInstagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);;
}

.social-network a.icoFacebook:hover i,
.social-network a.icoLinkedin:hover i
.social-network a.icoInstagram:hover i {
  color: var(--primary);
}

.social-network a.socialIcon:hover,
.socialHoverClass {
  color: #44BCDD;
}

.social-circle li a {
  display: inline-block;
  position: relative;
  margin: 0 auto 0 auto;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  text-align: center;
  width: 30px;
  height: 30px;
  font-size: 15px;
}

.social-circle li i {
  margin: 0;
  line-height: 30px;
  text-align: center;
}

.social-circle li a:hover i,
.triggeredHover {
  -moz-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  -ms--transform: rotate(360deg);
  transform: rotate(360deg);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  -ms-transition: all 0.2s;
  transition: all 0.2s;
}

.social-circle i {
  color: #595959;
  -webkit-transition: all 0.8s;
  -moz-transition: all 0.8s;
  -o-transition: all 0.8s;
  -ms-transition: all 0.8s;
  transition: all 0.8s;
}

.social-network a {
  background-color: #F9F9F9;
}
/*********************** flocon ****************/

@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(180deg);
	}
}

@keyframes flip {
	from {
		transform: rotate3d(1,1,0,0deg);
	}

	to {
		transform: rotate3d(1,1,0,180deg);
	}
}

@keyframes swing {
	from {
		transform: translateX(0px);
	}
	to {
		transform: translateX(100px);
	}
}

@keyframes fall {
	from {
		transform:translateY(0vh);
	}
	to {
		transform:translateY(95vh);
	}
}

@keyframes fade {
	0% {
	opacity: 1;
	}

	90% {
	opacity: 1;
	}

	100% {
	opacity: 0;
	}
}

div.flocon {	
  display: flex;
	justify-content: center;
	align-items: center;
	perspective: 200px;

	animation-name: fall, fade;
	animation-iteration-count: 1;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

div.flocon div {
	width: inherit;
	height: inherit;
	transform-style: preserve-3d;

	animation-name: swing;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

div.flocon div div {
	transform-style: preserve-3d;

	animation-name: spin;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

div.flocon div div svg {
	fill: #cbd0d2;
	filter: drop-shadow(0px 0px 2px rgb(184, 184, 184));

	animation-name: flip;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
