:root{
    --bg-color : #FCE8E6;
    --primary-color : #FED434;
    --secundary-color : #6357D2;
    --third-color : #55C3D6;
    --primary-font: "Gloock", serif;
    --secundary-font: "Courier Prime", monospace;   
}

html{
    scroll-behavior: smooth;
}

/* Configuraciones Generales */
body{
    background-color: var(--bg-color);
    margin-left: 70px;
    margin-right: 70px;
}

@media (max-width: 768px) {
    body{
        margin-left: 20px;
        margin-right: 20px;
    }
}

h1, h2, h3, h4, h5, h6{
    font-family: var(--primary-font);
}

h1{
    margin: 0;
}

h3{
    margin: 0;
}

p{
    font-family: var(--secundary-font);
}

li{
    list-style-type: none;
}

a{
    font-family: var(--primary-font);
    color: black;
    text-decoration: none;
}

/* Alerta de éxito */
.alert-success {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background-color: limegreen;
    color: white;
    font-family: var(--secundary-font);
    font-size: 30px;
    padding: 10px;
    border-radius: 25px;
    margin-bottom: 20px;
    text-align: center;
    width: 90%;
    height: auto;
    z-index: 1000;
    transition: opacity 0.5s ease-in-out;
}

/* Nav */
.nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav .hamburger{
    width: 30px;
}

.nav .links{
    font-size: 20px;
    display: flex;
    flex-direction: row;
    gap: 50px;
    margin-right: 120px;
}



.links a:hover{
    color: var(--secundary-color);
    transition: color 0.15s ease;
}

.logo img{
    width: 150px;
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: 0;
    }

    .nav .links {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin: 0;
        margin-top: 10px;
        padding: 0;
    }
}

/* Hero */

.hero{
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.hero .title{
    display: flex;
    flex-direction: column;
    font-size: 50px;

    /* marco del titulo */
    border: 3px solid var(--primary-color);
    border-radius: 28px;
    padding: 30px;
}

.hero p{
    font-weight: bold;
    font-size: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 70px;
}

.hero .description{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero p span{
    color: var(--secundary-color);
}

.hero .description button{

    font-size: 40px;
    width: 300px;
    font-family: var(--secundary-font);
    background-color: var(--secundary-color);
    color: white;
    border-radius: 28px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.hero .description button:hover{
    background-color: var(--primary-color);
    color: black;
    transition: background-color 0.15s ease;
}

@media (max-width: 768px){

    .hero{
        flex-direction: column;
    }
     
    .hero .title{
        font-size: 25px;
        text-align: left;
    }

    .hero p{
        font-size: 25px;
        text-align: left;
        margin: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .hero .description button{
        font-size: 30px;
    }

}

/* mission */

.mission{
    background-color: var(--primary-color);
    border-radius: 28px;
}

.mission h2{
    font-size: 50px;
    text-align: center;
    padding: 80px 30px;
}

.mission h2 span{
    color: var(--secundary-color);
}

@media (max-width: 768px){


    .mission h2{
        font-size: 40px;
        padding: 50px 20px;
    }
}

/* team */
.team{
    display: flex;
    flex-direction:column;
    align-items: center;
    gap: 30px;
}

.team h2{
    font-size: 50px;
    text-align: center;
}

.team .logos{
    display: flex;
    flex-direction: row;
}

.team .logos img{
    width: 400px;
    margin: 0 20px;
}

.team .logos img:last-child{
    width: 300px;
}

.team p{
    font-size: 30px;
    text-align: center;
}

@media (max-width: 768px){
    .team{
        align-items: center;
        justify-content: center;
    }

    .team .logos{
        flex-direction: column;
        align-items: center;
    }

    .team .logos img{
        width: 300px;
        margin: 20px 0;
    }

    .team p{
        font-size: 30px;
        margin: 0px 10px;
        text-align: justify;
    }

}

/* Clientes */
.clients{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.clients h2{
    font-size: 50px;
    text-align: center;
}

.clients .logos{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.clients .logos .tu-negocio{
    font-size: 30px;
    text-align: center;
}

.clients .logos img{
    width: 200px;
    margin: 0 20px;
}

@media (max-width: 768px){

    .clients .logos{
        flex-direction: column;
        align-items: center;
    }
}

/* Servicios */

.services{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.services h2{
    font-size: 50px;
    text-align: center;
}

.services .cards{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.services .cards .card{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    font-family: var(--secundary-font);
    width: 300px;
    height: 400px;
}

.services .cards .card .title{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.services .cards .card .parrafo{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.services .cards .card ul{
    display: flex;
    flex-direction: column;
    height: 100px;
    margin-bottom: 30px;
}

.services .cards .card h3{
    font-family: var(--secundary-font);
    font-size: 40px;
    margin-bottom: 20px;
}

.services .cards .card li{
    font-size: 20px;
    font-weight: bold;
}

.services .cards p{
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: bold;
}

.services .cards .rrss{
    background-color: var(--third-color);
    padding: 30px;
    border-radius: 28px;
}

.services .cards .rrss .contact{
    font-size: 20px;
    color: white;
    font-family: var(--secundary-font);
    border-radius: 28px;
    padding: 10px 20px;
    background-color: var(--secundary-color);
}

.services .cards .rrss .contact:hover{
    background-color: black;
    transition: background-color 0.15s ease;
}

.services .cards .marketing .contact{
    font-size: 20px;
    color: white;
    font-family: var(--secundary-font);
    border-radius: 28px;
    padding: 10px 20px;
    background-color: var(--secundary-color);
}

.services .cards .marketing .contact:hover{
    background-color: black;
    transition: background-color 0.15s ease;
}

.services .cards .desarrollo .contact{
    font-size: 20px;
    color: white;
    font-family: var(--secundary-font);
    border-radius: 28px;
    padding: 10px 20px;
    background-color: black;
}

.services .cards .desarrollo .contact:hover{
    background-color: var(--third-color);
    color: white;
    transition: background-color 0.15s ease;
}


.services .cards .desarrollo{
    background-color: var(--secundary-color);
    padding: 30px;
    border-radius: 28px;
}

.services .cards .marketing{
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 28px;
}

.services .cards .marketing p{
    color: var(--secundary-color);
}

.services .cards .card li{
    color: black;
    text-align: left;
    list-style-type: disc;
}

.services .cards .rrss p {
    color: var(--secundary-color);
}

@media (max-width: 768px){

    .services .cards{
        flex-direction: column;
        align-items: center;
    }
}

/* Formulario de contacto */

.formulario{
    display: flex;
    border: solid 3px var(--primary-color);
    padding: 30px 50px;
    border-radius: 28px;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.contact h2{
    font-size: 50px;
    text-align: center;
}

.formulario label{
    font-size: 30px;
    font-family: var(--primary-font);
    color: black;
}

.formulario input {
    width: 400px;
    height: 50px;
    text-align: center;
    border-radius: 28px;
    padding: 5px;
    font-size: 20px;
    font-family: var(--secundary-font);
    border: 3px solid var(--secundary-color);
}

.formulario .campos{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.formulario .campos .campo{
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}

.formulario .mensaje{
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}

.formulario .mensaje textarea{
    width: 800px;
    height: 200px;
    border: 3px solid var(--secundary-color);
    border-radius: 28px;
    padding: 10px;
    font-size: 20px;
    font-family: var(--secundary-font);  
}

.formulario input[type="submit"]{
    width: 200px;
    height: 50px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    font-family: var(--secundary-font);
    background-color: var(--secundary-color);
    color: white;
    border-radius: 28px;
    border: none;
}

.formulario input[type="submit"]:hover{
    background-color: var(--primary-color);
    color: black;
    transition: background-color 0.15s ease;
}   

@media (max-width: 768px){
    .formulario .campo input{
        width: 250px;
        height: 30px;
    }

    .formulario .campos{
        flex-direction: column;
        align-items: center;
    }

    .formulario .mensaje textarea{
        width: 250px;
    }

}

/* footer */

.footer{
    text-align: center;
    font-size: 25px;
    margin-top: 50px;
    font-family: var(--secundary-font);
}

@media (max-width: 768px){
    .footer{
        font-size: 20px;
    }
}