@font-face {
  font-family: Lamoon;
  src: url(../font/FC\ Lamoon\ Bold\ ver\ 1.00.ttf);
}

* {
  font-family: "Mitr", sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  text-decoration: none;
}

:root {
  --first-text-color: #ffffff;
  --second-text-color: #000000;
  --first-bg-color: #4176b5;
  --second-bg-color: #e0dedc;
  --button-color: #8c614b;
}

.nav {
  position: fixed;
  width: 100%;
  display: flex;
  top: 0;
  left: 0;
  justify-content: space-between;
  background-color: var(--first-bg-color);
  color: var(--first-text-color);
  align-items: center;
  z-index: 1;
}

.nav__icon {
  padding-right: 9%;
  display: none;
}

.nav__title {
  font-size: 3rem;
  padding-left: 9%;
  font-weight: 700;
}

.nav__groupitem {
  display: flex;
  align-items: center;
}

.nav__menu {
  padding-right: 9%;
}

.nav__item {
  list-style: none;
  font-weight: 600;
  padding: 1.5rem;
  font-size: 1.5rem;
}

.nav__item > a {
  color: var(--first-text-color);
}

.nav__item > a.active {
  color: var(--second-text-color);
}

section {
  min-height: 90vh;
  align-items: center;
  padding: 6% 9% 0;
  width: auto;
}

#Me {
  display: flex;
  justify-content: space-between;
  background-color: var(--first-bg-color);
}

#Me > .contain {
  text-align: center;
  opacity: 1;
}

.useanimate {
  animation: floatText 3s ease-in-out;
}

#Me > .contain > .p1 {
  font-size: 40px;
  color: var(--first-text-color);
}

#Me > .contain > .p2 {
  font-size: 90px;
  font-weight: bold;
  color: var(--first-text-color);
}

#Me > .contain > .p3 {
  font-size: 40px;
  color: var(--first-text-color);
  width: 550px;
}

#highlight-text {
  color: var(--second-text-color);
}

#Me > .image > img {
  object-fit: cover;
  border: var(--button-color) 2rem solid;
  border-radius: 4rem;
  animation: floatImage 4s ease-in-out infinite;
  width: 800px;
  height: 800px;
}

@keyframes floatText {
  0% {
    transform: translateX(-5rem);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.4rem);
  }
  100% {
    transform: translate(0);
  }
}

#History {
  background-color: var(--second-bg-color);
  display: flex;
  justify-content: space-between;
}

#History > .title > .p1 {
  font-size: 90px;
  line-height: 6rem;
  font-weight: 500;
  color: var(--first-bg-color);
}

#History > .image > img {
  margin-top: 80px;
  width: 700px;
  height: 700px;
}

#History > .contain > .card {
  background-color: var(--first-text-color);
  padding: 3rem;
  border-radius: 2rem;
  margin: 0 0 4rem 4rem;
  box-shadow: 10px 10px 1px #8c614b;
}

#History > .contain > .card > .card-title {
  font-size: 50px;
  color: var(--first-bg-color);
}

#History > .contain > .card > .card-body {
  font-size: 30px;
  line-height: 4rem;
  color: var(--second-text-color);
}

#Skill {
  background-color: var(--first-bg-color);
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 1fr;
}

#Skill > .title {
  text-align: center;
  align-self: flex-end;
  padding-bottom: 2rem;
  color: var(--first-text-color);
  grid-column: 1 / span 3;
  font-size: 90px;
}

#Skill > .card {
  background-color: var(--first-text-color);
  padding: 2rem;
  align-self: start;
  justify-self: center;
  border-radius: 3rem;
  width: 20vw;
  height: 70%;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 0.3rem solid var(--first-bg-color);
  transition: 0.25s ease-in-out;
}

#Skill > .card:hover {
  border-color: var(--button-color);
  transform: scale(1.08);
  transition: 0.25s ease-in-out;
}

#Skill > .card > .card-icon {
  font-size: 80px;
  color: var(--button-color);
}

#Skill > .card > .card-title {
  font-size: 50px;
  color: var(--first-bg-color);
}

#Skill > .card > .card-body {
  font-size: 30px;
}

#Project {
  background-color: var(--second-bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#Project > .project-title {
  font-size: 90px;
  margin-bottom: 4rem;
  color: var(--first-bg-color);
}

#Project > .project-menu {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

#Project > .project-item {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  display: flex;
}

#Project > .project-menu > .project-item > img {
  width: 100%;
  border-radius: 2rem;
  transition: 0.3s ease-in-out;
}

#Project > .project-menu > .project-item > img:hover {
  box-shadow: 10px 10px 2px rgb(161, 133, 119);
  translate: -10px -10px;
  transition: 0.3s ease-in-out;
}

#Contract {
  background-color: var(--first-bg-color);
}

#Contract > .container-contract {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90vh;
}

#Contract > .title {
  font-size: 30px;
  color: var(--first-text-color);
}

#Contract > .container-contract > .content > .text {
  font-size: 80px;
  color: var(--first-text-color);
}

#Contract > .container-contract > .contract > .contract-title {
  font-size: 80px;
  color: var(--first-text-color);
  text-align: center;
}

#Contract > .container-contract > .contract > .social-title {
  font-size: 20px;
  color: var(--first-text-color);
  margin: 20px 0 10px 0;
}

#Contract > .container-contract > .contract > .social-menu {
  display: flex;
}

#Contract > .container-contract > .contract > .social-menu > div > a {
  margin-right: 40px;
  font-size: 40px;
  color: var(--first-text-color);
}

#Contract > .container-contract > .contract > .social-menu > div:hover {
  transform: scale(1.2);
  transition: 0.3s ease;
}

hr {
  border: 2px solid #ffffff;
  margin-bottom: 20px;
}

form .haf {
  display: flex;
  justify-content: space-between;
}

form .full {
  display: flex;
  justify-content: space-between;
}

.haf > input {
  width: 38%;
  padding: 1rem 2rem;
  font-size: 20px;
  background: var(--first-text-color);
  border-radius: 2rem;
  margin: 0.7rem 0;
  color: var(--text-color);
  outline: none;
  border: 0.3rem solid var(--first-bg-color);
  transition: 0.2s ease-in-out;
}

.haf > input:focus {
  border: 0.3rem solid var(--button-color);
  transition: 0.2s ease-in-out;
}

.full > input {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 20px;
  background: var(--first-text-color);
  border-radius: 2rem;
  margin: 0.7rem 0;
  color: var(--text-color);
  outline: none;
  border: 0.3rem solid var(--first-bg-color);
  transition: 0.2s ease-in-out;
}

.full > input:focus {
  border: 0.3rem solid var(--button-color);
  transition: 0.2s ease-in-out;
}

.button-flex {
  display: flex;
  justify-content: space-between;
}

input[type="submit"] {
  padding: 0.8rem 3rem;
  border-radius: 3rem;
  outline: none;
  border: none;
  background-color: var(--button-color);
  color: var(--first-text-color);
  font-size: 20px;
  margin-top: 10px;
  transition: 0.2s ease;
}

input[type="submit"]:hover {
  translate: -5px -5px;
  box-shadow: 5px 5px 1px rgb(82, 49, 49);
  transition: 0.2s ease;
}

textarea {
  width: 100%;
  padding: 0.5rem 2rem;
  font-size: 20px;
  background: var(--first-text-color);
  border-radius: 2rem;
  margin: 0.7rem 0;
  color: var(--text-color);
  outline: none;
  border: 0.3rem solid var(--first-bg-color);
  resize: none;
  transition: 0.2s ease-in-out;
}

textarea:focus {
  border: 0.3rem solid var(--button-color);
  transition: 0.2s ease-in-out;
}

footer {
  height: 10vh;
  width: 100%;
  background-color: var(--button-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--first-text-color);
  font-size: 20px;
}

.footer-text {
  margin-left: 3rem;
}

.footer-button {
  margin-right: 3rem;

  padding: 1rem 1.5rem;
  background-color: var(--first-bg-color);
  border-radius: 1rem;
  color: var(--first-text-color);
}

.footer-button:hover {
  translate: 0 -10px;
  transition: 0.3s ease-in-out;
  box-shadow: 0 10px #39404ee8;
}

@media (max-width: 540px) {
  .nav {
    padding: 3%;
  }

  .nav__icon {
    display: block;
    font-size: 20px;
  }

  .nav__title {
    font-size: 20px;
    padding-left: 9%;
    font-weight: 700;
  }

  .nav__groupitem {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--second-bg-color);
    display: none;
  }

  .nav__groupitem.active {
    animation: menuShow 0.5s ease-in-out;
    display: block;
  }

  @keyframes menuShow {
    0% {
      opacity: -1;
      height: 0px;
    }
    100% {
      opacity: 1;
      height: 275px;
    }
  }

  .nav__item {
    list-style: none;
    font-weight: 600;
    padding: 1rem;
    font-size: 15px;
    text-align: center;
  }

  .nav__item a {
    color: var(--first-bg-color);
  }

  section {
    padding: 20% 0 0;
  }

  #Me {
    flex-direction: column-reverse;
  }

  #Me > .contain {
    padding-bottom: 20%;
  }

  #Me > .contain > .p1 {
    font-size: 20px;
    color: var(--first-text-color);
  }

  #Me > .contain > .p2 {
    font-size: 50px;
    color: var(--first-text-color);
  }

  #Me > .contain > .p3 {
    font-size: 20px;
    color: var(--first-text-color);
    padding-bottom: 10%;
    width: auto;
  }

  #Me > .image {
    padding-top: 20%;
  }

  #Me > .image > img {
    width: 250px;
    height: 250px;
    border: 0.5rem solid var(--button-color);
  }

  #History {
    flex-direction: column;
    padding: 15% 0 0;
    justify-content: start;
  }

  #History > .title > .p1 {
    font-size: 40px;
    line-height: 2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
  }

  #History > .title > .image > img {
    margin-top: 20px;
    width: 250px;
    height: 250px;
  }

  #History > .contain > .card {
    background-color: var(--first-text-color);
    padding: 1rem;
    border-radius: 1rem;
    margin: 2rem 3%;
    box-shadow: 0px 5px 1px #8c614b;
  }

  #History > .contain > .card > .card-title {
    font-size: 30px;
  }

  #History > .contain > .card > .card-body {
    font-size: 20px;
    line-height: 2rem;
  }

  #Skill {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 4rem;
    padding: 15% 0 20%;
  }

  #Skill > .title {
    text-align: center;
    align-self: flex-end;
    padding-bottom: 0;
    grid-column: unset;
    font-size: 40px;
  }

  #Skill > .card {
    padding: 1rem;
    align-self: start;
    justify-self: center;
    border-radius: 1rem;
    width: 80%;
    height: 100%;
    text-align: center;
  }

  #Skill > .card > .card-icon {
    font-size: 40px;
  }

  #Skill > .card > .card-title {
    font-size: 30px;
  }

  #Skill > .card > .card-body {
    font-size: 20px;
  }

  #Project > .project-title {
    font-size: 40px;
    margin-bottom: 2rem;
    color: var(--first-bg-color);
  }

  #Project {
    padding: 15% 0 20%;
  }

  #Project > .project-menu {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    margin: 0 3%;
  }

  #Project > .project-item {
    border-radius: 1rem;
  }

  #Project > .project-menu > .project-item > img {
    border-radius: 1rem;
  }

  #Project > .project-menu > .project-item > img:hover {
    box-shadow: 5px 5px 2px rgb(161, 133, 119);
    translate: -5px -5px;
    transition: 0.3s ease-in-out;
  }

  #Contract > .container-contract {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
  }

  #Contract > .title {
    font-size: 20px;
    margin: 0 3%;
  }

  #Contract > .content > {
    margin: 0 3%;
  }

  #Contract > .container-contract > .contract {
    margin: 0 3%;
  }

  #Contract > .container-contract > .content {
    background-color: var(--button-color);
    border-radius: 1rem;
    padding: 1rem;
    margin: 2rem 3%;
  }

  .show-text-contract {
    animation: showTextContract 1s ease-in-out;
  }

  @keyframes showTextContract {
    0% {
      opacity: 0;
      transform: scale(0);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  #Contract > .container-contract > .content > .text {
    font-size: 40px;
    text-align: center;
  }

  #Contract > .container-contract > .contract > .contract-title {
    font-size: 30px;
  }

  hr {
    border: 1px solid #ffffff;
    margin: 20px 0;
  }

  .haf > input {
    width: 34%;
    padding: 0.5rem 1.5rem;
    font-size: 15px;
    border-radius: 1rem;
    margin: 0.2rem 0;
    outline: none;
    border: 0.2rem solid var(--first-bg-color);
    transition: 0.2s ease-in-out;
  }

  .haf > input:focus {
    border: 0.2rem solid var(--button-color);
    transition: 0.2s ease-in-out;
  }

  .full > input {
    width: 100%;
    padding: 0.5rem 1.5rem;
    font-size: 15px;
    border-radius: 1rem;
    margin: 0.2rem 0;
    color: var(--text-color);
    outline: none;
    border: 0.2rem solid var(--first-bg-color);
    transition: 0.2s ease-in-out;
  }

  .full > input:focus {
    border: 0.2rem solid var(--button-color);
    transition: 0.2s ease-in-out;
  }

  textarea {
    width: 100%;
    padding: 0.5rem 1.5rem;
    font-size: 15px;
    border-radius: 1rem;
    color: var(--text-color);
    margin: 0;
    outline: none;
    border: 0.2rem solid var(--first-bg-color);
    resize: none;
    transition: 0.2s ease-in-out;
    height: 10vh;
  }

  textarea:focus {
    border: 0.2rem solid var(--button-color);
    transition: 0.2s ease-in-out;
  }

  input[type="submit"] {
    padding: 0.5rem 2rem;
    border-radius: 2rem;
    outline: none;
    border: none;
    font-size: 15px;
    margin: 10px 5px 0 0;
    transition: 0.2s ease;
  }

  input[type="submit"]:hover {
    translate: -3px -3px;
    box-shadow: 3px 3px 1px rgb(82, 49, 49);
    transition: 0.2s ease;
  }

  #Contract > .container-contract > .contract > .social-title {
    font-size: 15px;
    margin: 10px 0 5px 10px;
  }

  #Contract > .container-contract > .contract > .social-menu {
    display: flex;
    padding: 0 0 20px 20px;
  }

  #Contract > .container-contract > .contract > .social-menu > div > a {
    margin-right: 20px;
    font-size: 30px;
  }

  footer {
    height: 10vh;
    width: 100%;
    background-color: var(--button-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--first-text-color);
    font-size: 15px;
  }

  .footer-text {
    margin-left: 1rem;
    width: 60%;
  }

  .footer-button {
    margin-right: 1rem;
    padding: 0.5rem 0.8rem;
    background-color: var(--first-bg-color);
    border-radius: 1rem;
    color: var(--first-text-color);
  }
}

@media (min-width: 540px) and (max-width: 979px) {
  .nav {
    padding: 3%;
  }

  .nav__icon {
    display: block;
    font-size: 30px;
  }

  .nav__title {
    font-size: 30px;
    padding-left: 9%;
    font-weight: 700;
  }

  .nav__groupitem {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--second-bg-color);
    display: none;
  }

  .nav__groupitem.active {
    animation: menuShow 0.5s ease-in-out;
    display: block;
  }

  @keyframes menuShow {
    0% {
      opacity: -1;
      height: 0px;
    }
    100% {
      opacity: 1;
      height: 275px;
    }
  }

  .nav__item {
    list-style: none;
    font-weight: 600;
    padding: 1rem;
    font-size: 30px;
    text-align: center;
  }

  .nav__item a {
    color: var(--first-bg-color);
  }

  section {
    padding: 20% 0 0;
  }

  #Me {
    flex-direction: column-reverse;
  }

  #Me > .contain {
    padding-bottom: 20%;
  }

  #Me > .contain > .p1 {
    font-size: 30px;
    color: var(--first-text-color);
  }

  #Me > .contain > .p2 {
    font-size: 60px;
    color: var(--first-text-color);
  }

  #Me > .contain > .p3 {
    font-size: 30px;
    color: var(--first-text-color);
    padding-bottom: 10%;
    width: 400px;
  }

  #Me > .image {
    padding-top: 10%;
  }

  #Me > .image > img {
    width: 450px;
    height: 450px;
    border: 0.5rem solid var(--button-color);
  }

  #History {
    flex-direction: column;
    padding: 15% 0 0;
    align-items: center;
    justify-content: center;
  }

  #History > .title > .p1 {
    font-size: 60px;
    line-height: 4rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 2rem;
  }

  #History > .title > .image > img {
    margin-top: 20px;
    width: 450px;
    height: 450px;
  }

  #History > .contain > .card {
    background-color: var(--first-text-color);
    padding: 1rem;
    border-radius: 1rem;
    margin: 2rem 3%;
    box-shadow: 0px 5px 1px #8c614b;
  }

  #History > .contain > .card > .card-title {
    font-size: 30px;
  }

  #History > .contain > .card > .card-body {
    font-size: 20px;
    line-height: 2rem;
  }

  #Skill {
    grid-template-columns: 1fr;
    grid-template-rows: 0.5fr 0.5fr 0.5fr 0.5fr;
    gap: 4rem;
    padding: 15% 0 20%;
  }

  #Skill > .title {
    text-align: center;
    align-self: flex-end;
    padding-bottom: 0;
    grid-column: unset;
    font-size: 60px;
  }

  #Skill > .card {
    padding: 1rem;
    align-self: start;
    justify-self: center;
    border-radius: 1rem;
    width: 80%;
    height: auto;
    text-align: center;
  }

  #Skill > .card > .card-icon {
    font-size: 40px;
  }

  #Skill > .card > .card-title {
    font-size: 30px;
  }

  #Skill > .card > .card-body {
    font-size: 20px;
  }

  #Project > .project-title {
    font-size: 40px;
    margin-bottom: 2rem;
    color: var(--first-bg-color);
  }

  #Project {
    padding: 15% 0 20%;
  }

  #Project > .project-title {
    font-size: 60px;
  }

  #Project > .project-menu {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3rem;
    margin: 0 3%;
  }

  #Project > .project-item {
    border-radius: 1rem;
  }

  #Project > .project-menu > .project-item > img {
    border-radius: 1rem;
  }

  #Project > .project-menu > .project-item > img:hover {
    box-shadow: 5px 5px 2px rgb(161, 133, 119);
    translate: -5px -5px;
    transition: 0.3s ease-in-out;
  }

  #Contract > .container-contract {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
  }

  #Contract > .title {
    font-size: 30px;
    margin: 0 3%;
  }

  #Contract > .content > {
    margin: 0 3%;
  }

  #Contract > .container-contract > .contract {
    margin: 0 3%;
  }

  #Contract > .container-contract > .content {
    background-color: var(--button-color);
    border-radius: 1rem;
    padding: 1rem;
    margin: 2rem 3%;
  }

  .show-text-contract {
    animation: showTextContract 1s ease-in-out;
  }

  @keyframes showTextContract {
    0% {
      opacity: 0;
      transform: scale(0);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  #Contract > .container-contract > .content > .text {
    font-size: 60px;
    text-align: center;
  }

  #Contract > .container-contract > .contract > .contract-title {
    font-size: 40px;
  }

  hr {
    border: 3px solid #ffffff;
    margin: 20px 0;
  }

  .haf > input {
    width: 38%;
    padding: 1rem 2rem;
    font-size: 20px;
    border-radius: 1.5rem;
    margin: 0.5rem 0;
    outline: none;
    border: 0.3rem solid var(--first-bg-color);
    transition: 0.3s ease-in-out;
  }

  .haf > input:focus {
    border: 0.3rem solid var(--button-color);
    transition: 0.2s ease-in-out;
  }

  .full > input {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 20px;
    border-radius: 1.5rem;
    margin: 0.5rem 0;
    color: var(--text-color);
    outline: none;
    border: 0.3rem solid var(--first-bg-color);
    transition: 0.2s ease-in-out;
  }

  .full > input:focus {
    border: 0.3rem solid var(--button-color);
    transition: 0.2s ease-in-out;
  }

  textarea {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 20px;
    border-radius: 2rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    outline: none;
    border: 0.3rem solid var(--first-bg-color);
    resize: none;
    transition: 0.2s ease-in-out;
    height: 10vh;
  }

  textarea:focus {
    border: 0.3rem solid var(--button-color);
    transition: 0.2s ease-in-out;
  }

  input[type="submit"] {
    padding: 1rem 3rem;
    border-radius: 3rem;
    outline: none;
    border: none;
    font-size: 20px;
    margin: 10px 5px 0 0;
    transition: 0.2s ease;
  }

  input[type="submit"]:hover {
    translate: -3px -3px;
    box-shadow: 3px 3px 1px rgb(82, 49, 49);
    transition: 0.2s ease;
  }

  #Contract > .container-contract > .contract > .social-title {
    font-size: 20px;
    margin: 20px 0 10px 20px;
  }

  #Contract > .container-contract > .contract > .social-menu {
    display: flex;
    padding: 0 0 20px 20px;
  }

  #Contract > .container-contract > .contract > .social-menu > div > a {
    margin-right: 20px;
    font-size: 50px;
  }

  footer {
    height: 7vh;
    width: 100%;
    background-color: var(--button-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--first-text-color);
    font-size: 20px;
  }

  .footer-text {
    margin-left: 2rem;
    width: 60%;
  }

  .footer-button {
    margin-right: 2rem;
    padding: 1rem 1.6rem;
    background-color: var(--first-bg-color);
    border-radius: 1rem;
    color: var(--first-text-color);
  }
}

@media (min-width: 979px) and (max-width: 1440px) {
  section {
    min-height: 90vh;
    align-items: center;
    padding: 6% 9% 0;
    width: auto;
  }

  #Me > .contain > .p1 {
    font-size: 30px;
  }

  #Me > .contain > .p2 {
    font-size: 70px;
    font-weight: bold;
  }

  #Me > .contain > .p3 {
    font-size: 30px;
    width: 400px;
  }

  #Me > .image > img {
    object-fit: cover;
    border: var(--button-color) 2rem solid;
    border-radius: 4rem;
    animation: floatImage 4s ease-in-out infinite;
    width: 400px;
    height: 400px;
  }

  #History > .title > .p1 {
    font-size: 60px;
    line-height: 3rem;
    font-weight: 500;
    margin-bottom: 2rem;
  }

  #History > .title > .image > img {
    margin: 20px 0;
    width: 450px;
    height: 450px;
  }

  #History > .contain > .card {
    background-color: var(--first-text-color);
    padding: 1rem;
    border-radius: 2rem;
    margin: 0 0 4rem 4rem;
    box-shadow: 10px 10px 1px #8c614b;
  }

  #History > .contain > .card > .card-title {
    font-size: 30px;
  }

  #History > .contain > .card > .card-body {
    font-size: 20px;
    line-height: 2rem;
  }

  #Skill {
    grid-template-rows: 10% 1fr;
    gap: 0.5rem;
    padding: 15% 0 20%;
  }

  #Skill > .title {
    text-align: center;
    align-self: flex-end;
    padding-bottom: 0;
    font-size: 60px;
    margin-bottom: 60px;
  }

  #Skill > .card {
    padding: 1rem;
    align-self: start;
    justify-self: center;
    border-radius: 1rem;
    width: 80%;
    height: 70%;
    text-align: center;
  }

  #Skill > .card > .card-icon {
    font-size: 40px;
  }

  #Skill > .card > .card-title {
    font-size: 30px;
  }

  #Skill > .card > .card-body {
    font-size: 20px;
  }

  #Project > .project-title {
    font-size: 40px;
    margin-bottom: 2rem;
    color: var(--first-bg-color);
  }

  #Project {
    padding: 7% 0 0 0;
  }

  #Project > .project-title {
    font-size: 60px;
  }

  #Project > .project-menu {
    display: grid;
    align-items: center;
    gap: 3rem;
    margin: 0 3%;
  }

  #Project > .project-item {
    border-radius: 1rem;
  }

  #Project > .project-menu > .project-item > img {
    border-radius: 1rem;
  }

  #Project > .project-menu > .project-item > img:hover {
    box-shadow: 5px 5px 2px rgb(161, 133, 119);
    translate: -5px -5px;
    transition: 0.3s ease-in-out;
  }
  #Contract {
    background-color: var(--first-bg-color);
    padding: 9% 6%;
  }

  #Contract > .container-contract {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70vh;
  }

  #Contract > .title {
    font-size: 20px;
    color: var(--first-text-color);
  }

  #Contract > .container-contract > .content > .text {
    font-size: 60px;
    color: var(--first-text-color);
  }

  #Contract > .container-contract > .contract > .contract-title {
    font-size: 60px;
    color: var(--first-text-color);
    text-align: center;
  }

  #Contract > .container-contract > .contract > .social-title {
    font-size: 15px;
    color: var(--first-text-color);
    margin: 20px 0 10px 0;
  }

  #Contract > .container-contract > .contract > .social-menu {
    display: flex;
  }

  #Contract > .container-contract > .contract > .social-menu > div > a {
    margin-right: 30px;
    font-size: 30px;
    color: var(--first-text-color);
  }

  #Contract > .container-contract > .contract > .social-menu > div:hover {
    transform: scale(1.2);
    transition: 0.3s ease;
  }

  hr {
    border: 2px solid #ffffff;
    margin-bottom: 20px;
  }

  form .haf {
    display: flex;
    justify-content: space-between;
  }

  form .full {
    display: flex;
    justify-content: space-between;
  }

  .haf > input {
    width: 38%;
    padding: 0.5rem 1.5rem;
    font-size: 15px;
    background: var(--first-text-color);
    border-radius: 1rem;
    margin: 0.2rem 0;
    color: var(--text-color);
    outline: none;
    border: 0.2rem solid var(--first-bg-color);
    transition: 0.2s ease-in-out;
  }

  .haf > input:focus {
    border: 0.2rem solid var(--button-color);
    transition: 0.2s ease-in-out;
  }

  .full > input {
    width: 100%;
    padding: 0.5rem 1.5rem;
    font-size: 15px;
    background: var(--first-text-color);
    border-radius: 1rem;
    margin: 0.2rem 0;
    color: var(--text-color);
    outline: none;
    border: 0.2rem solid var(--first-bg-color);
    transition: 0.2s ease-in-out;
  }

  .full > input:focus {
    border: 0.2rem solid var(--button-color);
    transition: 0.2s ease-in-out;
  }

  .button-flex {
    display: flex;
    justify-content: space-between;
  }

  input[type="submit"] {
    padding: 0.5rem 2rem;
    border-radius: 3rem;
    outline: none;
    border: none;
    background-color: var(--button-color);
    color: var(--first-text-color);
    font-size: 20px;
    margin-top: 10px;
    transition: 0.2s ease;
  }

  input[type="submit"]:hover {
    translate: -5px -5px;
    box-shadow: 5px 5px 1px rgb(82, 49, 49);
    transition: 0.2s ease;
  }

  textarea {
    width: 100%;
    padding: 0.5rem 1.5rem;
    font-size: 15px;
    background: var(--first-text-color);
    border-radius: 1rem;
    margin: 0.2rem 0;
    color: var(--text-color);
    outline: none;
    border: 0.2rem solid var(--first-bg-color);
    resize: none;
    transition: 0.2s ease-in-out;
    height: 100px;
  }

  textarea:focus {
    border: 0.2rem solid var(--button-color);
    transition: 0.2s ease-in-out;
  }

  footer {
    height: 10vh;
    width: 100%;
    background-color: var(--button-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--first-text-color);
    font-size: 20px;
  }

  .footer-text {
    margin-left: 3rem;
  }

  .footer-button {
    margin-right: 3rem;

    padding: 1rem 1.5rem;
    background-color: var(--first-bg-color);
    border-radius: 1rem;
    color: var(--first-text-color);
  }

  .footer-button:hover {
    translate: 0 -10px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 10px #39404ee8;
  }
}

@media (min-width: 1440px) and (max-width: 1920px) {
  #Me > .image > img {
    object-fit: cover;
    border: var(--button-color) 2rem solid;
    border-radius: 4rem;
    animation: floatImage 4s ease-in-out infinite;
    width: 600px;
    height: 600px;
  }

  #History > .title > .p1 {
    font-size: 60px;
    line-height: 3rem;
    font-weight: 500;
    margin-bottom: 4rem;
  }

  #Skill > .card > .card-icon {
    font-size: 40px;
  }

  #Skill > .card > .card-title {
    font-size: 30px;
  }

  #Skill > .card > .card-body {
    font-size: 20px;
  }

  #Contract {
    background-color: var(--first-bg-color);
    padding: 9% 6%;
  }

  #Contract > .container-contract {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70vh;
  }

  #Contract > .title {
    font-size: 20px;
    color: var(--first-text-color);
  }

  #Contract > .container-contract > .content > .text {
    font-size: 60px;
    color: var(--first-text-color);
  }

  #Contract > .container-contract > .contract > .contract-title {
    font-size: 60px;
    color: var(--first-text-color);
    text-align: center;
  }

  #Contract > .container-contract > .contract > .social-title {
    font-size: 15px;
    color: var(--first-text-color);
    margin: 20px 0 10px 0;
  }

  #Contract > .container-contract > .contract > .social-menu {
    display: flex;
  }

  #Contract > .container-contract > .contract > .social-menu > div > a {
    margin-right: 30px;
    font-size: 30px;
    color: var(--first-text-color);
  }

  #Contract > .container-contract > .contract > .social-menu > div:hover {
    transform: scale(1.2);
    transition: 0.3s ease;
  }

  hr {
    border: 2px solid #ffffff;
    margin-bottom: 20px;
  }

  form .haf {
    display: flex;
    justify-content: space-between;
  }

  form .full {
    display: flex;
    justify-content: space-between;
  }

  .haf > input {
    width: 38%;
    padding: 1rem 2rem;
    font-size: 20px;
    background: var(--first-text-color);
    border-radius: 1rem;
    margin: 0.2rem 0;
    color: var(--text-color);
    outline: none;
    border: 0.2rem solid var(--first-bg-color);
    transition: 0.2s ease-in-out;
  }

  .haf > input:focus {
    border: 0.2rem solid var(--button-color);
    transition: 0.2s ease-in-out;
  }

  .full > input {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 20px;
    background: var(--first-text-color);
    border-radius: 1rem;
    margin: 0.2rem 0;
    color: var(--text-color);
    outline: none;
    border: 0.2rem solid var(--first-bg-color);
    transition: 0.2s ease-in-out;
  }

  .full > input:focus {
    border: 0.2rem solid var(--button-color);
    transition: 0.2s ease-in-out;
  }

  .button-flex {
    display: flex;
    justify-content: space-between;
  }

  input[type="submit"] {
    padding: 1rem 3rem;
    border-radius: 3rem;
    outline: none;
    border: none;
    background-color: var(--button-color);
    color: var(--first-text-color);
    font-size: 20px;
    margin-top: 10px;
    transition: 0.2s ease;
  }

  input[type="submit"]:hover {
    translate: -5px -5px;
    box-shadow: 5px 5px 1px rgb(82, 49, 49);
    transition: 0.2s ease;
  }

  textarea {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 20px;
    background: var(--first-text-color);
    border-radius: 1rem;
    margin: 0.2rem 0;
    color: var(--text-color);
    outline: none;
    border: 0.2rem solid var(--first-bg-color);
    resize: none;
    transition: 0.2s ease-in-out;
    height: 100px;
  }

  textarea:focus {
    border: 0.2rem solid var(--button-color);
    transition: 0.2s ease-in-out;
  }

  #Contract > .container-contract > .contract > .social-title {
    font-size: 20px;
    color: var(--first-text-color);
    margin: 20px 0 10px 0;
  }

  #Contract > .container-contract > .contract > .social-menu {
    display: flex;
  }

  #Contract > .container-contract > .contract > .social-menu > div > a {
    margin-right: 30px;
    font-size: 40px;
    color: var(--first-text-color);
  }

  #Contract > .container-contract > .contract > .social-menu > div:hover {
    transform: scale(1.2);
    transition: 0.3s ease;
  }
}
