*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --header-height: 600;
  --footer-height: 450;
  --footer-clip-path: 30%;

  --blue-color-1: #2a29dcef;
  --blue-color-2: #2a29dcf7;

  --blue-color-3: #4b66de;
  --blue-color-3-2: rgb(43, 76, 223);

  --blue-color-4: rgb(91, 115, 223);

  --blue-color-5: #3abefff7;

  --blue-color-6: #89f0fb;
  --blue-color-7: #89f0fbef;

  --violet-color-8: #954beaef;
  --violet-color-9: #954beaf7;

  --pink-color-10: #d144e4;

  --title-color-11: #fb397d;
  --title-color-11-2: #3250b4;

  /* BG COLORS (HEADER)*/

  --h-bg-i: to right, var(--blue-color-1), var(--blue-color-7);

  /* BG COLORS (FOOTER)*/

  --f-bg-i: to right, var(--blue-color-2), var(--blue-color-5);
}

body {
  width: 100%;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #fff;
}

::-webkit-scrollbar {
  width: 0.5em;
}

::-webkit-scrollbar-thumb {
  background: var(--blue-color-3);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-color-3-2);
}

::-webkit-scrollbar-track {
  background: #eaeaea;
}

.main-header {
  margin-bottom: 5rem;
}

.main-header-container {
  height: 90vh;
  min-height: calc(var(--header-height) * 1px);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
  z-index: 1;

  /*background: #00C9FF;  
  background: -webkit-radial-gradient(circle at top left, rgb(144, 237, 255), rgb(97, 64, 247));  
  background: radial-gradient(circle at top left, rgb(107, 230, 255), rgb(97, 64, 247)); 
  */

  background: var(--violet-color-8);
  background-image: -webkit-linear-gradient(var(--h-bg-i)), url(../images/banner.jpeg);
  background-image: linear-gradient(var(--h-bg-i)), url(../images/banner.jpeg);
  background-size: cover;
  background-position: center;

  position: relative;
}

.main-header::after,
.main-header::before {
  content: '';
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
}

.main-header::after {
  height: 90vh;
  min-height: calc(var(--header-height) * 1px);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);

  background: var(--blue-color-6);
  background-image: -webkit-linear-gradient(to right, var(--blue-color-6), var(--blue-color-3));
  background-image: linear-gradient(to right, var(--blue-color-6), var(--blue-color-3));

  transform: translateX(20%);
}

.main-header::before {
  height: 83vh;
  min-height: calc(calc(83 * var(--header-height) / 90) * 1px);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 50%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 50%);

  background: var(--violet-color-8);
  background-image: -webkit-linear-gradient(to right, var(--blue-color-1) 80%, var(--blue-color-7));
  background-image: linear-gradient(to right, var(--blue-color-1) 80%, var(--blue-color-7));
}

.main-header-container.no-clip {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* NAV */
.main-nav {
  height: 75px;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 100%;
  width: 80%;
}

.logo {
  padding: 0 1rem;
  display: flex;
  align-items: center;
}

.logo h1 {
  margin-left: 0.6rem;
}

@media screen and (max-width: 760px) {
  .logo h1 {
    display: none;
  }
  svg {
    width: 1.5rem !important;
  }
}

.nav-links-container {
}

.nav-links-container .fa-times {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.3rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: #fff;
  outline: 0;
}

.nav-bar {
  display: none;
  font-size: 1.5rem;
  padding: 0 1rem;
  cursor: pointer;
  outline: 0;
}

.main-nav i,
.main-nav i::before,
.main-nav i::after,
.main-nav i:active,
.main-nav i:focus {
  outline: none;
  background-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline-color: transparent;
  outline-style: none;
  border: 0;
}

i:active,
.nav-bar:active {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  text-transform: uppercase;
  padding: 0 1rem;
}

.nav-link a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13px;
  transition: 0.2s;
}

.nav-link a:hover {
  color: #fff;
}

.nav-links-container.show {
  transform: translate(0%);
}

@media screen and (max-width: 760px) {
  body.no-scroll {
    overflow-y: hidden;
  }

  .nav-content {
    width: 90%;
  }

  .nav-links-container {
    position: fixed;
    min-height: 100vh;
    width: 100vw;
    background-color: var(--blue-color-4);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: all 0.5s ease;
    transform: translate(-110%);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    height: 90%;
    margin: auto 0;
  }

  .nav-link {
    width: 100%;
    padding: 0;
  }

  .nav-link a {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1rem;
    margin: 0.2rem 0;
    font-size: 1rem;
    display: block;
  }

  .nav-link a:hover {
    background-color: rgba(0, 0, 0, 0.2);
  }

  .nav-bar {
    display: block;
  }

  .nav-links-container .fa-times {
    display: block;
  }
}
@media screen and (max-width: 760px) and (max-height: 220px) {
  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.2rem;
  }
}

/* END NAV */

/* HEADER CONTENT */
.contact-button {
  background-color: #fff;
  color: var(--blue-color-1);
  width: 12rem;
  padding: 0.7rem 1.2rem;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
  border-radius: 20px;
  box-shadow: 0 4px 10px var(--blue-color-3);
  margin: 10px;
}

.header-content-wrapper {
  width: 70%;
  color: #fff;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 70%;
}

@media screen and (max-width: 800px) {
  .header-content-wrapper {
    height: 65%;
    width: 80%;
  }
}

.header-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-content h1 {
  font-size: 3rem;
  text-align: center;
}

.header-content p {
  font-size: 15px;
  width: 85%;
  text-align: center;
  margin: 2.5rem 0 3rem;
}

@media screen and (max-width: 700px) {
  .header-content-wrapper {
    width: 90%;
  }

  .header-content {
    height: auto;
  }

  .header-content h1 {
    font-size: 2rem;
  }

  .header-content p {
    font-size: 13px;
    width: 100%;
    margin: 1rem 0 1.5rem;
  }
}

/* END HEADER CONTENT */

.main {
  width: 70%;
  margin: auto;
  padding: 1rem;
}

@media screen and (max-width: 1400px) {
  .main {
    width: 85%;
  }
}

@media screen and (max-width: 1200px) {
  .main {
    width: 95%;
  }
}

/* SECTIONS */
section {
  margin-bottom: 2rem;
}

/* SECTION ABOUT US */
.about-us {
  margin-top: 3.5rem;
}

.section-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.section-title {
  color: var(--title-color-11-2);

  font-size: 2.1rem;
  display: inline-block;
  margin: 0 auto;
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 1.8rem;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  height: 2px;
  background-color: var(--title-color-11);
  left: 50%;
  width: 20%;
  bottom: -5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.section-content {
  margin-bottom: 1.8rem;
}

.section-subcontent {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 2.6rem auto 2.6rem;
  justify-content: center;
}

@media screen and (max-width: 760px) {
  .section-title {
    font-size: 1.7rem;
    margin-bottom: 0;
  }
  .section-subcontent {
    margin-bottom: 1rem;
  }
}

.about-us-text-content,
.about-us-img-content {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 350px;
  margin-bottom: 2rem;
}

.about-us-img-content {
  min-height: 300px;
}

.about-us-text {
  color: #777;
  font-size: 16px;
  font-weight: 400;
  width: 85%;
  text-align: justify;
}

.about-us-img {
  width: 85%;
  height: 100%;
  background-image: url('../images/us-biotech.jpg');
  /* url("https://images.unsplash.com/photo-1535450246895-e8df524fc6bb?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80");*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
}

.about-us-img-cosmetic {
  width: 85%;
  height: 100%;
  background-image: url('../images/about-us-cosmetic.jpg');
  /* url("https://images.unsplash.com/photo-1535450246895-e8df524fc6bb?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80");*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
}

.main-buttons-container {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (max-width: 955px) {
  .about-us-text-content,
  .about-us-img-content {
    width: 100%;
  }
  .about-us-text {
    font-size: 14.5px;
    width: 95%;
  }

  .about-us-img {
    width: 100%;
  }
}
@media screen and (max-width: 340px) {
  .about-us-text {
    width: 82%;
  }
}

/* END SECTION ABOUT US */

/* SECTION WORK PROCESS */

.work-process .section-subcontent {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 3rem;
}

.process-item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.process-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 0.8rem;
}

.process-text,
.product-text {
  font-size: 14px;
  color: #777;
}

.process-title {
  font-size: 18px;
  font-weight: 450;
}

.process-img,
.process-text,
.process-title {
  padding: 0.3rem 0.7rem;
}

/* END SECTION WORK PROCESS */

/* SECTION PRODUCTS */

.products .section-content .section-subcontent {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
  justify-items: center;
  grid-gap: 3rem;
}

.product-item {
  text-align: center;
  padding: 1rem;
}

.product-title {
  font-size: 20px;
  font-weight: 500;
  padding-top: 1rem;
}

.product-text {
  width: 300px;
  margin: auto;
  padding-top: 1rem;
}

.product-img-man {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

/* END SECTION PRODUCTS */

/* FOOTER */

.footer {
  width: 100%;
  height: var(--footer-height);
  position: relative;
  margin-top: 2rem;
}

.footer-container {
  height: calc(var(--footer-height) * 1px);
  min-height: calc(var(--footer-height) * 1px);
  -webkit-clip-path: polygon(0 var(--footer-clip-path), 100% 0, 100% 100%, 0% 100%);
  clip-path: polygon(0 var(--footer-clip-path), 100% 0, 100% 100%, 0% 100%);

  background: var(--violet-color-9);
  background-image: -webkit-linear-gradient(var(--f-bg-i)), url(../images/banner.jpeg);
  background-image: linear-gradient(var(--f-bg-i)), url(../images/banner.jpeg);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.footer-text-container {
  width: 90%;
  height: calc(100% - var(--footer-clip-path));
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
}

.footer-social-container {
  display: flex;
  align-items: center;
  justify-items: center;
  margin-top: auto;
  flex-wrap: wrap;
}

.footer-social-container i {
  font-size: 2rem;
  padding: 1rem;
}

.footer-social-container a {
  text-decoration: none;
  color: #fff;
}

.footer-logo-info-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin-top: auto;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-weight: 400;
  font-size: 1.1rem;
  min-width: 12rem;
  text-align: center;
}

.footer-direction {
  font-size: 14px;
}

@media screen and (max-width: 1400px) {
  :root {
    --footer-clip-path: 25%;
  }
}

@media screen and (max-width: 800px) {
  :root {
    --footer-clip-path: 15%;
  }
}

@media screen and (max-width: 600px) {
  :root {
    --footer-clip-path: 10%;
  }
}

@media screen and (max-width: 760px) {
  :root {
    --footer-height: 250;
  }
}

/* HEADER AND FOOTER RESPONSIVE MARGINS */
@media screen and (max-width: 1000px) {
  .main-header {
    margin-bottom: 1rem;
  }

  .footer {
    margin-top: 0;
  }

  .footer-direction {
    padding-top: 10px;
    font-size: 11px;
  }
}
