*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body{
    color: #fefefe;
}

.fondo{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 15px;
}

/* FONDO 1 */
#fondo1 {
    background: linear-gradient(rgba(12, 67, 75, 0.75), rgba(12, 67, 75, 0.75)), url("./fondo1.jpg");
    background-size: cover;
    background-position: center;
  }
#fondo1 h1{
    text-align: center;
    font-size: 3em;
}
#fondo1 h2{
    margin-top: 50px;
    text-align: center;
    font-size: 2em;
    font-style: italic;
}
#fondo1 a{
    color: rgba(12, 67, 75, 0.75);
    background-color: #fefefe;
    display: block;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    width: 250px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: 50px;
    border-radius: 25px;
    text-decoration: none;
}
#fondo1 a:hover{
    color: #fefefe;
    background-color: rgba(12, 67, 75);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.8),
                0 0 20px rgba(255, 180, 0, 0.6),
                0 0 30px rgba(255, 200, 0, 0.4);
}

/* FONDO 2 */
#fondo2{
    color: rgba(12, 67, 75, 0.75);
    background: #fefefe;
    background-size: cover;
    background-position: center;
}
#fondo2 h3{
    font-size: 2.5em;
    margin-bottom: 15px;
}
#fondo2 h4{
    font-size: 1.4em;
    text-align: center;
}
#fondo2 a{
    background-color: rgb(25, 163, 59);
    color: #fefefe;
    display: block;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    width: 300px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: 50px;
    border-radius: 30px;
    text-decoration: none;
}
#fondo2 a:hover{
    background-color: rgb(16, 96, 36);
}

/* FONDO 3 */
#fondo3{
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url("./fondo3.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fefefe;
}
#fondo3 h3{
    font-size: 1.7em;
}
#fondo3 div{
    width: 75%;
    background-color: #fefefe;
    border-radius: 5px;
    color: #010101;
    padding: 10px 15px;
}
#fondo3 h4{
    font-size: 1.15em;
}
#fondo3 h4:nth-child(1){
    margin-bottom: 5px;
}
#textoLargoFondo3{
    font-size: 1em !important;
    padding: 0 20px;
    line-height: 1.5;
}

/* FONDO 4 */
#fondo4{
    text-align: center;
}
#fondo4 h3{
    color: rgba(12, 67, 75, 0.75);
    font-size: 1.9em;
    margin-bottom: 40px;
}
#imagenFondo4{
    width: 250px;
    margin-bottom: 30px;
}
#fondo4 a{
    width: 70px;
    height: 70px;
}
#fondo4 a img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}
#fondo4 a img:hover{
    border-radius: 10px;
    background-color: #ababab;
}

/* FONDO 5 */
#fondo5{
    background-color: rgba(12, 67, 75);
    color: #fefefe;
    height: fit-content;
    padding-bottom: 60px;
    padding-top: 60px;
}
#fondo5 h3{
    font-size: 2.5em;
}
#fondo5 h4{
    font-size: 1.7em;
    margin: 60px 0 25px 0;
}

/* CARRUSEL */
.carousel {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: fit-content;
    overflow: hidden;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}
.carousel-image {
    width: 100%;
    height: auto;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px;
    cursor: pointer;
    z-index: 10;
}
.carousel-btn.prev {
    left: 5px;
}
.carousel-btn.next {
    right: 5px;
}  

/* RESPONSIVE */
@media (min-width: 1000px) {
    #fondo3 div{
        width: 45%;
    }
    #textoLargoFondo3{
        width: 40%;
    }
    .carousel {
        max-width: 320px;
    }
}