@charset "utf-8";

#carousel {
	background-color: #37355d;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	height: 65vh;
	min-height: 400px;
    max-height: 650px;
}

.mySlides {
	display: none;
	width: -webkit-fill-available;
	height: -webkit-fill-available;
}
img {
	vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
	width: -webkit-fill-available;
	height: -webkit-fill-available;
	position: relative;
}

/* Next & previous buttons */
.prev,
.next {
	z-index: 50;
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	height: -webkit-fill-available;
	padding: 0 1rem;
	margin-top: -22px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
}

/* Position the "next button" to the right */
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
	background-color: rgba(0, 0, 0, 0.35);
}

/* Caption text */
.carousel__slideText {
	bottom: 0;
	background: rgb(0,0,0);
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.5) 100%);
	padding: 2rem 0 3rem;
	color: #f2f2f2;
	font-size: 15px;
	position: absolute;
	width: 100%;
	text-align: center;
}

.carousel__slideTitle {
	font-family: 'Anton', cursive;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: white;
	font-size: 2.25rem;
	margin: .25rem 0;
}
.carousel__slideBody {
	text-align: center;
	font-size: 1.25rem;
	max-width: 80%;
	margin: auto;
}

/* The dots/bullets/indicators */
.carousel__dots {
	text-align: center;
	position: absolute;
	bottom: 10px;
	width: -webkit-fill-available;
}
.dot {
	cursor: pointer;
	height: 12px;
	width: 12px;
	margin: 0 2px;
	background: transparent;
	border: 2px solid #fff;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}

.active,
.dot:hover {
	background-color: #fff;
}

/* Fading animation */
.fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: .5s;
	animation-name: fade;
	animation-duration: .5s;
}

.carousel_img_1 {
	background-image: url(../assets/Lalista.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.carousel_img_2 {
	background-image: url(../assets/sindialogo.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.carousel_img_3 {
	background-image: url(../assets/teayudamosaelegir.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

@-webkit-keyframes fade {
	from {
		opacity: .4;
	}
	to {
		opacity: 1;
	}
}

@keyframes fade {
	from {
		opacity: .4;
	}
	to {
		opacity: 1;
	}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
	.prev,
	.next,
	.text {
		font-size: 11px;
	}
}

@media only screen and (max-width: 800px) {

	#carousel {
		height: 50vh;
		min-height: 400px;
		max-height: 600px;
	}

	.carousel__slideTitle {
		margin: .25rem .5rem;
		font-size: 1.8rem;
		line-height: 1.25;
	}
	.carousel__slideBody {
		max-width: 90%;
		font-size: 1rem;
	}
}
