:root {
  --color-dark: #342548;
  --color-light: #fafafa;
  --color-primary: #b21c80;
}

body {
  background-color: var(--color-dark);
  font-family: "Source Sans Pro SB", sans-serif;
}

.container {
  max-width: 1224px;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(1rem * -1);
}

.col {
  display: flex;
  flex: 1 0;
  padding: 0 1rem;
  width: 100%;
}

.titleText {
  text-align: center;
  color: var(--color-light);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;

  background-color: var(--color-light);
  border-radius: 1rem;

  margin-bottom: 1.5rem;
  max-width: 100%;
  min-height: 15rem;
  padding: 40px;
  width: 100%;
}

.btn {
  border-radius: 30px;
  padding: 0.75rem 1rem;

  font-weight: 500;
  background-color: transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  border: 1px solid transparent;
  color: #fff;
  min-width: 280px;
}

.btn-secondary {
  border: 1px solid var(--color-primary);
  color: #000000;

  padding: 0.25rem 1rem;

  min-width: 0;
}

.btn-close {
  font-size: 16px;
  padding: 0 8px;
  border: none;
}

.btn:hover {
  cursor: pointer;
  text-decoration: underline;
}

/*========== Modal CSS =============*/

.modal {
  position: fixed;
  z-index: 1;
  right: 0;
  top: 0;

  display: flex;
  justify-content: space-between;
  margin: 3% 2%;
  padding: 8px 16px;
  min-width: 15%;

  border-radius: 30px;
  border: 2px solid var(--color-primary);
  background-color: #fefefe;

  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
}

.modal p {
  max-width: 300px;
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  opacity: 1;
}

.fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
  opacity: 0;
}

.green {
  background-color: #c8f7c8;
  border-color: #00ff00;
}

.red {
  background-color: #f9b3b3;
  border-color: #ff0000;
}

@-webkit-keyframes fadeIn {
  from {
    right: -30px;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    right: -30px;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}

@-webkit-keyframes fadeOut {
  from {
    right: 0;
    opacity: 1;
  }
  to {
    right: -30px;
    opacity: 0;
  }
}
@keyframes fadeOut {
  from {
    right: 0;
    opacity: 1;
  }
  to {
    right: -30px;
    opacity: 0;
  }
}
