@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@300;400&family=Poppins:wght@400;600;900&display=swap");
html {
  scroll-behavior: smooth; }

body {
  background-color: #1a202c;
  color: #a0aec0;
  margin: 0; }

a {
  text-decoration: none;
  color: unset; }

li {
  list-style: none; }

h2 {
  font-size: 3rem;
  width: 500px;
  padding-bottom: 10px;
  text-align: center;
  border-bottom: solid 3px #2d3748; }

footer {
  background-color: #2d3748;
  color: #ffffff;
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  line-height: 30px;
  height: 30px;
  font-size: 0.8rem; }

.header {
  background-color: #2d3748;
  position: sticky;
  z-index: 10;
  top: 0; }

.hidden {
  display: none; }

.largeNavbar {
  max-width: 1200px;
  height: 100px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  align-items: center; }
  .largeNavbar-brand {
    width: 75px; }
  .largeNavbar-list {
    display: flex;
    justify-content: space-between;
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 15px; }
  .largeNavbar-item {
    margin: 0 10px;
    font-size: 1rem; }
    .largeNavbar-item-anchor {
      color: #ffffff;
      margin: 0;
      padding: 20px;
      border-radius: 15px;
      transition: all 0.2s; }
      .largeNavbar-item-anchor:hover {
        background-color: #d6bcfa;
        color: #222; }
  .largeNavbar-toggleMenu {
    display: none; }

.smallNavbar {
  width: 100%; }
  .smallNavbar-list {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-end;
    margin: 0 20px;
    padding: 0 0 10px; }
  .smallNavbar-item {
    margin: 10px 0; }
    .smallNavbar-item-anchor {
      color: #ffffff;
      font-family: "Poppins", sans-serif;
      font-weight: 600;
      font-size: 15px;
      padding: 10px;
      border-radius: 10px;
      transition: all 0.2s; }
      .smallNavbar-item-anchor:hover {
        background-color: #d6bcfa;
        color: #222; }

@media (max-width: 768px) {
  .largeNavbar-list {
    display: none; }
  .largeNavbar a {
    margin-left: 20px; }
  .largeNavbar-toggleMenu {
    display: inline-block;
    width: 50px;
    margin-right: 20px;
    font-size: 2rem;
    cursor: pointer; } }

.show {
  display: inline-block; }

.home {
  background-image: url("../images/backProgramming.jpg");
  background-repeat: no-repeat;
  background-size: cover; }
  .home-filter {
    width: 100%;
    background: linear-gradient(#1a202c 0%, #1a202c 15%, rgba(26, 32, 44, 0.7) 50%, #1a202c 85%); }
  .home-wrap {
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1000px;
    min-height: calc(100vh - 200px);
    margin: 0 auto; }
  .home-container {
    color: #ffffff; }
  .home-subtitle {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 20px;
    margin: 0; }
  .home-title {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-size: 40px;
    margin: 0; }
  .home-buttons, .portfolio-item-details-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 35px; }
    .home-buttons > button, .portfolio-item-details-buttons > button {
      font-family: "Kanit", sans-serif;
      font-weight: 600;
      font-size: 15px;
      min-width: 150px;
      padding: 0px;
      border-radius: 10px;
      border: solid 2px;
      transition: all 0.2s; }
      .home-buttons > button > a, .portfolio-item-details-buttons > button > a {
        display: block;
        padding: 10px; }
      .home-buttons > button:hover, .portfolio-item-details-buttons > button:hover {
        background-color: #d6bcfa;
        color: #222;
        border-color: #d6bcfa; }
    .home-buttons-btnLeft {
      background-color: #2d3748;
      border-color: #ffffff;
      color: #ffffff; }
    .home-buttons-btnRight {
      background-color: #ffffff;
      border-color: #2d3748;
      color: #2d3748; }

.about {
  max-width: 1000px;
  padding: 95px 0 20px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center; }
  .about-title {
    margin: 20px auto;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 50px; }
  .about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto 0;
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-size: 22px; }
  .about-img {
    width: 250px;
    border-radius: 150px;
    margin: 30px;
    border: solid 3px #2d3748; }
  .about-text {
    text-align: justify;
    font-size: 1.3rem;
    margin: 0 20px; }
  .about-icons {
    display: flex;
    justify-content: space-evenly; }
    .about-icons img {
      width: 50px; }

@media (max-width: 992px) {
  .about-text {
    font-size: 1.1rem; }
  .about-img {
    width: 200px; } }

@media (max-width: 768px) {
  .about-content {
    flex-direction: column; } }

@media (max-width: 576px) {
  .about-title {
    font-size: 2.5rem;
    width: 300px; }
  .about-img {
    width: 200px; }
  .about-text {
    font-size: 1rem; }
  .about-icons img {
    width: 30px; } }

.stack {
  max-width: 1000px;
  min-height: 100vh;
  padding: 95px 0 20px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center; }
  .stack-title {
    margin: 20px auto;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 50px; }
  .stack-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; }
  .stack-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
    row-gap: 20px;
    margin: 0 auto;
    padding: 20px 10px;
    border: solid 2px #2d3748;
    border-radius: 20px;
    transition: all 0.3s; }
    .stack-card-title {
      grid-column: 1/3;
      margin: 0 auto 30px;
      font-family: "Poppins", sans-serif;
      font-weight: 400;
      font-size: 30px;
      border-bottom: solid 2px #2d3748;
      transition: all 0.3s; }
    .stack-card-figure {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 170px;
      margin: 0; }
      .stack-card-figure > figcaption {
        font-family: "Kanit", sans-serif;
        font-weight: 400;
        font-size: 20px; }
    .stack-card-icon {
      width: 50px; }
    .stack-card:hover {
      border-color: #d6bcfa; }
      .stack-card:hover .stack-card-title {
        border-color: #d6bcfa; }
  .stack-others {
    margin-top: 30px;
    display: flex;
    row-gap: 10px;
    flex-wrap: wrap;
    width: 75%;
    justify-content: space-around; }
    .stack-others-icon {
      width: 75px; }

@media (max-width: 600px) {
  .stack-card {
    max-width: 90%; }
  .stack-title {
    font-size: 2.5rem;
    width: 300px; }
    .stack-others-icon {
      width: 60px; } }

.portfolio {
  display: flex;
  flex-direction: column;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 20px auto;
  padding-top: 95px; }
  .portfolio-title {
    margin: 20px auto;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 50px;
    grid-column: 1/4; }
  .portfolio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center; }
  .portfolio-item {
    max-width: 400px;
    transition: all 0.3s;
    position: relative;
    transition: all 0.3s; }
    .portfolio-item-img {
      width: 100%;
      aspect-ratio: 16/9;
      border-radius: 10px;
      border: solid 3px rgba(126, 126, 126, 0.684);
      transition: all 0.5s; }
    .portfolio-item-details {
      display: flex;
      opacity: 0;
      background-color: #2d3748cc;
      border: solid 3px rgba(126, 126, 126, 0.684);
      border-radius: 10px;
      width: 100%;
      aspect-ratio: 16/9;
      position: absolute;
      top: 0;
      left: 0;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: opacity 0.3s;
      color: #fff; }
      .portfolio-item-details-title {
        font-family: "Kanit", sans-serif;
        font-weight: 600;
        font-size: 30px;
        margin: 0; }
      .portfolio-item-details-description {
        font-family: "Kanit", sans-serif;
        font-weight: 400;
        font-size: 20px;
        margin: 0px 0 50px;
        text-align: center;
        line-height: 25px; }
      .portfolio-item-details-buttons-link {
        display: flex !important;
        justify-content: center;
        gap: 10px;
        align-items: center; }
        .portfolio-item-details-buttons-link > img {
          width: 30px; }
    .portfolio-item:hover > .portfolio-item-details {
      opacity: 1; }

@media (max-width: 768px) {
  .portfolio-item-details {
    opacity: 0.7; } }

@media (max-width: 576px) {
  .portfolio-title {
    font-size: 2.5rem;
    width: 300px; }
  .portfolio-item {
    max-width: 95%; }
    .portfolio-item-details-title {
      font-size: 1.5rem; }
    .portfolio-item-details-text {
      font-size: 1rem; } }

.contact {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  min-height: 80vh;
  margin: 20px auto;
  padding-top: 50px; }
  .contact-title {
    margin: 20px auto;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 50px; }
  .contact-icons {
    margin-top: 50px;
    text-align: center; }
  .contact-icons img {
    width: 50px;
    margin: 0 5vw;
    padding: 15px;
    border-radius: 40px;
    transition: all 0.3s; }
    .contact-icons img:hover {
      background-color: #2d3748; }
  .contact-text {
    font-size: 1.5rem;
    margin-top: 100px;
    text-align: center; }

@media (max-width: 576px) {
  .contact {
    padding-top: 95px; }
    .contact-title {
      font-size: 2.5rem;
      width: 300px;
      color: #ffffff; }
    .contact-text {
      font-size: 1.2rem; } }
