/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */
body{
    background: linear-gradient(135deg,#428ed1,#00c6ff);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

/* HEADER */
.main-header{
    background: linear-gradient(135deg, #29487d, #1e3c72);
    color:white;
    text-align:center;
    padding:50px 20px;
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
}

.main-header h1{
    font-size:42px;
    font-weight:bold;
}

.main-header p{
    font-size:18px;
    margin-top:10px;
}

/* NAV */
.main-nav{
    background:#355c9c;
    box-shadow:0 4px 10px rgba(0,0,0,0.2);
}

.main-nav ul{
    list-style:none;
    display:flex;
    justify-content:center;
    gap:40px;
    padding:15px 0;
}

.main-nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    font-size:18px;
    padding:8px 15px;
    border-radius:8px;
    transition:0.3s;
}

.main-nav a:hover{
    background: rgba(255,255,255,0.2);
}

/* CONTENEDOR */
.container{
    background:white;
    max-width:1000px;
    margin:40px auto;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

/* TITULOS */
h3{
    text-align:center;
    margin-bottom:20px;
}

/* CARRUSEL */
.carousel{
    border-radius:15px;
    overflow:hidden;
}

.carousel img{
    height:400px;
    object-fit:cover;
}

/* CAPTION */
.carousel-caption{
    background: rgba(0,0,0,0.5);
    border-radius:10px;
    padding:10px;
}

/* FORMULARIO */
form{
    margin-top:20px;
}

.form-control{
    border-radius:10px;
    padding:10px;
}

.btn{
    border-radius:10px;
    padding:10px 20px;
}

/* FOOTER */
footer{
    background:#1e3c72;
    color:white;
    text-align:center;
    padding:10px;
    margin-top:auto;
}

/* RESPONSIVE */
@media(max-width:768px){

    .main-header h1{
        font-size:28px;
    }

    .main-nav ul{
        flex-direction:column;
        gap:10px;
    }

    .carousel img{
        height:250px;
    }
}