*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

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

.body__cauza {
  background-color: #6abec5;
}

::selection {
  background-color: #6abec5;
  color: #fff;
}

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  background-color: #ffffff;
}

.container-evenimente {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  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: 1200px;
  border-radius: 0.5rem;
}

.cartonas {
  box-shadow: 0px 16px 40px 0px rgba(0, 0, 0, 0.423);
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  color: #fff;
  height: 450px;
  border-radius: 0.5rem;
}

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

.cartonas-fata,
.cartonas-spate {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 0.5rem;
}

.cartonas-spate {
  background-color: #fff;
  color: #000;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  transform: rotateY(180deg);
}

.cartonas-fata img {
  width: 18rem;
  height: auto;
  margin-top: 6rem;
}

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

.cartonas-fata {
  align-items: center;
  display: flex;
  flex-direction: column;
  background: linear-gradient(90deg,
      rgb(8, 183, 192) 0%,
      rgba(4, 150, 157, 1) 38%,
      rgb(2, 97, 102) 100%);
  color: snow;
}

.cartonas-fata h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

.card__button {
  display: inline-block;
  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;
}

.card__button:hover {
  transform: scale(1.1);
  box-shadow: 13px 23px 28px -6px rgba(10, 193, 230, 0.5);
}

.heading-primary {
  color: #000;
  text-transform: uppercase;
  backface-visibility: hidden;
  margin-bottom: 6rem;
}

.heading-primary--main {
  display: block;
  font-size: 6rem;
  font-weight: 400;
  letter-spacing: 1rem;
  background-color: #62c4b5;
  -webkit-background-clip: text;
  animation-name: moveInLeft;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

.heading-primary--sub {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1.75rem;
  animation: moveInRight 1s ease-out;
}

.div-button a{
  text-decoration: none;
}

.button-inscriere {
  size: 100rem;
  width: 10rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 2rem;
  padding: 0.5rem;
  margin: auto;
  background-color: #6abec5;
  border: #09829b;
  font-family: "Poppins";
  margin-top: 2rem;
  font-size: 1.2rem;

}

.button-inscriere:hover {
  transform: scale(1.1);
  background-color: #09829b;
}

.evenimente-sportive {
  display: flex;
  flex-direction: column;
  gap: 1rem;

}

@media only screen and (max-width: 37.5em) {
  .heading-primary--sub {
    letter-spacing: 0.5rem;
  }
}

.heading-secondary {
  font-size: 3.5rem;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  background-image: linear-gradient(to right, #6abec5, #09829b);
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 0.2rem;
  transition: all 0.2s;
}

@media only screen and (max-width: 1500px) {
  .heading-secondary {
    font-size: 3rem;
  }
}

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

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

.heading-tertiary {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
}

.paragraph {
  margin-top: 10rem;

  top: 30%;
  font-size: 1.6rem;
}

.paragraph:not(:last-child) {
  margin-bottom: 3rem;
}

.u-center-text {
  text-align: center !important;
}

.u-margin-bottom-small {
  margin-bottom: 1.5rem !important;
}

.u-margin-bottom-medium {
  margin-bottom: 4rem !important;
}

.u-margin-bottom-big {
  margin-bottom: 8rem !important;
}

@media only screen and (max-width: 1500px) {
  .u-margin-bottom-big {
    margin-bottom: 5rem !important;
  }

  .u-margin-bottom-medium {
    margin-bottom: 3rem !important;
  }
}

.u-margin-top-big {
  margin-top: 8rem !important;
}

.u-margin-top-huge {
  margin-top: 10rem !important;
}

.button {
  display: inline-block;
  padding: 10px 14px;
  margin-top: 10px;
  margin-right: 5px;
  min-width: px;
  background: white;
  border: none;
  outline: none;
  color: rgb(0, 0, 0);
  font-family: inherit;
  font-weight: 400;
  font-size: 13px;
  border-radius: 100px;
}

/* cards evenimente + cauza */

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

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  height: fit-content;
  max-width: 80rem;
  margin: 0 auto;
  justify-content: center;
  gap: 3rem;
}

.card {
  width: 300px;
  margin: 10px;
  background-color: transparent;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
}

.card:hover .card__caption {
  top: 50%;
  transform: translateY(-50%);
}

.card:hover .card__image {
  transform: translateY(-10px);
}

.card:hover .card__thumb::after {
  top: 0;
}

.card:hover .card__snippet {
  margin: 20px 0;
}

.card__thumb {
  position: relative;
  max-height: 450px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .card__thumb {
    max-height: 450px;
  }
}

.card__thumb::after {
  position: absolute;
  top: 0;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg,
      rgba(0, 0, 0, 0.5) 40%,
      rgba(255, 255, 255, 0) 100%);
  transition: 0.3s;
}

@media (min-width: 280px) {
  .card__thumb::after {
    top: calc(100% - 140px);
  }
}

.card__image {
  transition: 0.5s ease-in-out;
}

.card__caption {
  position: absolute;
  z-index: 1;
  padding: 0 20px;
  color: white;
  transform: translateY(-35%);
  text-align: center;
  transition: 0.3s;
}

@media (min-width: 1024px) {
  .card__caption {
    top: calc(100% - 110px);
    transform: unset;
  }
}

.card__title {
  display: -webkit-box;
  max-height: 85px;
  overflow: hidden;

  font-size: 23px;
  line-height: 28px;
  text-shadow: 0px 1px 5px black;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card__snippet {
  max-height: auto;
  margin: 20px 0;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  padding-top: 50px;
  text-overflow: ellipsis;
  transition: 0.5s ease-in-out;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

@media (min-width: 280px) {
  .card__snippet {
    margin: 60px 0;
  }
}

@media (max-width: 768px) {
  .card__snippet {
    margin: 150% 0;
  }
}


.card__button:hover {
  color: black;
  background-color: white;
}

.disclaimer {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  padding: 20px 10px;
  background-color: white;
  transform: translateX(-50%);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  text-align: center;
}

.disclaimer__link {
  color: #755d87;
  text-decoration: none;
}

@media (min-width: 768px) {

  .mobile-resolution {
    display: none;
  }

}

@media (max-width: 768px) {
  .desktop-resolution {
    display: none;
  }

  .card__button {
    width: 75% !important;
    display: block;
    border: 0px solid white;
    text-align: center;
    font-weight: bold;
    background-color: rgba(4, 132, 157, 1);
    padding-top: 1.5vh;
  }

}

/* sfarsit cartonase*/


.modala {
  position: fixed;
  display: none;
  margin-left: 20vw;
  z-index: 2;
}

.modal-top {
  display: flex;
  justify-content: flex-end;
}

.modal-bot {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

@media screen and (max-width: 800px) {
  .modala {
    position: fixed;
    display: none;
    z-index: 2;
    margin-left: 15%;
  }

  .modal-top {
    display: flex;
    justify-content: flex-end;
  }

  .titlu {
    margin-bottom: 0;
  }

  .modal-bot {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }



  .butoane-gaming {
    display: flex;
    padding: 0;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
  }

  .img-gaming {
    width: 30vh;
    height: auto;
  }

  .gaming {
    display: flex;
    align-content: center;
    justify-content: center;
    width: max-content;
    background-color: #00b1b2;
    padding: 0.5rem;
    border-radius: 1rem;
    box-shadow: 0px 29px 34px 3px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0px 29px 34px 3px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0px 29px 34px 3px rgba(0, 0, 0, 0.7);
  }
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 37.5em) {
  .heading-primary--main {
    letter-spacing: 1rem;
    font-family: 5rem;
  }

  .modal-content {
    flex-direction: column;
    width: 95%;

  }
}

/* sfarsit cartonase*/

.titlu {
  font-size: 2rem;
  text-align: center;
  color: rgb(9, 130, 155);
}

.general-title {
  margin-top: 4rem;
  margin-bottom: 5.7rem;
  font-size: 36px;
  text-align: center;
  color: #327c8b;

}

.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%;
  color: #000;
}

/* Modal Content/Box */
.modal-content {
  /* display: flex; */
  justify-content: space-between;
  /* flex-direction: column; */
  gap: 3rem;
  background-color: #fefefe;
  border: 1px solid #888;
  padding: 3rem;
  /* padding-bottom: 8rem; */
  z-index: 10;
  font-size: 16px;
  width: 60%;
  text-align: justify;
  overflow-y: auto;
  border-radius: 15px;
}

.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;
}

#myBtn12,
#myBtn22,
#myBtn32,
#myBtn42,
#myBtn52,
#myBtn62,
#myBtn72 {
  display: none;
}

@media only screen and (max-width: 450px) {
  .container-cauze-anterioare {
    gap: 12rem;
    margin-bottom: 10rem;
  }

  .modal-content {
    height: 85%;
    width: 85%;
  }

  .cartonas-fata img {
    /* puneti aici proprietatile pentru implemetarile de pe cartonase pe responsiveness */
  }

  #myBtn12,
  #myBtn22,
  #myBtn32,
  #myBtn42,
  #myBtn52,
  #myBtn62,
  #myBtn72 {
    display: flex;
    position: absolute;
    bottom: 2rem;
  }

  .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;
  }

  .container-cartonas {
    background-color: transparent;
    width: 18rem;
    perspective: 1200px;
    border-radius: 0.5rem;
  }
}


.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;
}

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