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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat';
    text-decoration: none;
    
}

body{
    background: rgb(12,162,43);
    background: linear-gradient(4590deg, rgba(12,162,43,1) 37%, rgba(109,162,20,1) 100%);
}

/* Menú */
.navbar {
    display: grid;
    grid-template-columns: 0.8fr 4fr;
    grid-auto-rows: 0.1fr;
    align-items: center;
    justify-content: center;
    text-align: right;
    background-color: Black;
    
}

.nav-logo {
    width: 45%;
    margin-left: auto;
    margin-right: 0;
    padding-top: 1em;
    padding-bottom: 1em;
}

.nav-logo2 {
    width: 100%;
    margin-left: 4em;
    margin-right: 0;
    padding-top: 1em;
    padding-bottom: 1em;
}

.nav li {
    display: block;
    transition-duration: 0.5s;
}

.nav li:hover, .nav li:focus-within {
    cursor: pointer;
}

 ul li ul {
    visibility: hidden;
    background: #fff;
    opacity: 0;
    position: absolute;
    transition: all 0.5s ease;
    left: 1;
    display: none;
    text-align: left;
    width: 360px;
    z-index: 2;
}

 ul li:hover > ul,  ul li:focus-within > ul, ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
}

ul li ul li {
    width: 100%;
}

.dropdown {
    background: #fff;
    border: solid 0.6em #fff;
    border-radius: 1em;
}

.dropdown a, .dropdown a:visited, .dropdown a:hover, .dropdown a:active {
    color: inherit;
}

.menu {
    margin-left: auto;
    margin-right: 0;
    text-decoration: none;
    color: gray;
}

.navbar .menu li {
    list-style: none;
    display: inline-block;
    font-size: 1.1em;
    font-weight: 100;
    margin: 1.6em;
    color: #161616;
}

.menu2 {
    background-color: rgb(12,162,43);
    padding: 0.4em;
    border-radius: 0.4em;
    font-weight: 400;
    color: #fff;
    margin-right: 6em;
}

.menu2:hover {
    background-color: #000000;
}

.menu-icon {
    display: none;
}

/*----- menu display -------*/

.logonavs {
    width: 10em;
    margin-top: 1em;
}

.whats {
    background-color: green;
    margin: 1em 5em 1em 5em;
    border-radius: 0.3em;    
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed; 
    z-index: 2; 
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0, 0.9); 
    overflow-x: hidden; 
    transition: 0.6s;
}

.overlay-content {
    position: relative;
    top: 10%; 
    width: 100%;
    text-align: center;
}

.overlay a {
    padding: 14px;
    text-decoration: none;
    font-size: 24px;
    color: #fff;
    display: block;
    text-align: center; 
    transition: 0.3s; 
}

.overlay a:hover, .overlay a:focus {
    color: #969696;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 60px;
}

/* hero */


.hero{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    height: 500px;
    background-repeat: no-repeat;
    background: url('https://www.bygcorp.com.gt/img/backgroundhero2.jpg') 50% 50%;
    background-size: cover;
}

.hero-text{
    display: grid;
    grid-column: 1;
    text-align: left;
    color: #fff;
    z-index: 1;
    padding-left: 15%;
    padding-bottom: 40px;
    font-size: 1.5em;
    background-color: rgba(0, 0, 0, 0.422);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.hero-text h1 {
    text-align: left;
    color: #fff;
}

.heros {
    background-image: url(/img/hojasb.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 20px;
}

.hero-img{
    display: grid;
    grid-column: 1;
    grid-row: 1;
    margin-left: 35%;
    margin-right: 15%;
}

.fotomaño{
    height: auto;
    max-width: 100%;
}

.hero-text2 img {
    margin-top: 40px;
}

.hero-text2 h3 {
    color: #fff;
}

.hero-text2 {
    text-align: center;
    width: auto;
    padding-bottom: 20px;
    padding-top: 0em;
    font-size: 28px;
}

.hero-buto {
    background-color: #fff;  
    backdrop-filter: blur(5px);
    margin: 20px 20% 40px 20%;
    border-radius: 15px;
    height: 100%;
    padding-top: 15px;
    box-shadow: 4px 4px 5px rgba(0,0,0,0.1);
    z-index: 1;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 50% 50%;
}

.hero-buto::before {
    box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
    filter: blur(10px);
}

.class1buto {
    display: grid;
    grid-column: 1;
    grid-row: 1;
}

.class2buto {
    display: grid;
    grid-column: 2;
    grid-row: 1;
}

.class3buto {
    display: grid;
    grid-column: 3;
    grid-row: 1;
}

.class1b {
    display: grid;
    grid-column: 1;
    grid-row: 2;
}

.class2b {
    display: grid;
    grid-column: 2;
    grid-row: 2;
}

.class3b {
    display: grid;
    grid-column: 3;
    grid-row: 2;
}

.hero-buto-logo {
    padding-left: 3em;
    padding-right: 3em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-buto-size {
    width: 200px;
}

.logo-buto-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.butos {
    margin-top: 2em;
    margin-bottom: 3em;
    font-size: 14px;
    border: solid #474544 0.1em;
    border-radius: 0.3em;
    margin-left: 4em;
    margin-right: 4em;
    padding: 0.4em;
    cursor: pointer;
    text-decoration: none;
    display: grid;
}

.butos a, .butos a:visited, .butos a:hover, .butos a:active {
    color: inherit;
}

.callto {
    margin-top: 16px;
}

.calltob {
    background-color:  rgb(12,162,43);
    padding: 10px;
    border-radius: 8px;
    color: #FFF;
    box-shadow: 4px 4px 1px rgb(12, 116, 50) ;
    transition:all 100ms ease-in;
}

.calltob:hover {
    top:-4px;
    left:-4px;
    background-color: #474799;
}

.calltob a, .calltob a:visited, .calltob a:link, .calltob a:hover {
    text-decoration: none;
}  

/* banner */

.bannerhome {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
}

.slider-home {
  position: relative;
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: cover;
}

.mySl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mySl {
  display: none;
}

.prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  transition: 0.6s ease;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10%;
  border: 0;
  cursor: pointer;
  left: 25px;
  color: var(--color-dos);
  padding: 0 10px;
}

.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  transition: 0.6s ease;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10%;
  border: 0;
  cursor: pointer;
  right: 25px;
  color: var(--color-dos);
  padding: 0 10px;
}

@media (min-width: 600px) {
  .prev,
  .next {
    font-size: 60px;
  }
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}



/* slider clientes */

.marquesano {
    margin: auto;
    margin-bottom: 60px;
}

.marquee {
    overflow: hidden;
    width: 60%;
    margin: auto;  
    position: relative;
}

.marquee-color {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.148),  rgba(0, 0, 0, 0.232),rgba(0, 0, 0, 0.148), rgba(0, 0, 0, 0));
    border-radius: 20px;
    padding: 40px 5px;
}


.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 22s linear infinite;
    animation-timing-function: linear;
}

@keyframes marquee {
  0% {
    transform: translateX(60%);
  }
  100% {
    transform: translateX(-160%);
  }
}

.marquee-content li{
    display: inline-block;
    width: 18%;
}

.marquee-content img {
    width: 160px;
    cursor:auto;
}

.marquee h3 {
    text-align: center;
    padding: 1.5em 0;
    font-weight: 300;
    font-size: 1.8em;
    color: #fff;
}

/* mensajes contacto */

button {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button, input, select, textarea {
    color: #5A5A5A;
    font: inherit;
    margin: 0;
}

input {
    line-height: normal;
}

textarea {
    overflow: auto;
}


#container {
    display: grid;
    grid-column: 1;
    background-color: #e7e8ec;
    border-radius: 2em;
    max-width: 768px;
    margin: 60px auto;
}

form {
    padding: 37.5px;
    margin: 50px 0;
}

h1 {
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    padding-top: 1em;
    color: rgb(12,162,43);
}


.icon_wrapper {
    margin: 12px auto 0;
    text-align: center;
    color: rgb(0, 0, 0)
}

.icon {
    display: block;
    fill: #474544;
    height: 50px;
    margin: 0 auto;
    width: 50px;
}

.email {
    float: right;
    width: 45%;
}

input[type='text'], [type='email'], [type='number'], select, textarea {
    background: none;
    border: none;
    border-bottom: solid 2px #474544;
    color: #474544;
    font-size: 1em;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 0em 0 1.875em 0;
    padding: 0 0 4em 0;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

input[type='text']:focus, [type='email']:focus, [type='number']:focus, textarea:focus {
    outline: none;
    padding: 0 0 0.875em 0;
}

.message {
    float: none;
}

.name {
    float: left;
    width: 45%;
}

select {
    background: url('https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-ios7-arrow-down-32.png') no-repeat right;
    outline: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

select::-ms-expand {
    display: none;
}

.subject {
    width: 100%;
}

.telephone {
    width: 100%;
}

textarea {
    line-height: 150%;
    height: 150px;
    resize: none;
    width: 100%;
}

::-webkit-input-placeholder {
    color: #000000;
}

:-moz-placeholder { 
    color: #000000;
    opacity: 1;
}

::-moz-placeholder {
    color: #000000;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #000000;
}

#form_button {
    background-color: rgb(12,162,43);
    border-radius: 1em;
    color: #fff;
    cursor: pointer;
    font-size: 1em;
    padding: 20px 35px;
    text-align: center;
    width: auto;
    margin-left: 40%;
}

#form_button:hover {
    background: #474544;
    color: #F2F3EB;
}

    
.underline {
    width: 68px;
}
    
#form_button {
    padding: 15px 25px;
}

/* contacto */

.contacto {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 50em;
    background-color: #f2f4f7;
}

.cuadrocontacto {
    display: grid;
    justify-content: center;
    align-items: center;
    background-image: url('https://www.bygcorp.com.gt/img/fondofamilia.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.cuadrocontacto h1 {
    color: rgb(12,162,43);
}

.insidecuadrocontacto {
    text-align: justify;
    line-height: 3em;
    background-color: #ffffff;
    border-radius: 1em;
    padding: 6em 2em 6em 4em;
    margin: -20em 3em 3em 3em;
}

.insidecuadrocontacto a{
    color: #000000;
    text-decoration: none;
}

.insidecuadrocontacto .fab, .fas{
    color: rgb(12,162,43);
    margin-right: 10px;
}

/* Footer */

.footer{
    background-color: #161616;
    display: grid;
    grid-auto-rows: 0.4fr;
}

.foot-logo{
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    margin-bottom: 3em;
}

.footer-a {
    text-align: center;
    color: white;
}

.linkfoot {
    text-decoration:none;
    color: #fff;
}

/**------- motriz ---------**/




.catálogo-rojo {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.6fr 1fr;
    background-color: #bfe2cd;
    width: 100%;
}

.cat-titulo {
    display: grid;
    grid-row: 1;
    grid-column: 1/5;   
    text-align: center;
}

.cat-titulo h1 {
    color: #000000;
    padding-top: 3em;
}

.Motul {
    display: grid;
    grid-column: 1/2;
    grid-row: 2;
    justify-content: center;
    align-items: center;
    border-radius: 1em;
    padding: 2em;
}

.Motul p, .Eurol p, .Castrol p, .Roshfrans p {
    text-align:center;
    color:#000000;
}

.Motul .fas, .Eurol .fas, .Castrol .fas, .Roshfrans .fas{
    color:black;
}

.Motul h2, .Eurol h2, .Castrol h2, .Roshfrans h2{
    text-align: center;
    animation: bounce 0.5s;
    padding-bottom: 20px;
    color: black;
    animation-direction: alternate;
    animation-timing-function: cubic-bezier(.5, 0.05, 1, .5);
    animation-iteration-count: infinite;
}

@keyframes bounce {
            from {
                transform: translate3d(0, 0, 0);
            }
            to {
                transform: translate3d(0, 25px, 0);
            }
}

.motul1 {
    width: 100%;
    background-color: #fff;
    border-radius: 1em;
    cursor: pointer;
    padding: 5em 1em 5em 1em;
}

.Eurol {
    display: grid;
    grid-column: 2/3;
    grid-row: 2;
    justify-content: center;
    align-items: center;
    border-radius: 1em;
    padding: 2em;
}

.eurol1 {
    width: 100%;
    background-color: #fff;
    border-radius: 1em;
    cursor: pointer;
    padding: 0 1em 0 1em;
}

.Castrol {
    display: grid;
    grid-column: 3/4;
    grid-row: 2;
    justify-content: center;
    align-items: center;
    border-radius: 1em;
    padding: 2em;
}

.castrol1 {
    width: 100%;
    background-color: #fff;
    border-radius: 1em;
    cursor: pointer;
    padding: 5em 1em 5em 1em;
}

.Roshfrans {
    display: grid;
    grid-column: 4/5;
    grid-row: 2;
    justify-content: center;
    align-items: center;
    border-radius: 1em;
    padding: 2em;
}

.roshfrans1 {
    width: 100%;
    background-color: #fff;
    border-radius: 1em;
    cursor: pointer;
    padding: 0 1em 0 1em;
}

.overlay2 {
    height: 100%;
    width: 0;
    position: fixed; 
    z-index: 2; 
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0, 0.9); 
    overflow-x: hidden; 
    transition: 0.6s;
}

.overlay2-content {
    position: relative;
    top: 10%; 
    width: 100%;
    text-align: center;
}

.overlay2 a {
    padding: 14px;
    text-decoration: none;
    font-size: 24px;
    color: #fff;
    display: block;
    text-align: center; 
    transition: 0.3s; 
}

.overlay2 a:hover, .overlay2 a:focus {
    color: #969696;
}

.overlay2 .closebtn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 60px;
}

/**------ sanor ----*/

.sectioncatalogo {
    background: rgb(33,54,119);
    background: linear-gradient(90deg, rgba(33,54,119,1) 0%, rgba(6,151,216,1) 100%);
}

.sectioncatalogo h1{
    color: #fff;
    padding-bottom: 3rem;
}

.sectioncatalogo1 p, .sectioncatalogo2 p {
    text-align:center;
    padding-top:10px;
}

.sectioncatalogo1 h2, .sectioncatalogo2 h2{
    text-align: center;
    padding: 20px 0;
    animation: bounce 0.5s;
    animation-direction: alternate;
    animation-timing-function: cubic-bezier(.5, 0.05, 1, .5);
    animation-iteration-count: infinite;
}

@keyframes bounce {
            from {
                transform: translate3d(0, 0, 0);
            }
            to {
                transform: translate3d(0, 25px, 0);
            }
}


.sec-catalogo1{
    display: flex;
    padding: 0 6em 6em 6em;
    justify-content: center;
    align-items: center;
}

.sec-catalogo1 img{
    width: 35em;
}



/**-------- about ----------**/

.historia {
    background-color: #474799;
}

.historiatitulo h1 {
    color: #fff;
    padding-bottom: 1em;
}

.textohistoria p {
    color: #fff;
    text-align: justify;
    padding: 0 6em 3em 6em;
    line-height: 30px;

}

.mision-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.imagen-historia {
    display: grid;
    grid-column: 1;
    background-image: url('https://www.bygcorp.com.gt/img/team.jpg');
    background-position: center;
    background-size: cover;
}

.mv-texto{
    display: grid;
    grid-column: 2;
    padding: 1em;
    text-align: justify;
    line-height: 22px;
}

.mv-cuadro {
    padding: 2em;
}

.mv-cuadro h1 {
    padding-bottom: 1em;
}

.qs-expetitulo1{
    border-bottom: 3px solid #0F0F55;
    margin-right: 15vw;
    margin-bottom: 1em;
    overflow: hidden;
}

.qs-expetitulo2 {
    border-bottom: 3px solid #0F0F55;
    margin-right: 0;
    margin-left: 15vw;
    margin-bottom: 1em;
    overflow: hidden;
}

.valores {
    background-color: #fff;
}

.valores h2{
    text-align: center;
    padding: 4em;
    color: #474799;
}

.valores-icon {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding-bottom: 6em;
}

.valores-icon img{
    width: 100px;
    padding-top: 1em;
}

/**-------------------- alimentos --------------------**/

.sectioncatalogo2 {
    background: rgb(172, 141, 4);
    background: linear-gradient(90deg, rgb(195, 110, 2 ) 0%, rgb(224, 126, 1) 100%);
}

.sectioncatalogo2 h1{
    color: #fff;
    padding-bottom: 3rem;
}

.sectioncatalogo2 p{
    color:#fff;
}

.sectioncatalogo2 .fas{
    color:#f7a90b;
}

.sec-catalogo2{
    display: flex;
    padding: 0 6em 6em 6em;
    justify-content: center;
    align-items: center;
}

.sec-catalogo2 img{
    width: 35em;
}

/**------- marcas con las que trabajamos --------**/

.marquee-content2, .marquee-content3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin: auto;
    padding: 2em 0 4em 0;
}

.marquee-content2 li, .marquee-content3 li{
    display: inline-block;
    margin: auto;
}

.marquee-content2 img, .marquee-content3 img {
    width: 160px;
    cursor:auto;
}

.marcas-sanor h3, .marcas-alimentos h3 {
    text-align: center;
    padding-top: 1.5em;
    font-weight: 300;
    font-size: 1.8em;
    color: #474799;
}

/**----whatsapp ---**/
.whatsapp {
  position:fixed;
  width:60px;
  height:60px;
  bottom:96px;
  right:22px;
  background-color:#25d366;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:34px;
  z-index:100;
}

.whatsapp-icon {
  margin-top:13px;
}

/**---gracias ---**/

.logothanks {
  width: 200px;
}

.info {
  margin: auto;
  text-align: center;
  padding-top: 60px;
}

.info p {
  margin: 0 20px;
}
