*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Tangerine', cursive;
}

@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@700&display=swap');

/* Titulo */
.contenedor{
    width: 90%;
    max-width: 1200px;
    overflow: hidden;
    margin: auto;
    padding: 60px 0;
}

.titulo{
    text-align: center;
    font-size: 4rem;
    padding: 5px 24px;
}

/* Gallery */
.contenedor-galeria{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.img-gallery-h{
    width: 250px;
    height: 200px;
    display: block;
    margin: auto;
    margin-bottom: 15px;
    margin-left: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .5);
    cursor: pointer;
}

.img-gallery-v{
    width: 200px;
    height: 250px;
    display: block;
    margin-bottom: 15px;
    margin-left: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .5);
    cursor: pointer;
}

.img-gallery{
    display: block;
    margin-bottom: 15px;
    margin-left: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .5);
    cursor: pointer;
}

.imagen-light{
    position: fixed;
    background: rgba(0, 0, 0, .5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(100%);
    transition: transform .2s ease-in-out;
}

.show{
    transform: translate(0);
}

.agregar-imagen{
    width: 35%;
    border-radius: 10px;
    transform: scale(0);
    transition: transform .3s .2s;
}

.showImage{
    transform: scale(1);
}

.close{
    position: absolute;
    color: white;
    top: 15px;
    right: 15px;
    width: 40px;
    cursor: pointer;
}

/* Boton arriba */
#button-up{
    width: 60px;
    height: 60px;
    background: #a076cc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 50%;
    font-size: 50px;
    position: fixed;
    bottom: 3px;
    right: 3px;
    cursor: pointer;
    border: 4px solid transparent;
}

/* Derechos de autor */
.texto-final{
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: auto;
    text-align: center;
    border-top: #a076cc 3px solid;
    font-size: 15px;
}

/* Medias Querys */
@media screen and (max-width: 700px){
    .contenedor{
        width: 80%;
    }

    .img-gallery-v{
        margin: 5px auto;
    }

    .titulo{
        font-size: 35px;
    }

    .img-gallery{
        width: 40%;
        margin: 5px auto;
    }

    .close{
        color: white;
    }

    .agregar-imagen{
        width: 95%;
    }

    #button-up{
        width: 80px;
        height: 80px;
        font-size: 70px;
    }
}

