@font-face {
  font-family: 'Archivo-Bold';
  src: url('../fonts/Archivo-Bold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo-Regular';
  src: url('../fonts/Archivo-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ArchivoNarrow-Bold';
  src: url('../fonts/ArchivoNarrow-Bold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ArchivoNarrow-Regular';
  src: url('../fonts/ArchivoNarrow-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-mint: #C9EBEE;
  --color-pink: #F7D6CE;
  --color-yellow: #F4E6CB;
  --color-blue: #CAEDFF;
  --color-background-gray:#F9F9F9;
  --color-dark-gray: #5C5C5C;
  --color-light-gray: #E7E7E7;

  --color-purple: #DCD3ED;
  /* --color-orange: #FEEEDE; */
  --color-orange: #f78b4d3f;
}

@keyframes slideUp {
  0% {
    transform: translateY(120px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes slideUpLess {
  0% {
    transform: translateY(60px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

* {
  color: var(--color-dark-gray);
  line-height: 1.5;
}

body {
  background-color: var(--color-background-gray);
}

b {
  font-family: 'Archivo-Bold', serif;
}

/* 41.056px */
h1 {
  font-family: 'ArchivoNarrow-Regular', serif;
  font-size: 2.566rem;
}

/* 28.832px */
h2 {
  font-family: 'ArchivoNarrow-Regular';
  font-size: 1.802rem;
} 

/* 20px */
h3 {
  font-family: 'Archivo-Regular', serif;
  font-size: 1.25rem;
}

/* 20px */
h4 {
  font-family: 'ArchivoNarrow-Regular';
  font-size: 1.25rem;
}

h6 {
  font-family: 'Archivo-Regular', serif;
  font-size: 0.75rem;
  margin-top: 7.5px;
  text-align: center;
}

/* 16px */
p, li {
  font-family: 'Archivo-Regular', serif;
  font-size: 1rem;
}

.intro__name {
  animation: slideUp .7s ease-in-out forwards .15s;
  opacity: 0;
}

.intro__sentence {
  animation: slideUp .7s ease-in-out forwards .35s;
  opacity: 0;
}

.intro__subtitle-highlight {
  background-color: var(--color-mint);
  padding: 0 5px;
}

.about__highlight-mint {
  background-color: var(--color-mint);
  padding: 0 5px;
}

.subtopic__highlight-pink {
  background-color: var(--color-pink);
  padding: 0 5px;
}

.subtopic__highlight-purple {
  background-color: var(--color-purple);
  padding: 0 5px;
}

.subtopic__highlight-orange {
  background-color: var(--color-orange);
  padding: 0 5px;
}

.subtopic__highlight-yellow {
  background-color: var(--color-yellow);
  padding: 0 5px;
}

.subtopic__highlight-blue {
  background-color: var(--color-blue);
  padding: 0 5px;
}

/* 110px */
.intro {
  margin: 6.875rem auto;
}

/* 30px */
.intro__subtitle {
  margin-bottom: 1.875rem;
}

.intro__subtitle-work {
  animation: slideUp .7s ease-in-out  forwards .65s;
  opacity: 0;
}

/* 30px */
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  animation: fadeIn .15s ease-in forwards .15s;
  opacity: 0;
}

/* 16px */
.header__logo {
  margin-left: 1rem;
}

.header__nav {
  display: flex;
}

.header__list {
  display: flex;
}

/* 16px */
.header__list-item {
  list-style: none;
  margin-right: 1rem;
}

.header__list-link {
  text-decoration: none;
  font-family: 'ArchivoNarrow-Bold';
}

/* 4px thickness, 5px offset */
.header__list-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-mint);
  text-decoration-thickness: 0.25rem;
  text-underline-offset: 0.313rem;
  background-color: transparent;
}

/* 2px thickness, 3px offset */
span a {
  text-decoration: underline;
  text-decoration-color: var(--color-dark-gray);
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.188rem;
}

/* 3.5px */
span a:hover {
  background-color: var(--color-light-gray);
  text-underline-offset: 0.219rem;
}

/* 30px */
footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 1.875rem 0;
}

/* 30px padding, 491px max-width */
main {
  /* max-width: 17.5rem; */
  margin: auto;
  padding: 0 1.875rem;
  max-width: 30.688rem;
}

.subtopic-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.proj {
  animation: slideUp .7s ease-in-out  forwards .65s;
  opacity: 0;
}

/* 60px */
.proj1 {
  margin-bottom: 3.75rem;
}

/* 60px */
.proj2 {
  margin-bottom: 3.75rem;
}

/* 110px */
.proj3 {
  margin-bottom: 6.875rem;
}

/* 10px border-radius, 350px max-width, 16px padding */
.proj__img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  /* max-width: 21.875rem; */
  /* padding: 1rem; */
  padding: 20px;
}

.proj1__img-container {
  /* background-color: var(--color-pink); */
  background-color: var(--color-purple);
}

.proj2__img-container {
  /* background-color: var(--color-yellow); */
  background-color: var(--color-orange);
}

.proj3__img-container {
  background-color: var(--color-blue);
}

/* 30px */
/* .proj__text {
  margin-bottom: 1.875rem;
} */

.proj__text {
  margin-bottom: 0px;
  margin-top: 15px;
}

.proj__text-title {
  margin-top: 0;
}

.proj__buttons-container {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}

.proj__buttons {
  background-color: var(--color-dark-gray);
  color: white;

  display:inline-block;
  padding: 15px;
  /* border:0.1em solid #FFFFFF; */
  /* margin:0 0.3em 0.3em 0; */
  border-radius: 5px;
  box-sizing: border-box;
  /* text-decoration:none; */
  /* font-family:'Roboto',sans-serif; */
  /* font-weight:300; */
  text-align:center;
  transition: all 0.2s;
  max-width: 175px;
  border: none;
  font-family: 'Archivo-Regular', serif;
  font-size: 1rem;
  /* margin: 10px 0; */
  cursor: pointer;
}

.proj__buttons-text {
  color: white;
  text-decoration: none;
}

.button1 {
  margin-bottom: 7.5px;
}

.proj__buttons:hover {
  background-color: var(--color-dark-gray);
  opacity: 50%;
}

/* 30px bottom, 60px top */
.about__title {
  margin-top: 3.75rem;
  margin-bottom: 1.875rem;
  animation: slideUpLess .5s ease-in-out forwards .15s;
  opacity: 0;
}

/* 30px */
.about__text {
  margin-bottom: 1.875rem;
  animation: slideUpLess .5s ease-in-out  forwards .35s;
  opacity: 0;
}

.bottom {
  display: flex;
  justify-content: space-between;
}

/* 60px */
.bottom__back {
  margin-bottom: 3.75rem;
}

/* 300px */
video {
  display: block;
  margin: auto;
  max-width: 16.563rem;
}

.top__title-container {
  margin: 0 30px;
}

.top__title {
  /* max-width: 16.563rem; */
  max-width: 491.01px;
  margin: 0 auto;
  animation: slideUpLess .5s ease-in-out forwards .15s;
  opacity: 0;
}

.top__subtitle {
  margin: 15px 0;
  text-align: center;
  animation: slideUpLess .5s ease-in-out forwards .15s;
  opacity: 0;
}

/* 10px border-radius, 233px max-width, 16px padding */
.top__proj-container {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .625rem;
  max-width: 14.563rem;
  padding: 1rem;
  margin: 1.875rem auto;
  animation: slideUpLess .5s ease-in-out  forwards .35s;
  opacity: 0;
}

.top__proj1-container {
  /* background-color: var(--color-pink); */
  background-color: var(--color-purple);
}

.top__proj2-container {
  /* background-color: var(--color-yellow); */
  background-color: var(--color-orange);
}

.top__proj3-container {
  background-color: var(--color-blue);
}

.top__title {
  text-align: center;
}

/* 60px */
.subtopic {
  /* margin-bottom: 3.75rem; */
  animation: slideUpLess .5s ease-in-out  forwards .45s;
  opacity: 0;
  margin-bottom: 30px;
}

.subtopic-img__vertical {
  max-width: 451.99px;
}

.subtopic-img {
  /* max-width: 800px; */
  margin: 15px auto 0;
  border: 1px solid var(--color-dark-gray);
}

.subtopic-img__container {
  margin: 0 auto;
  text-align: center;
}

.subtopic-img__container3 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  /* margin: 15px 0; */
}

.subtopic-img__small {
  max-height: 28.125rem;
}

.subtopic-img__3 {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 15px 0.9375rem;
  /* margin-right: 0.9375rem;
  margin-left: 0.9375rem; */
  max-height: 25rem;
}

.proj__text-title {
  margin-top: 30px;
}

@media screen and (min-width: 600px) {
  main {
    /* max-width: 491px; */
    margin: auto;
  }

  .top__title {
    max-width: 491px;
  }

  .top__proj-container {
    max-width: 365px;
  }

  /* 45px */
  .header__logo {
    margin-left: 2.813rem;
  }

  /* 45px */
  .header__list-item {
    list-style: none;
    margin-right: 2.813rem;
  }

  .proj__buttons-container {
    flex-direction: row;
  }

  .button1 {
    margin-bottom: 0;
    margin-right: 12px;
  }

  /* .subtopic-img {
    max-width: 491px;
  } */
}


@media screen and (min-width: 1000px) {
  main {
    /* max-width: 636px; */
    max-width: 800px;
    margin: auto;
  }

  .top__title {
    max-width: 800px;
  }

  .top__proj-container {
    max-width: 365px;
  }

  .proj {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .proj__img-container {
    margin-right: 30px;
    max-width: 21.875rem;
}

  /* 350px */
  .proj__text-container {
    max-width: 21.875rem;
  }

  .proj__text-title {
    margin-top: 0;
  }
}