body {
	background-color: rgb(245, 245, 245);
	font-family: "Poppins", sans-serif;
}

.page-section {
	padding: 4rem 0;
}

.section-heading {
	font-size: 250%;
    font-weight: 600;
    color: #004d0b;
}

.section-subheading {
	font-size: 110%;
	font-weight: 400;
}

#draggable-popup {
    left: 50%;
    transform: translateX(-50%); 
}

@media (min-width: 576px) {
    #draggable-popup {
        left: auto;
        right: 0;
        transform: none; 
		width: 300px;
		height:170px;
    }
}
/*---------------------------------------------------------------------------------------*/
/* SECCION BANNER INICIAL
/*---------------------------------------------------------------------------------------*/
.banner-masthead {	
	background-color: white;
	right: 0;
	left: 0;
	margin: 0 auto;
	max-width: 1700px;
	padding: 20px;
	border-radius: 5px;
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.1);
	color: #004d0b;
	width: 800px;
} 

.masthead-heading, h1 {
    font-size: 25px; 
    font-weight: 700;
}

.masthead-subheading {
    font-size: 15px; 
    font-style: italic;
}
  
@media (max-width: 992px) {
	.banner-masthead {
		width: 400px;
	} 
	
	.masthead .masthead-heading {
		font-size: 80%; 
	}

	.masthead .masthead-subheading {
		font-size: 90%; 
	}
}

/*---------------------------------------------------------------------------------------*/
/* SECCION CAROUSEL
/*---------------------------------------------------------------------------------------*/
#carousel {
	margin: 0 auto;
	max-width: 1700px;
}

#carousel .container {
	margin: 0 auto;
	max-width: 800px;
    display: flex;
    overflow-x: hidden; 
    width: 100%;
    height: 600px; 
    scroll-snap-type: x mandatory;
    scroll-padding-top: 24px;
    border-radius: 8px;
    gap: 20px;
}

#carousel .scroll-wrapper{
	width: 90%;
	overflow: hidden;
	display: flex;
	user-select: none;
	--gap: 20px;
	gap: var(--gap);
}


#carousel .container .card {
    flex: 0 0 calc(52% - 10px); 
    overflow: hidden;
    scroll-snap-align: start;
    border-radius: 8px;
    position: relative;
    height: 100%; 
}


#carousel .card .card__image {
    width: 100%; 
    height: 100%; 
    position: relative; 
}

#carousel .card .card__image img {
    width: 100%;  
    height: 100%;
}   

#carousel .scroll-wrapper {
    position: relative;
    width: 100%;
} 

#carousel .scroll-btn {
    cursor: pointer;
    font-size: 24px; 
    background: transparent; 
	color: #004d0b;
    border: none;
} 

#carousel .card img {
    width: 100%;
    height: 100%;
}

/*---------------------------------------------------------------------------------------*/
/* SECCION EVENTOS
/*---------------------------------------------------------------------------------------*/
#events{
	box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
	background-color: white;
}

.page-section hr {
	height: 4px; 
	background-color: #ce9718; 
	margin: 0 auto;
	border: none;
	width: 5%; 
	opacity: 1;
}

.container-events{
	border-radius: 5px;
	padding: 20px 30px;
	max-width: 1700px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.main-video-container{
	flex: 1 1 700px;
}

.main-video{
	width: 100%;
}

.video-list-container{
	flex: 1 1 300px;
	border-left:  2px solid #eee;
	padding:  15px;
	max-height: 500px; /* Altura máxima antes de mostrar scroll */
  	overflow-y: auto;
}

.list.active{
	background-color: #e9ab00;	
}

.list.active:hover{
	background-color: #e9ab00;	
}

.list{
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 10px;
	cursor: pointer;
	border-radius: 5px;
	transition: background-color 0.3s, transform 0.3s; 
}

.list:hover{
	background-color:  #f1f1f1;	
    transform: scale(1.05);
}

.list-video{
	width: 100px;
	border-radius: 5px;
}

.list:last-child{
	margin-bottom: 0;
}

.list-title {
	font-size: 125%;
}

.container-events .video-list-container .list.active.list-title{
	color: #fff;
}

@media (max-width:1200px) {
	.container {
		margin: 0;
	}
	.video-list-container{
		border: none !important;
		padding: 15px !important;
	}
}
@media (max-width:450px) {
	.video-list-container{
		border: none !important;
		padding: 15px !important;
	}
	.main-vid-title {
		font-size: 15px;
		text-align: center;
	}
	.list {
		flex-flow: column;
		gap: 10px;
	}
	.list-video {
		width: 100%;
	}
	.list-title {
		font-size: 15px;
		text-align: center;
	}
}


#carouselIndex .carousel-item img {
	object-fit: cover; 
	height: 670px; 
}
/*---------------------------------------------------------------------------------------*/
/* SECCION CARRERAS
/*---------------------------------------------------------------------------------------*/
:root {

	--first-color: #004d0b;
	--container-color: hsl(0, 0%, 100%); 
	--body-font: "Poppins", sans-serif;	
	--small-font-size: .9rem;
}

#card {
	position: relative;
	margin: 0 auto;
	max-width: 1700px;
}

#card.card__container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.card__article {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.carousel-item {
	cursor: pointer;
}

.card__container {
	display: grid;
	row-gap: 3.5rem;
}

.card__img { 
	height: 250px;
	width: 400px;
	border-radius: 1rem;
}

.card__data {
	width: 200px;
	background-color: var(--container-color);
	padding: 1.5rem 1rem;
	box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
	border-radius: 1rem;
	position: absolute;
	bottom: -9rem;
	left: 0;
	right: 0;
	margin-inline: auto;
	opacity: 0;
	transition: opacity 1s 1s;
	z-index: 2;
}

.card__button {
	text-decoration: none;
	font-weight: 600;
	color: #004d0b;
	z-index: 2;
}

/* Naming animations in hover */
.card__button:hover {
	text-decoration: none;
}

.card__article:hover .card__data {
animation: show-data 1s forwards;
opacity: 1;
transition: opacity .3s;
}

.card__article:hover {
animation: remove-overflow 2s forwards;
}

.card__article:not(:hover) {
animation: show-overflow 2s forwards;
}

.card__article:not(:hover) .card__data {
animation: remove-data 1s forwards;
}

/* Card animation */
@keyframes show-data {
50% {
	transform: translateY(-10rem);
}
100% {
	transform: translateY(-7rem);
}
}

@keyframes remove-overflow {
to {
	overflow: initial;
}
}

@keyframes remove-data {
0% {
	transform: translateY(-7rem);
}
50% {
	transform: translateY(-10rem);
}
100% {
	transform: translateY(.5rem);
}
}

@keyframes show-overflow {
0% {
	overflow: initial;
	pointer-events: none;
}
50% {
	overflow: hidden;
}
}

/* For small devices */
@media screen and (max-width: 1120px) {
	.card__data {
		width: 200px;
		padding: 1rem;
	}}



/* For large devices */
@media screen and (min-width: 1120px) {
.card__container {
	grid-template-columns: repeat(3, 1fr);
}

:root {--small-font-size: .875rem;}

.card__img {
	height: 300px;
	width: 450px;
}

.card__data {
	width: 200px;
	padding-inline: 2.5rem;
}
}
/*---------------------------------------------------------------------------------------*/
/* SECCION BANNER
/*---------------------------------------------------------------------------------------*/
#banner .row {
	position: relative;
	margin: 0 auto;
	max-width: 1700px;
}
#banner {
	margin-top: 30px;
	background-color: #ffbd21;
	padding: 30px;
}

#banner .btn {
	background-color: #ce9718;
}

@media (max-width: 992px) {
	#banner .col-12.col-lg-3 {
        display: flex;
        justify-content: center; 
        align-items: center
    }

	#banner img.img-fluid{
		width: 80%;
		height: auto;
		margin-bottom: 2rem;
		align-items: center;
	}

	#banner .btn {
        width: 80%; 
        margin-top: 1rem;
    }
}
/*---------------------------------------------------------------------------------------*/
/* SECCION TIMELINE
/*---------------------------------------------------------------------------------------*/
.container-title {
	text-align: center;
	margin: 20px 0;
}

#about {
	position: relative;
	margin: 0 auto;
	max-width: 1700px;
}

.timeline-image i{
	text-decoration: none; 
	color: white !important;
	font-size: 80%;	
}

.timeline-heading a {
	text-decoration: none; 
	color: black !important;
}

.timeline-heading a:hover{
	text-decoration: none; 
	color:  #004d0b !important;
}

.rounded-circle {
	border-radius: 50% !important;
}

.timeline {
	position: relative;
	padding: 0;
	list-style: none;
  }
  .timeline:before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 40px;
	width: 2px;
	margin-left: -1.5px;
	content: "";
	background-color: #cccdcf;
  }
  .timeline > li {
	position: relative;
	min-height: 50px;
	margin-bottom: 60px;
  }
  .timeline > li:after, .timeline > li:before {
	display: table;
	content: " ";
  }
  .timeline > li:after {
	clear: both;
  }
  .timeline > li .timeline-panel {
	position: relative;
	float: right;
	width: 100%;
	padding: 0 20px 0 100px;
	text-align: left;
  }
  .timeline > li .timeline-panel:before {
	right: auto;
	left: -15px;
	border-right-width: 15px;
	border-left-width: 0;
  }
  .timeline > li .timeline-panel:after {
	right: auto;
	left: -14px;
	border-right-width: 14px;
	border-left-width: 0;
  }

  .timeline-image img {
    width: 60px; 
    height: auto; 
    object-fit: cover; 
}
  .timeline > li .timeline-image {
	position: absolute;
	z-index: 100; 
	left: 0;
	width: 80px;
	height: 80px;
	margin-left: 0;
	text-align: center;
	color: white;
	border: 7px solid #cccdcf;
	border-radius: 100%;
	background-color: #004d0b;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 40px;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
	font-size: 10px;
	line-height: 14px;
	margin-top: 12px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
	float: right;
	padding: 0 20px 0 100px;
	text-align: left;
  }
  .timeline > li.timeline-inverted > .timeline-panel:before {
	right: auto;
	left: -15px;
	border-right-width: 15px;
	border-left-width: 0;
  }
  .timeline > li.timeline-inverted > .timeline-panel:after {
	right: auto;
	left: -14px;
	border-right-width: 14px;
	border-left-width: 0;
  }
  .timeline > li:last-child {
	margin-bottom: 0;
  }
  .timeline .timeline-heading h4, .timeline .timeline-heading .h4 {
	margin-top: 0;
	color: inherit;
  }
  .timeline .timeline-heading h4.subheading, .timeline .timeline-heading .subheading.h4 {
	text-transform: none !important;
  }
  .timeline .timeline-body > ul,
  .timeline .timeline-body > p {
	margin-bottom: 0;
  }

  @media (max-width: 992px) {
	#about {
		margin: 0 20px;
	}
  }
  
  @media (min-width: 768px) {
	.timeline:before {
	  left: 50%;
	}
	.timeline > li {
	  min-height: 100px;
	}
	.timeline > li .timeline-panel {
	  float: left;
	  width: 41%;
	  padding: 0 20px 20px 30px;
	  text-align: right;
	}

	.timeline-image img {
		width: 100px; 
		height: auto; 
		object-fit: cover; 
	}
	
	.timeline > li .timeline-image {
	  left: 50%;
	  width: 100px;
	  height: 100px;
	  margin-left: -50px;
	  font-size: 50px;
	}
	.timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
	  font-size: 13px;
	  line-height: 18px;
	  margin-top: 16px;
	}
	.timeline > li.timeline-inverted > .timeline-panel {
	  float: right;
	  padding: 0 30px 20px 20px;
	  text-align: left;
	}
  }
  @media (min-width: 992px) {

	.timeline > li {
	  min-height: 150px;
	}
	.timeline > li .timeline-panel {
	  padding: 0 20px 20px;
	}
	.timeline > li .timeline-image {
	  width: 150px;
	  height: 150px;
	  margin-left: -75px;
	  font-size: 80px;
	}
	.timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
	  font-size: 18px;
	  line-height: 26px;
	  margin-top: 30px;
	}
	.timeline > li.timeline-inverted > .timeline-panel {
	  padding: 0 20px 20px;
	}
  }
  @media (min-width: 1200px) {
	.timeline > li {
	  min-height: 170px;
	}
	.timeline > li .timeline-panel {
	  padding: 0 20px 20px 100px;
	}
	.timeline > li .timeline-image {
	  width: 170px;
	  height: 170px;
	  margin-left: -85px;
	}
	.timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
	  margin-top: 40px;
	}
	.timeline > li.timeline-inverted > .timeline-panel {
	  padding: 0 100px 20px 20px;
	}
  }



