#tada {
        text-align: center;
        text-decoration: none;
        display: block;
	position: relative;
        margin: auto;
        font-size: 16px;
	-webkit-animation-name: tada;
        -webkit-animation-duration: 1s;
        -webkit-animation-iteration-count: 1;
        animation-name: tada;
        animation-duration: 1s;
        animation-iteration-count: 1;
}

.msginfo {
	position: relative;
	display: inline-block;
	margin: auto;
	top: 5%;
	margin-left: 5%;
	margin-bottom: 0%;
	text-align: center;
	width: 90%;

	-webkit-animation-name: apparition;
        -webkit-animation-duration: 0.2s;
        -webkit-animation-iteration-count: 1;
        animation-name: apparition;
        animation-duration: 0.2s;
        animation-iteration-count: 1;
}

.flashed {
	list-style-type: none;
	position: center;
	margin: auto;
	margin-top: 5%;
	width: 50%;
        background-color: #333;
}

.flashed p {
	font-family: sans-serif;
	text-align: center;
	border-radius: 3px;
	/*box-shadow: 1px 1px 1px black; */
}

.succes p {
  background-color: #444;
	color: #00C613;
}

.error p {
	background-color: #444;
	color: #FF4A4A;
}

#majuscule {
	text-transform: capitalize;
}

#fic {
	display: block;
	margin: auto;
}

/* ######### Animations ######### */

@-webkit-keyframes apparition {
        0%   {opacity: 0; }
        100% {opacity: 1; }
}

@keyframes apparition {
        0%   {opacity: 0; }
        100% {opacity: 1; }
}

@-webkit-keyframes disparition {
        100%   {opacity: 0; }
        0%     {opacity: 1; display: none; }
}

@keyframes disparition {
        100%   {opacity: 0; }
        0%     {opacity: 1; display: none; }
}

@-webkit-keyframes tada {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  10%, 20% {
    -webkit-transform: scale(0.9) rotate(-3deg);
    transform: scale(0.9) rotate(-3deg);
  }

  30%, 50%, 70%, 90% {
    -webkit-transform: scale(1.1) rotate(3deg);
    transform: scale(1.1) rotate(3deg);
  }

  40%, 60%, 80% {
    -webkit-transform: scale(1.1) rotate(-3deg);
    transform: scale(1.1) rotate(-3deg);
  }

  100% {
    -webkit-transform: scale(1) rotate(0);
    transform: scale(1) rotate(0);
  }
}

@keyframes tada {
  0% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }

  10%, 20% {
    -webkit-transform: scale(0.9) rotate(-3deg);
    -ms-transform: scale(0.9) rotate(-3deg);
    transform: scale(0.9) rotate(-3deg);
  }

  30%, 50%, 70%, 90% {
    -webkit-transform: scale(1.1) rotate(3deg);
    -ms-transform: scale(1.1) rotate(3deg);
    transform: scale(1.1) rotate(3deg);
  }

  40%, 60%, 80% {
    -webkit-transform: scale(1.1) rotate(-3deg);
    -ms-transform: scale(1.1) rotate(-3deg);
    transform: scale(1.1) rotate(-3deg);
  }

  100% {
    -webkit-transform: scale(1) rotate(0);
    -ms-transform: scale(1) rotate(0);
    transform: scale(1) rotate(0);
  }
}


#gallery {
    margin-top: 10vw;
    display: flex;
    flex-wrap: wrap;
}

.item{
    margin-bottom: 1vw;
}

.item img{
    width: 20vw;
    display:flex;
    flex-wrap:wrap;
}


.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.control{
    display:block;
    position:inherit;
    margin-top:5px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 30%;
  max-width: 30%;
  padding: 0 4px;
 
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}

.column img:hover {
  margin-top: 8px;
  vertical-align: middle;
  transform: scale(1, 1.5);
}


/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 850px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}
