@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@200;400&family=Staatliches&display=swap");
* {
  margin: 0px;
  padding: 0px;
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Staatliches", sans-serif;
  color: #141414;
  background-color: #141414;
}

main {
  background-color: #efefef;
  margin: 2rem;
  padding: 2rem;
  padding-bottom: 4rem;
  border-radius: 0;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}

p,
li {
  font-size: 1.2rem;
  font-weight: normal;
  font-family: "Kanit", sans-serif;
}

/* LINK STYLING */
a {
  cursor: pointer;
  text-decoration: underline;
  color: #141414;
  font-weight: 200;
}

a:hover {
  color: rgb(156, 49, 49);
}

/* REALIGN THE SKEWED SECTIONS */
.section__container {
  width: 100%;
  max-width: 800px;
  margin: auto;
  transform: skew(5deg) rotate(5deg);
  background-color: none;
}

/* UTILITY */
.flexbox-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flexbox-row {
  display: flex;
  justify-content: center;
}

/* ANIMATION KEY FRAMES */
@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-10rem);
  }
  80% {
    transform: translateX(1rem);
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes moveInRight {
  0% {
    opacity: 0;
    transform: translateX(10rem);
  }
  80% {
    transform: translateX(-1rem);
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes moveInBottom {
  0% {
    opacity: 0;
    transform: translateY(3rem);
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
/* MEDIA QUERIES */
@media (max-width: 26em) {
  :root {
    font-size: 8px;
  }
  #projects h1 {
    padding-top: 15rem;
  }
  main {
    margin: 0;
    padding: 0;
  }
  .btn {
    font-size: 2.5rem;
  }
  .project-title {
    font-size: 4rem;
  }
  .contact-div {
    width: 80%;
    flex-direction: column;
  }
  footer {
    font-size: 2.8rem;
    margin: 0;
  }
  .section__contact form {
    width: 90%;
    margin: 3rem auto;
  }
  .project-div__links {
    margin-top: 2rem;
  }
}
@media (max-width: 45em) {
  .project-title {
    font-size: 3.75rem;
  }
  .contact-heading {
    padding-top: 16rem;
  }
  #profile-link {
    padding-top: 2rem;
  }
  .flexbox-row {
    flex-direction: column;
  }
  .section__welcome {
    min-height: 90vh;
  }
  .section__projects .project-div {
    display: flex;
    flex-direction: column-reverse;
  }
}
/* BUTTON STYLING */
.btn {
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.5rem 4rem;
  margin-top: 4rem;
  display: inline-block;
  transition: all 0.2s;
  font-size: 1.6rem;
  z-index: 1;
  text-align: center;
}
.btn--white:hover {
  color: #141414;
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}
.btn--white:active {
  transform: translateY(-1px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}
.btn--white {
  background-color: #efefef;
  color: #141414;
}
.btn--animated {
  animation: moveInBottom 0.5s ease-out 0.75s;
  animation-fill-mode: backwards;
}

.card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
}
@media (max-width: 45em) {
  .card {
    width: 200px;
    height: 200px;
  }
}
.card:focus {
  outline: 0;
}
.card:hover .card__inner, .card:focus .card__inner {
  transform: rotateX(-180deg);
}
.card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}
.card__front, .card__back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}
.card__front {
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card__front img {
  width: 100%;
  height: 100%;
}
.card__back {
  background: linear-gradient(to right, #2c2c2c, #1f1f1f);
  transform: rotateX(-180deg);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FOOTER */
footer {
  color: #efefef;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-bottom: 2rem;
}
footer p {
  font-family: "Staatliches", sans-serif;
}

/* WELCOME SECTION */
.section__welcome {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 3rem;
  align-items: center;
  justify-content: center;
  background-color: #efefef;
}
.section__welcome h1 {
  font-size: 10rem;
  text-align: center;
  animation-name: moveInLeft;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}
.section__welcome h2 {
  font-size: 5rem;
  animation: moveInRight;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  text-align: center;
}

/* ABOUT SECTION */
.section__about {
  background-color: #141414;
  padding: 6rem 2rem 8rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #efefef;
  transform: skew(-5deg) rotate(-5deg);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2) inset;
  /* clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%); */
}

.section__about h1 {
  padding-top: 5rem;
  font-size: 5rem;
  text-align: center;
}

.section__about p {
  padding: 1rem 2rem;
  text-align: center;
}

.section__about img {
  padding: 1rem 2rem;
}

.section__about .section__about--link {
  text-decoration: none;
  text-align: center;
  width: 75%;
  font-size: 1.6rem;
  padding: 1rem;
  margin: 1rem 0 1rem 0;
  background-color: #efefef;
  color: #141414;
  transition: all 0.2s;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}

.section__about .section__about--link:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.4);
}

/* PROJECTS SECTION */
.section__projects {
  margin-top: 6rem;
  width: 100%;
  padding-bottom: 12rem;
  background-color: #141414;
  transform: skew(-5deg) rotate(-5deg);
}
.section__projects h1 {
  padding: 5rem 1rem 1rem;
  font-size: 5rem;
  text-align: center;
  color: #efefef;
}
.section__projects .githublogo {
  color: white;
  text-align: center;
  text-decoration: none;
}
.section__projects .githublogo span {
  display: block;
  margin-top: 0.5rem;
  text-align: center;
}
.section__projects .project-div {
  padding: 2rem;
  width: 80%;
  margin: 2rem auto;
  background: #efefef;
  display: flex;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}
.section__projects .project-div h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.section__projects .project-div__tags {
  font-family: "Staatliches", sans-serif;
  color: rgb(156, 49, 49);
  padding: 2rem 0;
  font-size: 1.5rem;
}
.section__projects .project-div__tags span {
  color: #141414;
}
.section__projects .project-div__description {
  width: 75%;
  padding: 0 3rem 0 0;
}
.section__projects .project-div__card {
  padding: 1rem;
  margin: auto;
}
.section__projects .project-div__links {
  text-decoration: none;
  font-size: 1.2rem;
  padding: 1rem;
  margin: 1rem 0;
  background-color: #efefef;
  color: #141414;
  transition: all 0.2s;
  width: 100%;
}
.section__projects .project-div__links:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.4);
}
.section__projects .project-div__links:active {
  transform: translateY(1px);
}/*# sourceMappingURL=main.min.css.map */