
:root {
  --light-color: #fff;
  --dark-color: #1a1e25;
  --red-color: #ec1c23;
  --header-color: #ffffffd2;
  --acrylic-dark: #00000049;
  --com-font-size: 1rem;
  --com-font-family: 
}

body {
  --text-color: #2b2e31;
  --bkg-color: #fff;
  --header-color: #ffffffd2;
}
body.dark-theme {
  --text-color: #eee;
  --bkg-color: #272727;
  --header-color: #000000d2;
}

@media (prefers-color-scheme: dark) {
  /* defaults to dark theme */
  body {
    --text-color: #eee;
    --bkg-color: #272727;
    --header-color: #000000d2;
    --red-color: #ec1c23;
    --acrylic-color: #00000049;
  }
  body.light-theme {
    --text-color: #2b2e31;
    --bkg-color: #fff;
    --acrylic-color: #ffffff49;
    --header-color: #ffffffd2;
  }
}

body {
  
  background: var(--bkg-color);
  color: var(--text-color);
  font-size: var(--com-font-size);
}

table{
  color: var(--text-color);
}

#header{
  transition: all 0.5s;
  z-index: 997;
}

#header.header-scrolled, #header.header-inner-pages{
  background-color: var(--header-color);
}

footer{
  color: white;
}
footer a{
  color: white;
  font-size: 1.15rem;
}

::selection{
  background-color: #eb1c23;
  color: rgb(255, 255, 255);
}


a{
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
}
a:hover{
  color: var(--red-color);
}

.navbar-light .navbar-nav .nav-link{
  color: var(--text-color);
  font-weight: 500;
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgb(0 0 0 / 0%);
  position: relative;
  overflow: hidden;
}
.navbar-light .navbar-nav .nav-link:before{
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: var(--color);
  height: 2px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link{
  /* border-bottom: 3px solid var(--color); */
  color: #ec1c23;
}
.navbar-light .navbar-nav .nav-link:hover:before, .navbar-light .navbar-nav .nav-link:focus:before{
  color: #ec1c23;
  right: 0;
}

.hvr-underline-left{
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  position: relative;
  overflow: hidden;
}
.hvr-underline-left:before{
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: var(--color);
  height: 3px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-underline-left:hover:before, .hvr-underline-left:focus:before, .hvr-underline-left:active:before{
  right: 0;
}

.acrylic{
  backdrop-filter: saturate(200%) blur(25px);
  background-color: var(--acrylic-color);
}

.acrylic-shadow{
box-shadow: inset 0 0px 1px 1px rgb(254 254 254 / 20%), -6px 0px 27px 0 rgb(0 0 0 / 15%) !important;
}


.card {
  background-color: var(--bkg-color);
}
.card-img-top{
  height: 250px;
  object-fit: cover;
  border-radius: 1rem;
}

.offcanvas-end{
  width: 350px;
}



.form-control{
  background-color: #ffffff70;
  border: 1px solid #9797978c;
}
.form-label{
  color: var(--text-color);
}
.current{
  color: var(--red-color);
}
.back-to-top{
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: var(--red-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}
.back-to-top.active{
  visibility: visible;
  opacity: 1;
}

.client{
  width: 150px;
  height: fit-content;
}

/* hover effects */
.hvr2{
  transition: .3s all ease-in-out;
}
.hvr2:hover{
  transform: translateY(16px);
  transition: .3s all ease-in-out;
}
@media screen and (max-width: 980px) {
  .navbar-collapse{
    background-color: var(--header-color);
    padding: 12px;
  }
}
/* component */
.img-top{
  height: 350px;
  object-fit: contain;
}

/* utilities */
.rounded-4{
  border-radius: 1.35rem;
}
.img-cover{
  object-fit: cover;
}
/* Background */
.bg-grey-100{
  background-color: #e7e7e7 !important;
}