/* RESET */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body{
    font-family: Arial, sans-serif;
    background: #111827;
    color: white;
    line-height: 1.6;
}

/* HEADER */
header{
    background: #1f2937;
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid #3b82f6;
}

header h1{
    color: #60a5fa;
    margin-bottom: 15px;
}

/* NAV */
nav ul{
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    flex-wrap: wrap;
}

nav a{
    text-decoration: none;
    color: white;
    background: #2563eb;
    padding: 10px 15px;
    border-radius: 10px;
    transition: 0.3s;
}

nav a:hover{
    background: #1d4ed8;
    transform: scale(1.05);
}

/* MAIN */
main{
    padding: 30px;
}

/* SECTIONS */
section{
    background: #1f2937;
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* TITULOS */
h2{
    color: #60a5fa;
    margin-bottom: 15px;
}

h3{
    color: #93c5fd;
    margin-bottom: 10px;
}

/* IMAGENES */
img{
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    margin-top: 15px;
}

/* ARTICULOS */
article{
    margin-bottom: 25px;
}

/* BOTONES */
button{
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover{
    background: #1d4ed8;
}

/* FOOTER */
footer{
    background: #1f2937;
    text-align: center;
    padding: 20px;
    border-top: 3px solid #3b82f6;
}

/* CTA buttons */
.btn-cta {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #f59e0b, #dc2626);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

/* RESPONSIVE */
@media(max-width:768px){

    nav ul{
        flex-direction: column;
        align-items: center;
    }

    main{
        padding: 15px;
    }

}