/*
Theme Name: Lawyer X
Description: A custom theme for lawyer x website
Version: 1.0
Author: Bojan Susic
*/

:root {
  --primary-color: #c2b697;
  --black-color: #47414f;
  --black-color-2: #2a2e31;
  --text-color: #686868;
  --heading-two-color: #47414f;
  --top-heading-text-color: #2a2e31;
  --paragraph-color: #c1c1c1;
}

body {
  font-family: "DM Sans", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 30px;
}

.custom-container {
  max-width: 1254px;
}

strong{
  font-weight: 600;
}

h1 {
  font-size: 85px;
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  line-height: 95px;
}

h2 {
  font-size: 70px;
  font-family: "Playfair Display", sans-serif;
  color: var(--black-color);
  font-weight: 400;
  line-height: 80px;
  margin: 0;
}

h3 {
  font-size: 30px;
  font-family: "Playfair Display", sans-serif;
}

h4{
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
}

p {
  font-size: 1.125rem;
  font-weight: 300;
  margin: 0;
  line-height: 30px;
}

a:hover {
  color: inherit !important;
}

.body-font {
  color: var(--top-heading-text-color);
  font-family: DM Sans, sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.875rem;
}
.btn {
  color: #2a2e31;
  background-color: #c2b697;
  border-color: #c2b697;
  border-radius: unset;
  padding: 12px 35px;
  font-size: 15px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 2.4px;
  text-decoration: none;
}

.btn:hover , .btn:focus{
  background-color: transparent;
  color: #c2b697!important;
  border-color: #c2b697;
  box-shadow: none;
}
.sub-heading-two {
  color: var(--heading-two-color);
  flex: 1;
  justify-content: flex-start;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Playfair Display, sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 3.125rem;
  display: flex;
}

.text-paragraph,
.text-paragraph:hover {
  color: var(--paragraph-color);
}

.text-primary {
  color: var(--primary-color) !important;
}


body:not(.block-editor-page) .fade-in-bottom {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

body:not(.block-editor-page) .fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
body:not(.block-editor-page) .fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
body:not(.block-editor-page) .fade-in-top {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
body:not(.block-editor-page) .opacity-0-animate {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.animate {
  opacity: 1 !important;
  transform: translateX(0) translateY(0) rotateX(0deg) scale(1) !important;
}

@media (max-width: 991px) {
  h1 {
    font-size: 55px;
    line-height: 65px;
    margin: 0;
  }

  h2 {
    font-size: 50px;
    line-height: 60px;
  }
}

@media (max-width: 576px) {

  .sub-heading-two{
    font-size: 1.9rem;
    line-height: 2.5rem;
  }
  h1 {
    font-size: 2.5rem;
    line-height: 3.125rem;
  }
  h2 {
    font-size: 41px;
    line-height: 51px;
  }
}
