@import './lib/normalize.css';
@import './lib/hamburgers.css';
@import './global.css';
@import './nav.css';
@import './footer.css';

main {
  margin: 200px auto;
  padding: 0 4%;
}

.about {
  text-align: center;
  padding: 30px 0;
}
.about h2 {
  margin-bottom: 32px;
}
.about.hero .button {
  font-family: 'futura-pt', sans-serif;
}
.about.intro p,
.about.experience p {
  text-align: left;
  /* text-indent: 50px; */
}
.highlight-yellow {
  background: #ffe066;
  color: #222;
  font-weight: 600;
  padding: 2px 4px;
}
.highlight-blue {
  background: #cce5ff;
  color: #222;
  font-weight: 600;
  padding: 2px 4px;
}
.about.hero img {
  padding-top: 40px;
}
.about.skills h2 {
  margin-bottom: 10px;
}
.about p {
  color: #484848;
  max-width: 800px;
  margin: 0 auto 20px;
}
.about.skills p:first-child,
.about.process p:first-child {
  margin-bottom: 30px;
}

#skill-wrapper,
#process-wrapper {
  display: grid;
  grid-template-columns: 70fr;
  grid-gap: 30px;
  align-items: center;
}
.skill {
  position: relative;
}
.process {
  width: 100%;
}
.skill .progress {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  height: 3px;
  z-index: 10;
}
.skill .progress.progress-total {
  opacity: 0.15;
  right: 0;
}
.skill .progress.progress-level {
  width: 0;
  opacity: 0.85;
  transition: width 400ms cubic-bezier(0.19, 1, 0.22, 1);
}

.skill-content,
.process-content {
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  overflow: hidden;
}
/* .process-content {
  margin: 15px 0;
} */
.skill-icon,
.process-icon {
  background-color: rgb(255, 255, 255);
  display: inline-block;
  position: relative;
  font-size: 48px;
  width: 96px;
  height: 96px;
  line-height: 96px;
  text-align: center;
  border-radius: 96px;
  transition: background-color 0.25s;
  padding: 16px;
}
p.skill-title,
p.process-title {
  max-width: 99%;
  color: rgb(51, 51, 51);
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0;
  margin: 8px 0 0;
  overflow: hidden;
  font-weight: 400;
}
.process-description,
.skill-description {
  text-align: left;
}

@media screen and (min-width: 420px) {
  #skill-wrapper,
  #process-wrapper {
    grid-template-columns: 50fr 50fr;
  }
  .about.skills,
  .about.process {
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  #skill-wrapper,
  #process-wrapper {
    grid-template-columns: 33.33fr 33.33fr 33.33fr;
  }
  .about.skills,
  .about.process {
    width: 100%;
  }
}

@media screen and (min-width: 1024px) {
  #skill-wrapper,
  #process-wrapper {
    grid-template-columns: 33.33fr 33.33fr 33.33fr;
  }
}

/* Section Layout - 2 Column View */
.section-flex {
  display: grid;
  grid-template-columns: 30fr 70fr;
  align-items: start;
  gap: 4rem;
  margin: 80px 12%;
  padding: 0;
}

@media screen and (max-width: 768px) {
  .section-flex {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 60px 0;
  }
}
@media screen and (max-width: 480px) {
  .items .mobile {
    width: 100%;
  }
  .section-flex {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 30px 0;
  }
}
