@charset "utf-8";
/* CSS Document */
body {
    margin: 0;
    padding: 0;
    background: #000000;
    align-items: center;
    justify-content: center;
 height: 4800px;
    max-width: 100%;
}

#slideshow {
    margin: auto;
    padding-top: 50px;  /*altura espacio desde arriba*/
    height: 600px;
    width: 100%;
    background-color: transparent;
    box-sizing: border-box;
	
}

.titulofotosgira {   /*titulo*/
    font-family: 'Gabriela', serif;
    font-size: 20px;
    color: #E1B51B;
    margin: 0 auto;
    text-align: center;
    margin-top: 1%;
    letter-spacing: 3px;
    font-weight: 100;
}







.slideshow-title {   /*titulo*/
    font-family: 'Allerta Stencil';
    font-size: 32px;
    color: #E1B51B;
    margin: 0 auto;
    text-align: center;
    margin-top: 1%;
    letter-spacing: 3px;
    font-weight: 100;
}

.entire-content {
    margin: auto;
    width: 190px;
    perspective: 1000px;
    position: relative;
    padding-top: 20px;
}

.content-carousel {
    width: 100%;
    position: absolute;
    float: right;
    animation: rotate 20s infinite linear; /* velocidad con que gira */
    transform-style: preserve-3d;
}

.content-carousel:hover {
    animation-play-state: paused;
    cursor: pointer;
}

.content-carousel figure {
    width: 100%;  /* tamaño de las fotos que gira*/
    height: 150px;
    border: 2px solid #fff;  /* grosor de borde de las fotos que gira*/
    overflow: hidden;
    position: absolute;
}

/* Si tiene más imágenes, digamos n. Luego, debe duplicar las unidades siguientes en nth-child (n + 1), y también debe corregir los nuevos números de grado en rotateY (). La fórmula es 360 grados / n para cada incremento. El primer niño siempre tendrá 0 grados y el último 360 grados. */
.content-carousel figure:nth-child(1) {
    transform: rotateY(0deg) translateZ(300px);
} .content-carousel figure:nth-child(2) {
    transform: rotateY(52deg) translateZ(300px);
} .content-carousel figure:nth-child(3) {
    transform: rotateY(104deg) translateZ(300px);
} .content-carousel figure:nth-child(4) {
    transform: rotateY(156deg) translateZ(300px);
	
} .content-carousel figure:nth-child(5) {
    transform: rotateY(208deg) translateZ(300px);
} .content-carousel figure:nth-child(6) {
    transform: rotateY(260deg) translateZ(300px);
} .content-carousel figure:nth-child(7) {
    transform: rotateY(312deg) translateZ(300px);
	} .content-carousel figure:nth-child(8) {
    transform: rotateY(360deg) translateZ(300px);
}


.shadow {
    position: absolute;
    box-shadow: 0px 0px 20px 0px #000;
    border-radius: 15px;  /* borde redondeado  del  marco de las fotos */

}

.content-carousel img {
    image-rendering: auto;
    transition: all 300ms;
    width: 100%;
    height: 100%;
    border-radius: 5px;  /* borde redondeado  de las fotos */
} 
.content-carousel img:hover {
    transform: scale(1.2); /* el zoom que hace la foto que gira antes de ampliarse*/
    transition: all 300ms;
    opacity: 1.7;
}

@keyframes rotate {
    from {tranform: rotateY(0deg);} 
    to {transform: rotateY(360deg);}
}

.modal {   /*la foto que se amplia */
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; /* Sit on top */
    padding-top: 55px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.caption {    /* texto que aparece debajo cuando la foto de amplia*/
    margin: auto;
    display: block;
    text-align: center;
    color: #D0AA37;
	 font-family: 'Gabriela', serif;
    font-size: 15px;
	letter-spacing: 3px;
  line-height: 16px;
	 font-weight: 600; /* negrita o grosor del texto, bold: 700, normal:400 , lighter: 200-300 , bolder:800-900 (ultra bold)*/
   padding: 10px 0;
    height: 110px;
}

/* Animation */
.modal-content, .caption {
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform: scale(0.1);}
    to {transform: scale(1);}
}

/* boton la X */
.close {
    position: absolute;
    top: 2%;  /* altura de la X */
    right: 20%;
    color: #D0AA37;
    font-size: 36px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover, .close:focus {
    color: #FF7010;
    text-decoration: none;
    cursor: pointer;
}


