@keyframes fadeIn {
  from {
    opacity: .1;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInSide {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------
   Intro Headshot
   --------------------------------------------------- */
.intro-image {
  width: 180px;
  float: left;
  margin-right: 20px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

body {
  background: linear-gradient(to right, #087b3c, rgb(13, 13, 86), rgb(13, 13, 86), rgb(1, 1, 118));
  color: ivory;
  font-family: 'sans-serif', Arial, sans-serif;
}

/* ---------------------------------------------------
   Card Container & Cards
   --------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 12px 0;
  margin: auto;
  /* background-color: beige; */
}

/* center text inside each card */
.card {
  display: flex;
  margin: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 85%;
  min-width: 220px;
  padding: 12px;
  border-radius: 10px;
  color: ivory;
  text-align: center;
  text-decoration: none;
  box-shadow: 2px 2px 6px blue;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card {
  animation: fadeIn 1.8s ease;
}

.card:hover {
  transform: translate(-6px, -6px);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15);
}

/* Individual card colors */
.card-about {
  background-color: lightsalmon;
}

.card-projects {
  background-color: salmon;
}

.card-visualizations {
  background-color: lightsalmon;
}

.card-resume {
  background-color: salmon;
}

/* contacts for HOME */
.contact-container {
  display: box;
  justify-content: left;
  gap: 12px;
  padding: 12px 0;
  margin: auto;
}

/* center text inside each card */
.contact {
  display: flex;
  margin: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 85%;
  min-width: 220px;
  padding: 12px;
  border-radius: 10px;
  color: turquoise;
  text-align: center;
  text-decoration: none;
  box-shadow: 2px 2px 6px blue;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Individual card colors */
.contact-email {
  background-color: lightsalmon;
}

.contact-git {
  background-color: salmon;
}

.contact-coffee {
  background-color: lightsalmon;
}

/* Individual contact hoover */
.contact:hover {
  transform: translate(-6px, -6px);
  box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.15);
}

/* ---------------------------------------------------
   Exploring Section
   --------------------------------------------------- */
.explore-text {
  color: lightsalmon;
  margin-top: 1rem;
  background-color: rgb(28, 87, 121);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.05);
}

.explore-text h2 {
  margin-bottom: 0.5rem;
}

.explore-text ul {
  padding-left: 1.2rem;
  list-style-type: disc;
}

/* -----------------------------------------
   Visualizations Page Styling
   ----------------------------------------- */
.viz-intro {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: lightsalmon;
}

.viz-intro {
  animation: fadeIn 1.2s ease;
}

.viz-frame {
  width: 100%;
  height: 500px;
  border: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: height 0.4s ease;
}

.viz-frame {
  animation: fadeIn 6s ease;
}

.viz-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.viz-image {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.viz-image:hover {
  transform: scale(1.03);
}

.viz-caption {
  text-align: center;
  margin-top: 8px;
  font-size: 0.95rem;
  color: salmon;
}

/* -----------------------------------------
   Projects Page Styling
   ----------------------------------------- */

.project-intro {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: lightsalmon;
}

.project-intro {
  animation: fadeIn 1.2s ease;
}

/*
.project-content {
  color: ivory;
}
*/