@font-face {
  font-family: 'Barlow-Bold';
  src: url('../font/Barlow-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Barlow-Regular';
  src: url('../font/Barlow-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Barlow-Light';
  src: url('../font/Barlow-Light.ttf') format('truetype');
}

.barlow-bold{
  font-family: 'Barlow-Bold', sans-serif !important;
}

.barlow-regular{
  font-family: 'Barlow-Regular', sans-serif !important;
}

.barlow-light{
  font-family: 'Barlow-Light', sans-serif !important;
}



body{
  font-family: 'Barlow-Regular', sans-serif !important;
  font-size: 15px;
  font-weight: 400;
  background: #f4f4f4;
  color: #2f2f2f
}


.header-carousel-container {
  position: relative;
  height: 55vh; 
  max-height: 500px; 
  overflow: hidden;
}


.carousel-item img {
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); 
}


.overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10; 
  
}

.text-shadow-custom {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


.brand {
  width: 40px;
}

.text-dark{
  color: #2f2f2f !important;
}

.text-black{
  color: #000 !important;
}

.btn{
  border-radius: 8px;
  padding: .3rem 1rem;
}

.btn:hover, button:hover {
  opacity: .7;
}

button.btn:hover {
  background: #ffff63;
}

.cont-buttons .btn{
  background: #23B2D7;
  color: white;
}

.cont-buttons .btn-dark{
  background: #2f2f2f;
  color: white;
}

.card-item button{
  color: white;
}


.bg-presencial  p.area, .text-presencial{
  color: #ffff63;
}
.bg-online p.area, .text-online{
  color: #ffff63;
}


.bg-presencial  button{
  background: #ffff63;
  border: #ffff63
}
.bg-online button{
  background: #ffff63;
  border: #ffff63
}
.bg-empresa a{
  background: #ffff63;
  border: #ffff63
}


p.modalidad{
  font-size: 16px;
}

h3{
  font-size: 24px;
  line-height: 34px;
}

.h5, h5 {
  font-size: 1.05rem;
}

footer {
  background: #2f2f2f;
}

.listado {
  column-count: 1;
  column-gap: 1.5rem;
  padding: 0;
}

.listado .card {
  display: inline-block;
  width: 100%;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.15);
}

.div-card {
  border: 0;
  border-radius: 15px;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.15);
}


@media(max-width:992px){

.header-carousel-container {
  height: 30vh;
}

}


@media(min-width:992px){
  .listado {
    column-count: 2;
  }
  .brand {
    position: absolute;
  }
  p.modalidad{
    font-size: 18px;
  }
  h3{
    font-size: 27px;
    line-height: 32px;
  }
  .overlay-text {
    font-size: 3.5rem !important; 
}
}

@media(min-width:1200px){
  .listado {
    column-count: 3;
  }
}