body {
  box-sizing: border-box;
  font-family: "Roboto", sans-serif !important;
}

a {
  text-decoration: none;
}

img {
  border-style: none !important;
  border-style: none !important;
}

#page_title {
  text-align: center;
  margin-bottom: 50px;
}

header#masthead {
  background-color: transparent;
  box-shadow: none;
}

#content.site-content {
  padding-bottom: 0rem;
  padding-top: 0rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h5 {
  font-weight: 500;
  line-height: 1.2;
}

header {
  position: absolute;
  top: 65px;
  right: 5%;
  z-index: 101;
}

#primary {
  margin-top: 100px !important;
  margin-bottom: 100px;
}

#main-nav #menu-main-menu li a {
  font-size: 18px;
  color: white;
}

#main-nav li:hover {
  border-bottom: 5px solid;
  border-color: #bc1414;
  font-size: 18px;
  transition: 0.4s;
}

#main-nav li:hover .current_page_item.active a {
  border-bottom: 5px solid;
}

.current_page_item.active a {
  border-bottom: 5px solid;
  border-color: #bc1414;
}

/* Hero image */
.hero-image {
  background-image: url("../../images/cover2.jpg"); /* The image used */
  background-color: #cccccc; /* Used if the image is unavailable */
  height: 680px; /* You must set a specified height */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  position: relative;
}

.brand h3 {
  color: white !important;
}

#instagram_button {
  position: absolute;
  border: 1px snow solid;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: snow;
  text-align: center;
  border-radius: 3px;
  padding: 5px;
  cursor: pointer;
  /* transition: background 1s; */
}

#instagram_button:hover {
  background: snow;
  opacity: 0.5;
}

#instagram_button:hover i {
  color: black;
}

#instagram_button:hover p {
  color: black;
}

#instagram_button i {
  font-size: 25px;
  padding: 0px 15px;
}

#instagram_button p {
  display: inline-block;
  padding-right: 10px;
  margin-bottom: 0px;
}

.hero-image2 {
  background-image: url("../../images/cover2.jpg"); /* The image used */
  background-color: #cccccc; /* Used if the image is unavailable */
  height: 300px; /* You must set a specified height */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  position: relative;
}

.overlay {
  position: absolute;
  background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(255, 0, 0, 0));
  height: 100%;
  width: 100%;
  opacity: 65%;
}

/* Brand */
.brand {
  position: absolute;
  color: white;
  top: 40px;
  left: 100px;
}

.brand h3 {
  font-size: 28px;
  border-left: 10px solid;
  border-color: #bc1414;
  padding-left: 10px;
  font-weight: 400;
  letter-spacing: 1px;
}

.brand p {
  padding-top: 10px;
  font-size: 22px;
  padding-left: 20px;
  font-weight: 300;
}

/* Services section */
/* .services_section{
    margin-top: 150px!important;
    margin-bottom: 100px;
} */

.service_1 {
  background-image: url("../../images/usluge1.jpg"); /* The image used */
  background-color: #cccccc; /* Used if the image is unavailable */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: 132%;
  height: 450px;
  margin-bottom: 35px;
  position: relative;
  -webkit-transition: all 0.3s ease-in-out;
}

.service_1:hover {
  background-size: 160%;
}

#service_1_content {
  background-color: white;
  position: absolute;
  width: 70%;
  height: 65%;
  right: 0;
  top: 50px;
  text-align: right;
  padding: 20px;
}

#service_1_content h3 {
  margin-top: 15px;
  margin-bottom: 15px;
}

#service_1_content p {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.8px;
}

.service_2 {
  background-image: url("../../images/usluge2.jpg"); /* The image used */
  background-color: #cccccc; /* Used if the image is unavailable */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: 130%;
  height: 450px;
  margin-bottom: 35px;
  position: relative;
  -webkit-transition: all 0.3s ease-in-out;
}

.service_2:hover {
  background-size: 160%;
}

#service_2_content {
  background-color: white;
  position: absolute;
  width: 70%;
  height: 65%;
  left: 0;
  top: 50px;
  padding: 20px;
}

#service_2_content h3 {
  margin-top: 15px;
  margin-bottom: 15px;
}

#service_2_content p {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.8px;
}

.service_3 {
  background-image: url("../../images/usluge3.jpg"); /* The image used */
  background-color: #cccccc; /* Used if the image is unavailable */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: 135%;
  height: 450px;
  margin-bottom: 35px;
  position: relative;
  -webkit-transition: all 0.3s ease-in-out;
}

.service_3:hover {
  background-size: 160%;
}

#service_3_content {
  background-color: white;
  position: absolute;
  width: 70%;
  height: 65%;
  right: 0;
  top: 50px;
  text-align: right;
  padding: 20px;
}

#service_3_content h3 {
  margin-top: 15px;
  margin-bottom: 15px;
}

#service_3_content p {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.8px;
}

.service_4 {
  background-image: url("../../images/usluge4.jpg"); /* The image used */
  background-color: #cccccc; /* Used if the image is unavailable */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: 130%;
  height: 450px;
  margin-bottom: 35px;
  position: relative;
  -webkit-transition: all 0.3s ease-in-out;
}

.service_4:hover {
  background-size: 160%;
}

#service_4_content {
  background-color: white;
  position: absolute;
  width: 70%;
  height: 65%;
  left: 0;
  top: 50px;
  padding: 20px;
}

#service_4_content h3 {
  margin-top: 15px;
  margin-bottom: 15px;
}

#service_4_content p {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.8px;
  padding-bottom: 21px;
}

#service_button {
  border: 0;
  background-color: #a91225;
  border-radius: 4px;
  font-size: 14px;
  padding: 8px 12px;
  margin-top: 20px;
}

#service_button a {
  color: white;
  text-decoration: none;
}

/* Services page */
.services {
  /* margin-top: 100px; */
  text-align: left;
  /* margin-bottom: 100px; */
}

.services p {
  font-size: 17px;
  font-weight: 300;
}

.services ul {
  font-size: 16px;
  font-weight: 300;
}

#service {
  margin-bottom: 60px;
}

/* References page*/
.references {
  /* margin-top: 100px; */
  text-align: left;
  /* margin-bottom: 100px; */
}

.references p {
  font-size: 17px;
  font-weight: 300;
}

/* Contact page */
.contact {
  /* margin-top: 100px; */
  text-align: left;
  /* margin-bottom: 100px; */
}

#contact_section h5 {
  margin-bottom: 1px;
  font-size: 18px;
}

.contact_icons {
  font-size: 18px;
}

.contact_icons #icon {
  margin-bottom: 15px;
}

.contact_icons #icon i {
  color: #bc1414;
  padding-right: 10px;
  font-size: 28px;
}

/* Biografija */
.biography {
  /* margin-top: 100px;
  margin-bottom: 100px; */
}

.biography img {
  width: 35%;
  float: right;
}

.biography p {
  margin-bottom: 19px;
  font-size: 17px;
  font-weight: 300;
}

.biography ul {
  font-size: 17px;
  font-weight: 300;
}

#zavrsene_skole {
  margin-bottom: 15px;
}

#zavrsene_skole:has(> p) {
  margin-bottom: 1px;
}

#zavrsene_skole ul {
  margin-bottom: 2px;
}

#zavrsene_skole p {
  margin-bottom: 2px;
}

/* Gallery */
.gallery-item {
  padding: 10px;
  color: black;
}

.gallery-item img {
  float: left;
  height: 230px;
  width: 100%;
  object-fit: cover;
  border: 0px !important;
  position: relative;
  z-index: 101;
}

.gallery-caption {
  background-color: #dcdcdc;
  padding: 5px;
  font-size: 15px;
}

/* Footer */
.footer {
  /* background-color: #485461; */
  background-color: #1d2b36;
  /* background-image: linear-gradient(315deg, #485461 0%, #28313b 74%); */
  text-align: center;
  padding-top: 60px;
  padding-bottom: 50px;
}

.footer i.bi-instagram {
  font-size: 25px;
  color: #98a4b1;
}

.footer h5 {
  font-size: 18px !important;
  margin-bottom: 15px !important;
  color: white;
  font-weight: 400;
}

.footer p {
  /* padding-top: 33px;
  font-weight: 300; */
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #98a4b1;
}

.footer #social {
  padding-left: 70px;
}

.footer #links {
  padding-left: 130px;
}

.footer #contact {
  padding-left: 60px;
}

.footer #modus {
  margin-top: 30px;
}

.footer #modus span {
  border-left: 7px solid;
  border-color: #bc1414;
  margin-right: 7px;
}

.footer a {
  text-decoration: none;
  color: #98a4b1;
}

.footer a:hover {
  color: white;
}

/*-------------------- Responsive ---------------------*/
@media only screen and (max-width: 1400px) {
  header {
    right: 20px;
  }

  .brand {
    top: 40px;
    left: 60px;
  }

  .brand h3 {
    font-size: 24px;
  }

  .brand p {
    font-size: 18px;
  }
}

@media only screen and (max-width: 1200px) {
  /* .navbar-toggler {
    border: none;
    background: transparent !important;
  }

  .navbar-toggler:focus {
    outline: none;
    background: transparent !important;
  }

  .navbar-toggler .icon-bar {
    background-color: #fff;
    transform: rotate(0deg) translate(0px, 0px);
    transition: ease all .2s;
  }

  .navbar-toggler .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
  }

  .navbar-toggler .icon-bar+.icon-bar {
    margin-top: 4px;
  }

  .icon-bar:nth-child(2) {
    width: 16px;
    transition: ease all .2s;
  }

  .navbar-toggler:hover>.icon-bar:nth-child(2) {
    width: 22px;
    transition: ease all .2s;
  }

  .navbar-toggler:active>.icon-bar:nth-child(2) {
    width: 22px;
    transition: ease all .2s;
  }

  .navbar-toggler:not(.collapsed) .icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
    transition: ease all .2s;
  }

  .navbar-toggler:not(.collapsed) .icon-bar:nth-child(2) {
    opacity: 0;
    transition: ease all .2s;
  }

  .navbar-toggler:not(.collapsed) .icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    transition: ease all .2s;
  }

  .sec-accent {
    background-color: #fafcf5;
  }

  .blue {
    background-color: #9999cc;
  } */

  header {
    right: 10%;
  }

  .service_1 {
    background-size: 133%;
    height: 380px;
  }

  .service_2 {
    background-size: 132%;
    height: 380px;
  }

  .service_3 {
    background-size: 138%;
    height: 380px;
  }

  .service_4 {
    background-size: 132%;
    height: 380px;
  }

  .service_4 #service_button {
    margin-top: 20px;
  }

  #service_button {
    margin-top: 0px;
  }

  .hero-image {
    height: 580px;
  }

  .navbar {
    text-align: center !important;
    width: 200px !important;
  }

  #main-nav li {
    border-bottom: 5px solid;
    border-color: transparent;
  }

  #main-nav li:hover {
    border-color: #bc1414;
  }

  .navbar-toggler {
    background-color: white;
    margin-bottom: 10px;
  }

  .hero-image2 {
    height: 450px; /* You must set a specified height */
  }
}

@media only screen and (max-width: 1000px) {
  #primary {
    margin-top: 50px !important;
    margin-bottom: 50px;
  }

  /* Brand */
  .brand h3 {
    font-size: 22px;
  }

  .brand p {
    font-size: 18px;
  }

  .hero-image {
    height: 450px;
  }

  #instagram_button {
    top: 55%;
    left: 50%;
    padding: 3px;
  }

  #main-nav #menu-main-menu li a {
    font-size: 16px;
  }
}

@media only screen and (max-width: 991px) {
  #page_title {
    margin-bottom: 40px;
  }

  #service_1_content {
    width: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    text-align: center;
  }

  #service_2_content {
    width: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    text-align: center;
  }

  #service_3_content {
    width: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    text-align: center;
  }

  #service_4_content {
    width: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    text-align: center;
  }

  #service_button {
    margin-top: 10px;
  }

  .contact {
    margin-top: 50px;
    margin-bottom: 30px;
  }

  .contact_icons {
    margin-top: 20px;
    font-size: 16px;
    margin-bottom: 20px;
  }

  .contact_icons #icon i {
    font-size: 25px;
  }

  #contact_section p {
    font-size: 14px;
  }

  #gallery-1 .gallery-item {
    float: left !important;
    width: 50% !important;
  }

  .footer #contact {
    text-align: center;
    padding-left: 0px;
    margin-bottom: 10px;
  }

  .footer #links {
    text-align: center;
    padding-left: 0px;
    margin-bottom: 10px;
  }

  .footer #social {
    text-align: center;
    padding-left: 0px;
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 991px) {
  #instagram_button {
    top: 55%;
    left: 20%;
  }
}

@media only screen and (max-width: 860px) {
  header {
    right: 5%;
  }

  #instagram_button {
    left: 22%;
  }
}

@media only screen and (max-width: 768px) {
  #gallery-1 .gallery-item {
    float: left !important;
    width: 100% !important;
  }

  .gallery-item img {
    height: 330px;
  }

  header {
    right: 10px;
  }

  .brand {
    left: 20px;
  }

  .hero-image2 {
    height: 510px;
  }
}

@media only screen and (max-width: 700px) {
  .hero-image {
    height: 580px;
  }

  .hero-image2 {
    height: 580px;
  }

  header {
    top: 36%;
    right: 34%;
  }

  .brand {
    width: 90%;
    top: 20px;
  }

  #instagram_button {
    top: 90%;
    left: 49%;
  }
}

@media only screen and (max-width: 670px) {
  header {
    right: 33%;
  }
}

@media only screen and (max-width: 610px) {
  header {
    right: 31%;
  }
}

@media only screen and (max-width: 580px) {
  header {
    right: 30%;
  }

  .biography img {
    min-width: 100%;
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 520px) {
  header {
    right: 28%;
  }
}

@media only screen and (max-width: 480px) {
  header {
    right: 26%;
  }

  .service_1 {
    background-size: 142%;
  }

  .service_2 {
    background-size: 142%;
  }

  .service_3 {
    background-size: 142%;
  }

  .service_4 {
    background-size: 142%;
  }
}

@media only screen and (max-width: 460px) {

  .service_1 {
    background-size: 145%;
  }

  .service_2 {
    background-size: 145%;
  }

  .service_3 {
    background-size: 145%;
  }

  .service_4 {
    background-size: 145%;
  }
}

@media only screen and (max-width: 440px) {
  .service_1 {
    background-size: 160%;
  }

  .service_2 {
    background-size: 160%;
  }

  .service_3 {
    background-size: 160%;
  }

  .service_4 {
    background-size: 160%;
  }
}

@media only screen and (max-width: 410px) {
  .service_1 {
    background-size: 180%;
  }

  .service_2 {
    background-size: 180%;
  }

  .service_3 {
    background-size: 180%;
  }

  .service_4 {
    background-size: 180%;
  }
}

@media only screen and (max-width: 400px) {
  header {
    right: 20%;
  }
}

@media only screen and (max-width: 384px) {
  #service_button {
    margin-top: 0px;
  }

  .service_1 {
    background-size: 190%;
  }
  .service_1:hover {
    background-size: 200%;
  }

  .service_2 {
    background-size: 190%;
  }
  .service_2:hover {
    background-size: 200%;
  }

  .service_3 {
    background-size: 190%;
  }
  .service_3:hover {
    background-size: 200%;
  }

  .service_4 {
    background-size: 190%;
  }
  .service_4:hover {
    background-size: 200%;
  }
}

@media only screen and (max-width: 370px) {
  header {
    right: 17%;
  }
}
