/* Reglas que son muy comunes en todas las páginas */
/*            (Header, Nav, Footer...)             */

.content {
  margin: auto;
  padding: 1rem;
  width: 1296px;
  max-width: calc(100% - 2rem);
}

.section-margin {
  margin: 4em auto;
}

.section-margin-top {
  margin-top: 4em;
}

.section-padding {
  padding: 4em 0;
}

.pulse-gradient-bg {
  background: linear-gradient(228deg, #00ffff 0%, #6633ff 100%);
}

.section-padding-top {
  padding-top: 4em;
}

.grayed {
  color: gray;
}

.grayed-bg {
  background-color: #e4e4e4;
}

.small-text {
  font-size: 14px;
}

/* ==== Nav ==== */

.navbar {
  border-bottom: 1px solid var(--accent);
  background-color: var(--primary-dark2);
  font-size: 13px;
}

.navbar a {
  color: white;
}

.navbar .active {
  color: var(--accent) !important;
}

/* ==== End Nav ==== */

/* ==== Hero ==== */

.hero {
  height: 700px;
  position: relative;
}

.hero-text {
  color: white;
  font-weight: 500;
  font-size: 80px;
  border-left: 5px solid var(--accent);
  margin: 0;
  padding-left: 24px;
  line-height: 1;
}

.hero {
  background-size: cover;
  background-position: center;
}

.hero-text-container {
  z-index: 3;
}

.hero-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(228deg, rgba(43, 184, 159, 0) 0%, #330066 100%);
}
/* ==== End Hero ==== */

/* ==== Footer ==== */

li a {
  all: unset;
  cursor: pointer;
  transition: all 0.1s;
}
li a:hover {
  opacity: 0.7;
}

.call-to-action-section {
  background-color: var(--primary);
  color: white;
  padding: 2em 0;
  background-image: url("../assets/calltoaction.svg");
  background-size: cover;
  min-height: 660px;
  text-align: center;
}

.call-to-action-button {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  cursor: pointer;
}

.call-to-action-button img {
  max-width: 146px;
  z-index: 1;
}

.balloon-social {
  box-shadow: 0 0 3px black inset;
  border-radius: 15px;
  padding: 0 30px;
  padding-left: 60px;
  height: 95px;
  margin-left: -30px;
  box-sizing: content-box;
  display: flex;
  align-items: center;
  text-align: center;
  background-color: white;
  font-size: 22px;
  min-width: 180px;
}

.call-to-action-button.right .balloon-social {
  padding-right: 60px;
  height: 95px;
  margin-right: -30px;
}

.footer-logo {
  width: 240px;
  margin-bottom: 2em;
}

.footer-contact-card {
  margin-bottom: 24px;
  font-size: 14px;
}

.main-footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 4em 0;
}

.main-footer h2 {
  font-size: 18px;
  margin-bottom: 24px;
  margin-top: 50px;
}

.social-icons {
  gap: 43px;
}

.social-icons a {
  width: 40px;
  height: 40px;
}

.social-icons img {
  width: 100%;
  color: white;
}

.main-footer2 {
  background-color: var(--primary-dark2);
  color: var(--primary);
  padding: 4em 0;
}
/* == End Footer == */

/* ==== Challenges Component ====*/

.challenge-launch-promo {
  max-width: 350px;
  position: absolute;
  top: -160px;
  left: -100px;
}

.table-container {
  width: 100%;
  overflow: auto;
}

.challenges-table {
  margin: 0 auto;
  color: var(--primary);
  text-align: center;
  --challenge-table-radius: 15px;
  width: 100%;
}

.challenges-table strong {
  font-size: 25px;
}

.challenges-table .action-row {
  color: var(--accent);
  background-color: var(--primary-dark);
}

.challenges-table th,
.challenges-table tr {
  overflow: hidden;
}

.challenges-table tbody td {
  padding: 12px 20px;
}

.challenges-table .top-header {
  background-color: var(--primary-dark2);
  color: white;
  font-size: 14px;
  padding: 8px;
}

.challenges-table .header-value {
  line-height: 5;
  font-size: 25px;
  padding: 0 20px;
}

.challenges-table thead th:not(:first-child) {
  color: var(--accent);
  background-color: var(--primary-dark);
}

.challenges-table td:first-child {
  text-align: right;
}

.challenges-table td:not(:first-child) {
  font-weight: bold;
}

.challenges-table tbody tr:nth-of-type(even):not(:last-child) {
  background-color: #e4e4e4;
}

.challenges-table tbody tr:nth-of-type(odd):not(:last-child) {
  background-color: #ffffff;
}

.challenges-table tr:nth-of-type(odd) td:not(:first-child):not(:last-child) {
  border: 3px solid #e4e4e4;
  border-top: 0;
  border-bottom: 0;
}

.challenges-table tr:nth-of-type(even) td:not(:first-child):not(:last-child) {
  border: 3px solid #ffffff;
  border-top: 0;
  border-bottom: 0;
}

/* == End Challenges Component == */

@media only screen and (max-width: 600px) {
  .content {
    padding: 0.5rem;
  }

  .hero-text {
    font-size: 40px;
    border: none;
    text-align: center;
  }

  .hero {
    height: 400px;
  }

  .tech-support {
    text-align: center;
  }
}

.challenge-launch-promo-mobile {
  display: none;
}

@media only screen and (max-width: 1500px) {
  .challenge-launch-promo {
    display: none;
  }

  .challenge-launch-promo-mobile {
    display: block;
  }
}
