:root {
    /* Primary */
    --dark-blue: hsl(243, 87%, 12%);
    --des-blue: hsl(238, 22%, 44%);

    /* Accent */
    --bright-blue: hsl(224, 93%, 58%);
    --moderate-cyan: hsl(170, 45%, 43%);

    /* Neutral */
    --light-blue: hsl(240, 75%, 98%);
    --light-gray: hsl(0, 0%, 75%);

    --fuenteHeading: 'Open Sans', sans-serif;
    --fuenteParrafo: 'Raleway', sans-serif;
}

html{
    box-sizing: border-box;
    font-size: 62.5%; /*Reset para REMS - 62.5% = 10px de 16px*/
}

*, *:before, *:after{
    box-sizing: inherit;
}

/* Globales */
body {
    font-size: 16px;
}

.contenedor {
    max-width: 140rem;
    width: 95%;
    margin: 0 auto;
}

img {
    max-width: 100%;
}

h1,h2,h3,h4,p {
    margin: 0;
}

.text-left {
    text-align: left;
}

.text-green {
    color: var(--moderate-cyan);
    font-family: var(--fuenteHeading);
}

a {
    text-decoration: none;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    margin-bottom: 5rem;
}

.nav {
    display: flex;
    column-gap: 2rem;
}

.nav__enlace {
    font-family: var(--fuenteParrafo);
    text-decoration: none;
    color: var(--dark-blue);
}

/* Primer Flex */
.flex {
    padding: 5rem;
    display: flex;
    flex-direction: column;
}
@media (min-width: 1024px) {
    .flex {
        flex-direction: row-reverse;
        gap: 2rem;
        padding: 0;
        margin-bottom: 8rem;
    }
}

.flex__contenido {
    text-align: center;
    margin-bottom: 12rem;
}
@media (min-width: 1024px) {
    .flex__contenido {
        text-align: left;
    }
}

.titulo {
    margin-bottom: 2.5rem;
    font-family: var(--fuenteHeading);
    color: var(--dark-blue);
    line-height: 1.5;
}

.parrafo {
    font-family: var(--fuenteHeading);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    color: var(--dark-blue);
}

.form {
    display: flex;
    flex-direction: column;
}
@media (min-width: 1024px) {
    .form {
        flex-direction: row;
        column-gap: 2rem;
    }
}

.form__input {
    padding: 1rem;
    margin-bottom: 2rem;
    font-family: var(--fuenteHeading);
    border: 1px hsl(243, 87%, 12%) solid;
    border-radius: .5rem;
}

.form__submit {
    padding: 1.5rem;
    background-color: var(--bright-blue);
    border: none;
    color: white;
    font-family: var(--fuenteParrafo);
    font-weight: 700;
}

.form__submit:hover {
    cursor: pointer;
    background-color: hsla(224, 93%, 58%, .5);;
}

@media (min-width: 1024px) {
    .form__input {
        padding: 1rem;
        margin-bottom: 0;
        flex: 1;
    }

    .form__submit {
        flex: 1;
    }
}

/* Segundo Flex */
@media (min-width: 1024px) {
    .flex-2 {
        display: flex;
        flex-direction: row-reverse;
        column-gap: 2rem;
    }
}

main {
    background-image: url(../images/bg-curve-mobile.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 5rem;
    padding-bottom: 1rem;
}
@media (min-width: 1024px) {
    main {
        background-image: url(../images/bg-curve-desktop.svg);
    }
}

.icono {
    display: flex;
    justify-content: center;
    column-gap: 1rem;
}
@media (min-width: 1024px) {
    .icono {
        display: flex;
        justify-content: flex-start;
    }
}

.text-transparente {
    display: flex;
    justify-content: center;
    margin-top: -.5rem;
}
@media (min-width: 1024px) {
    .text-transparente {
        justify-content: flex-start;
    }
}

.text-transparente::after {
    content: '';
    display: block;
    width: 17rem;
    height: 0.2rem;
    background-color: var(--moderate-cyan);
    margin-top: 1rem;
    margin-bottom: 5rem;
}

/* Tarjeta */
.tarjeta {
    background-color: #ffffff;
    padding: 2.8rem 2rem;
    border-radius: .8rem;
    margin-bottom: -6rem;
}
@media (min-width: 1024px) {
    .tarjeta {
        width: 60%;
    }
}

.tarjeta__blockuote {
    display: flex;
    justify-content: flex-start;
    width: 5%;
    margin-bottom: 1.5rem;
}

.tarjeta__texto {
    text-align: left;
    font-family: var(--fuenteHeading);
    color: var(--dark-blue);
    line-height: 1.5;
    margin-bottom: 2.2rem;
}

.datos {
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
}

.datos__flex {
    text-align: left;
    display: flex;
    flex-direction: column;
    row-gap: .3rem;
}

.nombre {
    font-family: var(--fuenteParrafo);
    font-weight: 700;
}

.puesto {
    font-size: 1.5rem;
    font-family: var(--fuenteHeading);
    color: black;
    font-weight: 400;
}

.perfil {
    height: 4.5rem;
    width: 4.5rem;
    border-radius: 50%;
}

.azul-claro {
    background-color: var(--des-blue);
    text-align: center;
    padding: 3rem 0;
    color: white;
}

.form__footer {
    display: flex;
    flex-direction: column;
}

.form__input__footer {
    padding: 1rem;
    margin-bottom: 2rem;
    font-family: var(--fuenteHeading);
    border: 1px hsl(243, 87%, 12%) solid;
    border-radius: .5rem;
}

.form__submit__footer {
    padding: 1.5rem;
    background-color: var(--bright-blue);
    border: none;
    color: white;
    font-family: var(--fuenteParrafo);
    font-weight: 700;
}

.form__submit__footer:hover {
    cursor: pointer;
    background-color: hsla(224, 93%, 58%, .5);
}

@media (min-width: 1024px) {
    .abajo__flex {
        display: flex;
        flex-direction: row;
        column-gap: 2rem;
    }

    .contenido-footer {
        text-align: left;
        flex: 1;
    }

    .form__footer {
        flex: 1;
    }

    .form__submit__footer {
        width: 30%;
        padding: 1rem;
    }
}

.footer-titulo,
.footer-parrafo {
    color: white;
    margin-bottom: 2.2rem;
}

.footer-titulo {
    font-family: var(--fuenteHeading);
}

.footer-parrafo {
    font-family: var(--fuenteHeading);
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 3rem 0;
}

.footer__img {
    color: #ffffff;
}

.direcciones {
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.telefono {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
}

.correo {
    display: flex;
    gap: 2.5rem;
}

.lista {
    display: flex;
    flex-direction: column;
    margin-bottom: 5rem;
}

.lista__left {
    margin-bottom: 3rem;
}

a{
    color: hsla(0, 0%, 100%, .8);
    font-family: var(--fuenteHeading);
}

.enlace__left,
.enlace__right {
    display: block;
    margin-bottom: 1.8rem;
}

.enlace__left:hover,
.enlace__right:hover {
    cursor: pointer;
    color: var(--des-blue);
}

.redes {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .footer__flex {
        display: flex;
    }
    .lista {
        flex-direction: row;
        column-gap: 5rem;
    }

    .direcciones {
        flex: 2;
    }

    .lista {
        flex: 1;
    }

    .redes {
        flex: 3;
    }
}

.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }