.hideCode {
    display: none;
}
.plusCode {
    background-color: #211;
    color: #fff;
    padding: .5rem 1rem;
    display: inline-block;
    position: relative;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
}
.plusCode::after {
    content: '';
    display: block;
    border-left: 15px transparent solid;
    border-top: 15px #211 solid;
    border-bottom: 15px transparent solid;
    border-right: 15px transparent solid;
    position: absolute;
    bottom: -32px;
    right: calc(50% - 15px);
    transform-origin: 0 0;
    transform: rotate(0deg);
}
.btnRotate::after {
    right: calc(50% - 15px);
    bottom: -32px;
    transform: rotate(0deg);
    animation: btnRotate 2s normal ease 1 forwards;
}
.btnRotateFin::after {
    right: -32px;
    transform: rotate(-90deg);
    bottom: -25px;
    animation: btnRotate 2s reverse ease 1 forwards;
}
@keyframes btnRotate {
    0% {
        right: calc(50% - 15px);
        bottom: -32px;
        transform: rotate(0deg);
    }
    50% {
        right: -32px;
        bottom: -32px;
        transform: rotate(0deg);
    }
    60% {
        right: -32px;
        bottom: -32px;
        transform: rotate(-90deg);
    }
    100% {
        right: -32px;
        transform: rotate(-90deg);
        bottom: -25px;
    }
}
/************************/
.animContainer h2 {
position:absolute;
}
.animContainer h2.test1 {
    animation: slideInTop 3s infinite alternate-reverse ease-out;
    color:#333
}
.animContainer h2.test2 {
    animation: slideInBottom 3s infinite alternate-reverse ease-out;
    color:#222;
    z-index: 10;
}
.animContainer h2.test3 {
    animation: slideInLeft 3s infinite alternate-reverse ease-out;
    color:#111;
}
.animContainer h2.test4 {
    animation: slideInRight 3s infinite alternate-reverse ease-out;
    color:#888;
}
.animContainer {
	background-color:#ccc;
	color:#fff;
	min-height:250px;
	width:60%;
	margin:2rem auto;
	overflow:hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
@keyframes slideInBottom {
    0% { 
      top:200px;
      opacity:0;
    }
    70% {
      top: 0;
      opacity: 1;
      color:#333;
        transform: scale(1);
    }
    80% {
        top: calc(50% - 3rem);
        opacity: 1;
        color:#fff;    
    }
    100% {
        top: calc(50% - 6rem);
        opacity: 1;
        color:#fff;
        transform: scale(1.5);
    }
}
@keyframes slideInTop {
    0% { 
      bottom:200px;
      opacity:0;
    }
    70% {
      bottom: 0;
      opacity: 1;
    }
    80% {
      bottom: 50%;
      opacity: 1;
    }
    100% {
      bottom: 50%;
      opacity: 1;
    }
}
@keyframes slideInLeft {
    0% { 
        left:200px;
        bottom:200px;
        opacity:0;
    }
    70% {
        bottom: 0;
        left:0;
        opacity: 1;
    }
    80% {
        bottom: 50%;
        left:calc(50% - 12rem);
        opacity: 1;
    }
    100% {
        bottom: 50%;
        left:calc(50% - 12rem);
        opacity: 1;
    }
}
@keyframes slideInRight {
    0% { 
        right:200px;
        bottom:200px;
        opacity:0;
    }
    70% {
        bottom: 0;
        right:0;
        opacity: 1;
    }
    80% {
        bottom: 50%;
        right:calc(50% - 12rem);
        opacity: 1;
    }
    100% {
        bottom: 50%;
        right:calc(50% - 12rem);
        opacity: 1;
    }
}
/**************/
.animNuage {
	background-image:url('../img/nuage2.png'),  url('../img/montagnes.png'), url('../img/nuage2.png'), url('../img/ciel.jpg');
	background-repeat:no-repeat;
	background-position:-500px 0%, center 100px, calc(100% + 600px) -400px, center top;
	background-size:auto, cover, auto, cover;
	min-height:300px;
	display:flex;
	justify-content:center;
	align-items:center;
	margin:2rem 0;
	animation: translateNuage 60s infinite ease;	
}
@keyframes translateNuage {
	0% {
		background-position:-500px 0%, center 100px, calc(100% + 600px) -400px, center top;
	}
	50% {
		background-position:50%  12%, center 100px, 200px 100px, 40% top;
	}
	100% {
		background-position:calc(100% + 500px) -100%, center 100px, -600px 50%, 60% top;
	}
}
/**************/
.portr {
    background:url(../img/portrait.jpg) no-repeat center center;
    width:200px;
    height:200px;
    border-radius:50%;
    border:2px #333 dotted;
    position:relative;
    margin: 3rem;
    background-size: auto;
    animation:portraitBack 1s infinite alternate forwards paused;

}
.portr::after, .portr::before {
        content:"";
        display:block;
        position:absolute;
        top:0;
        left:0;
        width:100%;
        height:100%;
        border:2px dotted #333;
        border-radius:50%;
        animation: portraitBorder 1s infinite alternate forwards paused;
}
.portr::before {
        animation-delay:1s;
        border:1px solid #333;
}
.portr:hover, .portr:hover::after, .portr:hover::before {
    animation-play-state:running;	
}
@keyframes portraitBorder {
    0% {
        transform:scale(1);
        opacity:0.2;
    }
    100% {
        transform:scale(1.2);
        opacity:1;
    }
}
@keyframes portraitBack {
    0% {
        background-size: 100% auto;
    }
    100% {
        background-size: 150% auto;
    }
}
/**************/
#fruits {
    height: 300px;
    margin: 2rem 0;
    background-size: 100% 300px, 200% auto;
    background-image:url("data:image/svg+xml;utf8,<svg  xmlns='http://www.w3.org/2000/svg' width='800' height='400' viewBox='0 0 800 400' preserveAspectRatio='none'><g><path fill='%23FFAC06' d='M128.8,160.4c-0.7,0-1.1,0.4-1.1,1.3v13.2c0,1,0.3,1.3,1,1.3c3.4,0,3.4-4,3.4-10.6 C132.1,162.2,130.1,160.4,128.8,160.4z'/><path fill='%23FFAC06' d='M509.2,162.5h-13.5v18.3h12.5c3.7,0,6.6-0.8,8.9-2.3c2.2-1.5,3.4-3.8,3.4-6.8 C520.4,165.6,516.7,162.5,509.2,162.5z'/><path fill='%23FFAC06' d='M0,0v400h800V0H0z M94.6,156.8c0,1-0.9,1.9-1.9,1.9H69.5c-0.9,0-1.6,0.6-1.6,1.6v8.6 c0,0.7,0.4,1.3,1.4,1.3h10.9c0.7,0,1.6,0.7,1.6,1.4v25.9c0,0.9-0.7,1.6-1.7,1.6H69.4c-0.7,0-1.4,1-1.4,1.9v34.8c0,1.3-0.7,2-1.9,2 H41.1c-0.7,0-1.6-0.9-1.6-1.9V132.3c0-1,0.7-2,1.7-2h51.6c1,0,1.7,0.7,1.7,1.6V156.8z M149.4,238c-10.3,0-17.2-7.2-17.2-20.6 v-22.1c0-4.6-2-6.9-3.6-6.9c-0.9,0-1,0.7-1,1.7V236c0,0.9-0.7,1.7-1.7,1.7h-24.5c-1,0-1.7-0.7-1.7-1.9V132c0-1,0.7-1.7,1.6-1.7 h31.9c12.6,0,27.7,9.7,27.7,27.2c0,7.7-1.4,21.9-15,23.9v0.3c17.5,5,17.5,14.3,17.5,28.9c0,1.7,0.7,3.4,3.9,4.7 c0.7,0.4,1.3,1.4,1.3,2C168.5,236.9,154.2,238,149.4,238z M231.8,208.5c0,15.2-10.9,29.2-29.8,29.2c-19.1,0-29.8-14.2-29.8-29.2 v-76.6c0-1,0.6-1.6,1.4-1.6H198c0.9,0,1.6,0.6,1.6,1.6v72.8c0,1.9,0.7,3.2,2.4,3.2c1.7,0,2.4-1.3,2.4-3v-73.1 c0-0.7,0.7-1.4,1.6-1.4h24.2c0.7,0,1.6,0.4,1.6,1.4V208.5z M265.1,235.9c0,0.9-0.7,1.9-1.7,1.9h-23.9c-1,0-1.9-1-1.9-2.1V131.7 c0-0.7,0.6-1.4,1.3-1.4h24.5c1,0,1.7,0.6,1.7,1.4V235.9z M334.5,157.2c0,1.1-0.9,2-2,2h-14.3c-1,0-1.7,0.7-1.7,2v74.6 c0,1-0.9,1.9-2,1.9h-24.4c-1,0-2-0.9-2-2V161c0-1-0.9-1.7-1.9-1.7h-14.3c-0.9,0-1.9-1.1-1.9-2v-25.5c0-0.9,0.4-1.4,1.3-1.4h61.3 c1,0,1.9,0.6,1.9,1.7V157.2z M457,165h-40.5v15.5h31.1V202h-31.1v35.7H388v-95.5h69V165z M518.9,237.7l-13.9-36.5h-9.2v36.5h-29.3 v-95.5h49.9c11,0,19.6,2.6,25.6,7.7c6.1,5.2,9.1,12,9.1,20.4c0,5.5-1.1,10.4-3.4,14.6c-2.2,4.2-6.8,7.9-13.6,11.2l17.3,41.6H518.9 z M642.6,205.5c0,12-3.6,20.6-10.7,25.8c-7.1,5.2-16.4,7.9-27.8,7.9c-12,0-21.7-2.5-29-7.6c-7.3-5-10.9-13.2-10.9-24.6v-64.8H594 v61.4c0,4.6,1,7.9,2.9,10c1.9,2.1,5,3.1,9.2,3.1c3.5,0,6.4-0.8,8.7-2.3c2.3-1.5,3.6-3.2,4-5.1c0.4-1.9,0.7-5.6,0.7-11.2v-55.9 h23.1V205.5z M687.6,237.7h-29.3v-95.5h29.3V237.7z M763.3,165.1h-19.8v72.6h-27.8v-72.6h-19.8v-22.9h67.4V165.1z' /></g></svg>"), url('../img/fruits-decor.jpg');
    background-repeat: no-repeat;
    animation: 6s translateH infinite normal paused linear;
}
@keyframes translateH {
    0% {
       background-position: 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 100% 0;
    }
}
#fruits:hover {
    animation-play-state: running;
}
/*****************/
.containerSlides {
    position: relative;
    min-height: 400px;
    background-color: yellowgreen;
    margin: 2rem auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.containerSlides h2 {
    color: yellowgreen;
    position: relative;
    z-index: 10;
}
.containerSlides .slide {
    position: absolute;
    width: 150%;
    transform: rotate(45deg);
    background-color: #212121;
}
.containerSlides .slide:first-child {
    left:100%;
    height: 10%;
    animation: slideScreenLeft infinite 1s normal ease-out;
}
.containerSlides .slide:nth-child(2) {
    left:100%;
    height: 40%;
    animation: slideScreenLeft infinite 1s normal 0.5s ease-out;
}
.containerSlides .slide:nth-child(3) {
    right:100%;
    height: 20%;
    animation: slideScreenRight infinite 1s normal ease-out;
}
.containerSlides .slide:nth-child(4) {
    right:100%;
    height: 30%;
    animation: slideScreenRight infinite 1s normal .5s ease-out;
}
.containerSlides .slide:last-child {
    right:100%;
    height: 10%;
    animation: slideScreenRightScale infinite 2.5s normal 2s ease-out;
}
@keyframes slideScreenLeft {
    0% {
        left:100%;
    }
    100% {
        left:-100%;
    }
}
@keyframes slideScreenRight {
    0% {
        right:100%;
    }
    100% {
        right:-100%;
    }
}
@keyframes slideScreenRightScale {
    0% {
        right:100%;
    }
    10% {
        right:20%;
    }
    30% {
        right:0;
        height:400%;
        width: 200%;
    }
    60% {
        right:-50%;
        height:200%;
        width: 200%;
    }
    100% {
        right:-100%;
        height:0;
    }
}
/********************/
/** animation double : slide +sprite **/
.containerSlideSprite{
   width:90%;
    overflow: hidden;
    position: relative;
    margin: 2rem auto;
    background-color: #000;
    min-height: 145px;
}
.spriteSlide {
    height: 120px;
    margin: 0;
    width: 118px;
    animation:sprite .8s steps(6) infinite alternate, slideLeftSprite 3s infinite normal;
    background-image:url(../11/img/sprite.jpg);
    position: absolute;
    bottom: 0;
}
.containerSlideSprite:hover .spriteSlide {
    animation-play-state: paused;
}
@keyframes sprite {
 0% {background-position:0;}
 100% {background-position:-710px;}
}
@keyframes slideLeftSprite {
 0% {transform:translateX(0);}
 100% {transform:translateX(80vw);}
}