/* Estilo general */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
}

header {
  background-color: #333;
  color: #fff;
  padding: 10px;
}

nav {
  display: flex;
  justify-content: center;
  padding: 14px 16px;
  
}
.navbar a:hover {
  color: #f06524;
  font-size: 16px;

}


ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

a {
  margin: 0 10px;
  cursor: pointer;
}

#banner {
  position: relative;
  text-align: center;
}

#banner img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}

#folder-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 20px;
}

.gallery-item {
  position: relative;
  cursor: pointer;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

footer {
  text-align: center;
  background-color: #333;
  color: #fff;
  padding: 10px;
}

/* Estilo del modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  box-shadow: 3px 5px 7px rgba(0, 0, 0, 0.5);

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 90%;
  width: 90%;
}


.modal-image {
  max-width: 80%;
  max-height: 80%;
}

.modal-image img {
  max-width: 80%;
  max-height: 80%;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.prev-button,
.next-button {
  color: #fff;
  background-color: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.prev-button {
  margin-right: 10px;
}

.modal-navigation{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  
}

  

@media screen and (max-width: 900px) {
  #gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 600px) {
  #gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 400px) {
  #gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}


.btn_transparente{
	border:none;
	cursor: pointer;
	background-color: none;
	height: 30px;
	width: 10px;
	position: absolute;
	text-decoration:none;
}

.btn_trasnparente:hover{
	background-color: none;
	transform: scale(1);
	text-decoration:none;
}

a:link, a:visited, a:active{
	text-decoration: none;
}
