@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap");
*{
     margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  display: flex;
  justify-content: center;
  background: #fbb801;
}

.navbar {
  display: flex;
  padding: 0 10px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.navbar input#menu-toggler {
  display: none;
}

.navbar #hamburger-btn {
  cursor: pointer;
  display: none;
}

.navbar .all-links {
  display: flex;
  align-items: center;
}

.navbar .all-links li {
  position: relative;
  list-style: none;
}

.logo{
  width: 100px;
}

.navbar .logo a {
  display: flex;
  align-items: center;
  margin-left: 0;
  width: 60px;
}

header a, footer a {
  margin-left: 40px;
  text-decoration: none;
  color: #fff;
  height: 100%;
  padding: 20px 0;
  display: inline-block;
}

header a:hover, footer a:hover {
  color: #ddd;
}


.galeria{
    margin-top: 70px;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 20px;

}

.columna{
    flex: 20%;
    max-width: 20%;
    padding: 0 4px;    
}

.columna img {
    border-radius: 20px;
     margin-top: 8px;
     vertical-align: middle;
     width: 100%;
     /*filter: grayscale(100%);*/
     transition: all .3s ease;    
}

.columna img:hover {
    cursor: pointer;
    /*filter: grayscale(0%);*/ 
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    transform: scale(1.1);
}

.overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .7s ease;
    visibility: hidden;
    opacity: 0;
}

.overlay .slideshow{
    width: 90%;
    height: 90%;
    background-color: rgba(255, 255, 255, .9);
    color: black;
    position: relative;
    display: flex;
    justify-content: center;
}

.slideshow img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    }

.btn_cerrar {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 35px;
    background-color: rgba(0, 0, 0, .7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: all .2s ease;

}
.btn_cerrar:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.botones { 
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 70px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgb(40, 40, 40);

}

.botones:hover > i{
    transform: scale(1.1);
    transition: all .2s ease;
}

.atras {
    left: -20px;
}

.adelante { 
    right: -20px;
}

.ico{
    pointer-events: none;
}

/* ---------------------------------------------------------- TAMAÑOS INTERMEDIOS-------------------------------  */

@media screen and (max-width: 800px) {

    .columna{
        flex: 50%;
        max-width: 50%;
        }

        .botones{
            font-size: 55px;

        }

        .atras {
            left: 5px;

        }

        .adelante { 
            right:  5px;

        }

        .slideshow img {
            width: 98%;
        }
}

@media screen and (max-width: 600px) {
    .columna {
        flex: 100%;
        max-width: 100%;
    }
}