* {
  box-sizing: border-box;
}

body {
  background-color: #2d2d2d;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

body > div {
  background-color: #2d2d2d;
}

.background {
  background-attachment: fixed;
  background-color: #2d2d2d;
  background-image: url("../assets/images/abstract-mobile.jpg");
  background-position: right;
  background-size: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h1 {
  font-size: 48px;
}

h2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  margin-bottom: 8px;
}

a:hover {
  cursor: pointer;
}

.section_title {
  font-size: 32px;
  margin-bottom: 64px;
  position: relative;
  text-align: center;
}

.section_title h2 {
  background-color: #2d2d2d;
  display: inline-block;
  letter-spacing: 4px;
  padding: 0 12px;
  position: relative;
  z-index: 5;
}

.section_title img {
  display: block;
  margin: 8px auto 0;
}

.section_title img:hover {
  cursor: pointer;
}

.section_title .line {
  background: white;
  height: 2px;
  position: absolute;
  top: 19px;
  width: 100%;
}

.section_title.invert h2 {
  background: #ffdb43;
  color: #2d2d2d;
}

.section_title.invert .line {
  background-color: #2d2d2d;
}

p,
a {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
  text-decoration: none;
}

.flide-ready {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.4s ease-out;
}

.flide-ready.flided {
  opacity: 1;
  transform: translateY(0);
}

.mont-font {
  font-family: "Montserrat", sans-serif;
}

.merri-font {
  font-family: "Merriweather", serif;
}

.yellow {
  color: #eae72b;
}

.blue {
  color: #3baae6;
}

/* h3.gray {
  color: #2d2d2d;
} */

button,
.link_as-button {
  background: transparent;
  border: 2px solid white;
  border-radius: 28px;
  color: white;
  font-size: 18px;
  line-height: 24px;
  margin-top: 28px;
  padding: 12px 32px;
}

.link_as-button {
  text-decoration: none;
}

button:hover {
  border-color: #3baae6;
  color: #3baae6;
  cursor: pointer;
}

.content_container {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.content_padding-vert {
  padding-bottom: 100px;
  padding-top: 100px;
}

.content_padding-horz {
  padding-left: 32px;
  padding-right: 32px;
}

.row_trio {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.row_trio col {
  width: 100%;
}

.image-container img {
  width: 100%;
}

/* Nav */
nav {
  align-items: center;
  background-color: #ffdb43;
  border-bottom: 3px solid #c19f0e;
  color: #2d2d2d;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 0 12px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

nav a {
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 8px 12px;
  max-width: 400px;
  padding: 16px 24px;
  text-align: center;
  transition: all 0.3s ease-in;
  width: 33%;
}

nav a.active {
  background-color: #2d2d2d;
  color: #ffdb43;
}

/* Splash Section */
.splash_root {
  background: transparent;
  align-items: center;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 60px;
}

.splash_root .content_container {
  max-width: 500px;
  padding-top: 40px;
}

.splash_root .text-container {
  letter-spacing: 1px;
  margin-bottom: 60px;
  position: relative;
}

.splash_root .image-container {
  margin: 0 auto;
  max-width: 600px;
  position: relative;
}

.splash_blurb {
  margin: 4px 0;
}

.coding-icon,
.game-icon,
.camera-icon,
.cat-wave-icon {
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-name: floating;
  animation-timing-function: ease-in-out;
}

img.icon {
  position: absolute;
  width: 60px;
}

.camera-icon {
  animation-delay: -1.3s;
  left: 15%;
  top: 75%;
}

.coding-icon {
  animation-delay: -2.6s;
  left: 0;
  top: 20%;
}

.cat-wave-icon {
  animation-delay: -3.9s;
  bottom: 25%;
  right: 1%;
}

.drone-icon {
  animation: side-to-side 8s ease-in-out infinite;
  left: 0;
  top: -10%;
}

.game-icon {
  right: 15%;
  top: 36px;
}

@keyframes floating {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, 15px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes side-to-side {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(200%, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes fly-in {
  0% {
    transform: translate(5vw, 0);
  }
  20% {
    transform: translate(5vw, 0);
  }
  50% {
    transform: translate(-20vw, 0);
  }
  70% {
    transform: translate(-20vw, 0);
  }
  100% {
    transform: translate(10vw, 0);
  }
}

h1.main-heading {
  font-size: 48px;
  font-style: italic;
  text-align: left;
  text-decoration: underline;
}

h1.support-heading {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 24px;
  text-align: left;
}

/* About Section */
.about_root .card {
  align-items: center;
  background-color: #505050cf;
  backdrop-filter: blur(5px);
  border: 1px solid white;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 550px;
  padding: 48px 44px;
}

.about_root .col:nth-child(2) {
  margin: 60px auto;
}

.about_root .row_trio {
  padding-top: 32px;
}

.about_root .row_trio img {
  width: 88px;
}

.about_root h3 {
  font-size: 28px;
  letter-spacing: 1px;
  margin: 40px 0 28px;
}

.about_root p {
  font-size: 14px;
}

/* Skills Section */
.skills_root .section_title {
  margin-bottom: 40px;
}

.skills_container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.skills_background {
  display: flex;
  padding: 80px 0;
  width: 100%;
}

.skills_background.gray {
  justify-content: center;
}

.skills_background.gold {
  background-color: #ffdb43;
  color: #2d2d2d;
  justify-content: center;
}

.skills_set {
  padding: 0 32px;
  width: 100%;
}

.skills_card-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 600px;
}

.skills_card {
  border-bottom: 1px solid white;
  margin: 20px 0;
  padding-bottom: 20px;
  text-align: center;
  width: 33%;
}

.skills_card img {
  margin-bottom: 8px;
  width: 52px;
}

.skills_background.gold .skills_card {
  border-color: #2d2d2d;
}

/* Projects Section */
.projects_project-container {
  display: flex;
  flex-wrap: wrap;
}

.projects_card {
  margin: 0 auto;
  max-width: 600px;
  padding: 32px 32px 92px;
  position: relative;
  width: 100%;
}

.projects_card:nth-child(2) {
  margin: 40px auto;
}

.projects_project-image {
  border-radius: 4px;
  width: 100%;
}

.projects_title-icon {
  margin-top: 24px;
  position: relative;
}

.projects_title-icon h4 {
  font-size: 20px;
  width: calc(100% - 40px);
}

.projects_title-icon img {
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
}

.projects_card-tech {
  margin: 16px 0 24px;
}

.projects_card-tech img {
  width: 32px;
}

.projects_card p {
  font-size: 16px;
}

.projects_link {
  align-items: center;
  bottom: 32px;
  color: #3baae6;
  display: flex;
  left: 32px;
  position: absolute;
  text-decoration: none;
}

.projects_link img {
  height: 20px;
  margin-left: 8px;
}

/* Projects List Section */
.projects-list_root {
  background-image: url("../assets/images/wavey.svg");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.projects-list_root h3 {
  font-size: 28px;
  margin: 20px 0;
  text-align: center;
}

.projects-list_item {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 600px;
  padding: 24px 32px;
}

.projects-list_image-container {
  line-height: 0;
  position: relative;
  overflow: hidden;
}

.projects-list_company-icon {
  background: white;
  border-radius: 24px;
  bottom: 16px;
  left: 16px;
  padding: 12px;
  position: absolute;
  width: 52px;
}

.projects-list_screenshot {
  border-radius: 8px;
  box-shadow: #363636 4px 4px 8px;
  width: 100%;
}

.projects-list_hover-content {
  align-items: flex-start;
  background: #252525d1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 0;
  padding: 20px;
  position: absolute;
  top: 0;
  transition: opacity 0.3s ease-in;
  width: 100%;
}

.projects-list_image-container:hover .projects-list_hover-content {
  opacity: 1;
}

.projects-list_link {
  align-items: center;
  color: #37b5fa;
  display: flex;
  margin-top: 12px;
}

.projects-list_link img {
  margin-left: 8px;
  width: 20px;
}

/* Services Section */
.services_root .col {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 500px;
  padding: 0 32px;
  width: 100%;
}

.services_root .col:nth-child(2) {
  margin: 60px auto;
}

.services_icon-container {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
  width: 115%;
}

.services_icon-container > div {
  align-items: center;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  height: 55%;
  justify-content: center;
  position: absolute;
  width: 55%;
}

.services_icon-container img {
  width: 50%;
}

.services_icon-container svg {
  width: 100%;
}

text {
  fill: white;
  font-size: 24px;
  place-items: center;
  animation: rotate 25s linear infinite;
  transform-origin: 250px 250px;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.services_root h3 {
  margin-bottom: 32px;
  text-align: center;
}

.services_root ul {
  width: 100%;
}

.services_root li {
  font-size: 18px;
  margin: 20px 0;
}

/* Achievement Section */

.achieve_root .content_container {
  align-items: center;
  padding: 20px 32px 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-evenly;
  padding: 20px 32px;
  text-align: center;
}

.achieve_root .col {
  margin: 32px 0;
  max-width: 500px;
  width: 100%;
}

.achieve_root h3 {
  align-items: center;
  font-size: 56px;
}

.achieve_root p {
  font-size: 16px;
  margin-top: 12px;
}

/* Wave Spacer */
.wave_root {
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: -4px;
  width: 100%;
}

.wave_splash-about {
  aspect-ratio: 960/250;
  background-image: url("../assets/images/trio-gold.svg");
}

.wave_services-contact {
  aspect-ratio: 960/170;
  background-image: url("../assets/images/sing-gold.svg");
  background-position-y: 90%;
}

/* Contact Section */
.contact_root {
  background-color: #ffdb43;
  color: #2d2d2d;
  text-align: center;
}

.contact_root .content_container {
  padding-top: 20px;
}

.contact_root #type {
  margin: 16px 0 8px;
}

.contact_root button,
.link_as-button {
  color: #ffdb43;
  background-color: #2d2d2d;
  border-color: #2d2d2d;
  border-radius: 8px;
  transition: all 0.2s ease-out;
  width: 100%;
}

.contact_root button:hover {
  color: #2d2d2d;
  background-color: #ffdb43;
}

.contact_root h2 {
  color: #2d2d2d;
  text-align: center;
}

.contact_content {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.contact_form {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  margin: 0 auto;
  max-width: 600px;
  padding: 32px;
  width: 100%;
}

.contact_form input {
  margin-bottom: 16px;
  padding: 12px;
}

.contact_form textarea {
  height: 200px;
  padding: 12px;
}

.contact_form input,
.contact_form textarea {
  border: 2px solid #2d2d2d;
  border-radius: 8px;
}

.contact_media {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 600px;
  padding: 32px;
  width: 100%;
}

.contact_line {
  align-items: center;
  display: flex;
  margin-bottom: 16px;
}

.contact_line img {
  margin-right: 16px;
  width: 32px;
}

.contact_line a {
  color: #2d2d2d;
  margin-right: 16px;
  text-decoration: underline;
  width: 32px;
}

/* Footer */

footer {
  align-items: center;
  background-color: #2d2d2d;
  color: #ffdb43;
  display: flex;
  height: 60px;
  justify-content: center;
}

footer p {
  font-size: 14px;
}

/* Media Queries */

@media screen and (min-width: 475px) {
  .projects-list_root h3 {
    font-size: 32px;
  }
}

@media screen and (min-width: 768px) {
  p,
  a {
    font-size: 18px;
  }

  .about_root p {
    font-size: 16px;
  }

  .projects-list_item {
    padding: 48px 32px;
  }

  .projects-list_root h3 {
    font-size: 40px;
  }

  .projects-list_hover-content {
    padding: 40px;
  }

  .services_root .col {
    flex-direction: row;
    max-width: 900px;
    padding: 0;
  }

  .achieve_root .content_container {
    flex-direction: row;
    padding: 20px 32px 0;
  }

  .achieve_root h3 {
    font-size: 40px;
  }
}

@media screen and (min-width: 1024px) {
  h2 {
    font-size: 32px;
    line-height: 40px;
    padding: 0 24px;
  }

  .content_padding-horz {
    padding-left: 60px;
    padding-right: 60px;
  }

  .row_trio {
    flex-direction: row;
  }

  .row_trio col {
    width: 33%;
  }

  .background {
    background-image: url("../assets/images/abstract.jpg");
  }

  .splash_root {
    align-items: center;
    display: flex;
  }

  .splash_root .content_container {
    max-width: 1200px;
  }

  .splash_root .content_container {
    align-items: center;
    display: flex;
    justify-content: space-evenly;
  }

  .splash_root .image-container {
    margin: unset;
  }

  .splash_root .text-container,
  .splash_root .image-container {
    width: 50%;
  }

  .splash_root .text-container {
    padding-left: 100px;
  }

  .about_root .card {
    height: 508px;
  }

  .about_root .col:nth-child(2) {
    margin: 0 auto;
  }

  .about_root h3 {
    font-size: 24px;
    margin: 40px 0 24px;
  }

  .skills_root {
    padding: 64px 0;
  }

  .skills_background {
    padding: 100px 0;
    width: 50vw;
  }

  .skills_background.gray {
    justify-content: flex-end;
  }

  .skills_background.gray .skills_set {
    padding-left: 60px;
  }

  .skills_background.gold {
    justify-content: flex-start;
  }

  .skills_background.gold .skills_set {
    padding-right: 60px;
  }

  .skills_container {
    flex-direction: row;
  }

  .projects_card {
    padding: 32px 20px 92px;
    width: 33%;
  }

  .projects_link {
    left: 20px;
  }

  .projects_card:nth-child(2) {
    margin: 0 auto;
  }

  .projects_card-tech {
    height: 64px;
  }

  .projects-list_root .section_title {
    margin-bottom: 132px;
  }

  .projects-list_item {
    flex-direction: row;
    max-width: unset;
  }

  .projects-list_item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .projects-list_item h3 {
    padding-left: 40px;
    width: 45%;
  }

  .projects-list_item:nth-child(odd) h3 {
    padding-right: 40px;
  }

  .projects-list_image-container {
    width: 55%;
  }

  .services_root .col {
    flex-direction: column;
    width: 33%;
  }

  .services_root .col:nth-child(2) {
    margin: 0 auto;
  }

  .contact_content {
    flex-direction: row;
    margin-top: 36px;
  }

  .contact_form,
  .contact_media {
    width: 50%;
  }
}

@media screen and (min-width: 1200px) {
  .section_title {
    margin-bottom: 100px;
  }

  footer {
    height: 80px;
  }

  nav a {
    font-size: 18px;
  }

  .splash_root p {
    font-size: 20px;
  }

  .splash_blurb {
    margin: 8px 0;
  }

  h1.main-heading {
    font-size: 60px;
  }

  h1.support-heading {
    font-size: 30px;
  }

  .services_root .col {
    padding: 0 32px;
  }

  .projects_card {
    padding: 32px 32px 92px;
  }

  .projects_link {
    left: 32px;
  }

  .projects-list_hover-content {
    padding: 60px;
  }

  .projects_card p,
  .services_root p {
    font-size: 18px;
  }

  .achieve_root h3 {
    font-size: 52px;
  }
}

@media screen and (min-width: 1440px) {
  .content_container {
    max-width: 1400px;
  }

  .about_root .card {
    height: 444px;
  }

  .about_root .col:nth-child(2) {
    margin: 0 48px;
  }

  .skills_set {
    max-width: 700px;
  }

  .projects_card-tech {
    height: unset;
  }

  .projects-list_item h3 {
    font-size: 60px;
  }
}
