@import url("https://fonts.googleapis.com/css2?family=Radio+Canada:wght@300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Livvic:wght@100;200;300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;600&display=swap");
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css);

* {
  /* margin: 0; */
  box-sizing: border-box;
  color: #495057;
  text-decoration: none;
}

body {
  margin: 0;
}

html {
  font-size: 62.5%;
}

/*     NAVIGATON     */

.navigation {
  margin-bottom: 10vh;
}

.navlogo img {
  height: 10rem;
  margin-top: 1.8rem;
  margin-left: 2.8rem;
}

/*     NAV MENI     */

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

.menu-icon:checked + label,
.menu-icon:not(:checked) + label {
  position: fixed;
  top: 6.3rem;
  right: 7.5rem;
  display: block;
  width: 3rem;
  height: 3rem;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 10;
}

.menu-icon:checked + label:before,
.menu-icon:not(:checked) + label:before {
  position: absolute;
  content: "";
  display: block;
  width: 3rem;
  height: 2rem;
  z-index: 20;
  top: 0;
  left: 0;
  border-top: 2px solid #ececee;
  border-bottom: 2px solid #ececee;
  transition: border-width 100ms 1500ms ease,
    top 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1),
    height 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1),
    background-color 200ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked + label:after,
.menu-icon:not(:checked) + label:after {
  position: absolute;
  content: "";
  display: block;
  width: 2.2rem;
  height: 0.2rem;
  z-index: 20;
  top: 1rem;
  right: 0.4rem;
  background-color: #ececee;
  margin-top: -0.1rem;
  transition: width 100ms 1750ms ease, right 100ms 1750ms ease,
    margin-top 100ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked + label:before {
  top: 1rem;
  transform: rotate(45deg);
  height: 0.2rem;
  background-color: #ececee;
  border-width: 0;
  transition: border-width 100ms 340ms ease,
    top 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
    height 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
    background-color 200ms 500ms ease,
    transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked + label:after {
  width: 3rem;
  margin-top: 0;
  right: 0;
  transform: rotate(-45deg);
  transition: width 100ms ease, right 100ms ease, margin-top 100ms 500ms ease,
    transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
}

.nav {
  position: fixed;
  top: 3.3rem;
  right: 5rem;
  display: block;
  width: 8rem;
  height: 8rem;
  padding: 0;
  margin: 0;
  z-index: 9;
  overflow: hidden;
  box-shadow: 0 8px 3rem 0 rgba(0, 0, 0, 0.3);
  background-color: #353746;
  animation: border-transform 7s linear infinite;
  transition: top 350ms 1100ms cubic-bezier(0.23, 1, 0.32, 1),
    right 350ms 1100ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 250ms 1100ms ease,
    width 650ms 400ms cubic-bezier(0.23, 1, 0.32, 1),
    height 650ms 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes border-transform {
  0%,
  100% {
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  }
  14% {
    border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%;
  }
  28% {
    border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%;
  }
  42% {
    border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%;
  }
  56% {
    border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%;
  }
  70% {
    border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%;
  }
  84% {
    border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%;
  }
}

.menu-icon:checked ~ .nav {
  animation-play-state: paused;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 200%;
  height: 200%;
  transition: top 350ms 700ms cubic-bezier(0.23, 1, 0.32, 1),
    right 350ms 700ms cubic-bezier(0.23, 1, 0.32, 1), transform 250ms 700ms ease,
    width 750ms 1000ms cubic-bezier(0.23, 1, 0.32, 1),
    height 750ms 1000ms cubic-bezier(0.23, 1, 0.32, 1);
}

.nav ul {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  z-index: 6;
  text-align: center;
  transform: translateY(-50%);
  list-style: none;
}

.nav ul li {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 1rem 0;
  text-align: center;
  list-style: none;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(3rem);
  transition: all 250ms linear;
}

.nav ul li:nth-child(1) {
  transition-delay: 200ms;
}

.nav ul li:nth-child(2) {
  transition-delay: 150ms;
}

.nav ul li:nth-child(3) {
  transition-delay: 100ms;
}

.nav ul li:nth-child(4) {
  transition-delay: 50ms;
}

.nav ul li a {
  font-size: 6vh;
  text-transform: uppercase;
  line-height: 1.2;
  font-weight: 800;
  display: inline-block;
  position: relative;
  color: #ececee;
  transition: all 250ms linear;
}

.nav ul li a:hover {
  text-decoration: none;
  color: #ffeba7;
}

.nav ul li a:after {
  display: block;
  position: absolute;
  top: 50%;
  content: "";
  height: 2vh;
  margin-top: -1vh;
  width: 0;
  left: 0;
  background-color: #353746;
  opacity: 0.8;
  transition: width 250ms linear;
}

.nav ul li a:hover:after {
  width: 100%;
}

.menu-icon:checked ~ .nav ul li {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 350ms ease, transform 250ms ease;
}

.menu-icon:checked ~ .nav ul li:nth-child(1) {
  transition-delay: 1400ms;
}

.menu-icon:checked ~ .nav ul li:nth-child(2) {
  transition-delay: 1480ms;
}

.menu-icon:checked ~ .nav ul li:nth-child(3) {
  transition-delay: 1560ms;
}

.menu-icon:checked ~ .nav ul li:nth-child(4) {
  transition-delay: 1640ms;
}

/*     NAV MENI END     */

/*     INDEX     */

.bg {
  background-image: url("img/background-desktop.jpg");
  height: 100vh;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero {
  height: 73.3vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-text-box {
  padding: 8rem 10% 0 15%;
  /* grid-column: 2 / -1; */
}

.hero-text-box h1 {
  font-size: 4rem;
  color: #f1f2f9;
}

.hero-text-box p {
  font-size: 3rem;
  margin-bottom: 5rem;
  color: #f1f2f9;
}

.hero-text-box .btn {
  font-size: 2rem;
  text-decoration: none;
  color: #ececee;
  border: 2px solid #fff;
  background-color: #353746;
  border-radius: 1rem;
  padding: 1.2rem 2.4rem;
}

.hero-text-box .btn:hover {
  background-color: #1f202b;
  border: 2px solid #353746;
}

/*     SKINIAL     */

/*     SKINIAL END     */

/*     CERTIFICATE     */

.certificate {
  /* background-color: #f2c9c9; */
  padding: 4rem 2rem;
  margin-top: 10rem;
  font-family: "El Messiri", sans-serif;
}

.certificate-title {
  font-size: 5rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.certificate-div {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

.certificate-img {
  height: 50rem;
  margin-top: 2rem;
}

.certificate-text ul li {
  font-size: 2.2rem;
  list-style: none;
  border-bottom: 1px solid #1f202b;
  padding: 1rem 0;
}

/*     CERTIFICATE END     */

/*     TESTIMONIALS     */

.testimonials {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 5rem;
  padding-bottom: 5rem;
}

.testimonial {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #9e9e9e;
  display: inline-block;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  margin: 35px 10px 10px;
  max-width: 310px;
  min-width: 250px;
  position: relative;
  text-align: center;
  width: 100%;
  background-color: #ffffff;
  border-radius: 5px;
  border-top: 5px solid #1f202b;
}

.testimonial *,
.testimonial *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

.testimonial figcaption {
  padding: 13% 10% 12%;
}

.testimonial figcaption:before {
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  color: #1f202b;
  content: "\f10e";
  font-family: "FontAwesome";
  font-size: 32px;
  font-style: normal;
  left: 50%;
  line-height: 60px;
  position: absolute;
  top: -30px;
  width: 60px;
}

.testimonial h3 {
  color: #3c3c3c;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  margin: 10px 0 5px;
}

.testimonial h4 {
  font-weight: 400;
  margin: 0;
  opacity: 0.5;
}

.testimonial blockquote {
  font-style: italic;
  font-weight: 300;
  margin: 0 0 20px;
}
/*     TESTIMONIALS END     */

/*     INDEX END     */

/*     USLUGE     */

/* #usluge {
  background: no-repeat url("img/background-usluge.png");
  background-color: #f8dbdb;
} */

.title {
  position: sticky;
  font-size: 4rem;
  padding: 3rem;
  width: 100%;
  justify-self: center;
  text-align: center;
  border-radius: 2rem;
  font-family: "El Messiri", sans-serif;
  background-color: #fff;
  /* background-color: #f8dbdb; */

  font-weight: 300;
  top: 0;
}

/*  */

.skinial,
.njega-lica,
.trajna-sminka,
.obrve-trepavice,
.depilacija {
  /* overflow: scroll; */
  padding: 1rem 3% 5rem 3%;
  font-family: "Livvic", sans-serif;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.tretman,
.tretman2 {
  margin: 2px;
  /* padding: 1rem 3% 5rem 3%; */

  width: 100rem;
  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid #343a40;
}

.border-none {
  border-bottom: none;
}

.tretman h2 {
  font-size: 2.6rem;
  margin: 0;
  text-align: center;
  /* text-decoration: underline; */
}

.tretman2 h2 {
  font-size: 2.4rem;
  margin: 0;
  color: #495057;
  text-align: center;

  /* text-decoration: underline; */
}

.tretman h3 {
  font-size: 2.4rem;
  margin: 0;
  text-align: center;
}

.tretman2 h3 {
  font-size: 2.2rem;
  margin: 0;
  color: #495057;
  text-align: center;
}

.tretman h3 span {
  font-size: 2rem;
  color: #495057;
  text-align: center;
}

/*    USLUGE END     */

/*     BLOG     */

.blogs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 5rem;
}

.blog {
  width: 80%;
  /* text-align: center; */
  /* border-top: 1px solid #1f202b; */
  border-bottom: 1px solid #1f202b;
  padding: 1% 2%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.blog:hover {
  background-color: #ececee;
}

.blog-title {
  font-size: 3.2rem;
}

.blog-text {
  font-size: 2.4rem;
}

.blog-img {
  height: 20rem;
}

/*     BLOG POST     */

.blog-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 5rem;

  align-items: center;
}

.blog-box-title {
  font-size: 4rem;
}

.blog2-box {
  display: flex;
  padding: 2rem 4rem;
}

.blog-box-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 3.5rem;

  padding: 1rem 3rem;
}

.blog-box-text p {
  font-size: 2.8rem;
}

/*     BLOG POST END     */

/*     BLOG END     */

/*     ZAKAZIVANJE     */

#zakazivanje {
  padding: 8px;
}

.info {
  width: 100%;
  align-items: center;
  justify-content: center;
  background: center url(img/background-zakazivanje.jpg);

  display: grid;
  grid-template-columns: 1fr 1fr;

  /* animation: moveToTop 1s ease-in-out;
  animation-delay: 10ms; */
}

/* @keyframes moveToTop {
  0% {
    transform: translateY(500px);
  }
  100% {
    transform: translateY(0px);
  }
} */

.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* border: 1px solid #1f202b; */
  height: 40rem;

  grid-column: 2 / -1;
  /* width: 40rem; */
}

.links2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.links p {
  font-size: 4rem;
  font-family: "El Messiri", sans-serif;
  color: #f8f8f8;
}

.links a {
  font-size: 3rem;

  display: flex;
  align-items: center;
  gap: 1rem;
}

.links a span {
  color: #f8f8f8;

  text-decoration: none;
  list-style: none;
  display: inline-block;
  position: relative;
}

.links a span:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.links a span:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.links .white-img {
  height: 3.5rem;
}

.footer {
  display: flex;
  justify-content: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}

.footer p,
.footer a {
  font-size: 1.5rem;
  color: #353746;
  background-color: #fff;
}

/*     ZAKAZIVANJE END     */
.dermapen ul {
   width: 82%;
}
.dermapen ul li {
      text-align: left; 
      font-size: large;
}

@media screen and (max-width: 991px) {
  /*     NAVIGATON     */

  /*     NAV MENI     */
  .menu-icon:checked + label,
  .menu-icon:not(:checked) + label {
    right: 5.5rem;
  }

  .nav {
    right: 3rem;
  }

  .nav ul li a {
    font-size: 4vh;
  }

  /*     NAV MENI END     */

  /*     INDEX     */

  .bg {
    background-image: url("img/background-phone.jpg");
  }

  /*     HERO     */

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    padding-bottom: 5rem;
  }

  .hero-text-box {
    grid-row: 2 / -1;
  }

  .skinial,
  .njega-lica,
  .trajna-sminka,
  .obrve-trepavice,
  .depilacija {
    grid-template-columns: 1fr;
  }

  /*     CERTIFICATE     */

  .certificate {
    flex-direction: column;
  }

  .certificate-img {
    width: 100%;
    height: auto;
  }

  .certificate-div {
    flex-direction: column;
  }

  .certificate-text ul {
    padding: 0;
    text-align: center;
  }

  /*     CERTIFICATE END     */

  /*     TESTIMONIALS     */

  .testimonials {
    margin-top: 5rem;
  }

  /*     TESTIMONIALS END     */

  /*     INDEX END     */

  /*     USLUGE     */

  .tretman,
  .tretman2 {
    width: 100%;
    flex-direction: column;
    padding: 1rem 0;
  }

  .tretman h2 {
    font-size: 2.6rem;
    margin: 0;
    /* text-decoration: underline; */
  }

  .tretman h3 {
    font-size: 2.4rem;
    margin: 0;
  }

  /*    USLUGE END     */

  /*     BLOG     */

  .blog {
    flex-direction: column-reverse;
    margin-bottom: 4rem;
    text-align: center;
    gap: 2rem;
  }

  /*     BLOG POST     */

  /* .blog-box {
    flex-direction: column;
  } */

  .blog-box-title {
    font-size: 3.2rem;
    text-align: center;
  }

  .blog2-box {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .blog-box-text {
    display: flex;
    align-items: center;
    text-align: center;

    padding: 0;
  }

  .blog-box-text p {
    font-size: 2rem;
    margin: 1rem 2rem;
  }

  .blog2-box img {
    /* height: 20rem; */
    width: 30rem;
    margin-top: 5rem;
    align-self: center;
  }

  /*     BLOG POST END     */

  /*     BLOG END     */

  /*     ZAKAZIVANJE     */

  #zakazivanje {
    padding: 0 8px;
  }

  .info {
    background: url(img/background-zakazivanje-phone.jpg);
  }

  .links {
    justify-content: center;
    height: 60rem;
    grid-column: 1 / -1;
  }

  .links p {
    font-size: 3.2rem;
    font-family: "El Messiri", sans-serif;
    color: #f8f8fc;
  }

  .links a {
    font-size: 2.4rem;

    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .links .white-img {
    height: 3rem;
  }

  .footer p,
  .footer a {
    font-size: 1rem;
  }

  /*     ZAKAZIVANJE END     */
  
}
