body
{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

header
{
    position: absolute;
}

div.section
{
    height: fit-content;
}

div.a
{
    background-color: rgb(102,28,45,255);
    height: 1em;
}

a.button
{
    display: inline-block;
    margin: 5px;
    text-decoration: none;
    border: 1px solid #ccc;
    padding: 10px 25px;
    border-radius: 50px;
    color: #ccc;
}

a.active
{
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

a.button:hover
{
    text-decoration: none;
    color: #ccc;
}


/* class navigation */
/*input
{
    display: none;
}*/

h1.galeria
{
    margin-top: 1%;
    font-size: 75px;
    position: relative;
    color: whitesmoke;
}

h1.galeria::before
{
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #ccc;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: animate 4s linear infinite;
}

@keyframes animate
{
    0%
    {
        width: 100px;
    }
    50%
    {
        width: 200px;
    }
    100%
    {
        width: 100px;
    }
}

* 
{
    box-sizing: border-box;
    
}

/* scroll top */
#myBtn
{
    display: fixed;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 28px;
    border: none;
    outline: none;
    background-color: rgb(179, 88, 88);
    color: white;
    cursor: pointer;
    padding-top: 5px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 50%;
}
  
#myBtn:hover {
    background-color: #555;
}

/*.mySlides1, .mySlides2 {display: none;}*/

.ImageContainer
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.ImageContainer .filter
{
    position: relative;
    width: 500px;
    height: 500px;
    margin: 2em;
}

.ImageContainer .filter img
{
    position: absolute;
    top: 1em;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

/* Slideshow container
.slideshow-container {
    max-width: 500px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    margin: 2%;
    margin-bottom: 0;
    
}
*/
@media screen and (max-width: 1100px) {
    /*.slideshow-container {
    flex: 50%;
    max-width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 1%;
    
    }*/
    .ImageContainer
    {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .ImageContainer .filter
    {
        position: relative;
        width: 500px;
        height: 500px;
        margin: 2em;
    }

    .ImageContainer .filter img
    {
        position: absolute;
        top: 1em;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 719px)
{
    /*.slideshow-container {
      flex: 100%;
      max-width: 100%;
      
    }*/
    .ImageContainer
    {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .ImageContainer .filter
    {
        position: relative;
        width: 360px;
        height: 360px;
        margin: 2em;
        margin-left: auto;
        margin-right: auto;
    }

    .ImageContainer .filter img
    {
        position: absolute;
        top: 1em;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    
    }
}
/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    margin-left: -50%;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    text-decoration: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a grey background color */
.prev:hover, .next:hover {
    background-color: #f1f1f1;
    color: black;
}

.full-img
{
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.full-img img
{
    width: 90%;
    max-width: 500px;
}

.full-img span
{
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}