@font-face {
  font-family: "Helvetica Neue";
  src: url("/asset/Fonts/helvetica-neu.ttf") format("ttf");
}

@font-face {
  font-family: "La Belle Aurore";
  src: url("/assets/Fonts/LaBelleAurore.ttf") format("ttf");
}

@font-face {
  font-family: "Coolvetica";
  src: url("/asset/Fonts/CoolveticaRg-Regular.woff2") format("woff2");
}

@keyframes spincube {
  from,
  to {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  16% {
    transform: rotateY(-90deg);
  }
  33% {
    transform: rotateY(-90deg) rotateZ(90deg);
  }
  50% {
    transform: rotateY(-180deg) rotateZ(90deg);
  }
  66% {
    transform: rotateY(-270deg) rotateX(90deg);
  }
  83% {
    transform: rotateX(90deg);
  }
}

* {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #2a2b2b;
  color: #fff;
}

#head {
  background-color: #2a2b2b;
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
}

#header {
  max-width: 1440px;
  margin: auto;
  padding: 1rem 2rem 0;
}

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

.img{
  display: flex;
  align-items: flex-end;
}

.img > img {
  height: 3rem;
}

.img > span{
  font-size: 2rem;
  font-family: "Coolvetica";
  font-weight: 500;
  letter-spacing: 2px
}

.img > .logo {
  height: 1.8rem;
}

.logo-img {
  width: 3.5rem;
  margin-bottom: -0.5rem;
  animation: rotateIn 1s linear both;
  animation-delay: 1.4s;
}

.main_nav > li > p::after {
  content: " ";
  width: 0;
  height: 0.2rem;
  background: #ff7d7d;
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  transition: 0.5s;
}

.main_nav > li > p:hover::after {
  width: 100%;
}

.main_nav > li {
  display: inline-block;
  list-style: none;
  margin: 1.5rem 0.5rem;
}

.main_nav > li > p {
  text-decoration: none;
  color: #8d8d8d;
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
}
.fa-solid.fa-bars {
  display: none;
}

.header-text {
  padding: 15rem 3rem 3rem;
  z-index: 1;
  margin: auto auto 3rem;
  max-width: 1440px;
}

.header-text > h1 {
  font-size: 5rem;
  font-family: "Coolvetica";
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 5rem;
}

.header-text > p {
  margin: 0.5rem 0 2rem;
  color: #8d8d8d;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1rem;
}

.header-text > h1::before {
  content: "<h1>";
  font-family: "La Belle Aurore";
  font-style: italic;
  color: #bccc1c;
  font-size: 1rem;
  position: absolute;
  margin-top: -4rem;
  left: -0.9rem;
  opacity: 0.6;
}

.header-text > h1::after {
  content: "<h1>";
  font-family: "La Belle Aurore";
  font-style: italic;
  color: #bccc1c;
  font-size: 1rem;
  position: absolute;
  margin-top: 1.4rem;
  margin-left: 1rem;
  animation: fadeIn 1s 1.7s backwards;
  opacity: 0.6;
}

.header-text > a > button {
  color: #bccc1c;
  background-color: transparent;
  border: 1px solid #bccc1c;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
}

.header-text > a > button:hover {
  background-color: #bccc1c;
  color: #2a2b2b;
}

.section {
  min-height: 95vh;
  max-width: 1440px;
  margin: auto;
}

/* $  about */

#about {
  padding: 9rem 3rem 2rem;
  margin-bottom: 3rem;
  min-height: 30rem;
  height: 40rem;
  overflow: auto;
}

#about::-webkit-scrollbar {
  display: none;
}

.content {
  margin: auto;
  max-width: 1440px;
}

.row {
  display: grid;
  grid-template-columns: 60% auto;
  align-items: center;
  gap: 3rem;
}

.col1 {
  width: 90%;
}

.col1 > h1 {
  font-size: 3.5rem;
  font-family: "Coolvetica";
  font-weight: 500;
  letter-spacing: 3px;
  color: #bccc1c;
  margin-bottom: 1rem;
}

.col1 > h1::before {
  content: "<h1>";
  font-family: "La Belle Aurore";
  font-style: italic;
  color: #bccc1c;
  font-size: 1rem;
  position: absolute;
  margin-top: -4rem;
  left: -0.9rem;
  opacity: 0.6;
}

.col1 > h1::after {
  content: "<h1>";
  font-family: "La Belle Aurore";
  font-style: italic;
  color: #bccc1c;
  font-size: 1rem;
  position: absolute;
  margin-top: 1.4rem;
  margin-left: 1.25rem;
  animation: fadeIn 1s 1.7s backwards;
  opacity: 0.6;
}

.col1 > p {
  line-height: 2rem;
  font-size: 1.2rem;
}

.col1 > p::before {
  content: "<p>";
  font-family: "La Belle Aurore";
  font-style: italic;
  color: #bccc1c;
  font-size: 1rem;
  position: absolute;
  margin-top: -4rem;
  left: -0.9rem;
  opacity: 0.6;
}

.col1 > p::after {
  content: "<p>";
  font-family: "La Belle Aurore";
  font-style: italic;
  color: #bccc1c;
  font-size: 1rem;
  position: absolute;
  margin-top: 1.4rem;
  margin-left: 1.25rem;
  animation: fadeIn 1s 1.7s backwards;
  opacity: 0.6;
}

.tab-title {
  display: flex;
  margin: 1rem 0 2rem;
}

.tab-links {
  margin-right: 2rem;
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
}

.tab-links::after {
  content: " ";
  width: 0;
  height: 0.2rem;
  background: #ff7d7d;
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  transition: 0.5s;
}

.tab-links.active-link::after {
  width: 80%;
}

.tab-contents {
  width: 80%;
  display: none;
}

.tab-contents > ul > li {
  list-style-type: none;
  font-size: 1rem;
  line-height: 1.5rem;
}

.active-tab {
  display: block;
}

.list > ul {
  display: grid;
  grid-template-columns: auto auto auto;
}

.experiences > ul > li,
.educations > ul > li {
  margin: 2rem 0;
}

.experiences > ul > li > p,
.educations > ul > li > p {
  font-style: italic;
  color: #bccc1c;
  margin-bottom: 1rem;
}

.experiences > ul > li > h2,
.educations > ul > li > h2 {
  font-family: "Coolvetica";
  letter-spacing: 2px;
  font-weight: 500;
  font-size: 1.8rem;
}

.experiences > ul > li > h3,
.educations > ul > li > h3 {
  color: #ff7d7d;
  font-weight: 500;
  margin-top: 0.76rem;
  font-size: 1.3rem;
}

.head {
  text-decoration: underline;
  font-size: 1.3rem;
  font-weight: 600;
  color: #8d8d8d;
  margin: 1rem 0;
}

.col2 {
  margin-top: 4rem;
}

.cube-spinner {
  animation-name: spincube;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 12s;
  transform-style: preserve-3d;
  transform-origin: 100px 100px 0;
  margin-left: calc(50% - 100px);
}

.cube-spinner > div {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid #ccc;
  background: rgba(255, 255, 255, 0.4);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px 0px lightyellow;
}

.face1 {
  transform: translateZ(100px);
  color: #5ed4f4;
}

.face2 {
  transform: rotateY(90deg) translateZ(100px);
  color: #f06529;
}
.face3 {
  transform: rotateY(90deg) rotateX(90deg) translateZ(100px);
  color: #28a4d9;
}
.face4 {
  transform: rotateY(180deg) rotateZ(90deg) translateZ(100px);
  color: #578f0d;
}
.face5 {
  transform: rotateY(-90deg) rotateZ(90deg) translateZ(100px);
  color: #ff7d7d;
}
.face6 {
  transform: rotateX(-90deg) translateZ(100px);
  color: #efd81d;
}

i {
  font-size: 8rem;
}

/* * Portfolio */
#portfolio {
  padding: 9rem 3rem 4rem;
  margin-bottom: 3rem;
  max-width: 1440px;
}

#portfolio > h1 {
  font-size: 3.5rem;
  font-family: "Coolvetica";
  font-weight: 500;
  letter-spacing: 3px;
  color: #bccc1c;
  margin-bottom: 1rem;
}

#portfolio > h1::before {
  content: "<h1>";
  font-family: "La Belle Aurore";
  font-style: italic;
  color: #bccc1c;
  font-size: 1rem;
  position: absolute;
  margin-top: -4rem;
  left: -0.9rem;
  opacity: 0.6;
}

#portfolio > h1::after {
  content: "<h1>";
  font-family: "La Belle Aurore";
  font-style: italic;
  color: #bccc1c;
  font-size: 1rem;
  position: absolute;
  margin-top: 1.4rem;
  margin-left: 1.25rem;
  animation: fadeIn 1s 1.7s backwards;
  opacity: 0.6;
}

.body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(31.3%, 1fr));
  grid-gap: 2rem;
  margin: 4rem auto 0;
  width: 95%;
}

.body > div {
  cursor: pointer;
  text-align: center;
  padding: 2rem 1rem;
  background-color: #242424;
  border-radius: 20px;
  width: 100%;
  /* transform: background 1s, transform 1s; */
}

.body > div:hover {
  background-color: #444749;
  transform: translateY(-0.5rem);
  transition: 1s;
}

.body > div > i {
  font-size: 2rem;
  color: #ff7d7d;
  margin-bottom: 1rem;
}

.body > div > h2 {
  font-size: 2rem;
  font-family: "Coolvetica";
  letter-spacing: 2px;
  font-weight: 500;
}

.body > div > p {
  font-size: 1.1rem;
  margin: 0.3rem 0 1.2rem;
}

.body > div > a {
  font-size: 1.1rem;
  color: #bccc1c;
  font-weight: 600;
}

/* ? CONTACT */
#contact {
  padding: 9rem 3rem 4rem;
  margin: auto auto 3rem;
  max-width: 1440px;
}

#contact > h1 {
  font-size: 3.5rem;
  font-family: "Coolvetica";
  font-weight: 500;
  letter-spacing: 3px;
  color: #bccc1c;
  margin-bottom: 1rem;
}

#contact > h1::before {
  content: "<h1>";
  font-family: "La Belle Aurore";
  font-style: italic;
  color: #bccc1c;
  font-size: 1rem;
  position: absolute;
  margin-top: -4rem;
  left: -0.9rem;
  opacity: 0.6;
}

#contact > h1::after {
  content: "<h1>";
  font-family: "La Belle Aurore";
  font-style: italic;
  color: #bccc1c;
  font-size: 1rem;
  position: absolute;
  margin-top: 1.4rem;
  margin-left: 1.25rem;
  animation: fadeIn 1s 1.7s backwards;
  opacity: 0.6;
}

.contain {
  margin: 3rem 0;
}

.contain > p {
  font-size: 1.2rem;
  line-height: 2rem;
  text-align: center;
}

.grid-phone {
  display: grid;
  grid-template-columns: 30% auto;
  width: 90%;
  margin: 1rem auto;
}

.contact-phone {
  margin: 2rem 0 3rem;
}

.bars,
.bars > i {
  font-size: 1.1rem;
  color: #ff7d7d;
  margin-bottom: 0.5rem;
}

.contact-phone > p > span {
  color: #fff;
}

.contact-phone > p > span > a {
  text-decoration: none;
  color: #fff;
}

.contact-phone > a > button {
  padding: 0.7rem 2rem;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 2px;
  background-color: transparent;
  border: 1px solid #ff7d7d;
  color: #ff7d7d;
  margin-top: 2rem;
  cursor: pointer;
}

.contact-phone > a > button:hover {
  background-color: #ff7d7d;
  color: #242424;
}

.contact-phone > ul {
  display: flex;
}

.contact-phone > ul > li {
  list-style: none;
  margin: 1rem 1rem 2rem 0;
}

.contact-phone > ul > li > a > i {
  font-size: 1.6rem;
  margin: 0 0.5rem;
  color: #8d8d8d;
}

.contact-form {
  margin: 2rem auto;
  width: 95%;
}

form > ul > li {
  padding: 0;
  margin: 0;
  list-style: none;
  margin-bottom: 1rem;
  display: block;
  clear: both;
  position: relative;
  animation: fadeInUp 2s 2s;
  animation-fill-mode: forwards;
}

.half {
  width: 48.7%;
  float: left;
  clear: none;
}

.half.right {
  margin-right: 1rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  border: none;
  outline: none;
  background: #242424;
  font-size: 1.2rem;
  font-weight: 400;
  color: #adb3b8;
  padding: 1rem;
  box-sizing: border-box;
}

input:-webkit-autofill {
  transition: background-color 5000s;
  -webkit-text-fill-color: #adb3b8 !important;
}

textarea {
  width: 100%;
  border: 0;
  background: #242424;
  height: 50px;
  font-size: 1.2rem;
  font-weight: 400;
  color: #adb3b8;
  padding: 1rem;
  resize: none;
  box-sizing: border-box;
  min-height: 150px;
  outline: none;
}

.flat-button {
  color: #bccc1c;
  background-color: transparent;
  border: 1px solid #bccc1c;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  float: right;
  width: 40%;
  text-align: center;
}

.flat-button:hover {
  color: #242424;
  background-color: #bccc1c;
}

#footer {
  background-color: #242424;
  padding: 1.5rem;
  text-align: center;
}

.footer_class {
  margin: auto;
  max-width: 1440px;
}

#footer > p {
  font-size: 1.2rem;
}

#footer > p > i,
.fa-heart {
  color: red;
  font-size: 1.3rem;
}

#message {
  display: block;
  color: #444749;
  font-size: 1.1rem;
}

.footer_body {
  margin: 2rem auto 3rem;
  display: flex;
  justify-content: space-between;
}

.logo_img{
  display: flex;
  align-items: flex-end;
}

.logo_img > span{
  font-size: 2rem;
  font-family: "Coolvetica";
  font-weight: 500;
  letter-spacing: 2px
}
.footer_logo {
  height: 3rem;
}


.left_nav {
  display: flex;
}

.left_nav > li > p::after,
.right_nav > li > p::after {
  content: " ";
  width: 0;
  height: 0.2rem;
  background: #ff7d7d;
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  transition: 0.5s;
}

.left_nav > li > p:hover::after,
.right_nav > li > p:hover::after {
  width: 100%;
}

.left_nav > li,
.right_nav > li,
.social_nav > li {
  display: flex;
  list-style: none;
  margin: 1.5rem 0.5rem;
}

.left_nav > li > p,
.right_nav > li > p {
  text-decoration: none;
  color: #8d8d8d;
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
}

.logo_img {
  margin-top: 2rem;
}

.right_nav {
  display: flex;
}

.right_nav > li,
.social_nav > li {
  list-style: none;
}

.social_nav {
  display: flex;
}

.social_nav > li > a > i {
  font-size: 1.6rem;
  margin: 0 1rem;
  color: #8d8d8d;
}

@media (max-width: 1200px) {
  .header-text,
  #about,
  #portfolio,
  #contact {
    padding: 15rem 2.5rem 3rem;
  }

  .header-text > h1 {
    font-size: 4.5rem;
  }

  #header-text > p {
    margin: 0.7rem 2rem;
  }

  .col1 {
    width: 100%;
  }

  .col1 > h1,
  #portfolio > h1,
  #contact > h1 {
    font-size: 3.2rem;
  }

  .half {
    width: 48.2%;
  }
}

@media (max-width: 1000px) {
  .header-text {
    font-size: 4rem;
  }

  #about {
    min-height: 42rem;
    height: 48rem;
  }

  .header-text,
  #about,
  #portfolio,
  #contact {
    padding: 15rem 2rem 3rem;
  }

  .col1 > h1,
  #portfolio > h1,
  #contact > h1 {
    font-size: 3rem;
  }

  .logo-img {
    width: 3rem;
  }

  .row {
    grid-template-columns: auto;
    align-items: unset;
  }

  .col1 {
    margin-bottom: 4rem;
  }

  .grid-phone {
    grid-template-columns: 45% auto;
    width: 95%;
  }

  .contact-phone > ul > li > a > i {
    font-size: 1.3rem;
  }

  .tab-contents {
    width: 100%;
  }

  .half {
    width: 100%;
  }

  #footer > p,
  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 1.1rem;
  }
  
  .social_nav > li > a > i {
    font-size: 1.5rem;
  }
}

@media (max-width: 800px) {
  .img > span, .logo_img > span{
    font-size: 1.8rem;
  }
  
  .header-text > h1 {
    font-size: 3.5rem;
    line-height: 4rem;
  }

  .header-text > p {
    margin-bottom: 1.5rem;
  }

  .header-text,
  #about,
  #portfolio,
  #contact {
    padding: 15rem 1.5rem 3rem;
  }

  .logo-img {
    width: 2.6rem;
    margin-bottom: -0.3rem;
  }

  .col1 > h1,
  #portfolio > h1,
  #contact > h1 {
    font-size: 2.8rem;
  }

  #about {
    min-height: 48rem;
    height: 55rem;
  }

  .col1 > p {
    font-size: 1.18rem;
  }

  .contain > p {
    text-align: unset;
  }
  .contact-phone > a > button {
    padding: 0.7rem 1.5rem;
    margin-top: 1.5rem;
  }

  .grid-phone {
    grid-template-columns: auto;
    width: 100%;
    gap: 0.5rem;
  }

  .left_nav,
  .right_nav {
    display: block;
  }

  .left_nav {
    text-align: left;
  }

  .right_nav {
    text-align: right;
  }

  .left_nav > li > p,
  .right_nav > li > p {
    font-size: 1.1rem;
  }

  .social_nav {
    text-align: left;
  }


  .left_nav > li,
  .right_nav > li,
  .social_nav > li {
    flex-direction: column;
    margin: 1rem 0;
  }

}

@media (max-width: 600px) {
  .img > .logo {
    display: none;
  }

  .logo-img {
    width: 2.4rem;
  }

  .main_nav {
    display: none;
  }

  .show_nav {
    padding-top: 3rem;
    text-align: center;
    z-index: 5;
    display: block;
    width: 70%;
    overflow: auto;
    height: 100vh;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #2a2b2b;
  }

  .main_nav > li {
    display: block;
    margin: 4rem 0;
  }

  .fa-solid.fa-bars {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 10;
    font-size: 1.7rem;
    margin: 1rem 0;
  }

  .logo_header {
    width: 100%;
    justify-content: space-between;
    margin-right: 2%;
  }

  #header {
    padding: 1rem;
  }

  .header-text,
  #about,
  #portfolio,
  #contact {
    padding: 15rem 1rem 3rem;
  }

  .header-text > h1 {
    font-size: 3rem;
  }

  .col1 > h1,
  #portfolio > h1,
  #contact > h1 {
    font-size: 2.6rem;
  }

  .tab-contents {
    width: 100%;
  }

  .tab-contents > ul > li {
    line-height: 1.7rem;
  }

  .list > ul {
    grid-template-columns: auto auto;
  }

  .experiences > ul > li > h2,
  .educations > ul > li > h2 {
    font-size: 1.6rem;
  }

  .experiences > ul > li > h3,
  .educations > ul > li > h3 {
    font-size: 1.25rem;
    margin-top: 0.6rem;
  }

  .body {
    grid-template-columns: auto;
    margin: 0 auto;
    width: 98%;
  }

  .body > div > i,
  .body > div > h2 {
    font-size: 1.9rem;
  }

  .body > div > a {
    font-size: 1.05rem;
  }

  #message,
  #footer > p,
  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 1rem;
  }

  .contact-phone > a > button {
    margin-top: 1rem;
  }

  .footer_body {
    display: grid;
    grid-template-columns: auto auto;
  }

  .right_nav {
    text-align: left;
  }

  .social_nav {
    margin-left: -1rem;
  }

  .logo_img {
    text-align: right;
    margin-top: 2rem;
  }


  .social_nav > li > a > i {
    font-size: 1.4rem;
  }
}

@media (max-width: 400px) {
  .header-text > h1 {
    font-size: 2.8rem;
    line-height: 3.3rem;
  }

  .header-text > a > button {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }

  .logo-img {
    width: 2rem;
  }

  .col1 > h1,
  #portfolio > h1,
  #contact > h1 {
    font-size: 2.4rem;
  }

  .col1 > p,
  .contain > p {
    font-size: 1.15rem;
  }

  .tab-links {
    font-size: 1.1rem;
  }

  .body > div > i,
  .body > div > h2 {
    font-size: 1.8rem;
  }

  .body > div > a {
    font-size: 1rem;
  }

  .cube-spinner > div {
    width: 150px;
    height: 150px;
  }

  i {
    font-size: 6rem;
  }

  .flat-button {
    font-size: 0.9rem;
    padding: 0.8rem 0;
  }


  .left_nav > li > p,
  .right_nav > li > p {
    font-size: 1rem;
  }
}

@media (max-width: 300px) {
  .img > span, .logo_img > span{
    font-size: 1.5rem;
  }
  
  #header {
    padding: 1rem 0.5rem;
  }

  .header-text > a > button {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }

  .flat-button {
    font-size: 0.8rem;
    padding: 0.7rem 0;
  }

  .col1 > p,
  .contain > p {
    font-size: 1.1rem;
  }

  .tab-links {
    font-size: 1rem;
  }

  .body > div > i,
  .body > div > h2 {
    font-size: 1.7rem;
  }

  .body > div > a {
    font-size: 0.9rem;
  }

  #message,
  #footer > p,
  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 0.9rem;
  }


  .social_nav > li > a > i {
    font-size: 1.3rem;
  }
}
