/*
==================================================
                 TABLE OF CONTENTS               
==================================================
                                                
 1.  GENERAL STYLES (body, main, header)        
 2.  HERO SECTION                               
 3.  GENERAL EVENT CARD STYLES                  
 4.  DATA DISCOURSE SECTION                     
 5.  WOMEN IN TECH SECTION                      
 6.  DATA FOR SOCIETAL GOOD SECTION             
 7.  DATA NIGHTMARES SECTION                    
 8.  MIXERS SECTION                             
 9.  REGISTER NOW SECTION                       
                                                
==================================================
*/

/* ==========================================================================
   1. GENERAL STYLES
   ========================================================================== */
body {
  margin: 0;
  background-color: var(--Neutral-Indigo-100);
  overflow-x: hidden;
}

header {
  position: fixed;
  width: 100%;
  z-index: 100;
  background-color: #000000;
  height: 60px;
}

main {
  background-color: var(--Neutral-Indigo-100);
  margin: 0;
  max-width: 100%;
  min-width: 0;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
#hero {
  display: grid;
  align-items: center;
}
#hero > * {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}
.hero__image img {
  width: 100%;
  height: auto;
  display: block;
}
.events-black-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: #323752;
  mask-image: linear-gradient(
    to bottom,
    rgba(36, 36, 36, 0.65) 55%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}
.events-hero-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
}
#events {
  text-align: center;
  color: var(--Neutral-Indigo-100);
  z-index: 4;
  font-family: var(--font-secondary) !important;
}

.hero-register-button {
  width: 200px;
  padding: 1rem 1.5rem;
  border: none;
  box-sizing: border-box;
  border-radius: 0.56163rem;
  background: var(--Cantelope-400);
  z-index: 3;
  color: var(--Neutral-Gray-1000);
  font-family: "Barlow Condensed", sans-serif;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}
.hero-register-button:hover {
  background-color: var(--Cantelope-500);
}
@media(min-width:768px){
  .hero-register-button {
  width: 230px;}
}
@media(min-width:1200px){
  .hero-register-button {
  width: 270px;}
}
@media(min-width:1621px){
  .hero-register-button {
  width: 290px;}
}
/* ==========================================================================
   3. GENERAL EVENT CARD STYLES
   ========================================================================== */
.events-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-100);
  padding: 4rem 0;
  width: 100%;
  margin: 0 auto;
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: var(--container-325);
  margin: 0 auto;
}

.event-card__text,
.event-card__header,
.event-card h2,
.event-card__description {
  width: 96%;
}

.event-card h2 {
  text-align: left;
}

.event-card__image-wrapper {
  max-width: 175px;
}

@media (min-width: 768px) {
  .events-cards {
    max-width: var(--container-575);
  }
  .event-card {
    max-width: var(--container-575);
  }
  .event-card__image-wrapper {
    max-width: 315px;
  }
}

@media (min-width: 1200px) {
  .events-cards {
    max-width: 895px;
    gap: var(--space-188);
  }

  .event-card {
    max-width: var(--container-1300);
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    gap: var(--space-50);
  }

  .event-card:nth-child(even) {
    flex-direction: row-reverse;
  }
  .event-card__header .color-bar {
    max-width: 500px;
    margin-left: 0;
  }
  .event-card__text {
    flex: 1;
    max-width: var(--container-934);
    z-index: 2;
  }

  .event-card__image-wrapper {
    flex: 1;
    width: 100%;
    max-width: 315px;
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 1920px) {
  .events-cards {
    max-width: 1760px;
    gap: var(--space-125);
  }

  .event-card {
    max-width: var(--container-1738);
    gap: var(--space-188);
  }

  .event-card__image-wrapper {
    max-width: 485px;
  }
}
/* ==========================================================================
   4. DATA DISCOURSE SECTION
   ========================================================================== */

.deco-shape--events-discourse-diamond {
  width: 148px;
  top: 445px;
  left: -35px;
}

/* Data Discourse Media Queries */
@media (min-width: 576px) {
  .deco-shape--events-discourse-diamond {
    width: 415px;
    top: 70px;
    left: -165px;
  }
}

@media (min-width: 768px) {
  .deco-shape--events-discourse-diamond {
    width: 399px;
    top: -75px;
    left: -255px;
  }
}

@media (min-width: 992px) {
  .deco-shape--events-discourse-diamond {
    width: 470px;
    top: 55px;
    left: -255px;
  }
}

@media (min-width: 1200px) {
  .deco-shape--events-discourse-diamond {
    width: 620px;
    top: 55px;
    left: -285px;
  }
}

@media (min-width: 1400px) {
  .deco-shape--events-discourse-diamond {
    width: 620px;
    top: 275px;
    left: -295px;
  }
}

@media (min-width: 1920px) {
  .deco-shape--events-discourse-diamond {
    width: 620px;
    top: 545px;
    left: -295px;
  }
}

/* ==========================================================================
   5. WOMEN IN TECH SECTION
   ========================================================================== */
#women-in-tech {
  position: relative;
  isolation: isolate;
}

#women-circle {
  width: 207px;
  top: 485px;
  left: 225px;
}

/* Women in Tech Media Queries */
@media (min-width: 576px) {
  #women-circle {
    width: 287px;
    top: 105px;
    left: 375px;
  }
}

@media (min-width: 768px) {
  #women-circle {
    width: 405px;
    top: -55px;
    left: 455px;
  }
}

@media (min-width: 992px) {
  #women-circle {
    width: 535px;
    top: 35px;
    left: 495px;
  }
}

@media (min-width: 1200px) {
  #women-circle {
    width: 655px;
    top: 35px;
    left: 650px;
    opacity: 55%;
  }
}

@media (min-width: 1400px) {
  #women-circle {
    width: 655px;
    top: 185px;
    left: 850px;
  }
}

@media (min-width: 1920px) {
  #women-circle {
    width: 655px;
    top: 485px;
    left: 1450px;
  }
}

/* ==========================================================================
   6. DATA FOR SOCIETAL GOOD SECTION
   ========================================================================== */
#data-for-good {
  position: relative;
  isolation: isolate;
}

#society-shield {
  width: 207px;
  top: 415px;
  left: -85px;
}

/* Data for Societal Good Media Queries */
@media (min-width: 576px) {
  #society-shield {
    width: 265px;
    top: 215px;
    left: -85px;
  }
}

@media (min-width: 768px) {
  #society-shield {
    width: 355px;
    top: -45px;
    left: -215px;
  }
}

@media (min-width: 992px) {
  #society-shield {
    width: 397px;
    top: 145px;
    left: -215px;
  }
}

@media (min-width: 1200px) {
  #society-shield {
    width: 597px;
    top: 145px;
    left: -215px;
  }
}

@media (min-width: 1400px) {
  #society-shield {
    width: 597px;
    top: 245px;
    left: -215px;
  }
}

@media (min-width: 1920px) {
  #society-shield {
    width: 597px;
    top: 745px;
    left: -315px;
  }
}

/* ==========================================================================
   7. DATA NIGHTMARES SECTION
   ========================================================================== */
#data-nightmares {
  position: relative;
  isolation: isolate;
}

#nightmare-triangle {
  width: 195px;
  top: 405px;
  right: -65px;
  z-index: -3;
}

/* Data Nightmares Media Queries */
@media (min-width: 576px) {
  #nightmare-triangle {
    width: 250px;
    top: 305px;
    right: -65px;
  }
}

@media (min-width: 768px) {
  #nightmare-triangle {
    width: 350px;
    top: -105px;
    right: -165px;
  }
}

@media (min-width: 992px) {
  #nightmare-triangle {
    width: 650px;
    top: -105px;
    right: -265px;
  }
}

@media (min-width: 1200px) {
  #nightmare-triangle {
    width: 755px;
    top: -135px;
    right: -450px;
  }
}

@media (min-width: 1400px) {
  #nightmare-triangle {
    width: 755px;
    top: -35px;
    right: -150px;
  }
}

@media (min-width: 1920px) {
  #nightmare-triangle {
    width: 755px;
    top: 335px;
    right: -350px;
  }
}

/* ==========================================================================
   8. MIXERS SECTION
   ========================================================================== */
/* This section uses general event card styles. */

/* ==========================================================================
   9. REGISTER NOW SECTION
   ========================================================================== */
#register-now {
  margin-top: var(--space-80);
}
.registration-card__wrapper {
  box-sizing: border-box;
  border-radius: 0.5rem;
  border: 2px solid var(--Forest-Green-500);
  background: color-mix(in srgb, var(--Forest-Green-200), transparent 75%);
  backdrop-filter: blur(0.5806818008422852px);
  padding: 0 1.3rem;
  height: 32.75rem;
  width: 23.5rem;
  margin: 0 auto;
}

.registration-card__wrapper h2 {
  text-align: center;
  text-transform: uppercase;
  color: var(--Neutral-Gray-1000);
}

.registration-card__wrapper p {
  text-align: center;
  line-height: normal;
  width: 260px;
  justify-self: center;
}

#register-card-button {
  /* Layout & Positioning Styles */
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;

  /* Sizing & Color Styles */
  min-width: 180px;
  height: 28px;
  min-height: 10px;
  max-height: 85px;
  padding: 0 8px;
  border: none;
  box-sizing: border-box;
  border-radius: 0.5rem;
  background: var(--Cantelope-400);
  z-index: 3;

  /* Font Styles */
  color: var(--Neutral-Gray-1000);
  font-family: var(--font-tertiary);
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}
#register-card-button:hover {
  background-color: var(--Cantelope-500);
}
#register-green {
  position: absolute;
  width: 100%;
  height: auto;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
}
@media (min-width: 768px) {
  .registration-card__wrapper {
    min-width: 648px;
    height: 294px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 3rem;
    overflow: hidden;
  }
  .registration-card__wrapper h2,
  .registration-card__wrapper p {
    text-align: left;
    margin: 0.5rem 0;
  }
  .registration-card__wrapper p {
    width: 345px;
    margin-bottom: 2.5rem;
    justify-self: flex-start;
  }
  .registration-card__wrapper h2 br {
    display: none;
  }
  #register-card-button {
    height: 36px;
    padding: 0 12px;
    transform: none;
    left: auto;
    bottom: auto;
    justify-content: center;
  }
  #register-green {
    width: 603px;
    height: 313px;
    top: 50%;
    right: -186px;
    bottom: auto;
    left: auto;
    transform: translateY(-50%) rotate(-90deg);
  }
}
@media (min-width: 1200px) {
  .registration-card__wrapper {
    width: 1041px;
    height: 463px;
  }
  .registration-card__wrapper h2,
  .registration-card__wrapper p {
    text-align: left;
  }

  .registration-card__wrapper p {
    width: var(--container-800);
    margin: 1rem 0;
  }
  #register-card-button {
    position: static;
    transform: none;
    margin-top: 12.5rem;
    height: 42px;
  }
  #register-green {
    width: 690px;
    height: 545px;
    right: -80px;
  }
}

@media (min-width: 1400px) {
  .registration-card__wrapper {
    width: 1041px;
    height: 463px;
  }
  .registration-card__wrapper p {
    width: 865px;
  }
  #register-card-button {
    margin-top: 14.5rem;
    height: 46px;
  }
  #register-green {
    width: 712px;
    height: 465px;
    right: -153px;
  }
}

@media (min-width: 1920px) {
  .registration-card__wrapper {
    width: 1760px;
    height: 548px;
    margin-bottom: 15rem;
  }
  .registration-card__wrapper p {
    width: 987px;
  }
  #register-green {
    width: 714px;
    height: 858px;
    right: 70px;
  }
}
