@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@100;200;300;400;500;600;700&display=swap");
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  font-family: 'IBM Plex Serif', serif;
  font-size: 14px;
  line-height: 1.5;
  font-size: 18px;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

.contained {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.btn {
  background: none;
  padding: 10px 40px;
  color: #bed7ff;
  border: 2px solid #bed7ff;
}

.btn:hover {
  -webkit-transition: ease-in-out;
  transition: ease-in-out;
  -webkit-animation: animate1 .5s forwards ease-in-out;
          animation: animate1 .5s forwards ease-in-out;
}

.btn2:hover {
  -webkit-transition: ease-in-out;
  transition: ease-in-out;
  -webkit-animation: animateBtn .5s forwards ease-in-out;
          animation: animateBtn .5s forwards ease-in-out;
}

@-webkit-keyframes animate1 {
  to {
    background: #bed7ff;
    color: #161925;
  }
}

@keyframes animate1 {
  to {
    background: #bed7ff;
    color: #161925;
  }
}

@-webkit-keyframes animateBtn {
  to {
    background: #161925;
    color: white;
  }
}

@keyframes animateBtn {
  to {
    background: #161925;
    color: white;
  }
}

.btn2 {
  background: none;
  padding: 10px 60px;
  color: #161925;
  border: 2px solid #161925;
}

.ms1 {
  margin-bottom: 5px;
}

.m1 {
  margin-bottom: 10px;
}

.m2 {
  margin-bottom: 20px;
}

.m {
  margin-bottom: 5rem;
}

.m3 {
  margin-bottom: 30px;
}

.mt {
  margin-top: 7rem;
}

.light {
  opacity: 0.5;
}

.white {
  color: white;
}

.white-bg {
  background: white;
  color: #161925;
}

.pt1 {
  padding-top: 30px;
}

.pb1 {
  padding-bottom: 20px;
}

.logo {
  width: 180px;
}

#header {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

#header .video-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: -5;
}

#header .video-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
}

#header .video-wrapper video {
  min-height: 100%;
  min-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  top: 50%;
  left: 50%;
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.nav-bar {
  background: #161925;
  position: fixed;
  top: 0;
  width: 100%;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  z-index: 999;
}

.nav-bar.top {
  background: transparent;
}

.nav-bar .bars {
  display: none;
}

.text-content {
  z-index: 5;
  top: 0;
  color: white;
}

.text-content .menu {
  padding-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: relative;
}

.text-content .menu ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  float: left;
  margin-left: 30px;
  -webkit-transition: all ease .2s;
  transition: all ease .2s;
}

.text-content .menu ul li a {
  color: #FAFAFF;
  font-weight: 300;
  -webkit-transition: ease-in-out .5s;
  transition: ease-in-out .5s;
}

.menu ul li a:hover {
  color: #bed7ff;
}

.menu ul li a.current {
  color: #bed7ff;
}

.fas.fa-chevron-right {
  display: none;
}

#header-dealer, #header-company, #header-auto, #header-nonContact, #header-instrument {
  height: 50vh;
  overflow: hidden;
  position: relative;
}

#header-dealer::after, #header-company::after, #header-auto::after, #header-nonContact::after, #header-instrument::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(22, 25, 37, 0.5);
}

#header-dealer .menu, #header-company .menu, #header-auto .menu, #header-nonContact .menu, #header-instrument .menu {
  z-index: 4;
}

#header-dealer .showcase-text, #header-company .showcase-text, #header-auto .showcase-text, #header-nonContact .showcase-text, #header-instrument .showcase-text {
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  margin-top: 200px;
  position: relative;
  opacity: 0;
  z-index: 2;
  -webkit-animation: animate3 2s forwards ease-in-out;
          animation: animate3 2s forwards ease-in-out;
}

#header-dealer .showcase-text h2, #header-company .showcase-text h2, #header-auto .showcase-text h2, #header-nonContact .showcase-text h2, #header-instrument .showcase-text h2 {
  font-weight: bold;
  font-size: 50px;
}

#header-dealer .showcase-text p, #header-company .showcase-text p, #header-auto .showcase-text p, #header-nonContact .showcase-text p, #header-instrument .showcase-text p {
  font-weight: 300;
}

#header-dealer {
  background: url("../images/david-travis-aVvZJC0ynBQ-unsplash.jpg");
}

#header-company {
  background: url("../images/Visual acuity chart.jpeg");
}

#header-auto {
  background: url("../images/Auto lensmeter.jpeg");
}

#header-nonContact {
  background: url("../images/Non-contact Tonometer.jpeg");
}

#header-instrument {
  background: url("../images/instrument table.jpeg");
}

@-webkit-keyframes animate3 {
  to {
    margin-top: 75px;
    opacity: 1;
  }
}

@keyframes animate3 {
  to {
    margin-top: 75px;
    opacity: 1;
  }
}

#header-contact {
  background: url("../images/melinda-gimpel-5Ne6mMQtIdo-unsplash.jpg") no-repeat 20% 30%/cover;
  height: 30vh;
  overflow: hidden;
  position: relative;
}

#header-contact::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(22, 25, 37, 0.5);
}

#header-contact .menu {
  z-index: 4;
}

.showcase-contact {
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  margin-top: 200px;
  position: relative;
  opacity: 0;
  z-index: 2;
  -webkit-animation: animate4 1s forwards ease-in-out;
          animation: animate4 1s forwards ease-in-out;
}

.showcase-contact h2 {
  font-weight: bold;
  font-size: 40px;
}

.showcase-contact p {
  font-weight: 300;
}

@-webkit-keyframes animate4 {
  to {
    margin-top: 90px;
    opacity: 1;
  }
}

@keyframes animate4 {
  to {
    margin-top: 90px;
    opacity: 1;
  }
}

.text {
  margin-top: 250px;
  opacity: 0;
  -webkit-animation: animate2 2s forwards ease-in-out;
          animation: animate2 2s forwards ease-in-out;
}

.text h2 {
  font-size: 50px;
  color: #bed7ff;
}

.text p {
  color: #FAFAFF;
  font-weight: 300;
}

@-webkit-keyframes animate2 {
  to {
    margin-top: 200px;
    opacity: 1;
  }
}

@keyframes animate2 {
  to {
    margin-top: 200px;
    opacity: 1;
  }
}

.small-font {
  font-size: 15px;
}

.card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  color: #161925;
  -webkit-transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
}

.card .image {
  width: 200px;
}

.card .image img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.card .details {
  background: #F1F8FE;
  padding: 10px;
  margin-top: -10px;
  width: auto;
  -webkit-transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
  font-size: 12px;
}

.card .details .buy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  float: right;
  color: #072A86;
}

.card:hover {
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transform: scale(1.02);
          transform: scale(1.02);
  color: white;
}

.card:hover .details {
  background: #161925;
}

.details-prod {
  padding: 10px;
  margin-top: -10px;
  width: auto;
  background: #161925;
  width: 70%;
  margin-bottom: 20px;
  color: white;
}

.details-prod .buy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  float: right;
  color: #072A86;
}

#discover .discover {
  display: -ms-grid;
  display: grid;
      grid-template-areas: 'block-1 block-2' 'block-1 block-3';
  grid-gap: 1rem;
  font-size: 12px;
}

#discover .discover .block-1 {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-column: 1;
  grid-area: block-1;
}

#discover .discover .block-1 .image {
  height: 400px;
  width: 500px;
}

#discover .discover .block-1 .image img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#discover .discover .block-1 .text-area {
  padding-top: 10px;
}

#discover .discover .block-2 {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: block-2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#discover .discover .block-2 .image {
  width: 500px;
  height: 200px;
}

#discover .discover .block-2 .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#discover .discover .block-2 .text-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
  padding-left: 10px;
}

#discover .discover .block-3 {
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  grid-area: block-3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#discover .discover .block-3 .image {
  width: 500px;
  height: 200px;
}

#discover .discover .block-3 .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#discover .discover .block-3 .text-area {
  padding-left: 10px;
}

#discover .discover h3 {
  font-size: 20px;
  color: #072A86;
}

#delears .delears {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  grid-gap: 1.5rem;
}

.reach-us {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#banner {
  background: #F1F8FE;
  padding: 10px 0;
}

#banner .banner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.written-body {
  text-align: left;
}

.written-body h2 {
  font-size: 28px;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.written-body h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 15%;
  bottom: 0;
  right: 0;
  background: #161925;
}

.written-body p {
  font-weight: 300;
}

#subscribe {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#subscribe .subscribe {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #161925;
}

#subscribe .subscribe form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

#subscribe .subscribe form input {
  width: 500px;
  margin: 10px 0;
  padding: 10px 0;
  color: #161925;
  outline: none;
}

#subscribe .subscribe form input.email {
  border: none;
  border-bottom: 2px solid #161925;
}

#subscribe .subscribe form input.submit {
  background: none;
  border: 2px solid #161925;
  color: #161925;
}

#subscribe .subscribe form input.submit[type=submit] {
  color: #161925;
  font-weight: bolder;
}

#subscribe .subscribe form input.button {
  border: #161925 2px solid;
  background: none;
  color: #161925;
  padding-bottom: 20px;
  height: 50px;
  font-weight: bold;
  border-radius: none;
}

#subscribe .subscribe form input.button:hover {
  -webkit-transition: all;
  transition: all;
  -webkit-animation: subanim forwards ease-in-out .5s;
          animation: subanim forwards ease-in-out .5s;
}

@-webkit-keyframes subanim {
  to {
    color: white;
    background: #161925;
  }
}

@keyframes subanim {
  to {
    color: white;
    background: #161925;
  }
}

#footer {
  background-color: #161925;
}

#footer .footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#footer .footer .copy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#footer .footer-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 14px;
}

#footer .footer-flex a {
  color: white;
}

#footer .footer-flex .menu-foot ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#footer .footer-flex .menu-foot ul li a {
  color: white;
  padding: 0 10px;
}

#footer .footer-flex .address {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#footer .footer-flex .address a {
  padding-bottom: 10px;
}

.img-background {
  width: 250px;
  position: absolute;
  right: 0;
  top: 60px;
}

.header-why {
  background: #F1F8FE;
  height: 80vh;
}

.header-why .why_lightbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-align: center;
}

.form {
  background: #161925;
  margin-top: -80px;
  z-index: 100;
}

.contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 100px;
  padding: 20px 0;
  justify-self: center;
  -ms-flex-item-align: center;
      align-self: center;
}

.contact input {
  display: block;
  width: 600px;
  padding: 10px 0;
  border: none;
  background: none;
  border-bottom: 1px solid white;
  outline: none;
  color: white;
}

.contact input[type=submit] {
  border: 1px solid white;
  background: none;
  cursor: pointer;
}

.contact textarea {
  width: 600px;
  outline: none;
  padding-left: 10px;
}

.contact-address {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 40px;
  margin-bottom: 40px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.contact-address .connect {
  text-align: center;
}

.contact-address .connect .socials a {
  color: #161925;
}

.contact-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#product-display .column {
  position: absolute;
  top: 20rem;
  left: 0;
  z-index: 999;
  width: 100vw;
  background: #F1F8FE;
  padding-top: 40px;
  -webkit-transition: all ease .5s;
  transition: all ease .5s;
  visibility: hidden;
  opacity: 0;
  -webkit-animation: animate5 forwards ease-in-out;
          animation: animate5 forwards ease-in-out;
}

#product-display .column .prod-display {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[4];
      grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 40px 0;
}

#product-display #cancel {
  position: absolute;
  right: 10rem;
  z-index: 999;
  color: #161925;
  font-size: 20px;
  cursor: pointer;
}

#product-display #cancel :hover {
  color: red;
}

@-webkit-keyframes animate5 {
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animate5 {
  to {
    top: 0;
    opacity: 1;
  }
}

.anim {
  opacity: 0;
}

@-webkit-keyframes animate {
  from {
    -webkit-transform: translateY(200px);
            transform: translateY(200px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@keyframes animate {
  from {
    -webkit-transform: translateY(200px);
            transform: translateY(200px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1025px) {
  #discover .discover {
        grid-template-areas: 'block-1' 'block-2' 'block-3';
  }
  #discover .discover .block-1 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  #discover .discover .block-1 .image {
    width: 500px;
    height: 200px;
  }
  #discover .discover .block-1 .text-area {
    padding-left: 10px;
  }
  .details-prod {
    width: 86%;
  }
  .text {
    margin-top: 25rem;
    -webkit-animation: animate2 2s forwards ease-in-out;
            animation: animate2 2s forwards ease-in-out;
  }
  @-webkit-keyframes animate2 {
    to {
      margin-top: 15rem;
      opacity: 1;
    }
  }
  @keyframes animate2 {
    to {
      margin-top: 15rem;
      opacity: 1;
    }
  }
}

@media (max-width: 800px) {
  .menu {
    z-index: 900;
  }
  .menu ul {
    position: fixed;
    display: inline-block;
    height: 100vh;
    background: #161925;
    width: 50%;
    top: 0;
    left: -100%;
    padding-top: 20px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    z-index: 990;
  }
  .menu ul li {
    display: inline-block;
    width: 80%;
    margin-bottom: 5rem;
    border-bottom: 1px solid rgba(255, 252, 252, 0.4);
    padding-bottom: 1rem;
  }
  .menu ul.active {
    left: 0;
  }
  .nav-bar .bars {
    display: inline-block;
    z-index: 99;
    margin-right: 2rem;
  }
  .nav-bar .bars .active::before {
    content: "\f00d";
  }
  #discover .discover {
        grid-template-areas: 'block-1' 'block-2' 'block-3';
  }
  #discover .discover .block-1 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  #discover .discover .block-1 .image {
    width: 500px;
    height: 200px;
  }
  #discover .discover .block-1 .text-area {
    padding-left: 10px;
  }
  .text {
    margin-top: 500px;
    -webkit-animation: animate2 2s forwards ease-in-out;
            animation: animate2 2s forwards ease-in-out;
  }
  @-webkit-keyframes animate2 {
    to {
      margin-top: 250px;
      opacity: 1;
    }
  }
  @keyframes animate2 {
    to {
      margin-top: 250px;
      opacity: 1;
    }
  }
  .footer-flex {
    font-size: 10px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #delears .delears {
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
  }
  .showcase-contact {
    margin-top: 7rem;
    -webkit-animation: animate4 1s forwards ease-in-out;
            animation: animate4 1s forwards ease-in-out;
  }
  @-webkit-keyframes animate4 {
    to {
      margin-top: 5rem;
      opacity: 1;
    }
  }
  @keyframes animate4 {
    to {
      margin-top: 5rem;
      opacity: 1;
    }
  }
  .fas.fa-chevron-right {
    display: inline-block;
  }
  .fas.fa-chevron-down {
    display: none;
  }
  #product-display .column {
    top: 2rem;
    padding-left: 2rem;
    overflow-y: visible;
  }
  #product-display .column .prod-display {
    -ms-grid-columns: (1fr)[3];
        grid-template-columns: repeat(3, 1fr);
  }
  .details-prod {
    width: 87%;
  }
  #cancel {
    top: 2rem;
  }
}

@media (max-width: 600px) {
  .text h2 {
    font-size: 40px;
  }
  #discover .discover .block-1, #discover .discover .block-2, #discover .discover .block-3 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #discover .discover .block-1 .image, #discover .discover .block-2 .image, #discover .discover .block-3 .image {
    width: 500px;
  }
  .written-body {
    margin: 0 2rem;
  }
  .btn2 {
    padding: 10px 40px;
  }
  .card.min .image {
    width: 100px;
  }
  .details-prod {
    width: 65%;
    font-size: 11px;
  }
  #product-display .column {
    top: 8rem;
    -webkit-animation: animate5 .2s forwards ease-in-out;
            animation: animate5 .2s forwards ease-in-out;
  }
  @-webkit-keyframes animate5 {
    to {
      top: 0;
      opacity: 1;
    }
  }
  @keyframes animate5 {
    to {
      top: 0;
      opacity: 1;
    }
  }
  .contact-info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}

@media (max-width: 415px) {
  #product-display .column .prod-display {
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
  }
  .written-body {
    margin: 0 1rem;
  }
  .written-body h2 {
    font-size: 20px;
  }
  .written-body p {
    font-size: 14px;
  }
  #discover .discover .block-1 .image, #discover .discover .block-2 .image, #discover .discover .block-3 .image {
    width: 300px;
  }
  #banner .banner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-bottom: 10px;
  }
  #banner .banner > div {
    padding-bottom: 20px;
    text-align: center;
  }
  #subscribe .subscribe form input {
    width: 300px;
  }
  #footer .menu-foot ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .nav-bar .bars {
    margin-right: 10px;
  }
  .logo {
    width: 150px;
  }
  .text {
    margin-top: 500px;
    -webkit-animation: animate2 2s forwards ease-in-out;
            animation: animate2 2s forwards ease-in-out;
  }
  .text h2 {
    font-size: 30px;
  }
  .text p {
    font-size: 12px;
  }
  @-webkit-keyframes animate2 {
    to {
      margin-top: 200px;
      opacity: 1;
    }
  }
  @keyframes animate2 {
    to {
      margin-top: 200px;
      opacity: 1;
    }
  }
  #delears .delears {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
  #header-inner .showcase-text h2 {
    font-size: 30px;
  }
  #header-dealer .showcase-text.dealer h2 {
    font-size: 30px;
  }
  #header-dealer .showcase-text.dealer p {
    font-size: 15px;
  }
  .showcase-contact {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 500px;
    -webkit-animation: animate4 1s forwards ease-in-out;
            animation: animate4 1s forwards ease-in-out;
  }
  .showcase-contact h2 {
    font-size: 30px;
  }
  .showcase-contact p {
    font-size: 10px;
  }
  @-webkit-keyframes animate4 {
    to {
      margin-top: 150px;
      opacity: 1;
    }
  }
  @keyframes animate4 {
    to {
      margin-top: 150px;
      opacity: 1;
    }
  }
  .contact input {
    width: 300px;
  }
  .contact textarea {
    width: 300px;
  }
  .details-prod {
    width: 63%;
  }
}

@media (max-width: 361px) {
  #product-display .column {
    padding-top: 10px;
  }
  #product-display .column .prod-display {
    padding: 20px 0;
  }
  #product-display #cancel {
    right: 12rem;
  }
  .card.min .image {
    width: 90px;
  }
  .details-prod {
    width: 60%;
    font-size: 8px;
  }
}

#slider-product {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#slider-product .box {
  width: 600px;
}

#slider-product .cardg {
  width: 300px;
  height: 300px;
  background: blue;
}

#slider-product .cardg .img {
  width: 100%;
  height: 100%;
}

#slider-product .cardg .img img {
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
  height: 100%;
}

@media (max-width: 800px) {
  #slider-product {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #slider-product .box {
    width: 300px;
  }
}
/*# sourceMappingURL=style.css.map */