@font-face {
  font-family: "Comfortaa Light";
  src: 
    url("./fonts/static/Comfortaa-Light.ttf")
    format('truetype');
}

@font-face {
  font-family: "Comfortaa Medium";
  src: 
    url("./fonts/static/Comfortaa-Medium.ttf")
    format('truetype');
}

@font-face {
  font-family: "Comfortaa Bold";
  src: 
    url("./fonts/static/Comfortaa-Bold.ttf")
    format('truetype');
}

#produkty,
#proc-artelac,
#kontakt {
  padding-top: 117px;
  margin-top: -117px
}

.fake-anchor {
  padding-top: 117px;
  margin-top: -117px;
  opacity: 0;
  display: block;
}

body, h1, h2, h3, h4, h5, p, ul, ol, li, div {
  margin: 0;
}

body {
  font-family: "Comfortaa Light", sans-serif;
}

.navigation-header {
  display: flex;
  padding: 0 55px;
  justify-content: center;
  height: 117px;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.navigation-logo {
  background: url('./assets/images/artelac-logo.png') no-repeat;
  width: 216px;
  height: 50px;
  justify-self : flex-start;
}

.navigation-elements {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navigation {
  display: flex;
  font-size: 20px;
  font-family: "Centrale sans light", sans-serif;
  align-items: center;
}

.navigation-mobile, 
.navigation-mobile-items {
  display: none;
  background-color: #fff;
}

.navigation__item a {
  color: #0d090a;
  padding: 21px 24px;
  margin-right: 24px;
  text-decoration: underline;
  text-decoration-color: transparent;
  -webkit-text-decoration-color: transparent;
  -moz-text-decoration-color: transparent;
  transition: text-decoration-color .3s linear, background-color .3s linear;
}

.navigation__item:hover a {
  text-decoration-color: #0d090a;
  -webkit-text-decoration-color: #0d090a;
  -moz-text-decoration-color: #0d090a;
}

.side-effects {
  display: flex;
  align-items: center;
  padding: 0 54px;
  background-color: #b5d5dd;
  position: relative;
  z-index: 1;
}

.side-effects-logo {
  background: url('./assets/images/Bausch_&_Lomb-Logo.wine.png') no-repeat;
  background-size: 100%;
  height: 20px;
  flex-grow: 0;     /* do not grow   - initial value: 0 */
  flex-shrink: 0;   /* do not shrink - initial value: 1 */
  flex-basis: 244px;
}

.side-effects-text {
  margin-left: 50px;
  font-size: 15px;
  color: #0f1010;
  padding: 70px 130px 60px 0;
}

.side-effects-text a {
  color: #0f1010;
}

@media only screen and (max-width: 1150px) { 
  .mobile {
    display: initial;
  }

  .desktop {
    display: none;
  }

  .navigation-logo {
    width: 200px;
    background-size: 100%;
  }

  .navigation {
    display: none;
  }

  .navigation-mobile {
    display: flex;
  }

  .navigation-mobile-items {
    display: none;
    flex-direction: column;
    align-items: center;
  }

  .navigation-mobile-items--visible {
    display: flex;
    position: fixed;
    top: 117px;    
    left: 0;
    right: 0;
    z-index: 2;
    opacity: 0.98;
  }

  .navigation-mobile-items .navigation__item {
    padding: 20px 0;
  }

  .navigation__item a {
    margin-right: 0;
  }

  .hamburger {
    display: inline-block;
    cursor: pointer;
  }
  
  .bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #0c5465;
    margin: 6px 0;
    transition: 0.4s;
  }

  .side-effects {
    padding: 40px;
  }

  .side-effects-logo {
    display: none;
  }

  .side-effects-text {
    margin-left: 0;
    padding: 0;
    width: 100%;
    font-size: 16px;
  }

  .side-effects-text a {
    max-width: calc(100% - 30px);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
  }
}

.main-banner {
  position: relative;
  margin-top: 117px;
  z-index: 1;
}

.main-banner img {
  display: block;
  width: 100%;
}

.main-banner img:last-of-type {
  display: none;
}

.product-buttons .product-button--mobile {
  display: none;
  margin-left: calc(50% - 67px);
  box-sizing: border-box;
}

.main-banner h1 {
  text-transform: uppercase;
  color: #0b1561;
  background-color: #edffff;
  text-align: center;
  font-weight: bold;
  font-size: 35px;
  font-family: "Comfortaa Bold", sans-serif;
  padding-top: 20px;
}

@media only screen and (max-width: 1150px) {
  .main-banner h1 {
    width: auto;
    position: initial;
    background-color: #edffff;
    padding-top: 30px;
    font-size: 24px;
  }

  .main-banner img:first-of-type {
    display: none;
  }

  .main-banner img:last-of-type {
    display: block;
  }

  .product-buttons .product-button {
    display: none;
  }

  .product-buttons .product-button--mobile {
    display: inline-block;
    width: auto;
    margin-bottom: 0;
  }
}

.cat-buttons {
  display: flex;
  max-width: 1326px;
  margin: 60px auto;
  justify-content: space-around;
  flex-wrap: wrap;
}

.cat-buttons a {
  background-color: #22b6e2;
  color: #526296;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-family: "Centrale sans light", sans-serif;
  font-size: 26px;
  font-weight: bold;
  width: 273px;
  height: 145px;
  padding: 26px 26px 20px;
  box-sizing: border-box;
}

.cat-buttons a:hover {
  background-color: #8be4ff;
  transition: background-color .3s linear;
}

.cat-buttons img {
  margin-top: 10px;
}

@media only screen and (max-width: 1150px) { 
  .cat-buttons {
    max-width: 700px;
    margin: 20px auto;
  }

  .cat-buttons a {
    margin-top: 20px;
  }
}

.why-artelac {
  background: url('./assets/images/eye.jpg') no-repeat;
  background-size: cover;
}

.why-artelac__text {
  color: #0b1561;
  font-family: "Comfortaa Bold", sans-serif;
  max-width: 567px;
  margin: 0 0 0 auto;
  padding: 80px;
  padding-right: 200px;
}

.why-artelac__text h2 {
  font-weight: bold;
  font-size: 35px;
}

.why-artelac__text p {
  font-size: 18px;
  line-height: 30px;
}

@media only screen and (max-width: 1350px) { 
  .why-artelac__text {
    padding-right: 45px;
  }
}

@media only screen and (max-width: 1190px) { 
  .why-artelac {
    background-image: none;
    background: #edffff;
  }

  .why-artelac__text {
    padding: 40px 20px;
    margin: 0 auto;
  }

  .why-artelac__text br {
    display: none;
  }
}

.short-separator {
  margin: 20px 0;
}

.short-separator div {
  width: 52px;
  max-width: 52px;
  height: 2px;
  background-color: #48b9e3;
}

.short-separator--white div {
  background-color: #fff;
}

.short-separator--center div {
  margin: 0 auto;
}

.products .product:nth-of-type(even) {
  background: #f5f5f5;
}

.product h2 {
  font-family: "Comfortaa Bold", sans-serif;
  font-size: 35px;
  text-align: center;
  color: #0b1561;
}

.product__description {
  padding-left: 50px;
}

.product--detail .product__description {
  padding-left: 0;
  padding-right: 50px;
}

.product--detail .product__content {
  justify-content: space-around;
}

.product__description h3 {
  font-family: "Comfortaa Bold", sans-serif;
  font-size: 24px;
  color: #0b1561;
}

.product__description h3 span {
  font-family: "Comfortaa Light", sans-serif;
  font-weight: 400;
}

.product__description h4 {
  font-family: "Comfortaa Bold", sans-serif;
  font-size: 24px;
  color: #22b6e2;
  text-transform: uppercase;
  margin: 20px 0;
}

.product__description h5 {
  font-family: "Comfortaa Bold", sans-serif;
  font-size: 30px;
  color: #0b1561;
  margin: 40px 0 20px;
}

.product__description p {
  font-family: "Comfortaa Regular", sans-serif;
  font-size: 18px;
  color: #0b1561;
  position: relative;
  padding-left: 20px;
  line-height: 40px;
}

.product__description p::before {
  content: '-';
  position: absolute;
  left: 0;
}

.product {
  padding: 40px;
  position: relative;
  z-index: 1;
}

.product__content {
  display: flex;
  margin: 0 auto;
  max-width: 1230px
}

.product__content--40-60 .product__image {
  width: 40%;
  height: 280px;
}

.product__content--40-60 .product__image img {
  height: 100%;
}

.product__content--40-60 .product__description {
  width: 60%;
}

.product__image {
  width: 465px;
  height: 300px;
}

.product__image img {
  width: 100%;
  height: 240px;
  object-fit: contain;
}

.product__image p {
  font-family: "Comfortaa Regular", sans-serif;
  font-size: 13px;
  line-height: 20px;
}

.product-buttons .product-button:nth-of-type(1) {
  margin-left: 11.5%;
}
.product-buttons .product-button:nth-of-type(2) {
  margin-left: 34%;
}

.product-buttons .product-button:nth-of-type(3) {
  margin-left: 56.5%;
}

.product-buttons .product-button:nth-of-type(4) {
  margin-left: 78%;
}

.product-buttons .product-button {
  position: absolute;
  bottom: 20px;
  padding: 15px 45px;
}

.product-button {
  font-family: "Comfortaa Bold", sans-serif;
  font-size: 18px;
  display: inline-block;
  margin-top: 40px;
  color: #fff;
  background: #0c1562;
  padding: 12px 30px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s;
}

.product-button:hover {
  background: #37408d;
}

@media only screen and (max-width: 1150px) { 
  .product {
    padding: 20px;
  }

  .product__content {
    flex-direction: column-reverse;
    max-width: initial;
  }

  .product--detail .product__content {
    flex-direction: column;
    justify-content: initial;
  }

  .product--detail .product__description {
    padding-right: 0;
  }

  .product__image {
    width: 100%;
    height: 200px;
  }

  .product__image img {
    max-height: calc(100% - 40px);
  }

  .product__image p {
    font-size: 13px;
    text-align: center;
  }

  .product__description {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    align-items: center;
  }

  .product__description h5:first-of-type {
    margin-top: 0;
  }

  .product__description h5 {
    text-align: center;
  }

  .product__description h3 {
    text-align: center;
    font-size: 24px;
  }

  .product__description h4 {
    text-align: center;
    font-size: 20px;
    margin: 10px 0 20px;
  }

  .product__description p {
    font-size: 16px;
    line-height: 30px;
  }

  .product--detail .product__description p:last-of-type   {
    margin-bottom: 10px;
  }

  .product-button {
    font-size: 16px;
    margin: 20px auto;
    text-align: center;
    width: 200px;
    display: block;
  }

  .product-main .product-button {
    width: auto;
    margin: 20px 0;
    display: inline-block;
  }

  .product__content--40-60 .product__image {
    width: auto;
  }
  
  .product__content--40-60 .product__description {
    width: auto;
  }
}

@media only screen and (max-width: 650px) {
  .product-button {
    font-size: 12px;
    margin: 14px auto;
  }

  .product-main .product-button {
    margin: 14px 0;
  }
}

.footer {
  width: 100%;
  background: #f5f5f5;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddddd', endColorstr='#f2f2f2',GradientType=0 );
  font-family: "Centrale sans light", sans-serif;
}

.footer__container {
  padding: 55px 40px 10px;
  margin: 0 308px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
}

.footer__top .footer__top-left {
  display: flex;
}

.footer__top .footer__top-left > div:first-of-type {
  padding-right: 60px;
}

.footer p, .footer a {
  color: #666666;
}

.footer h3 {
  font-family: "Comfortaa Bold", sans-serif;
  font-size: 23px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 8px;
  padding: 0;
  border: 0;
  color: #666;
}

.footer .footer-logos {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer .footer-logos img {
  margin-bottom: 10px;
  max-width: 100%;
  width: 360px;
}

.footer .footer-logos img:first-of-type {
  margin-bottom: 40px;
  width: 270px;
}

.footer .footer-logos .footer-logo {
  padding-top: 10px;
}

.footer .footer-logos .phsw {
  margin-top: 10px;
  padding-top: 15px;
}

.footer p {
  font-family: "Comfortaa Bold", sans-serif;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
}

.footer__bottom {
  border-top: 1px solid #fff;
  margin-top: 20px;
  padding-top: 10px;
  text-align: center;
}

.footer__bottom p {
  font-size: 15px;
}

.footer__bottom a {
  text-decoration: none;
}

.footer__bottom-top {
  padding-bottom: 10px;
}

.footer__bottom-bottom {
  border-top: 1px solid #fff;
  padding-top: 10px;
}

@media only screen and (max-width: 1150px) {
  .footer__top {
    flex-direction: column;
  }

  .footer .footer-logos {
    text-align: center;
  }

  .footer__container {
    margin: 0 auto;
  }
}

@media only screen and (max-width: 880px) {
  .footer__top-left {
    flex-direction: column;
  }

  .footer .footer-logos {
    text-align: center;
  }

  .other-products-wrapper,
  .footer-logos {
    margin-top: 30px;
  }

  .footer__top .footer__top-left div:first-of-type {
    padding-right: 0;
  }
}
