/**
  Reset styles
 */
*,
:after,
:before {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
}

.contenedor {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 65%;
}

.navegacion {
    margin-bottom: 1.2rem;
    padding: 1.2rem;
    background-color: #888888;
}

.navegacion ul {
    width: 80%;
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 4rem;
    justify-content: right;
}

.navegacion ul li a {
    display: flex;
    color: white;
    text-decoration: none;
}

.navegacion ul li a:hover {
    color: rgb(222,177,0);;
}

header {
    display: inline-grid;
    grid-template-columns: 5fr 2fr 1fr;
    align-items: center;
    column-gap: 3rem;
}

.small {
    max-height: 5rem;
}

.contenido_home {
    background: url("../img/fondo.webp") no-repeat center;
    background-size: cover;
    height: 65vh;
    color: white;
    padding: 2rem;
}

.figcaption {
    max-width: 45%;
}

.figcaption h1 {
    margin-bottom: 2rem;
    font-size: 4rem;
    font-weight: 600;
}

.figcaption p {
    font-size: 2rem;
    font-weight: 100;
}

.contenido_team {
    height: 65vh;
    margin-top: 3rem;
}

.team {
    display: flex;
    flex-direction: row;
    font-weight: 100;
}

.team img {
    width: 30%;
    filter: grayscale(100%);
    padding-top: 2rem;
}

.desc {
    padding-top: 2rem;
    margin-left: 1rem;
}

.contenido_servicios {
    height: 65vh;
    margin-top: 3rem;
    margin-bottom: 100px;
}

.contenido_servicios img {
    height: 20vh;
    width: 100%;
    margin-bottom: 3rem;
}

.contenedor-listas {
    display: flex;
    flex-direction: row;
    gap: 6rem;
}

.contenedor-listas ul {
    margin-top: 1rem;
    margin-left: 3rem;
}

.contenido_contacto {
    display: inline-grid;
    grid-template-columns: 5fr 5fr;
    align-items: center;
    column-gap: 3rem;
    margin-top: 3rem;
}

.pie {
    width: 100%;
    margin-top: 1.1rem;
    padding: 1rem;
    bottom: 0;
    background-color: #888888;
    text-align: center;
    color: white;
}




/**/
.fcf-form-group {
    margin-bottom: 1rem;
}

.fcf-h3 {
    margin-bottom: 1rem;
}

.fcf-input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.fcf-form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    outline: none;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fcf-form-control:focus {
    border: 1px solid #313131;
}

select.fcf-form-control[size], select.fcf-form-control[multiple] {
    height: auto;
}

textarea.fcf-form-control {
    font-family: -apple-system, Arial, sans-serif;
    height: auto;
}

label.fcf-label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.fcf-btn {
    display: inline-block;
    font-weight: 400;
    color: rgba(226, 28, 33, 0.7);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .fcf-btn {
        transition: none;
    }
}

.fcf-btn:hover {
    color: #212529;
    text-decoration: none;
}

.fcf-btn:focus, .fcf-btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.fcf-btn-primary {
    color: #fff;
    background-color: rgba(226, 28, 33, 0.7);
    border-color: rgba(226, 28, 33, 0.7);
}

.fcf-btn-primary:hover {
    color: #000;
    background-color: rgba(0, 227, 170, 1);
    border-color: rgba(0, 227, 170, 1);
}

.fcf-btn-primary:focus, .fcf-btn-primary.focus {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.fcf-btn-lg, .fcf-btn-group-lg>.fcf-btn {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.fcf-btn-block {
    display: block;
}

.fcf-btn-block+.fcf-btn-block {
    margin-top: 0.5rem;
}

input[type="submit"].fcf-btn-block, input[type="reset"].fcf-btn-block, input[type="button"].fcf-btn-block {
    width: 100%;
}

@media (max-width: 1730px) {
    header {
        display: inline-grid;
        grid-template-columns: 4fr 3fr 1fr;
        align-items: center;
        column-gap: 2rem;
    }

    header div {
        justify-self: right;
    }

    .small {
        max-height: 5rem;
    }

    .contenido_contacto {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-top: 3rem;
    }

    .contenido_contacto div {
        min-width: 45%;
    }
}

@media (max-width: 1155px) {
    header {
        display: inline-grid;
        grid-template-columns: 3fr 3fr 2fr;
        align-items: center;
        column-gap: 2rem;
    }

    header div {
        justify-self: right;
    }

    .info {
        font-size: 0.8rem;
    }

    .small {
        max-height: 3rem;
    }

    .figcaption {
        max-width: 75%;
    }

    .figcaption h1 {
        font-size: 3.25rem;
    }

    .figcaption p {
        font-size: 2rem;
    }

    .navegacion ul {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1075px) {
    header {
        display: inline-grid;
        grid-template-columns: 2fr 2fr 2fr;
        align-items: center;
        column-gap: 2rem;
    }

    header div {
        justify-self: right;
    }

    header #logo {
        width: 70%;
    }

    .info {
        font-size: 0.8rem;
    }

    .small {
        max-height: 2rem;
    }

    .figcaption {
        max-width: 75%;
    }

    .figcaption h1 {
        font-size: 2.25rem;
    }

    .figcaption p {
        font-size: 1.3rem;
    }

    .contenido_team {
        min-height: 80vh;
    }

    .team {
        display: flex;
        flex-direction: row;
        font-weight: 100;
    }

    .team img {
        width: 50%;
        filter: grayscale(100%);
        padding-top: 2rem;
    }
}

@media (max-width: 985px) {
    header {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0;
        grid-row-gap: 0;
        align-items: center;
    }

    header div {
        justify-self: right;
    }

    header #logo { grid-area: 1 / 1 / 3 / 2; }

    .info {
        grid-area: 2 / 2 / 3 / 3;
        font-size: 1.2rem;
        justify-self: right;
    }

    .small {
        grid-area: 1 / 2 / 2 / 3;
        max-height: 4rem;
    }

    .figcaption {
        max-width: 75%;
    }

    .figcaption h1 {
        font-size: 2.25rem;
    }

    .figcaption p {
        font-size: 1.3rem;
    }

    .contenido_home {
        height: 45vh;
    }

    .contenido_team {
        min-height: 80vh;
    }

    .team {
        display: flex;
        flex-direction: row;
        font-weight: 100;
    }

    .team img {
        width: 50%;
        filter: grayscale(100%);
        padding-top: 2rem;
    }

    .contenido_contacto {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 3rem;
        min-width: 80%;
        min-height: 150vh;
    }

    .contenido_contacto div {
        width: 100%;
    }

    .contenido_contacto iframe {
        margin-top: 2rem;
        width: 100%;
    }
}

@media (max-width: 855px) {
    header {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    header div {
        display: inline-flex;
        gap: 1rem;
        justify-self: center;
    }

    .info {
        font-size: 1.2rem;
        justify-self: right;
    }

    .small {
        max-height: 4rem;
    }

    .figcaption {
        max-width: 75%;
    }

    .contenido_home {
        margin-top: 4rem;
        height: 30vh;
    }

    .contenido_team {
        min-height: 80vh;
    }

    .team {
        display: flex;
        flex-direction: column;
        font-weight: 100;
    }

    .team img {
        width: 100%;
        filter: grayscale(100%);
        padding-top: 2rem;
    }

    .contenido_servicios {
        min-height: 100vh;
    }

    .contenedor-listas {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    header {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    header div {
        display: inline-flex;
        gap: 1rem;
        justify-self: center;
    }

    header #logo {
        width: 70%;
    }

    .info {
        font-size: 0.8rem;
        justify-self: right;
    }

    .small {
        max-height: 4rem;
    }

    .figcaption {
        max-width: 75%;
    }

    .contenido_home {
        margin-top: 4rem;
        height: 30vh;
    }
}

@media (max-width: 600px) {
    .navegacion ul {
        width: 100%;
        list-style: none;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }

    header {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    header div {
        display: inline-flex;
        gap: 1rem;
        justify-self: center;
    }

    header #logo {
        width: 70%;
    }

    .info {
        font-size: 0.8rem;
        justify-self: right;
    }

    .small {
        max-height: 4rem;
    }

    .figcaption {
        max-width: 75%;
    }

    .contenido_home {
        margin-top: 4rem;
        min-height: 40vh;
    }
}
