*{
    box-sizing: border-box;
}

body{
    font-family: 'Roboto', sans-serif;
    margin: 0;
}



h1{ font-size: 3.5em; }

h2{ font-size: 2.7em; }

h3{ font-size: 2em; }

p{ font-size: 1.25em; }

li{ font-size: 1.25em; }


 

button{
    font-size: 1.5em;  
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid rgba(0,0,0,0.5);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    color: white;
    background-color: blueviolet;
    cursor: pointer;
    transition: 0.3s;
}

button:hover{
    background-color: rgb(79, 24, 131);
    transform: scale(1.05);
}

/* =========================
   CONTENEDOR
========================= */

.container{
    max-width: 1400px;
    margin: auto;
    width: 90%;
}

.color-acento{
    color: blueviolet;
}

/* =========================
   HEADER
========================= */

header{
    background-color: rgb(245, 245, 245);
}

header .container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header .logo{
    margin: 0;
    padding: 25px 30px;
    font-weight: bold;
    color: blueviolet;
    font-size: 1.6em;
}

header .nav{
    display: flex;
    flex-direction: row; 
    padding-right: 30px;
}

header a{
    padding: 5px 15px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    transition: 0.3s;
}

header a:hover{
    color: blueviolet;
}

/* =========================
   HERO
========================= */

#her{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    height: 90vh;

    color: white;
    text-align: center;

    background-image:
    linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),
    url("../img/sano.jfif");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#her h1{
    color: white;
}

/* =========================
   FIESTA
========================= */

#Fiesta .container{
    text-align: center;
    padding: 100px 12px;
}

#Fiesta .img-container{

    background-image:
    linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),
    url("../img/sanpacho3.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    height: 500px;
    width: 100%;
    max-width: 900px;

    margin: 30px auto;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* =========================
   SAN PACHO
========================= */

#sanpac{
    background-color: rgb(30,30,30);
    padding: 80px 0;
}

#sanpac .container{
    color: white;
    text-align: center;
}

.programas{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.carta{
    background-color: #444;
    padding: 40px 20px;
    border-radius: 15px;

    width: 300px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow:
    inset 0 0 0 1000px rgba(0,0,0,0.4);

    transition: 0.4s;
}

.carta:hover{
    transform: translateY(-10px);
}

.carta:nth-child(1){

    background-image:
    linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),
    url("../img/hola.jfif");
}

.carta:nth-child(2){

    background-image:
    linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),
    url("../img/siii.jfif");
}

.carta:nth-child(3){

    background-image:
    linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),
    url("../img/ville.jfif");
}

/* =========================
   FOOTER
========================= */

footer{
    background-color: #121212;
    color: #f4f4f4;
    padding: 40px 0;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.footer-grid{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-link{
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-link:hover{
    color: blueviolet;
}

.footer-socials{
    display: flex;
    gap: 15px;
}

.social-icon{
    background: #222;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    border: 1px solid #333;
    transition: 0.3s;
}

.social-icon:hover{
    background-color: blueviolet;
}

span{
    margin-left: 8px;
}


@media (min-width: 1200px){

    body{
        background-color: #f5f5f5;
    }

    h1{
        font-size: 5em;
    }

    h2{
        font-size: 4em;
    }

    #her{
        height: 100vh;

        background-attachment: fixed;
    }

    .programas{
        gap: 40px;
    }

    .carta{
        width: 360px;
        padding: 60px 30px;
    }

    #Fiesta .img-container{
        height: 650px;
        max-width: 1100px;
    }
}

/* 
   TABLETS
*/

@media (max-width: 991px){

    body{
        background-color: #ececec;
    }

    header .container{
        flex-direction: column;
    }

    header .nav{
        margin-top: 15px;
        padding-right: 0;
    }

    header a{
        background-color: blueviolet;
        color: white;
        border-radius: 10px;
        margin: 5px;
    }

    h1{
        font-size: 3.2em;
    }

    h2{
        font-size: 2.5em;
    }

    #her{
        height: 80vh;

        background-position: top;
    }

    .carta{
        width: 45%;
    }

    #Fiesta .img-container{
        height: 400px;
    }
}

/* 
   CELULARES
 */

@media (max-width: 768px){

    body{
        background-color: #dddddd;
    }

    header .container{
        flex-direction: column;
        text-align: center;
    }

    header .nav{
        flex-direction: column;
        width: 100%;
        padding: 10px;
    }

    header a{
        width: 100%;
        background-color: rgba(138,43,226,0.2);
        border-radius: 10px;
        padding: 12px;
    }

    h1{
        font-size: 2.4em;
    }

    h2{
        font-size: 2em;
    }

    h3{
        font-size: 1.5em;
    }

    p, li{
        font-size: 1em;
    }

    #her{
        height: 70vh;

        background-position: center;
    }

    .programas{
        flex-direction: column;
        align-items: center;
    }

    .carta{
        width: 90%;
        border-radius: 25px;
    }

    #Fiesta .img-container{
        width: 95%;
        height: 300px;
        border-radius: 15px;
    }

    button{
        width: 100%;
        max-width: 300px;
        font-size: 1em;
    }

    .footer-grid{
        flex-direction: column;
    }

    .footer-socials{
        justify-content: center;
    }
}



/* 
   CELULARES PEQUEÑOS */

@media (max-width: 700px){

    body{
        background-color: #cfcfcf;
    }

    header .logo{
        font-size: 1.3em;
        padding: 15px;
    }

    header a{
        font-size: 0.9em;
    }

    h1{
        font-size: 1.8em;
    }

    h2{
        font-size: 1.5em;
    }

    h3{
        font-size: 1.2em;
    }

    p, li{
        font-size: 0.9em;
    }

    #her{
        height: 60vh;
        background-size: cover;
    }

    .carta{
        width: 95%;
        padding: 20px 15px;
    }

    #Fiesta .img-container{
        height: 220px;
    }

    button{
        font-size: 0.9em;
        padding: 8px 10px;
    }

    .social-icon{
        padding: 8px 12px;
        font-size: 0.8rem;

    }
    #musica{
      display: none;

    }
     }   
     .bo{
        width: 100px;
        border-radius: 100%;
       animation:  move-and-shape  4s infinite;
     } 
    
     @keyframes move-and-shape {
        0% {
            transform: translateX(0);
            background: #3525cd;
        }
        50% {
            transform: translateX(1800px) rotate(360deg);
            background: #006e4b;
            border-radius: 50%;
        }
        100% {
            transform: translateX(0);
            background: #3525cd;
        }
    }
