@import url("https://fonts.googleapis.com/css?family=Rubik");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

#pageContent .titleHeader {
  display: none;
}

#pageContent {
  padding: 0 !important;
}

body {
  overflow-x: hidden;
  height: 120vh;
  background-color: var(--background-color);
  margin: 0;
}

:root {
  --title-color: #0b4961;
  --background-color: #0b4961;
  --content-color: #0e5b79;
  --dark-color: #0e5b79;
  --color-text: #fff;

  --image-values: url(https://icon-library.com/images/about-icon-png/about-icon-png-24.jpg);
  --image-more: url(https://digicarebiomedical.com/00300-1/design/svg/icon-plus.svg);
  --image-close: url(https://digicarebiomedical.com/00300-1/design/svg/icon-close.svg);
}

h1,
h2,
h3 {
  text-transform: none;
}

/* STARTS HERE */

@media /*Header*/ {
  .header {
    display: flex;
    justify-content: center;
    height: 83vh;
    z-index: -2;
    align-items: space-between;
  }

  .header video {
    filter: brightness(0.5);
    z-index: -1;
  }

  .title-page {
    color: var(--title-color);
    font-size: 2.5rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.445);
    width: 100%;
    position: absolute;
    top: 7%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .title-page h1 {
    width: 16.5ch;
    animation: typing 2s steps(18), blink 0.5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-size: 2.5rem;
  }

  @keyframes typing {
    from {
      width: 0;
    }
  }

  @keyframes blink {
    50% {
      border-color: transparent;
    }
  }
}
/* END OF HEADER */

@media /*Our Mission*/ {
  .our-mission-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background-color: var(--background-color);
  }

  .our-mission-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 5rem;
    text-align: center;
    font-size: 1.3em;
    width: 80%;
    height: 30vh;
    background-color: var(--content-color);
    border-radius: 5px;
    color: var(--color-text);
  }

  .our-mission-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background-color: var(--background-color);
    width: 50%;
    border-radius: 5px;
  }

  .our-mission-content p:hover {
    color: var(--color-text);
    cursor: context-menu;
  }
  .our-mission-content p:after {
    content: "";
    display: block;
    margin: auto;
    height: 0.3em;
    width: 0px;
    background: transparent;
    transition-delay: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
  }

  .our-mission-content p:hover:after {
    width: 100%;
    background: var(--color-text);
    border-radius: 5px;
  }
}
/* END OF OUR MISSION*/

@media /*Our Values*/ {
  .our-values-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }

  .our-values-r_l-mobile {
    display: none;
  }

  .our-values-content {
    margin-top: 5rem;
    margin-bottom: 5rem;
    text-align: center;
    font-size: 1.3em;
    width: 80%;
    height: 80%;
    background-color: var(--content-color);
    border-radius: 5px;
  }

  .our-values-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background-color: var(--background-color);
    width: 50%;
    position: relative;
    left: 25%;
    border-radius: 5px;
  }

  .our-values-content hr {
    position: relative;
    left: 17%;
    top: 100%;
  }

  .our-values-content h2 {
    margin-top: 3rem;
    margin-bottom: -2rem;
    color: var(--color-text);
  }

  .our-values-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: auto;
    justify-items: center;
    margin-bottom: 3rem;
  }

  .our-values-right {
    display: none;
    flex-direction: column;
    position: relative;
    padding-left: 104px;
    width: 50%;
    top: 4em;
    align-items: center;
  }

  .value-left::before {
    position: relative;
    top: 15px;
    height: 100%;
    width: 23%;
    margin: 5px;
  }

  .value-right::after {
    position: relative;
    top: 11px;
    height: 100px;
    width: 100px;
    margin: 5px;
  }

  .sup-value::before {
    content: "";
    background: var(--image-values);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  .manu-value::before {
    content: "";
    background: var(--image-values);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  .qual-value::before {
    content: "";
    background: var(--image-values);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  .envi-value::before {
    content: "";
    background: var(--image-values);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  .exem-value::after {
    content: "";
    background: var(--image-values);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  /* .our-values-right p {
    margin-right: 60px;
  }

  .our-values-left p {
    margin-left: 60px;
  } */

  .form-value {
    width: 80%;
    height: 50%;
    margin: 56px;
    text-align: center;
    display: flex;
    color: var(--color-text);
    max-width: 100%;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
  }

  .value-right {
    background: rgb(11, 73, 97);
    background: linear-gradient(
      90deg,
      rgba(11, 73, 97, 1) 80%,
      transparent 80%
    );
    border: 0;
  }

  .value-left {
    background: linear-gradient(
      270deg,
      rgba(11, 73, 97, 1) 80%,
      transparent 80%
    );
    border: 0;
  }
}

.form-value p {
  width: 100%;
}
/* END OF OUR VALUES*/

@media /*Manufactoring*/ {
  .manufactoring-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  .manufactoring-content {
    margin-top: 5rem rem;
    text-align: center;
    font-size: 1.3em;
    padding-bottom: 57px;
    margin-bottom: 5rem;
    width: 80%;
    height: 80%;
    background-color: var(--content-color);
    border-radius: 5px;
    color: var(--color-text);
  }

  .manufactoring-content h2 {
    margin-top: 3rem;
    color: var(--color-text);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background-color: var(--background-color);
    width: 50%;
    border-radius: 5px;
    position: relative;
    left: 25%;
  }

  .cards {
    display: grid;
    margin-top: 3rem;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    width: 100%;
    gap: 2rem;
  }
  .card {
    width: 70%;
    height: 95%;
    background-color: var(--color-text);
    color: var(--title-color);
    border-radius: 5px;
  }
  .card-image img {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px 5px 0 0;
  }

  .card-content {
    margin: 14px;
    text-align: end;
  }

  .card-content h3,
  .card-content p {
    text-align: start;
  }

  /* .card-content a {
    content: "";
    background-image: var(--image-more);
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0;
    height: 49px;
    width: 42px;
    margin: 5px;
    cursor: pointer;
  } */

  /* MODAL */
  .card-content button {
    content: "";
    background-image: var(--image-more);
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0;
    height: 49px;
    width: 42px;
    margin: 5px;
    cursor: pointer;
    color: transparent;
  }

  .modal-window button {
    content: "";
    background-image: var(--image-close);
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    cursor: pointer;
    color: transparent;
    transition: 0.2s;
    float: right;
  }

  .modal-window button:hover {
    transform: rotate(20deg);
    transition: 0.2s;
  }

  .modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
    overflow: auto;
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    backface-visibility: hidden;
  }

  .modal-window {
    position: relative;
    background-color: #ffffff;
    width: 50%;
    margin: 10% auto;
    padding: 20px;
  }

  .modal-window.small {
    width: 75%;
  }

  .modal-window.large {
    width: 75%;
  }

  .close {
    position: absolute;
    top: 0;
    right: 0;
    color: rgba(0, 0, 0, 0.3);
    height: 30px;
    width: 30px;
    font-size: 30px;
    line-height: 30px;
    text-align: center;
  }

  .close:hover,
  .close:focus {
    color: #000000;
    cursor: pointer;
  }

  .open {
    display: block;
  }

  button {
    padding: 15px;
    font-size: 12px;
    background: indianred;
    color: #fff;
    border: none;
  }
  .subheading {
    font-style: italic;
  }

  .our-values-r_l {
    display: flex;
    justify-content: center;
  }

  /* END MODAL */

  /* @keyframes zoom {
    0% {
      width: 50px;
    }

    50% {
      width: 51px;
    }

    100% {
      width: 50px;
    }
  } */
}
/* END OF MANUFACTURING*/

.gradient-text {
  margin: 0 auto;
  font-family: "Rubik", cursive;
  font-size: 3rem;
  padding-bottom: 1rem;
  width: 90%;
  height: 17rem;
  background: linear-gradient(
    90deg,
    rgb(116 197 224) 1%,
    rgb(46 129 164) 43%,
    rgb(255 255 255) 95%
  );
  -webkit-background-clip: text;
  color: transparent;
  text-align: center;
}

@media /*timeline*/ {
  /* NEED TO FIX ACTIVE CROPPED BULLET - OVERFLOW HIDDEN ISSUE */

  .content-timeline {
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 5rem;
    width: 80%;
    height: 80%;
    background-color: var(--content-color);
    border-radius: 5px;
    color: var(--color-text);
  }

  .content-timeline h2 {
    margin-top: 3rem;
    color: var(--color-text);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background-color: var(--background-color);
    width: 50%;
    border-radius: 5px;
    position: relative;
    left: 25%;
  }

  .loading-bar__wrapper {
    background: #fff;
    border-radius: 5px;
    padding: 60px 60px 30px;
    box-shadow: 0 8px 10px rgba(223, 230, 241, 0.5);
    z-index: 99;
  }
  .loading-bar__wrapper label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-style: italic;
    font-weight: bold;
    color: #005f85;
  }
  .loading-bar {
    background: #005f85;
    height: 8px;
    border-radius: 100px;
    justify-content: space-around;
  }
  .loading-bar-bullet::before {
    content: "";
    display: block;
    background: #000;
    height: 16px;
    width: 16px;
    border-radius: 100px;
    z-index: 999;
    margin-top: -4px;
    border: 5px solid white;
    cursor: pointer;
  }
  .slick-current.loading-bar-bullet::before {
    height: 18px;
    width: 18px;
    margin-top: -5px;
    margin-left: -9px; /* Center bullet - Half .slick-current width*/
    border: 3px solid white;
  }
  .labels {
    margin-top: 50px;
    text-align: center;
  }

  /* Arrows */
  .slick-prev,
  .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 32px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
  }
  .slick-prev:hover,
  .slick-prev:focus,
  .slick-next:hover,
  .slick-next:focus {
    color: transparent;
    outline: none;
    background: transparent;
  }
  .slick-prev:hover:before,
  .slick-prev:focus:before,
  .slick-next:hover:before,
  .slick-next:focus:before {
    opacity: 1;
  }
  .slick-prev.slick-disabled:before,
  .slick-next.slick-disabled:before {
    opacity: 0.25;
  }
  .slick-prev:before,
  .slick-next:before {
    font-size: 32px;
    line-height: 1;
    opacity: 0.75;
    color: #000000;
    font-family: FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .slick-prev {
    left: -40px;
  }
  .slick-prev:before {
    content: "\f104";
  }
  .slick-next {
    right: -40px;
  }
  .slick-next:before {
    content: "\f105";
  }

  .qb-button {
    display: inline-block;
    background: #005f85;
    border-radius: 100px;
    padding: 5px 15px;
    margin-bottom: 15px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
  }
  .qb-button:hover {
    color: #fff;
  }

  .swiper-wrapper {
    height: 500px;
  }

  .swiper-slide {
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
