.stonebridge p::after {
  content: "";
  display: inline-block;
  background: url("./index/assets/stonebridge.jpg") no-repeat;
  background-size: contain;
  background-position: 0px 0px;
  width: 50px;
  height: 50px;
  margin-left: 5px;
  vertical-align: middle;
  position: absolute;
  top: -20px;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

  body,html {
    margin: 0;
    padding: 0;
    height:100%;
    width:100vw;
    overflow-y:unset;
    overflow-x:hidden;
  }
  body
  { overflow:unset;}
/* Define the transition for the page container */
#page-container {
  transition: opacity 0.3s ease-in-out;
}

.page-content {
  height: 63%;
  contain: strict;
}

.main-footer {
  height: 30%;
  /*rezolvare footer*/ 
  contain: layout;
  background-color: black;
  transition: transform 0.3s ease-in-out;
  transform: translateY(0);
}
.row-footer{
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.container-fluid-footer{
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}


.slide-up {
  transform: translateY(100%);
}


.main-footer a {
  text-decoration: none;
}

.pages {
  margin-bottom: 0px;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.pages:hover {
  margin-bottom: 0px;
  color: #f3ba17;
}

.pages-header:hover {
  color: #f3ba17;
}

.address {
  margin-bottom: 0px;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
  color: #4b4b4b;
  width:100%;
  display:block;
}

.address:hover {
  margin-bottom: 0px;
  color: #47a8de;
}


.address-header:hover {
  color: #47a8de;
}

.contact {
  margin-bottom: 0px;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.contact:hover {
  margin-bottom: 0px;
  color: #3f78ba;
}

.contact-header:hover {
  color: #3f78ba;
}

nav a:first-of-type p:before {
  content: "";
  display: inline-block;
  background: url("./index/assets/logomenuhms3.png") no-repeat;
  background-size: contain;
  background-position: 0px 0px;
  width: 27px;
  height: 27px;
  margin-right: 5px;
  vertical-align: middle;
  margin-top: -2px;
}

.page-transition {
  opacity: 0;
}

.footer-container {
  bottom: -3px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 3fr);
  grid-gap: 100px;
  background-color: black;
}

.footer-column {
  text-align: center;
  color: rgb(214, 214, 214);
  font-size: 12px;
  padding-top: 60px;
  color: #4b4b4b;
}

.footer-column h1 {
  font-size: 25px;
  padding-bottom: 10px;
  color: #a0a0a0;

}

.lang-footer{
  /*alniere translate div*/
  right: 3.2vh;
}

.copyright {
  position: relative;
  bottom: -5px;
  width: 100%;
  text-align: center;
  background-color: black;
  padding: 0px;
  font-size: 0.8em;
  box-sizing: border-box;
  font-family: 'Maven Pro';
  color: rgb(255, 255, 255);
}

@media screen and (max-height: 767px) {
    .copyright {
      bottom: -28px;
  }
}
@media screen and (max-width: 767px) {

  body,
  html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
  }

  .page-content {
    height: unset;
    contain: none;
  }

  .main-footer {
    height: unset;
    contain: none;
    background-color: black;
  }

  .footer-container {
    flex-direction: column;
    align-items: left;
    display: list-item;
    padding: 0px;
    bottom: 0px;
  }
  .footer-column {
    padding: 20px;
    text-align: left;
    margin-bottom: 10px;
    padding-top: 40px;
  }
  .footer-column h1 {
    font-size: 25px;
    padding-bottom: 5px;
    color: #a0a0a0;
  }

  .footer-column:nth-child(2) h1 {
    margin-top: 30px;
  }
}

:root {
  --underline-height: .5em;
  --transition-duration: .5s;
}

nav {
  position: sticky;
  white-space: nowrap;
  background: rgb(0, 0, 0);
  margin: 0;
  box-shadow: 0 1em 2em rgba(0, 0, 0, 0.05);
  top: 0;
  z-index: 3;
  overflow: hidden;
  height: 7%;
  contain: strict;
}

nav a {
  text-decoration: none !important;
  color: rgb(255, 255, 255);
  display: inline-block;
  z-index: 10;
  width: 20%;
  padding: 1em 0;
  text-align: center;
  cursor: pointer;
  font-family: 'Maven Pro';
  font-size: 122%;
}
nav a:hover {
  color: rgb(255, 255, 255);
}
nav p {

  color: rgb(255, 255, 255);
  margin-top: 0;
  margin-bottom: 1rem;
}

.underline {
  display: block;
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  height: var(--underline-height);
  width: 20%;
  background-color: #3f78ba;
  pointer-events: none;
  /* mix-blend-mode: multiply; */
  transition: transform var(--transition-duration) ease-in-out;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.underline:nth-child(1) {
  background-color: #f3ba17;
  transition: calc(var(--transition-duration) * 0.8);
}

.underline:nth-child(2) {
  background-color: #47a8de;
  transition: calc(var(--transition-duration) * 1.2);
}

.underline:nth-child(3) {
  background-color: white;
}

/* FOOTER CARD */
.footer-spacer {
  height: 40px;
  background-color: white;
  /* Adjust this value to control the space between the footer and the rest of the page */
}

.card-transition p {
  margin-bottom: 0px;
  z-index: 2;
  color: white;
  font-family: 'Maven Pro';
  text-align: center;
}

.card-transition:hover {
  filter: brightness(0.7);
  transition: 0.5 ease-in;
  cursor: pointer;
}
@keyframes moving-gradient {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 300% 0;
  }
}
.card-transition {
  transition: filter 0.3s ease;
  position: absolute;
  z-index: 2;
  border-radius: 10px;
  padding: 20px;
  max-width: 40vw;
  /* Adjust this value according to your desired card width, 40/38*/
  box-sizing: border-box;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0px;
  width: 90%;
}
@media screen and (max-width:767px){
.card-transition{
  max-width: 90vw; 
}
}
.card-transition::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -7px;
  right: -7px;
  bottom: -7px;
  background: linear-gradient(45deg,
      #47a8de 0%,
      #3f78ba 30%,
      #f3ba17 60%,
      #f3ba17 70%,
      #3f78ba 90%,
      #47a8de 100%);
  background-size: 300% 300%;
  background-position: 0 0;
  border-radius: 14px;
  /* To match the border-radius of the card */
  animation: moving-gradient 20s linear infinite;
  z-index: -1;
}
.succes::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -7px;
  right: -7px;
  bottom: -7px;
  background: linear-gradient(45deg,
      #43dac0 0%,
      #38b891 30%,
      #17f37a 60%,
      #17f34e 70%,
      #3fba6e 90%,
      #47de4f 100%);
  background-size: 300% 300%;
  background-position: 0 0;
  border-radius: 14px;
  /* To match the border-radius of the card */
  animation: moving-gradient 20s linear infinite;
  z-index: -1;
}
/*sectiunea de navbar pt mobil*/


.navbar-links p {
  color: darkgray;

}

.active3 {
  letter-spacing: 0.2vh;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #f3ba17;
  margin: 5px;
  transition: all 0.3s ease;
}

.burger {
  display: none;
}

nav p {
  filter: opacity(1);
  color: white;
  margin-top: 0;
  margin-bottom: 4px;

}

.linia-intre-cuvinte {
  margin-top: 1rem;
  display: none;
  width: 20%;
  background-color: #f3ba17;
  box-shadow: 0px -1px 2px rgba(243, 184, 23, 0.658),
    0px -2px 4px rgba(243, 184, 23, 0.658),
    0px -4px 8px rgba(243, 184, 23, 0.658),
    0px -8px 16px rgba(243, 184, 23, 0.658);
  margin-bottom: 1rem;
  border: 0;
  opacity: 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.linia-intre-cuvinte1 {
  margin-top: 1rem;
  display: none;
  width: 20%;
  background-color: #47a8de;
  box-shadow: 0px -1px 2px rgba(71, 168, 222, 0.658),
    0px -2px 4px rgba(71, 168, 222, 0.658),
    0px -4px 8px rgba(71, 168, 222, 0.658),
    0px -8px 16px rgba(71, 168, 222, 0.658);
  margin-bottom: 1rem;
  border: 0;
  opacity: 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.linia-intre-cuvinte2 {
  margin-top: 1rem;
  display: none;
  width: 20%;
  background-color: #3f78ba;
  box-shadow: 0px -1px 2px rgba(63, 121, 186, 0.658),
    0px -2px 4px rgba(63, 121, 186, 0.658),
    0px -4px 8px rgba(63, 121, 186, 0.658),
    0px -8px 16px rgba(63, 121, 186, 0.658);
  margin-bottom: 1rem;
  border: 0;
  opacity: 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.linia-intre-cuvinte3 {
  margin-top: 1rem;
  display: none;
  width: 20%;
  background-color: #2b3d4f;
  box-shadow: 0px -1px 2px rgba(43, 61, 79, 0.658),
    0px -2px 4px rgba(43, 61, 79, 0.658),
    0px -4px 8px rgba(43, 61, 79, 0.658),
    0px -8px 16px rgba(43, 61, 79, 0.658);
  margin-bottom: 1rem;
  border: 0;
  opacity: 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.linia-intre-cuvinte4 {
  margin-top: 1rem;
  display: none;
  width: 20%;
  background-color: #07713e;
  box-shadow: 0px -1px 2px rgba(7, 113, 62, 0.658),
    0px -2px 4px rgba(7, 113, 62, 0.658),
    0px -4px 8px rgba(7, 113, 62, 0.658),
    0px -8px 16px rgba(7, 113, 62, 0.658);
  margin-bottom: 1rem;
  border: 0;
  opacity: 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

@media screen and (max-width: 768px) {
  .linia-intre-cuvinte {
    display: block;
  }

  .linia-intre-cuvinte1 {
    display: block;
  }

  .linia-intre-cuvinte2 {
    display: block;
  }

  .linia-intre-cuvinte3 {
    display: block;
  }

  .linia-intre-cuvinte4 {
    display: block;
  }

  #mobil1 {
     display: none;
   }

  .navbar-links a {
    opacity: 0;
    padding: 2vh 0 0 0;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  .mobil {
    display: block;
    position: absolute;
    left: 2%;
    padding: 1.9vh 0;
    letter-spacing: 0.6vw;
    font-size: 2.1vh;
  }

  .mobil p {
    color: white;
  }

  .menu-disktop {
    display: none;
  }

  .burger:hover .linia1 {
    background-color: #f3ba17;
  }

  .burger:hover .linia2 {
    background-color: #47a8de;
  }

  .burger:hover .linia3 {
    background-color: #3f78ba;
  }

  
  .burger {
    display: block;
    position: absolute;
    right: 5%;
    top: 25%;
  }

  .underline {
    display: none;
  }

  nav {
    white-space: nowrap;
    background: black;
    margin: 0;
    position: relative;
    box-shadow: 0 1em 2em rgba(0, 0, 0, 0.05);
    top: 0;
    height: max(50.4px, 7vh);
    z-index: 5;
    contain: inherit;

  }


  .navbar-links {
    position: fixed;
    right: 0px;
    width: 100%;
    height: 100vh;
    top: 6.88vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: rgba(117, 112, 98, 0.2);
    
    backdrop-filter: blur(9px);
    transform: translateX(100%);
    transition: transform 0.65s ease-in;
    align-items: center;
  }
}

.nav-active {
  transform: translateX(0%);
}

.active1 {
  font-size: 6vw;
}

.active2 {
  width: 100%;
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .linia1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .linia2 {
  opacity: 0;
}

.toggle .linia3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

.edg{
  top: 2vh;
  color: #07713e;
}
