.hero {
    background:
        linear-gradient(0deg, rgba(1, 17, 96, 1) 5%, rgba(255, 255, 255, 0) 100%),
        url(https://images.pexels.com/photos/7793138/pexels-photo-7793138.jpeg);
    padding: 60px 20px;
    color: #fff;
    background-size: cover;
    background-position: center;
    height: 30rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5%;
}

.hero-content{
     max-width: 80%;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin: 0;
    text-align: center;
   
}

.novedades{
    background-color: var(--first-color);
    color: #fff;
}

.novedades-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.novedades-text h2 {
    margin: 0;
    font-size: 2.5rem;
}

.novedades-text p {
    font-size: 1.2rem;
    max-width: 60%;
    text-align: center;
}
.novedades-text hr {
    width: 30%;
    border: 2px solid #fff;
    margin: 10px 0;
}
.novedades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding: 0 100px;
    margin-bottom: 3rem;
}
.novedades-card {
    background: #fff;
    color: #000;
    border-radius: 8px;
    overflow: hidden;
  border: 2px solid #fff;
    transition: transform 0.3s ease;
}
.novedades-card:hover {
    transform: scale(1.05);
}
.novedades-card:last-child {
    place-items: center;
}
.novedades-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.transition {
    height: 100px;
    background:  linear-gradient(0deg,rgba(255, 255, 255, 1) 20%, rgba(1, 17, 96, 1) 100%);
}
.cursos-content {
    max-width: 1200px;
    margin: 0 auto;
}
.curso-categoria {
    margin-bottom: 4rem;
    color: var(--first-color);
}
.curso-categoria h3 {
    font-size: 3rem;
    text-align: center;
}
.subtitulo-categoria {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;

}
.curso-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.curso-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
      box-shadow: 5px 5px 20px 0px hsla(230, 98%, 19%, 0.5);
      display: flex;
      color: var(--first-color);
}
.curso-card:hover {
    transform: scale(1.05);
    box-shadow: 5px 5px 30px 0px hsla(230, 98%, 19%, 0.7);
}
.curso-imagen{
    padding: .5rem;
    display: flex;
}
.curso-imagen img{
      height: 120px;
    width: 220px;

    object-fit: cover;
    border-radius: 1rem;
}
.curso-content {
    width: 100%;
    margin: auto 0;
    margin-left: 1rem;
}
.curso-content h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}
.curso-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 1.2rem;
    margin-bottom: 5px;
    margin-right: 50%;
}
.curso-info li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
}
.curso-info i {
    font-size: 1.5rem;
    font-weight: 500;
}
.curso-content p {
    font-size: 1.2rem;
}