* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow: visible;
  background-color: #ffffff;
  align-items: normal;
  justify-content: space-between;
}

/* RESPONSIVENESS */
@media only screen and (max-width: 56.25em) {
  .heading-secondary {
    font-size: 3rem;
  }
}

@media only screen and (max-width: 37.5em) {
  .heading-secondary {
    font-size: 2.5rem;
  }
}
/* END OF RESPONSIVENESS */

.heading-secondary:hover {
  text-shadow: 0.5rem 1rem 2rem rgba(0, 0, 0, 0.2);
}
.u-center-text {
  text-align: center !important;
}

/* CARTONASE PARTENERI */
@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");
* {
  box-sizing: border-box;
}

#vibe-coffee{
  height: 26vh;
}

@media only screen and (max-width: 800px) {
  .sectiune {
    z-index: 10;
  }
  /* .footerParteneribility {
    z-index: 9;
  } */

}

.partenersContainer {
  width: 100%;
  max-width: 1250px;
  border-radius: 4px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partenersContent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 0 10px;
  gap: 60px;
}

.partenersWrapper {
  width: 35%;
  height: 290px;
  padding: 30px;
  box-shadow: 0 1.4px 1.7px rgba(0, 0, 0, 0.017),
    0 3.3px 4px rgba(0, 0, 0, 0.024), 0 6.3px 7.5px rgba(0, 0, 0, 0.03),
    0 11.2px 13.4px rgba(0, 0, 0, 0.036), 0 20.9px 25.1px rgba(0, 0, 0, 0.043),
    0 50px 60px rgba(0, 0, 0, 0.06);
  background-color: rgb(255, 255, 255);
  transition: all 0.2s ease-out;
  border: 1px solid #6abec5d6;
  border-radius: 20px;
}

#particles-js {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  position: fixed;
  z-index: -2;
}

.box {
  position: relative;
  height: 90%;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  transition: all 0.2s ease-out;
}

.box img {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  border-radius: 20px !important;
}


#beraria-h{
  width: 10vw;
}

/* ANIMATIE TEXT CARTONAS */

.flip-card {
  perspective: 1000px;
  width: 35%;
  height: 290px;
  text-decoration: none; 
  color: inherit; 
  display: flex; 
  flex-direction: column;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
  backface-visibility: hidden;
}

.flip-card-front,
.flip-card-back {
  position: absolute; 
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 1px solid #6abec5d6;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
  background-color: white;
  z-index: 2;
    max-width: 100%;
}

.flip-card-front p {
  text-align: center;
  color: rgba(4, 150, 157, 1);
  font-size: 20px;
  letter-spacing: 1px;
}

.flip-card-back {
  background-color: rgba(4, 150, 157, 0.1);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.flip-card-back p {
  font-size: 12px;
  color: rgba(4, 120, 130, 1);
  padding: 10px;
  line-height: 1.5;
}
#the-void-card .box, #cream-dream-card .box {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  text-align: center; 
}

#the-void img{
  display: block;
  margin: 0 auto; 
  max-width: 100%;
  height: 180px;
  
}

#cream-dream img {
  padding-top: 20px;
  display: block;
  margin: 0 auto; 
  max-width: 100%;
}

#the-void-card .box p, #cream-dream-card .box p {
  margin-top: 10%;
  font-size: 20px; 
  max-height: 100%; 
}

/* END OF ANIMATIE TEXT DE PE SPATE CARTONAS*/

.partenersWrapper p {
  text-align: center;
  margin-top: 10px;
  color: rgba(4, 150, 157, 1);
  font-size: 20px;
  letter-spacing: 1px;
}

.partenersWrapper:hover {
  box-shadow: 0px 4px 8px rgba(4, 150, 157, 0.342);
  transform: translate3d(0, -30px, 0);
  top: -20px;
  cursor: pointer;
  transition: all 0.2s ease-out;
  border: 1px solid #6abec5d6;
  border-radius: 20px;
}

/* RESPONSIVENESS */

@-moz-document url-prefix() {
  .flip-card-front,
  .flip-card-back {
    padding: 13px;
  }
}

@media screen and (max-width: 880px) {
  .flip-card {
    perspective: 1000px;
    width: 350px;
    height: 290px;
    text-decoration: none; 
    color: inherit; 
    display: flex; 
    flex-direction: column;
  }
  .partenersWrapper {
    width: 50%;
  }


  .sectiune {
    aspect-ratio: 10/1;
    width: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 5;
    height: fit-content;
    img {
      height: 100%;
      width: 100%;
    }
  }

  #beraria-h{
    width: 18vw;
  }

  #cream-dream{
    width: 75vw !important;
  }

  #the-void img, #cream-dream img {
    max-width: 100%;
    height: auto;
  }

  .flip-card-front p {
    font-size: 1.3rem !important;
    padding-top: 10%;
  }

  .flip-card-inner{
    width: 50%;
  }
    
  #the-void-card, #cream-dream-card{
    align-items: center;
  }

  .flip-card-back{
    visibility: hidden;
  }

  .flip-card:hover .flip-card-inner {
    transform: none; 
  }
}

@media screen and (min-width: 767px) and (max-width: 820px){ /* iPad */
  #the-void-card .box p, #cream-dream-card .box p {
    padding-top: 0%;
  }

  #the-void img, #cream-dream img {
    max-width: 90%;
  }

  #vibe-coffee {
    max-height: 21.5vh;
  }

  .flip-card-back p{
    font-size: 1.1rem;
  }

  .flip-card-back{
    visibility: hidden;
  }

  .flip-card:hover .flip-card-inner {
    transform: none; 
  }
}

@media screen and (min-width: 1024px) and (min-height: 1366px) { /* iPad Pro */
  #vibe-coffee{
    max-height: 19vh;
  }

  .flip-card-inner img{
   height: 10vh;
  }

  .flip-card-front p{
    padding-top: 10%;
  }

  .flip-card-back p{
    font-size: 1.1rem;
  }

  .flip-card-back{
    visibility: hidden;
  }

  .flip-card:hover .flip-card-inner {
    transform: none; 
  }
  
}

@media screen and (max-width: 520px) {
  .partenersWrapper {
    width: 100%;
  }


  #the-void, #cream-dream{
    width: 30vw;
  }
}


/* END OF RESPONSIVENESS */

.title-carduri {
  font-size: 36px;
  color: rgb(9, 130, 155);
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.5;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

/* RESPONSIVENESS */
@media (min-width: 400px) and (max-width: 1200px) {
  .box {
    box-shadow: none;
  }

@media (min-width: 10px) and (max-width: 400px) {
  .box {
    box-shadow: none;
  }

}

}
/* END OF RESPONSIVENESS */

/* .footerParteneri {
  overflow: hidden;
  bottom: 0;
} 
.partenersContainer {
  margin-top: 2rem;
  margin-bottom: 0.2vw;
} 

/* RESPONSIVENESS */
@media only screen and (max-width: 1150px) {


  .flip-card-inner{
    width: 100%;
  }
}



@media (min-width: 900px) and (max-width: 1150px) {
  footer {
    margin-top: 8rem;
  }

}
/* END OF RESPONSIVENESS */

.titlu {
  font-size: 2rem;
  text-align: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 5000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  max-height: 100%;
}

/* RESPONSIVENESS */
@media only screen and (max-width: 37.5em) {
  .modal-content {
    width: 85%;
  }
  .cauza {
    display: flex;
    flex-direction: column;
  }
}
/* END OF RESPONSIVENESS */


/* FULGII DE ZAPADA */
#particles-js {
  position:fixed;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -2;
  top: 0;
  left: 0;
}

::-webkit-scrollbar-thumb {
  background: #ffbc80;
}