/*!
Theme Name: 	Mikroekspresije
Theme URI: 		https://bootstraponwordpress.com/
Description: 	Bootstrap 5 on Wordpress
Version: 		4.0.2
Author: 		Babobski
Author URI: 	https://www.babobski.nl
Tags: 			babobski, bootstrap, basic theme
*/

/* Root */

:root {
  --clr-primary: #cb3494;
  --clr-secondary: #fff4fe;
  --clr-white: #fff;
  --clr-secondary-400: #d898ba;
  --clr-black: #000000;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/Open-Sans-Regular.eot"); /* IE9 */
  src: url("./fonts/Open-Sans-Regular.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("./fonts/Open-Sans-Regular.woff2") format("woff2"),
    /* Modern Browsers */ url("./fonts/Open-Sans-Regular.woff") format("woff"),
    /* Modern Browsers */ url("./fonts/Open-Sans-Regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("./fonts/Open-Sans-Regular.svg#OpenSans")
      format("svg"); /* Legacy iOS */
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("./fonts/Open-Sans-300.eot"); /* IE9 */
  src: url("./fonts/Open-Sans-300.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("./fonts/Open-Sans-300.woff2") format("woff2"),
    /* Modern Browsers */ url("./fonts/Open-Sans-300.woff") format("woff"),
    /* Modern Browsers */ url("./fonts/Open-Sans-300.ttf") format("truetype"),
    /* Safari, Android, iOS */ url("./fonts/Open-Sans-300.svg#OpenSans")
      format("svg"); /* Legacy iOS */
}

.clr-primary {
  color: var(--clr-primary);
}

a {
  text-decoration: none;
  color: var(--clr-primary);
  transition: 250ms ease-in-out;
}

a:hover {
  color: var(--clr-secondary-400);
}

/* Body */

body {
  background-color: var(--clr-white);
  color: var(--clr-black);
  font-family: "Open Sans";
}

h1.small-h1 {
  font-size: 0.9375rem;
  letter-spacing: -0.4px;
  line-height: 23px;
  font-weight: 500;
  margin: 0;
}

h2,
.section-title {
  font-size: clamp(1.75rem, calc(1.75rem + ((1vw - 0.2rem) * 3.6364)), 3.75rem);
  padding-bottom: 4rem;
}

h3,
.h3 {
  font-size: 1.3rem;
}

p {
  hyphens: auto;
}

.img-fluid {
  height: 100%;
  object-fit: cover;
}

[class*="col-"] {
  overflow: hidden;
}

[class*="col-"] img {
  border-radius: 5px;
}

@media (max-width: 1199px) {
  .img-fluid {
    height: auto;
    /* object-fit: con; */
  }
}

/* Raster */
.relative {
  position: relative;
}
.overlay-pink {
  position: absolute;
  inset: 0;
  background-color: var(--clr-secondary);
  opacity: 0.3;
  width: calc(100% - 12px);
  height: 100%;
}

.floater {
  background-color: var(--clr-primary);
  padding: 0.5rem;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  position: fixed;
  left: 0;
  top: 30vh;
}

.floater svg {
  width: 24px;
  height: 24px;
}

.hide-mobile {
  display: none;
}

.hide-desktop {
  display: block;
}

@media (min-width: 992px) {
  .hide-desktop {
    display: none;
  }

  .hide-mobile {
    display: block;
  }
}

@media (max-width: 992px) {
  .floater {
    display: none;
  }
}

@media (max-width: 1199px) {
  .row {
    gap: 1rem;
  }

  .row .col-xl-6:first-child {
    order: 1;
  }
}

@media (max-width: 992px) {
  h2,
  .section-title {
    padding-bottom: 2rem;
  }
}

/* Section padding */

.section-p {
  padding: 100px 0;
}

@media (max-width: 992px) {
  .section-p {
    padding: 30px 0;
  }
}

/* Hero part */
section.section {
  /* min-height: 700px; */
  display: grid;
  place-content: center;
  padding-top: 10%;
}

.hero-title {
  font-size: 3rem;
  line-height: 55px;
  margin: 0;
  padding-bottom: 3rem;
  position: relative;
  /* border-bottom: 1px solid var(--clr-black); */
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2rem;
  background-color: var(--clr-black);
  width: 100%;
  height: 1px;
}
.section-image img {
  height: 300px;
}

@media (min-width: 768px) {
  .section-image img {
    height: 600px;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 6.5rem;
    line-height: clamp(70px, calc(4rem + ((1vw - 3.2px) * 7.9545)), 140px);
    letter-spacing: -7px;
  }

  .section-image img {
    height: 650px;
  }
}

@media (min-width: 1999px) {
  .hero-title {
    font-size: 9.5rem;
  }
}

/* header */

.navbar {
  background-color: inherit;
  position: sticky;
  top: 0;
  z-index: 3;
}

@media (min-width: 1199px) {
  .navbar {
    position: relative;
    top: revert;
    z-index: revert;
  }
}

.navbar > .container-fluid .offcanvas {
  border-bottom: 1px solid var(--clr-black);
  border-top: 1px solid var(--clr-black);
  border-width: 1px;
}

.navbar-brand img {
  width: 150px;
}

/* Off canv title */
.offcanvas-title {
  padding: 0;
  position: relative;
}

/* Off canv social */

.offcanvas-social,
.offcanvas-wrapp {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.offcanvas-social svg {
  width: 24px;
  height: 24px;
}

.offcanvas-wrapp {
  flex-direction: column;
}

.navbar-brand--mobile img {
  width: 80px;
}

.navbar-nav {
  text-align: center;
  padding-bottom: 1rem;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--clr-primary);
  transition: color 250ms ease-in-out;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--clr-secondary-400);
}

@media (min-width: 992px) {
  .offcanvas-body {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .offcanvas-wrapp {
    flex-direction: row;
    align-self: end;
    padding-bottom: 2.5rem;
  }

  .navbar-nav {
    align-self: end;
    text-align: left;
    padding-bottom: 2rem;
  }

  .offcanvas-title {
    padding: 0 35px;
  }
}

/* About */

@media (max-width: 1199px) {
  .about-section .row {
    gap: 1rem;
  }

  .about-section .row .col-xl-6:first-child,
  .section-contact .row .col-xl-6:last-child {
    order: 1;
  }
}

/* Our services */

.services-section .row .list-group-item {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 1199px) {
  .services-section .row {
    gap: 1rem;
  }

  .services-section .row .col-xl-6:first-child {
    order: 0;
  }

  .services-section .row .list-group-item h4 {
    font-size: 1rem;
  }
}

/* Our work */
.section-work .work-list p {
  font-size: 1rem;
}
@media (min-width: 1200px) {
  .section-work .work-list p {
    /* font-size: 1.25rem; */
  }
}

/* Section team */

.section-team .grid-section {
  --grid-col-breakpoint: 15rem;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(var(--grid-col-breakpoint), 1fr)
  );
  gap: 0;
}

.section-team .grid-section .grid-section--images {
  position: relative;
}

.section-team .grid-section .grid-section--images .overlay-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--clr-secondary-400);
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease-in-out, visibility 0s linear 250ms;
  display: grid;
  place-content: center;
}

.section-team .grid-section .grid-section--images:hover .overlay-image {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition-delay: 0s;
}

.section-team .grid-section .grid-section--images:hover .overlay-image h4,
.section-team .grid-section .grid-section--images:hover .overlay-image span {
  transform: translateY(-100%);
  transition: transform 250ms ease-in-out;
}

.section-team .grid-section .grid-section--images:hover .overlay-image:hover h4,
.section-team
  .grid-section
  .grid-section--images:hover
  .overlay-image:hover
  span {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .section-team .grid-section {
    gap: 0.5rem;
  }
  .section-team .grid-section .grid-section--images .overlay-image {
    inset: revert;
    bottom: 0;
    left: 0;
    opacity: 1;
    visibility: visible;
    padding: 0.5rem;
    height: auto;
  }

  .section-team .grid-section .grid-section--images:hover .overlay-image h4,
  .section-team .grid-section .grid-section--images:hover .overlay-image span {
    transform: translateY(0);
  }
}

.section-team .grid-section .grid-images {
  width: 100%;
}

/* Reference */

.reference-slider {
  border: 1px solid var(--clr-black);
  border-right: 0;
  border-left: 0;
  padding: 4rem 0;
}

.reference-slider .splide__slide img {
  width: 100%;
  height: 150px;
  /* max-width: 350px; */
  max-width: 150px;
  display: flex;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 992px) {
  .reference-slider .splide__slide img {
    height: 100px;
  }

  .reference-slider {
    padding: 2rem 0;
  }
}

.reference-slider .splide__arrow {
  background: var(--clr-secondary-400);
}

.reference-slider .splide__arrow svg {
  fill: var(--clr-secondary);
}

/* Footer */

.footer .date {
  text-align: end;
}

.footer {
  background-color: var(--clr-primary);
  padding: 0.5rem;
  color: var(--clr-secondary);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

.footer a {
  color: var(--clr-secondary);
}

@media (max-width: 992px) {
  .footer {
    background-color: transparent;
    padding: 0;
    color: revert;
  }

  .footer .row {
    text-align: center;
    gap: 1rem;
  }
  .footer .date {
    text-align: center;
  }

  .footer .phone {
    position: fixed;
    bottom: 0;
    background-color: var(--clr-primary);
    padding: 0.25rem;
  }

  body {
    padding-bottom: 40px;
  }

  .footer .phone a {
    color: var(--clr-secondary);
  }
}

@media (max-width: 992px) {
  h3 {
    font-size: 1rem;
  }
}
