/* 
#EFDC7D
*/
@charset "UTF-8";

@font-face {
  font-family: 'Gabriela';
  src: url('../fonts/Gabriela-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  /* Helps prevent invisible text while loading */
}

body {
  font: 400 15px Gabriela, sans-serif;
  line-height: 1.6;
  /* letter-spacing: 1px; */
  color: #818181;
  background-color: #EFDC7D;
}

h2 {
  font-size: 24px;
  text-transform: uppercase;
  color: #303030;
  font-weight: 600;
  margin-bottom: 30px;
}

h4 {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.375em;
  color: white;
  margin-bottom: 30px;
}

#main {
  background-image: url("../images/office.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 100vh;
}

section {
  margin-bottom: 4px;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  opacity: 0;
  transition: opacity 2.5s ease-in;
  text-align: center;
  padding: 0 4rem;
}

.hero-title.is-visible {
  opacity: 1;
}

.main-title {
  color: #EFDC7D;
  font-weight: bold;
  font-size: 3rem;
}

p#title {
  margin-bottom: 45px;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  color: #EFDC7D;
  padding-left: 15px;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.phone-numbers {
  display: flex;
  gap: 3.5rem;
}

#card {
  background-color: rgb(18, 29, 37, 0.5);
  padding: 2rem;
  border-radius: 0.2rem;
  border: 0.2rem solid;
  text-align: center;
  margin: auto;
  width: 50%;
}

.container-fluid {
  padding: 60px 50px;
}

#about-us {
  background-image: url("../images/knjige1.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
}

#lawyers_img {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
}

.description {
  color: #EFDC7D;
  text-align: justify;
  padding-top: 2rem;
}

#our-team {
  background-image: url("../images/justicija2.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
}

.lawyers {
  display: flex;
  justify-content: flex-end;
  gap: 7%;
  text-align: center;
}

.lawyer-img {
  height: 70vh;
  border-radius: 0.5rem;
}

.lawyer-description {
  color: #EFDC7D;
  text-align: center;
  font-size: 2rem;
  letter-spacing: 1px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

#services {
  background-image: url("../images/stubovi1.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
}

.flex-grid {
  display: grid;
  /* Creates three equal-width columns that are responsive */
  grid-template-columns: repeat(5, 1fr);
  justify-content: space-around;
  gap: 1rem;
  margin-top: 1rem;
}

.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(18, 29, 37, 0.5);
  padding: 1.5rem;
  border-radius: 1rem;
  color: white;
}

.icon-wrapper img {
  width: 100px;
  height: 100px;
}

.icon-wrapper p {
  text-align: left;
}

.logo-wrapper {
  display: flex;
  gap: 1rem;
}

.header-title {
  align-content: flex-end;
  color: #EFDC7D;
  font-size: 1.3rem;
}

.navbar {
  margin-bottom: 0;
  background-color: #121d25;
  z-index: 9999;
  border: 0;
  font-size: 12px !important;
  line-height: 1.42857143 !important;
  letter-spacing: 4px;
  border-radius: 0;
}

.navbar-padding {
  padding: 10px 25px;
}

.navbar li a,
.navbar .navbar-brand {
  color: #EFDC7D !important;
  border: 2px solid transparent;
  margin-left: 5px;
}

.navbar-nav li a:hover,
.navbar-nav li.active a {
  border: 2px solid #EFDC7D;
  border-radius: 4px;
  transition: ease-in 0.3s;
  background-color: transparent;
}

.navbar-default .navbar-nav>.active>a:hover {
  background-color: #EFDC7D;
  color: #121d25 !important;
  font-weight: bold;
}

.navbar-default .navbar-nav>.active>a {
  background-color: transparent;
}

.navbar-default .navbar-toggle {
  border-color: transparent;
  color: #fff !important;
}

section#contact {
  background-color: #121d25;
  color: #EFDC7D;
}

section#contact h2 {
  color: #EFDC7D;
}

.location iframe {
  border-radius: 0.5rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-details div {
  text-align: center;

}

.contact-details span.glyphicon {
  font-size: 2.2rem;
}

footer {
  background-color: #121d25;
}

footer .glyphicon {
  font-size: 20px;
  margin-bottom: 20px;
  color: #f4511e;
}

.slideanim {
  visibility: hidden;
}

.slide {
  animation-name: slide;
  -webkit-animation-name: slide;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  visibility: visible;
}

@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(70%);
  }

  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

@-webkit-keyframes slide {
  0% {
    opacity: 0;
    -webkit-transform: translateY(70%);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0%);
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    padding: 0 1rem;
  }

  .main-title {
    font-weight: bold;
    font-size: 1.5rem;
  }

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

@media only screen and (max-width: 600px) {
  #main {
    height: 50vh;
  }

  .container-fluid {
    padding: 15px 15px;
  }

  .flex-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
  #main {
    height: 70vh;
  }
  
  .flex-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .col-sm-4 {
    text-align: center;
    margin: 25px 0;
  }

  .lawyers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
}

@media screen and (min-width: 768px) {
  .nav.navbar-nav.menu {
    display: flex;
    margin-left: 4%;
    /* justify-content: center; */
    /* flex-wrap: wrap;
    float: none;*/
    /* Remove default float */
  }

  .navbar-nav>li {
    float: none;
    /* Remove float from list items */
  }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
  #our-team {
    background-image: none;
    background-color: #0c0b0c;
  }

  .lawyers {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10%;
  }

  .lawyer-img {
    height: 50vh;
  }

  .flex-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 992px) {
  #our-team {
    background-image: none;
    background-color: #0c0b0c;
  }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
  .flex-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .lawyer-img {
    height: 50vh;
  }

  .flex-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}