@font-face {
  font-family: "Two-Lines";
  src: url("../fonts/2 Lines solo letras para dafont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/*defaults*/

:root {
  /* colors */
  --primary-100: #eeb8b4;
  --primary-200: #ee928b;
  --primary-300: #f1685e;
  --primary-400: #f33e31;
  --primary-500: #e91e0f;
  --primary-600: #ca1c10;
  --primary-700: #721710;
  --primary-800: #53120d;
  --primary-900: #270604;

  /* grey */
  --grey-50: #f8fafc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-300: #cbd5e1;
  --grey-400: #94a3b8;
  --grey-500: #64748b;
  --grey-600: #475569;
  --grey-700: #334155;
  --grey-800: #1e293b;
  --grey-900: #0f172a;

  /* rest of the colors */
  --black: #222;
  --white: #fff;
  --red-light: #f8d7da;
  --red-dark: #842029;
  --green-light: #d1e7dd;
  --green-dark: #0f5132;

  /* fonts  */

  --small-text: 0.875rem;
  --extra-small-text: 0.7em;
  /* rest of the vars */
  --backgroundColor: var(--grey-50);
  --textColor: var(--grey-900);
  --borderRadius: 0.25rem;
  --letterSpacing: 1px;
  --transition: 0.3s ease-in-out all;
  --max-width: 1120px;
  --fixed-width: 600px;

  /* box shadow*/
  --shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-2: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-3: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-4: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}


html {
  font-family: sans-serif;
  scroll-behavior: smooth;
  background-color: var(--white);
}

body {
  margin: 0%;
  overflow-x: hidden;
  width: 100%;
  margin: auto;
  color: var(--grey-800);
}


section{
  margin-top: 20px;
  margin-bottom: 20px;
}


h3{

  font-weight: 500;

}

button {
  color: #fff;
  padding: 8px 8px 8px 8px;
  font-size: 16px;
  background-color: var(--primary-600);
  border-radius: 6px;
  border-style: none;
  cursor: pointer;
  margin: 8px;
  display: block;
  transition: 0.3s;
  opacity: 0.9;
  z-index: -2;
}

button:hover {
  background-color: var(--primary-400);
  opacity: 1;
}

button:active {
  background-color: rgb(252, 255, 241);
  scale: 0.85;
}

/*structure*/

.navbar {
  width: 75%;
  margin: auto;
  margin-top: 8px;
  height: 75px;
  overflow: hidden;
}

.nav-logo {
  margin-left: 12px;
  margin-top: 12px;
  height: 66%;
  float: left;
}

  .logo-mobile{
    display:none;
 

  }

.navbar h3 {
  margin: 12px 12px 12px 8px;
  float: left;
  color: var(--primary-600);
  /*font-family: "Two-Lines", sans-serif; */
  font-size: 20px;
}

.navbar .navbar-nav a {
  float: right;
  display: block;
  color: var(--primary-600);
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  margin-right: 24px;
  margin-top: 36px;
}

.navbar ul {
  margin: 0px 0px 0px 0px;
  list-style: none;
}

.navbar a:hover {
  background-color: var(--primary-600);
  color: #fff;
}

.open-slide {
  display: none;
  float: right;
  z-index: 3;
  margin: 24px;
}

.side-nav {
  height: 25vh;
  width: 100vw;
  position: fixed;
  z-index: 1;
  top: -125vh;
  left: 0px;
  background-color: rgba(255, 255, 255, 1);
  overflow-x: hidden;
  padding-top: 24px;
  padding-bottom: 24px;
  transition: 0.5s;
  transition-timing-function: ease-in-out;
  text-align: center;
  display: flex;
  flex-direction:column;
  justify-content:space-evenly;
}

.side-nav h1 {
  padding: 20px 10px 10px 10px;
}

.side-nav a {
  padding: 20px 10px 10px 10px;
  text-decoration: none;
  font-size: 22px;
  color: var(--primary-600);
  transition: 0.3s;
  display: block; 
}

.side-nav a:hover {
  color: var(--primary-300);
}

.side-nav .btn-close {
  position: absolute;
  top: 0;
  right: 22px;
  font-size: 32px;
  margin-left: 50px;
}

.main-content {
  transition: 0.5s all ease-in-out;
}

.content h1 {
  font-size: 32px;
  margin-bottom: 0px;
}

.content {
  display: flex;

  width: 75%;
  margin: auto;
  margin-bottom: 40px;
  justify-content: center;
}
.content div {
  padding: 3%;
}

.content div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content h3 {
  text-align: left;
  line-height: 1.75rem;
}

.content p {
  text-align: left;
  margin-bottom: 32px;
}

.products{
  margin: auto;
  width: 75%;
  margin-top:80px;

}

.products h2 {
  text-align: center;
  margin: auto;
}

.grid {

  margin: auto;
  display: grid;
  padding: 16px;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 24px;
  justify-content: center;
  margin-top: 40px;
  
}

.two-column{
  grid-template-columns: 1fr 1fr;
  max-width: 80%;
}

.two-column .details-page{
  height: 8vh;


}



.grid-description{
  padding-left: 1rem;
  padding-right: 1rem;
  /* outline: 1px red dashed; */
}


 .details-page{
  height: 14vh;
} 

.grid-description p{
 line-height: 1.25rem; 

}

.details-button{
  margin: auto;
  width: 50%;

}

.button-container{
  padding-top: 20px;
  padding-bottom: 40px;
  background-color: var(--grey-200);
}

.grid a {
  text-decoration: none;
  color: rgb(31, 31, 31);
  transition: 0.3s;
}

.grid-item {
  /* outline: 1px blue dashed; */
  display: flex;
  flex-direction: column;
  align-content: top;
  background-color: var(--grey-200);
  overflow-y: hidden;
  padding: 8px;
}


.grid-item p {
  font-size: 16px;
  margin-left: 12px;
  margin-right: 12px;
}

.grid-item h3 {
  text-align: center;
  font-size: 20px;
  margin-left: 12px;
  margin-right: 12px;
}

.grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-item-divider{
  width: 50%;
  color: rgb(221, 59, 59);
}


.details-grid {
  display: flex;
  margin: 0%;
  padding: 0%;
}

.details-grid div {
  padding: 8px;
}

.divider {
  background-color: var(--primary-500);
  height: 32px;
}

header {
  height: 40vh;
  background: linear-gradient(rgba(196, 145, 145, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/hot-mill.jpg") center/cover no-repeat;
  background-attachment: fixed;
}

.about-header {
  height: 40vh;
  background: linear-gradient(rgba(196, 145, 145, 0), rgba(0, 0, 0, 0.226)),
    url("../img/slab2-edit.jpg") center/cover no-repeat;

  margin-bottom: 48px;
}

.about-us {
  margin: auto;
  width: 90%;
  padding-bottom: 48px;
}

.product-page {
  margin: auto;
  width: 75%;
  padding-bottom: 48px;
}

h1 {
  color: var(--primary-600);
  text-align: center;
  font-size: 2rem;
}

.about-us h3 {
  line-height: 2rem;
}

.contact {
  margin-top: 100px;
  margin-bottom: 128px;
  width:66%;
}

.contact-graphic-container {
  display: flex;
  padding-top: 24px;
  padding-bottom: 72px;
  margin: auto;
  justify-content: center;
}

#main-details header {
  background-image: url(../img/Pharmaceuticals-banner.png);
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
}

.about-flex {
  margin-top: 32px;
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.about-flex img {
  overflow: hidden;
  width: 50%;
  min-width: 256px;
}

.contact-form h4 {
  margin-bottom: 8px;
  margin-top: 8px;
}

header h1 {
  margin: 0;
  text-align: center;
  padding-top: 10%;
  font-size: 100px;
  color: rgb(255, 255, 255);
}

header h2 {
  margin: 0;
  text-align: left;
  font-size: 36px;
  padding-top: 5%;
  padding-left: 20%;
  width: 66%;
  color: rgb(255, 255, 255);
  /*text-shadow: 4px 4px #222;*/
}

.accent {
  color: var(--primary-600);
  font-weight: 700;
}

#main-about h2 {
  width: 66%;
  margin: auto;
  text-align: right;
  padding-top: 7%;
}

#main-details header h2 {
  width: 50%;
  margin: auto;
  text-align: right;
  padding-top: 7%;
}

footer {
  margin-top: 64px;
  padding: 32px;
  height: 40px;
  background-color: var(--primary-500);
  color: #fff;margin-bottom: 20;
}

.footer-content{
   width: 75%;
    margin: auto;
}

#seminars-3-column {
  display: grid;
}

#seminars-1-column {
  display: none;
}

#news-4-column {
  display: grid;
}

#news-2-column {
  display: none;
}

canvas {
  z-index: -1;
  position: absolute;
  top: 0px;
}

.diagram-container{
  display: flex;
  align-items: center;
  justify-content: center;
  /* outline: blue 1px dashed; */

}

.diagram-img{
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  width:66%;
  min-width: 400px;
  max-width: 600px;
  /* outline: blue 1px dashed; */
}

.details-img-container{
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  max-width:800px;
  background-color: var(--grey-200);
  padding: 1rem;
}

.details-img-container p{
  margin-top: 8px;
  margin-bottom: 0px;
}

.specs-list-item{
  margin-bottom: 20px;
}

.tech-specs{
  margin-top: 80px;
  margin-bottom: 40px;
}

.tech-specs .category{
  
  background-color: var(--grey-200);
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 6px;
  padding-bottom: 6px;
  margin-bottom: 12px;
  /* outline: 1px red dashed; */

}

.tech-specs h1{
  color: var(--primary-600);
  text-align: left;
  font-size: 1.5rem;
}


.terminal{
  width: 40%;
}

.introduction{
  position: relative;
  flex: 1;
}

.introduction h1{
  text-align: left;
}

.intro-image{
  box-shadow:10px 10px var(--primary-600);
  max-height: 500px;
}

.intro-image-container{
  flex: 1;
}

.scroll-down{
  position: absolute;
  background-color: var(--primary-500);
  color: white;
  text-align: center;
  bottom: calc(0px - height);
  width: 50%;
  margin: 0;
}

#call-to-action{
  width: 75%;
  margin: auto;
  margin-top:40px;
}

.contact-us-button-container{
  display: block;
  margin: auto;
}

.contact-us-button-container a{
  text-decoration: none;
  
}

.contact-us-button{
  margin: auto;
  font-size: 20px;
  margin-top:40px;
  padding: 12px 32px;
}


/* media queries */

/* Small Window */

@media screen and (max-width: 1380px) {
  .container {
    /*background-color:rgb(0, 44, 187);*/
    width: 100%;
  }

 header {
    height: 35vh;
    margin-bottom: 32px;
  }


  header h2 {
    font-size: 28px;

    width: 80%;
  }

   .products{
    width: 90%;
  }

  .product-page{
    width: 90%;

  }

  .content{
    width: 90%;
  }

  .footer-content{
    width: 90%;
  }

  .contact{
    width:80%;
  }

}

@media screen and (max-width: 1080px) {
  .container {
    /* background-color:rgb(114, 61, 184); */
    width: 100%;
  }

  body{
    width: 100%;
  }

  section{
    width: 90%;
  }

  .product-page{
    width: 90%;
  }
  

  header {
    height: 30vh;
    margin-bottom: 32px;
  }

  header h1 {
    padding-top: 10%;
    font-size: 140px;
  }

  header h2 {
    font-size: 26px;

    width: 80%;
  }

.two-column{
  max-width: 100%;
}

.grid-description h1 {
  font-size: 20px;
}

  .content {
    width: 80%;
    flex-direction: column;
  }

}

/*tablet */

@media screen and (max-width: 900px) {
  .container {
    /*background-color:rgb(184, 61, 174);*/
    width: 100%;
  }

  .navbar h3 {
    margin: 12px 12px 12px 8px;
    font-size: 24px;
  }

  header {
    height: 40vh;
    margin-bottom: 32px;
  }

  header h1 {
    padding-top: 10%;
    font-size: 100px;
  }

  header h2 {
    padding-left: 0px;
    padding-right: 0px;
    margin: auto;
  
    width:66%;
  }

  .details-flex {
    padding: 16px;
    display: flex;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 32px;
    flex-direction: column;
  }

  .details-flex {
    margin: auto;
    margin-top: 32px;
    margin-bottom: 32px;
    width: 66%;
  }

  .navbar {
    width: 100%;
    margin: auto;
    margin-top: 8px;
    height: 80px;
    overflow: hidden;
  }

  .content {
    display: flex;
    margin: auto;
    justify-content: center;
  }

  .grid{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .grid-item {
    margin-top: 20px;
  }

  .grid-item p {
  font-size: 16px;
  margin-left: 0px;
  margin-right: 0px;
}

  .details-page{
    height: 100%;
  }

   .about-header{
   height: 35vh;
  margin-bottom: 32px; 
  }


}

/*phone*/

@media screen and (max-width: 600px) {
  .container {
    /*background-color:rgb(184, 61, 129);*/
    width: 100%;
  }

  /* .navbar-nav {
    display: none;
  }

  .open-slide {
    display: block;
  } */

  header {

    height: 33vh;
  }

  header h1 {
    padding-top: 10%;
    font-size: 72px;
    text-shadow: 4px 4px #222;
  }

  header h2 {
    padding-left: 0px;
    padding-right: 0px;
    margin: auto;
  
    width:66%;
    font-size: 24px;

  }

  .nav-logo {
    display: none;
    float: left;
  }

  .logo-mobile{
    display:block;
  }

  /* .navbar a:hover {
    color: #000000;
    background-color: rgba(255,255,255,0);
  } */

  .about-header{
   height: 30vh;
    margin-bottom: 32px; 
  }

    .contact{
    width:90%;
  }

  .tech-specs{
    font-size: 1rem;
  }

  .tech-specs .category{
  
  background-color: var(--grey-200);
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
  margin-bottom: 12px;
  /* outline: 1px red dashed; */

}


.about-us {
  padding-bottom: 24px;
}


}

@media screen and (max-width: 390px) {
 
  .navbar-nav {
    display: none;
  }

  .open-slide {
    display: block;
  }

  .navbar a:hover {
    color: #000000;
    background-color: rgba(255,255,255,0);
  }

  .about-header{
   height: 30vh;
    margin-bottom: 32px; 
  }

    .contact{
    width:90%;
  }

  .tech-specs{
    font-size: 1rem;
  }

  .tech-specs .category{
  
  background-color: var(--grey-200);
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
  margin-bottom: 12px;
  /* outline: 1px red dashed; */

}

.about-us {
  padding-bottom: 0px;
}



}
