@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');

body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

li, p {
    font-size: 16px;
    font-family: 'Poppins';
    font-weight: 300;
}

nav {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0 5%;
    height: 100px;
    background-color: #ffff;
    filter: drop-shadow(5px 5px 5px rgba(130, 122, 122, 0.7));
}

nav .logo {
    float: left;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffff;
    text-transform: uppercase;
}

nav .list {
    float: right;
    padding: 0;
    margin: 0;
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    bottom: 100%;
}

nav .list li {
    list-style: none;
}

nav .list a {
    display: block;
    text-transform: uppercase;
    padding: 15px 25px;
    font-size: 14px;
    font-weight: bold;
    color: #193b70;
    text-decoration: none;
    border-radius: 25px;
}

nav .list a:hover {
    background-color: #199a38;
    color: #dadada ;
}

#toggle:not(:checked) ~ .list {
    bottom: 100%;
}

.toggle-checkbox {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

nav .icon-bars {
    display: none;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

nav .icon-bars {
    display: none;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

nav .icon-bars .line {
    width: 30px;
    height: 5px;
    background-color: #ffff;
    margin: 5px;
    border-radius: 3px;
    transition: all .3s ease-in-out;
}

/*-------------------------FIN DE MENU----------------------------------*/

/*---------------------------HEADER-------------------------------------*/

header {
    width: 100;
    height: 100vh;
    background-image: linear-gradient(
        rgba(0,0,0,0.3),
        rgba(0,0,0,0.3)),
        url(img/principal.png);
    background-color: #193b70;
    background-position: bottom;
    background-size: cover;
    display:flex;
    align-items: flex-end;
    justify-content: center;
}

.header-content {
    margin-bottom: 150px;
    color: whitesmoke;
    text-align: center;
}

.header-content h2{
    font-size: 4vmin;
}

.linea {
    width: 150px;
    height: 4px;
    background: #193b70;
    margin: 10px auto;
    border-radius: 5px;
}

.header-content h1{
    font-size: 7vmin;
    margin-top: 50px;
    margin-bottom: 30px;
}

.ctn {
    padding: 8px 15px;
   	color:#fff;
    border-radius: 30px;
   
    text-decoration: none;
}

/*--------------------------------FIN DE HEADER---------------------------*/

/*-------------------------------SECCIÓN NOSOTROS-------------------------*/

.coffee{
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.coffee-content {
    text-align: center;
}

.coffee-content h2 {
    font-size: 40px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    padding: 0 250px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
}

.txt-p{
    font-size: 17px;
    color: #414247;
    padding: 0 250px;
    margin-bottom: 35px;
}

/*------------------------------------------------------------------------------*/

/*----------------------------MISIÓN, VISIÓN, VALORES--------------------------*/

.mision3 {
  	background-image: linear-gradient(
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.7)),
        url(img/7-1.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
}

.mision1-content{
    text-align: center;
}

.mision1-content h2{
    font-size: 40px;
    line-height: 70px;
    color: #F9FAFC;
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    margin-bottom: 30px;
}

.mision1-content p{
    font-size: 17px;
    color: #C5C5C5;
    margin-bottom: 50px;
    padding: 0 100px;
}

/*---------------------------------FIN DE SECCIÓN-------------------------------*/

/*----------------------------------PARA MERCAINC-------------------------------*/

.mision {
    background-image: linear-gradient(
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.7)),
        url(img/merca2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
}

.mision-content{
    text-align: center;
}

.mision-content h2{
    font-size: 40px;
    line-height: 70px;
    color: #F9FAFC;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.mision-content p{
    font-size: 17px;
    color: #C5C5C5;
    margin-bottom: 50px;
    padding: 0 100px;
}

/*--------------------------------FIN DE ESTA SECCIÓN----------------------------------*/

/*-------------------------------------PROCESOS----------------------------------------*/

.wrapper {

    font-family: 'raleway';
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fafafa;
}

.wrapper h1 {
    font-size: 40px;
    margin: 25px 0;
    text-align: center;
    font-weight: 600;
    color:#323337;
    font-family: 'Poppins', sans-serif;
}

.content-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 1000px;
    margin-top: 30px;
}

.card {
    min-height: 220px;
    width: 320px;
    padding: 30px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fff;
    margin: 10px 4px;
    box-shadow: 0px 15px 25px rgba(0,0,0,0.2);
    transform: 0.3s;
}

.car i {
    margin: 20px;
}

.card h2 {
    margin-bottom: 12px;
    font-weight: 400;
    text-align: center;
}

.card p {
    color: #6c757d;
    text-align: center;
}

.card:hover i,
.card:hover p {
    color:#fff;
}

.card:hover h2 {
    font-weight: 600;
    color: #f2f2f2;
}

.card:nth-child(1):hover{
    background: linear-gradient(45deg, rgba(111, 119, 194, 0.8) 0%, 
    rgba(209, 209, 209, 0.8) 100%),
    url('img/venta.png');
    background-size: cover;
}

.card:nth-child(2):hover{
    background: linear-gradient(45deg, rgba(148, 144, 115, 0.8) 0%, 
    rgba(187, 178, 178, 0.8) 100%),
    url('img/img1.png');
    background-size: cover;
}

.card:nth-child(3):hover{
    background: linear-gradient(45deg, rgba(96, 151, 119, 0.8) 0%, 
    rgba(209, 209, 209, 0.8) 100%),
    url('img/img2.png');
    background-size: cover;
}

.card:nth-child(4):hover{
    background: linear-gradient(45deg, rgba(111, 119, 194, 0.8) 0%, 
    rgba(209, 209, 209, 0.8) 100%),
    url('img/img3.png');
    background-size: cover;
}

.card:nth-child(5):hover{
    background: linear-gradient(45deg, rgba(148, 144, 115, 0.8) 0%, 
    rgba(187, 178, 178, 0.8) 100%),
    url('img/img5.jpg');
    background-size: cover;
}

.card:nth-child(6):hover{
    background: linear-gradient(45deg, rgba(96, 151, 119, 0.8) 0%, 
    rgba(209, 209, 209, 0.8) 100%),
    url('img/img6.jpg');
    background-size: cover;
}
/*------------------------------------------FIN DE PROCESOS---------------------------------------------*/

/*------------------------------------------SLIDER CLIENTES---------------------------------------------*/

.slider {
    height: 250;
    margin: auto;
    position: relative;
    width: 90%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.secport h2 {
    font-size: 40px;
    margin: 25px 0;
    text-align: center;
    font-weight: 600;
    color:#323337;
    font-family: 'Poppins', sans-serif;
}

.slider .slide-track {
    display: flex;    
    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(250px * 18);
}

.slider .slide-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform:translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(-200px * 7));
        transform:translateX(calc(-200px * 7));
    }
}

.slide {
    height: 200px;
    width: 250px;
    display: flex;
    align-items: center;
    padding: 15px;
    perspective: 100px;
}

.slider .slide img {
    width: 100%;
    transition: transform 1s;
}

.slider .slide img:hover {
    transform: translateZ(20px);
}
.slider::before,
.slider::after {
    background: linear-gradient(to right, rgba(255,255,255,1)0%,
    rgba(255,255,255,0)100%);
    content: '';
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 2;
}

.slider::before {
    left: 0;
    top: 0;
}
.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

/*-----------------------------------FIN DEL SLIDER-------------------------------*/
/*----------------------------------MAPA DE UBICACIÓN-----------------------------*/
.contacto h2{
    font-size: 40px;
    margin: 25px 0;
    text-align: center;
    font-weight: 600;
    color:#323337;
    font-family: 'Poppins', sans-serif;
}

.contact-in {
    width: 100%;
    height: auto;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
}
.contact-map {
    width: 100%;
    height: 450px;
    flex: 50%;
}
.contact-form {
    width: 100%;
    height: auto;
    flex: 50%;
}

.contact-form {
    width: 100%;
    height: auto;
    flex: 50%;
    padding: 30px;
    text-align: center;
}

.contact-form h1 {
    margin-bottom: 10px;
}

.contact-form-txt {
    width: 100%;
    height: 40px;
    color: #000;
    border: 1px solid #bcbcbc;
    border-radius: 50px;
    outline: none;
    margin-bottom: 20px;
    padding: 15px;
}
.contact-form-txt::placeholder{
    color: #aaa;
}
.contact-form-txtarea {
    width: 100%;
    height: 130px;
    color: #000;
    border-radius: 10px;
    outline: none;
    margin-bottom: 20px;
    padding: 15px;
    font-family: 'Poppins', sans-serif;
}
.contact-form-txtarea::placeholder {
    color: #aaa;
}
.contact-form-btn {
    width: 100%;
    border: none;
    outline: none;
    border-radius: 50px;
    background: #f5a11c;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 0;
    cursor: pointer;
    font-size: 18px;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
}

/*-------------------------FOOTER------------------*/

footer {
    background-color: #193b70;
}
.footerContainer {
    width: 100%;
    padding: 70px 30px 20px;
}
.socialIcons {
    display: flex;
    justify-content: center;
}
.socialIcons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
}
.socialIcons a i {
    font-size: 2em;
    color: #193b70;
    opacity: 0.9;
}

/*Efecto hover*/
.socialIcons a:hover {
    background-color: #0C2A56;
    transition: 0.5s;
}
.socialIcons a:hover i {
    color: white;
    transition: 0.5s;
}
.footerNav {
    margin: 30px 0;
}
.footerNav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}
.footerNav ul li a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
    justify-content: center;
}
.footerNav ul li a:hover {
    opacity: 1;
}
.footerBottom {
    background-color: #02204F;
    padding: 20px;
    text-align: center;
}
.footerBottom p {
    color: white;
}
.designer {
    opacity: 0.7;
    text-decoration: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}
/*---------------------------FIN DE FOODER-------------------------------*/
/*-------------------------------------MODO MÓVIL------------------------------*/
@media(max-width: 768px) {
    nav .logo {
        float: none;
        width: auto;
        justify-content: center;
    }/*para logo*/
  
    nav .list {
        float: none;
        position: fixed;
        z-index: 9;
        left: 0;
        right: 0;
        top: 100px;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        justify-content: space-evenly;
        background-color:  #ECEBEB;
        overflow: hidden;
        transition: all .5s ease-in-out;
    }/*para lista*/
    nav .list a{
        font-size: 16px;
    }/*tamaño de fuente de nav*/
    nav :checked ~ .list {
        bottom: auto;
    }/*para abrir menú en modo móvil*/
    nav .icon-bars {
        display: block; /*MENÚ HAMBURGUESA*/
    }
/*----------------------FIN DE NAVBAR--------------------*/
/*------------------PARA SECCIÓN NOSOTROS----------------*/
    .coffee {
        padding: 30px;
    }
    .coffee-content h2 {
        padding: 0;
    }
    .txt-p {
        padding: 0;
    }
/*---------------------FIN DE SECCIÓN--------------------*/
/*-----------CAROUSEL DE MISIÓN, VISIÓN, VALORES---------*/
    .carousel-weston-middle {
        top: 35%;
    } 
/*--------------FIN DE MISIÓN, VISIÓN, VALORES-----------*/
/*-----------------------PROCESOS------------------------*/
    .wrapper {
        padding: 25px;
    }
    .wrapper h1 {
        font-size: 2.5em;
        font-weight: 600;
    }
    .content-box {
        flex-direction: column;
        width: 100%;
    }
    .card {
        min-width: 300px;
        margin: 10px auto;
    }
/*------------------------FOOTER------------------------*/
        .footerNav ul {
            flex-direction: column;
        }
        .footerNav ul li {
            width: 100%;
            text-align: center;
            margin: auto;
            padding-left: 30px;
            justify-content: center;
        }
    }
}
