/*
Theme Name: ACSAA
Theme URI: http://acsaa.mx
Author: Rodrigo Hiram González Espinoza
Author URI:
Description: Template creado para ACSAA México.
Version: 1.0
Text-domain: acsaa
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce
*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Staatliches&display=swap');

:root {
    /** Fuentes **/
    --fuente-principal: 'Raleway', sans-serif;
    --fuente-headings: 'Staatliches', cursive;

    /** Colores **/
    --primario: #FECD5C;
    --secundario: #1A2640;
    --gris-oscuro: #2f2e2e;
    --gris-claro: #EBEBEB;
    --blanco: #FFF;
    --negro: #000;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}
*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: var(--fuente-principal);
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 2;
}

h1, h2, h3, h4 {
    font-family: var(--fuente-headings);
    margin: 0 0 5rem 0;
    line-height: 1.2;
}

h1 {
    font-size: 6rem;
}
h2 {
    font-size: 4rem;
}
@media (min-width: 768px) {
h2 {
    font-size: 4.8rem;
}
}
h3 {
    font-size: 3.6rem;
}
h4 {
    font-size: 2.4rem;
}

p {
    font-size: 1.4rem;
    margin: 0;
}

@media (min-width: 768px) {
p {
    font-size: 1.8rem;
}
}
a {
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.imagen-destacada {
    margin-bottom: 3rem;
}

.contenedor {
    width: min(95%, 120rem);
    margin: 0 auto;
}

.contenido-centrado {
    width: min(95%, 80rem);
}

.contenido-centrado p {
    line-height: 1.6;
    margin-top: 1.5rem;
}

/** Utildades **/
.text-center {
    text-align: center;
}
.text-primary {
    color: var(--primario);
}
.text-secundary {
    color: var(--secundario);
}
.text-blanco {
    color: var(--blanco);
}

.text-800{
    font-weight: 800;
}

.bg-primary {
    background-color: var(--primario);
}
.bg-secundary {
    background-color: var(--secundario);
}
.bg-blanco {
    background-color: var(--blanco);
}
.seccion {
    padding: 5rem 0;
}

@media (max-width: 767px) {
.seccion:last-of-type {
    padding-bottom: 0;
}
}

/** Header **/

.header__contenedor {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
.header__contenedor {
    display: grid;
    grid-template-columns: 1fr 3fr;
    justify-content: center;
    background: linear-gradient(180deg,rgba(26, 38, 64, 1) 0%, rgba(26, 38, 64, 1) 95%, rgba(255, 255, 255, 1) 95%);
}
}


.logo {
    display: flex;
    justify-content: center;
    padding: .5rem 0;
   
}

.logo img {
    width: 8rem;
}

.menu-principal {
    display: none;
}

@media (min-width: 768px) {

.menu-principal {
    border-bottom-left-radius: 5rem;
    display: grid;
    align-items: center;
    box-shadow: -5px 5px 15px 5px rgba(0, 0, 0, 0.75);
}
.menu-principal ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-around;
    height: 100%;
}


.menu-principal a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primario);
    width: 100%;
    height: 100%;
}
.menu-principal a:hover {
    color: var(--blanco);
}
.menu-principal li:first-of-type:hover {
    background-color: var(--primario);
    border-bottom-left-radius: 5rem;
    box-shadow: -5px 0px 10px -5px rgba(0,0,0,0.75) inset;
}

.menu-principal li:hover {
    background-color: var(--primario);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75) inset;
}

.menu-principal li:last-of-type:hover {
    background-color: var(--primario);
    box-shadow: 5px 0px 10px -5px rgba(0,0,0,0.75) inset;
}
}

/* Main */

@media (min-width: 768px) {
    .main__acsaa {
    margin: 5rem 10rem;

}
}

.main__contenido {
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .main__contenido {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
}
}

.main__presentacion {
    padding: 2rem 5rem;
}

.main__presentacion h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}


@media (min-width: 768px) {

.main__presentacion h2 {
    font-size: 4.8rem;
}
}

.main__imagen {
    padding: 0 2rem;
}
@media (min-width: 768px) {
.main__imagen {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
}
.main__imagen img {
    width: 50rem;
    border-radius: 50%;
    border: 5px solid var(--secundario);
}

/* Nosotros*/

.acsaa__contenido {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    margin: 2rem;
    gap: 4rem;
}

@media (min-width: 768px) {
.acsaa__contenido {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 2rem 6rem;
}
}

.acsaa__mision, .acsaa__vision {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    justify-items: center;
}

.mision__imagen, .vision__imagen {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mision__imagen img, .vision__imagen img {
    width: 50%;
}

.mision h2, .vision h2{
    text-align: center;
    margin: 0;
}

.mision p, .vision p {
    text-align: center;
}

/* Plataformas */

.plataformas__contenedor {
    background-color: #415F9F;
    padding: 2rem 2rem;
}

.plataformas__logos {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    align-items: center;
    justify-items: center;
    
}

@media (min-width: 768px) {
.plataformas__logos {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 15rem;
}

.amazon__logo img {
    height: 8rem;
}
}
@media (max-width: 767px) {
.mercadolibre__logo img {
    height: 20rem;
}
.amazon__logo img {
    width: 20rem;
}
}

/* Caracteristicas ACSAA*/
@media (min-width: 768px) {
.caracteristicas__contenedor {
    margin: 2.5rem 25rem;
}
}

.caracteristicas__heading {
    margin: 1rem 5rem;
}

.caracteristicas__heading h2, .caracteristicas__heading p{
    margin-bottom: 2.5rem;
}

.caracteristicas__cards {
    margin: 0 1rem 2rem 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
.caracteristicas__cards {
    display: flex;
    justify-content: space-evenly;
}
}

.caracteristica {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .caracteristica {
    display: grid;
    grid-template-rows: 2fr 1fr;
    align-items: start;
    justify-items: center;
}
.caracteristica {
     gap: 1rem;
}
}
.caracteristica__imagen{
    background-color: var(--secundario);
    border-radius: 50%;
    padding: 2rem;
    width: 50%;
}

@media (min-width: 768px) {
.caracteristica__imagen{
    padding: 2rem;
    width: 75%;
}

.caracteristica:hover {
    transform: scale(1.4);
}
}

.caracteristica p {
    color: var(--primario);
    font-weight: 800;
    font-size: 1.5rem;
}

/* Marcas */
.marcas {
    background-color: var(--secundario);
}

.marcas__contenedor {
    margin: 1rem 2rem;
    padding: 2rem 0 1rem 0;
}

@media (min-width: 768px) {
.marcas__contenedor {
    margin: 0 10rem;
    padding-top: 0;
    padding-bottom: 4rem;
}
}

@media (min-width: 768px) {
.marcas__heading {
    padding: 4rem 0;
    margin: 0 20rem;
}
}

.marcas__heading h2 {
    margin-bottom: 1rem;
}

.marcas__heading p {
    text-align: center;
}

.marcas__categorias {
    margin-top: 4rem;
}

.marca h2 {
    margin: 0;
}

.categoria__grid {
margin-top: 6rem;
}
@media (min-width: 768px) {
.categoria__grid{
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    justify-items: center;
}
}

.categoria__imagen img {
    display: none;
}

@media (min-width: 768px) {
.categoria__imagen img {
    display: block;
    width: 80%;
    border-radius: 50%;
    border: 10px solid var(--primario);
}
}
.categoria__heading {
    text-align: center;
}

.marcas__grid3 h2{
    font-size: 2rem;
}
@media (min-width: 768px) {
.marcas__grid4 h2{
    font-size: 2.5rem;
}
}
.marcas__grid2{
    margin: 4rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
     align-items: center;
    justify-items: center;
}

.marcas__grid3 {
    margin: 4rem 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
.marcas__grid4{
    margin: 4rem 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
}
}

.marca {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--blanco);
}

.icebrick__logo {
    width: 60%;
}



.yucera__logo {
    width: 40%;
}

.dentalobsidiana__logo {
    width: 70%;
}
.xterminator__logo {
    width: 85%;
}

@media (min-width: 768px) {
.dentalobsidiana__logo {
    width: 40%;
}
.xterminator__logo {
    width: 60%;
}
}

/* Concacto */

.formulario {
    background-color: var(--secundario);
    color: var(--primario);
    text-align: center;
    
}

.contacto__info {
background-color: var(--secundario);
    color: var(--primario);
 }

@media (min-width: 768px) {
.contacto {
    margin-top: 4rem;
}
.contacto__header {
    padding: 0 20rem;
}

.contacto__formulario {
    margin: 2rem 10rem 0 10rem;
    padding: 10rem 0;
    background-image: url(./img/contacto_acsaa.png);
    background-size: 75%;
    background-repeat: no-repeat;
    background-position: 100% center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.formulario {
padding: 2rem 0;
border-bottom-left-radius: 5rem;
}

.contacto__info {
    width: 75%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
}

.contacto__header h2,.contacto__header p {
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .contacto__header p {
    margin:0;
}
 }

.formulario h3 {
    margin-bottom: 1rem;
    padding-top: 2rem;
}
@media (min-width: 768px) {
.formulario h3 {
    padding:0;
}
}
.formulario input, .formulario textarea {
    border: 2px solid var(--primario);
    border-radius: 8px;
}

.wpcf7-spinner {
    display: none;
}

.contacto__contenido {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    justify-content: space-evenly;
}

@media (min-width: 768px) {

.contacto__contenido {
    flex-direction: column;
}
}
.contacto__telefono, .contacto__email{
    margin: 0 2rem ;
}

/* FOOTER */

.footer {
    background-color: var(--secundario);
}

.menu-footer .menu{
    display: flex;
    align-items: space-evenly;
    justify-content: space-evenly;
}

.menu-footer a {
    color: var(--primario);
}

.footer .logo {
    padding-top: 2rem;
}

