/*
 Theme Name:   Astra Child
 Theme URI:	http://example.com/astra-child
 Description:  Astra Child Theme is an awesome theme.
 Author:   	Brainstorm Force
 Author URI:   https://www.wpastra.com
 Template: 	astra
 Version:  	1.0.0
 License:  	GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:     	astra
 Text Domain:  astrachild
*/

html {
  scroll-behavior: smooth;
}

#primary {
  margin: 0 !important;
}

#main-btn .elementor-button-wrapper .elementor-button {
  border-style: solid;
  text-decoration: none;
  border-top-width: 3px;
  border-right-width: 3px;
  border-left-width: 3px;
  border-bottom-width: 3px;
}

@media only screen and (max-width: 1280px) {
  #main-btn .elementor-button-wrapper .elementor-button {
    border-style: solid;
    text-decoration: none;
    border-top-width: 2px;
    border-right-width: 2px;
    border-left-width: 2px;
    border-bottom-width: 2px;
  }
}

@media only screen and (max-width: 767px) {
  #main-btn .elementor-button-wrapper .elementor-button {
    border-style: solid;
    text-decoration: none;
    border-top-width: 1px;
    border-right-width: 1px;
    border-left-width: 1px;
    border-bottom-width: 1px;
  }
}

.accent-pink {
  color: #bd00ff;
  /* color: ##ff7770; */
}

.accent-green {
  color: #42c5b7;
}

.box-shadow {
  box-shadow: rgba(0, 0, 0, 0.14) 0px 6px 12px;
}

.post-container {
  max-width: 820px;
  padding: 180px 0px;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  .post-container {
    padding: 160px 20px;
  }
}

.padding-bottom {
  padding-top: 5rem;
}

.post-featured-image {
  width: 50%;
}

.post-featured-image img {
  width: 100%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% !important;
}

@media only screen and (max-width: 400px) {
}

.usluge-header {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% !important;
}

.flex-container {
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;
}

.post-content {
  margin-top: 3rem;
}

.post-content p {
  text-align: justify;
}

.post-header-content {
  width: 50%;
}
.post-header-content h1 {
  margin-top: 0.6rem;
}

.post-excerpt {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-date {
  margin-top: 0.625rem;
  margin-bottom: 1.425;
  display: block;
  font-style: italic;
  font-size: 15px;
  color: #333;
}

/******************************* NAVIGATION AND HEADER **********************************/

.header-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px;
  transition: padding 0.3s ease-in;
}

.header-container.transition {
  padding: 30px 0;
}

header {
  background-color: #fefefe;
  position: fixed;
  width: 100%;
  top: 0px;
  right: 0;
  z-index: 21;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 8px 16px;
}

.header-menu {
  margin: 0 !important;
  display: flex !important;
}

/** Header logo **/
.header-logo h1 {
  color: #383838;
  font-size: 35px;
  transition: color 0.3s ease-in;
}

.header-logo h1.transition {
  color: #42c5b7;
}

.header-menu ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.header-menu li {
  list-style-type: none;
  margin-left: 20px;
}

.menu-link {
  color: #383838;
  position: relative;
}

.menu-link::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%; /* Ensure width is defined in both states */
  height: 1.5px; /* Ensure height is defined in both states */
  background-color: #42c5b7; /* Ensure background-color is defined in both states */
  border-radius: 20px; /* Ensure border-radius is defined in both states */
  bottom: -5px;
  left: 0;
  opacity: 0;
  transition: all 0.5s ease; /* Apply transition here */
}

@media screen and (min-width: 1024px) {
  .current_page_item .menu-link,
  .current_page_item.menu-link {
    color: #42c5b7;
  }
  .header-menu li {
    display: inline-block;
    margin-right: 10px;
  }
}

.current_page_item .menu-link::after,
.current_page_item.menu-link::after,
.menu-link:hover::after {
  opacity: 1;
}
@media screen and (max-width: 1280px) {
  .header-container {
    padding: 30px 20px;
  }

  .header-container.transition {
    padding: 20px 20px;
  }
}
@media screen and (max-width: 1023px) {
  .header-menu {
    display: flex;
    flex-direction: row;
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100vh;
    z-index: 20;
    right: 0;
    top: 0;
    background-color: #ffffff;
    justify-content: space-between;
    align-items: left;
    text-align: left;
    font-size: 40px;
    transition: opacity 0.3s ease-in;
    pointer-events: none;
  }
  .header-menu ul {
    flex-direction: column;
  }

  .header-menu li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style-type: none;
    margin-left: 0px;
  }

  .header-menu-left {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    justify-content: center;
    padding: 0 1rem;
  }

  .header-menu-left .menu-item {
    margin-left: 0;
    font-size: 36px;
    font-weight: 900;
  }

  nav.open .header-menu {
    opacity: 1;
    pointer-events: auto;
  }
  .menu-link:not(.dropbtn) {
    width: fit-content;
    padding: 8px 10px;
    border-radius: 5px;
  }

  .menu-link.dropbtn:hover {
    background-color: white;
    color: #42c5b7;
  }

  .current_page_item.menu-link.dropbtn {
    background-color: white;
    color: #42c5b7;
  }

  .current_page_item .menu-link,
  .current_page_item.menu-link,
  .menu-link:hover {
    background-color: #42c5b7;
    color: #383838;
  }

  .menu-link::after {
    height: 0;
  }
}

@media screen and (max-width: 420px) {
  .header-menu-left {
    padding: 0 0 0 0.725rem;
  }

  .header-menu-left .menu-item {
    font-size: 28px;
  }
}

/******************************* DROPDOWN MENU **********************************/

.dropdown {
  text-align: left;
  position: relative;
}

.dropdown-content a {
  width: 100%;
  color: black;
  padding: 12px 16px;
  font-size: 15px;
  text-decoration: none;
  display: block;
  white-space: nowrap; /* Prevent text from wrapping */
}

.dropdown-content {
  display: none;
}

.dropdown-content a:hover {
  background-color: #42c5b7;
  color: white;
  transition: color 0.3s ease, background-color 1.3s ease;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (min-width: 1024px) {
  .dropdown-content {
    position: absolute;
    top: 1.8rem;
    right: 0;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
}

@media screen and (max-width: 1023px) {
  .dropdown {
    padding-right: 1rem;
    margin-right: 0;
    text-align: right;
  }
  .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding: 2px 6px;
    text-transform: uppercase;
    font-size: 14px;
  }

  .dropdown-content a:hover {
    background-color: white;
    color: #42c5b7;
    transition: color 0.3s ease, background-color 1.3s ease;
  }

  .dropdown > a {
    margin-bottom: 1rem;
    font-size: 36px;
  }
}

@media screen and (max-width: 420px) {
  .dropdown {
    padding-right: 0.725rem;
  }

  .dropdown > a {
    font-size: 28px;
    margin-bottom: 0.725rem;
    line-height: 1;
  }

  .dropdown-content a {
    font-size: 12px;
  }
}

/* Images and icons */

.dog-pawn-icon {
  display: none;
  position: absolute;
  width: 32px;
  height: 32px;
  bottom: 10px;
  right: 50%;
  transform: translateX(50%);
  opacity: 0.7825;
}

@media screen and (max-width: 1023px) {
  .dog-pawn-icon {
    display: block;
  }
}

/** Hamburger Menu ******/

.hamburger {
  display: none;
}

.hamburger span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #333;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#nav-icon {
  width: 48px;
  height: 36px;
  position: relative;
  margin: 0px auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  /* background: #d3531a; */
  background-color: #383838;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon span:nth-child(2) {
  top: 14.4px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon span:nth-child(3) {
  top: 29.8px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -3px;
  left: 8px;
}

#nav-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 31px;
  left: 8px;
}

@media screen and (max-width: 1023px) {
  .hamburger {
    display: block;
    position: relative;
    cursor: pointer;
    z-index: 21;
  }

  nav.open .hamburger {
    color: white;
  }
}

/* Kontakt Stranica */

.contact-button {
  border: 1px solid #42c5b7;
  color: #42c5b7;
  transition: all 0.3s;
}

.contact-button:hover {
  background-color: #42c5b7;
  color: white;
}

.contact-link {
  color: #383838;
}

.contact-info-box:hover .elementor-icon {
  fill: #42c5b7 !important;
  transition-duration: 0.3s !important;
}

.contact-info-box:hover .elementor-icon-box-title,
.contact-info-box:hover .elementor-icon-box-description {
  color: #42c5b7 !important;
  transition-duration: 0.3s !important;
}

.pink-link {
  color: #bd00ff;
  transition: color 0.3s;
}

.pink-link span {
  color: #5b5a5a;
  transition: color 0.3s;
}
.pink-link:hover,
.pink-link:hover span {
  color: #bd00ff !important;
}
.pink-link:active {
  color: #bd00ff !important;
}

.hero-container .e-con-inner {
  padding-top: 190px !important;
  padding-bottom: 190px !important;
}

@media screen and (max-width: 1280px) {
  .main-title h1.elementor-heading-title {
    font-size: 47px !important;
  }

  .main-desc p {
    font-size: 16px !important;
  }

  .hero-container .e-con-inner {
    padding-top: 130px !important;
    padding-bottom: 100px !important;
  }

  /* .main-desc
      #main-btn
      .elementor-button-wrapper
      .elementor-button
      .content-container
      .big-title; */
}
