body {
    text-align: center;
    font-family: Arial, sans-serif;
	font-size: 25px;
    margin: 0;
    padding: 0;
    background-color: #fefefe;
}

.imagenes{
    height: 350px;
}
#carrusel{
    height: 300px;
    
}

.line{
    width: 100%;
    height: 7px;
    background-color: rgb(15, 15, 15);
}


.carousel {
    z-index: 1;
}



.galeria {
	display: flex;
	width: 95%;
	margin: auto;
	justify-content: space-around;
	flex-wrap: wrap;
	z-index: 1;
align-items: center;
}
.galeria .foto {
	max-width: 100%;
	max-height: 100%;
	position: relative;
	margin-bottom: 35px;
	border-radius: 5px;
	box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.75);
	transition: 0.6s ease;
}
.galeria .foto:hover {
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.75);
}

.foto img {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	border-radius: 5px;
    vertical-align: middle;
}

.overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	background-image: linear-gradient(to top,#dddfcf96 0%, #0f3c5500 100%);
	width: 100%;
	height: 0;
	transition: 0.55s ease;
	overflow: hidden;
}
.overlay h2 {
	color: #000000;
	font-size: 25px;
	font-family: 'Josefin Sans', sans-serif;
	position: absolute;
	top: 50%;
	left: 50%;
	text-align: center;
	transform: translate(-50%, -50%);
}
.foto:hover .overlay {
	height: 100%;
	cursor: pointer;
	border-radius: 5px;
}

.contenedor-modal.active {
	position: fixed;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 0;
	left: 0;
	z-index: 2;
}
.contenedor-modal.active img {
	z-index: 3;
	width: 700px;
	height: 700px;
}

.contenedor-modal.active::after {
	position: fixed;
	content: '';
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background-color: rgba(211, 211, 211, 0.459);
}

.navbar{
	font-style: bold;
	position: relative; 
	z-index: 1000;
}

.gradient-custom{
  background: linear-gradient(to bottom, rgb(4, 57, 6), rgb(37, 150, 33), black)
}


#nombre{
	text-shadow: #000000 8px 8px 3px, #000000 -5px -5px 2px;
}

.jueces{
	text-align: justify;
}
.jueces {
	font-family: "Fahkwang", serif;
	font-weight: 400;
	font-style: bold;
  }

.contenido{
	height: 100%;
}

footer {
    position: static;
    width: 100%;
    margin-top: 40px;
}

.titulos{
	font-size: 35px;
	font-style: oblique;
}

.card-img-top {
    height: 250px;
    object-fit: contain;
    background-color: black;
    padding: 10px;
}

.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	background-color: black; color: white;
}
/* Miniaturas uniformes */
.galeria img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 5000;
    padding-top: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    text-align: center;
}

.lightbox-img {
    max-width: 80%;
    max-height: 70vh;
    margin-top: 20px;
    border-radius: 5px;
}

.cerrar {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    color: white;
    font-size: 50px;
    padding: 10px;
    user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Miniaturas dentro del lightbox */
.lightbox-thumbs {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.lightbox-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.lightbox-thumbs img.active {
    border-color: yellow;
}

.accordion-button {
    background-color: #232222 !important; /* negro */
    color: #fff !important; /* blanco */
    font-weight: bold;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: #000 !important;
    color: #fff !important;
}

.accordion-body {
    background-color: #259621 !important; /* verde AMBA */
    color: #000 !important; /* texto negro */
    font-size: 18px;
    padding: 20px;
    border-top: 2px solid #000;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.construccion-container {
    padding: 80px 20px;
    color: white;
}

.construccion-img {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.construccion-titulo {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
}

.construccion-texto {
    font-size: 20px;
    opacity: 0.8;
}
