body {
  width: 100%;
  background-color: #ffffff;
}

#donatii{
  margin-top: 2rem;
}
/* carduri-evenimente + cauza */
.container-cauza {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.container-cauza h1{
  font-size: 36px;
  color: black;
}

.Retrospectivă{
  margin-top: 4rem;
}

.poza-cauza{
  position: absolute;
  top: 6.8rem;
  left: 0.8rem;
}

.cauza {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
  gap: 1rem;
}

.case-card {
  background: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.423);
  max-width: 700px;
  width: 96%;
}

.img-cauza {
  width: 700px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0px 16px 40px 0px rgba(0, 0, 0, 0.423);
}

.paragraf-cauza {
  text-align: justify;
  color: #09829b;
}

.cauze-anterioare {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.container-cauze-anterioare {
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 9rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 5rem;
}

.container-cartonas {
  background-color: transparent;
  width: 20rem;
  perspective: 1000px;
}

.cartonas {
  
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  color: #ffffff;
  height: 450px;
  background-color: transparent;
}

.cartonas-fata,
.cartonas-spate {
  box-shadow: 0px 20px 60px 10px #09829b;
  position: absolute;
  background-color: #6abec5;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 1rem;
  display: flex;
  padding: 1rem;
  justify-content: space-between;
  align-items: end;
}

.cartonas-titlu {
  position: relative;
  text-align: left;
}

.container-cartonas:hover .cartonas {
  transform: rotateY(180deg);
}

.cartonas-spate {
  background-color: #6abec5;
  color: #ffffff;
  justify-content: space-between;
  align-items: center;
  display: flex;
  flex-direction: column;
  transform: rotateY(180deg);
}

.cartonas-spate p {
  margin: 0.5rem;
}

.cartonas-fata,
.cartonas-spate {
  align-items: center;
  display: flex;
  flex-direction: column;
  align-items: end;
  border-radius: 1rem;
}

.cartonas-fata h2 {
  font-size: 1.3rem;
  margin-top: 0.5rem;
  width: 13rem;
  margin-right: 5rem;
}


.cartonas-fata img {
  width:21rem;
  margin-top: -3.9rem;
}

.card__button {
  padding: 10px 20px;
  color: #fff;
  background: linear-gradient(
    132deg,
    rgba(0, 177, 178, 1) 22%,
    rgba(0, 140, 186, 1) 75%
  );
  border-radius: 20rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: -5rem;

  display: flex;
  justify-content: center;
  align-items: center;
}

.card__button:hover {
  transform: scale(1.1);
}

/* sfarsit cartonase*/

.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.7);
  overflow: hidden;
  max-height: 100%;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  border: 1px solid #888;
  padding: 2rem;
  z-index: 10;
  font-size: 16px;
  width: 70%;
  text-align: justify;
  overflow-y: auto;
  color: #09829b;
}

.rounded-corners {
  border-radius: 2rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: auto;
}

.closeModal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closeModal:hover,
.closeModal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
#myBtn02,
#myBtn12,
#myBtn22,
#myBtn32,
#myBtn42,
#myBtn52,
#myBtn62,
#myBtn72 {
  display: none;
}

@media only screen and (max-width: 450px) {
  .cartonas-fata{
    margin-left: 0.75rem;
    margin-top: 1rem;
  }

  .poza-cauza{
    top:11rem;
  }

  .cartonas-fata img, 
  .cartonas-fata h2 {
    width: 95% !important; 
    height: auto; 
    margin-right: 1.25rem;
  }

  .container-cauze-anterioare {
    gap: 12rem;
    margin-bottom: 10rem;
  }

  .modal-content {
    height: 85%;
    width: 85%;
  }
  #myBtn02,
  #myBtn12,
  #myBtn22,
  #myBtn32,
  #myBtn42,
  #myBtn52,
  #myBtn62,
  #myBtn72 {
    display: flex;
    position: absolute;
    bottom: 2rem;
  }

  .container-cartonas:hover .cartonas {
    transform: none;
  }

  .paragraf-cauza {
    font-size: 1rem;
  }

  .cauza {
    display: flex;
    flex-direction: column;
  }

  .case-card {
    padding: 2rem 1rem;
  }

  .card__button {
    height: 4rem;
    width: 4rem;
  }

  .card__button p {
    display: none;
  }

  .card__button i {
    display: block;
  }

  .img-cauza {
    /* order: -1; */
    width: 345px;
  }

  .container-cartonas {
    height: 46vh;
  }
}

.container-info {
  display: inline;
  flex-direction: row;
  justify-content: space-between;
  transition: rotate(40px);
  width: 100%;
  overflow: hidden;
}

.container__image {
  z-index: 99;
  height: 30rem;
  margin: 0px;
  margin-top: 30vh;
  margin-left: -9vh;
  float: left;
  transform: rotate(28deg);
}

section {
  margin-bottom: 2rem;
}
