* {
  font-family: 'League Spartan', sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #F6DDE0;
  margin: 0;
}

.selected-page,
#selected-page {
  font-weight: 600;
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}


.intro-img img {
    width: 25rem;
    object-fit: cover;
    border: none;
    border-radius: 0;
}




@media (max-width:1024px) {
  p {
    line-height: 120%;
  }

  #head-2 img {
    width: 100%;
  }

  .middle {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  nav {
    width: 100%;
    display: flex;
    padding-top: 0.2em;
    margin-bottom: 1em;
    flex-direction: row;
    justify-content: space-around;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-name: slideInLeft;
  }

  nav img {
    height: 4rem;
  }

  nav a {
    text-decoration: none;
    color: #6E5B48;
    font-weight: 500;
    font-size: 10px;
  }

  .original {
    width: 100%;
    justify-content: space-around;
    display: flex;

    margin-bottom: 6em;
  }

  .dropdown {
    display: none;
    text-align: left;
    position: absolute;
    font-size: 20px;
    border: 5px solid white;
    border-radius: 25px;
    list-style: none;
    min-width: 160px;
    z-index: 1;
  }

  

  .original {
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-name: slideInLeft;
  }

  .header-flex {
    padding-left: 1.5em;
  }

  .header-flex h1 {
    color: #6E5B48;
    font-size: 36px;
    font-weight: 500;
  }

  .header-flex h2 {
    font-size: 21px;
    font-weight: 500;
    color: #6E5B48;
  }

  .description {
    text-align: left;
    margin-top: 1em;
    margin-bottom: 1em;
    overflow: hidden;
    height: 3em;
  }


  @keyframes text-animation {
    0% {
      margin-top: 0;
    }

    12.5% {
      margin-top: 0;
    }

    25% {
      margin-top: -2.5em;
    }

    37.5% {
      margin-top: -5em;
    }

    50% {
      margin-top: -7.5em;
    }

    62.5% {
      margin-top: -5em;
    }

    75% {
      margin-top: -2.5em;
    }

    87.5% {
      margin-top: 0;
    }

    100% {
      margin-top: 0;
    }
  }

  .description div:first-child {
    animation: text-animation 20s infinite;
  }


  .middle-flex {
    display: flex;

  }

  .thirds {
    display: flex;
    flex-direction: column;
    height: 15em;
    padding-left:5px;
    justify-content: space-around;
    font-size: 25px;
    text-align: left;
    color: #6E5B48;
    background: rgb(241, 158, 160);
    background: linear-gradient(90deg, rgba(241, 158, 160, 1) 41%, rgba(246, 221, 224, 1) 100%);
  }

  .thirds h3 {
    font-weight: 500;
  }

  .code.active {
    transform: translateY(0);
    opacity: 1;
  }

  .thirds>h3 {
    display: inline-block;
  }

  .code {
    transform: translateX(-150px);
    opacity: 0;
    position: relative;
    transition: 1s all ease;
  }

  .line-flex {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 25em;
    margin-left: 2em;
    justify-content: space-around;

  }



  #fix {
    display: none;
  }

  .line {
    border-top: 3px solid #6E5B48;
    height: 2em;
    width: 80%;
    justify-content: center;
    flex-direction: column;
    display: flex;
    margin-bottom: 0;
  }

  #special {
    height: 20em;
    display: flex;
    align-items: center;
    justify-content: left;
    border-left: 3px solid #6E5B48;
    margin-right: 3em
  }

  .home-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    margin-bottom:30rem;
    margin-top:30rem;

  }

  .intro {
    color: #6E5B48;
    padding: 25px;
  }

  .home-intro h2 {
    text-align: right;
  }

  .hearts img {
    height: 2em;
    
  }

  
  

  .stats {
    padding: 25px;
    color: #6E5B48;
  }

  .slider-body {
    height: 50vh;
    width: 100%;
    display: grid;
    place-items: center;
    margin-bottom: 35vh;
    color: #6E5B48;
  }

  .slider-info {
    width: 100%;
    flex-direction: column;
    max-width: 800px;
    justify-content: space-around;
    height: 700px;
    position: relative;
    overflow: hidden;
  }

  .sec {
    width: 100%;
    
    height: 350px;
    position: absolute;
    transition: all 0.5s;
  }

  .sec img {
    width: 100%;

    height: 400px;
    object-fit: contain;
  }

  .intro p {
    line-height: 150%;
  }

  .btn {
    position: absolute;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: none;
    border-radius: 50%;
    z-index: 10px;
    cursor: pointer;
    background-color: #fff;
    font-size: 18px;
  }

  #bolder {
    margin-top: 10vh;
    margin-bottom: 0;
  }

  .btn:active {
    transform: scale(1.1);
  }

  #prev {
    top: 45%;
    left: 2%;
  }

  #next {
    top: 45%;
    right: 2%;
  }

  .slider-info h2,
  .slider-info h3 {
    font-size: 35px;
    text-align: center;
    margin-top: 0;

  }

  .slider-info p {
    font-size: 15px;
    text-align: justify;
    padding: 25px;
    padding-top: 0;
  }

  footer {
    display: flex;
    flex-direction: column;

    height: fit-content;
    background: rgb(241, 158, 160);
    background: linear-gradient(0deg, rgba(241, 158, 160, 1) 60%, rgba(246, 221, 224, 1) 100%);
    color: black;
    width: 100%;

  }

  .footer-left {
    margin-top: 0;
    height: 200px;
    width: 90%;
    text-align: center;
    font-size: 12px;

  }

  .footer-right {
    width: 100%;
    text-align: justify;
    padding: 20px;
    color: white;
    font-size: 14px;
    opacity: 0.9;

  }

  footer li,
  footer a {
    text-align: center;
    line-height: 150%;
    text-decoration: none;
    color: white;
    list-style-type: none;
    font-size: 16px;
  }

  .resume {
    color: #6E5B48;
    text-align: left;
    width: 90%;
    padding-left: 15px;
  }

  .resume h1 {
    font-size: 28px;
  }

  .resume h2 {
    font-weight: 600;
  }

  .resume li {
    font-size: 18px;
    line-height: 125%;
  }

  #link {
    margin-top: 5vh;
    text-align: center;
    color: #6E5B48;
    margin-bottom: 75px;

  }

  #link img {
    height: 100px;
  }

  .letterofrec {
    text-align: center;
    color: #6E5B48;
  }

  .letters p {
    margin-bottom: 50px;

  }

  .letters a {
    text-decoration: none;
    color: #6E5B48;
  }

  .letters img {
    text-align: center;
    
    height: 25rem;
  }

  .portfolio {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #6E5B48;
  }


  .portfolio p,
  .portfolio h2 {
    font-weight: 500;
  }

  .portfolio h2 {
    font-size: 30px;
  }

  .portfolio p {
    font-size: 18px;
    width: 75%;
    text-align: justify;
  }

  .frame {
    background-color: #EBADB2;
    border: 5px solid white;
    border-radius: 25px;
    height: 18rem;
    align-items: center;
    width: 70%;

    display: flex;
    justify-content: center;
  }

  .portfolio a {
    color: #6E5B48;
  }

  .frame {
    margin-top: 200px;
  }

  .frame-flex {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #6E5B48;
  }

  

  .frame-flex h2 {
    font-size: 19px;
    font-weight: 600;
  }

  .frame-1 {
    background-color: #EBADB2;
    border: 5px solid white;
    border-radius: 25px;
    height: 800px;
    align-items: center;
    width: 50%;
    display: flex;
    justify-content: center;
  }

  .art-img-2 img {
    height: 4rem;
    width: 100%;
  }

  .sample {
    animation: web-scroll 20s linear infinite;
    display: flex;
    margin-right: 50px;
    width: 1200px;
  }

  .write {
    animation: write-scroll 10s linear infinite;
    display: flex;
    margin-right: 50px;
    width: 1200px;
  }

  .art {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    margin-right: 50px;
    animation: art-scroll 8s linear infinite;
  }

  @keyframes write-scroll {
    100% {
      transform: translateX(-220%);
    }
  }

  @keyframes web-scroll {
    100% {
      transform: translateX(-318%);
    }
  }

  @keyframes art-scroll {
    100% {
      transform: translateX(-219.9%);
    }
  }



  #web img {
    height: 13rem;
    width: 28rem;
  }

  #writing img {
    height: 16rem;
    width: 14rem;
  }

  .art img {
    width: 16rem;
    height: 15rem;
  }

  .carousel {
    text-align: center;
    display: flex;
    overflow: hidden;
    position: relative;
    width: 800px;
    height: 400px;
    align-items: center;
  }

  .carousel-1 {
    text-align: center;
    display: flex;
    overflow: hidden;
    position: relative;
    width: 800px;
    height: 400px;
    align-items: center;

  }

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

  .left-content {
    width: 75%;
    text-align: left;
    margin-left: 20px;
    color: #6E5B48;
    font-size: 18px;

  }

  .right-content {
    width: 85%;
    background-color: #F6DDE0;
    display: flex;
    margin-left: 20px;
    flex-direction: column;
    justify-content: center;
  }

  .name,
  .email,
  .subject,
  #message {
    color: white;
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-size: 18px;
    background-color: #EBADB2;
    border: 5px solid white;
    border-radius: 2%;
  }

  #submit {
    padding-bottom: 20px;
    background-color: #C77A80;
    border: 5px solid white;
    color: white;
    width: 25%;
    padding: 5px;
    font-size: 18px;
  }

  .socials a {
    margin-top: 10px;
    margin-bottom: 4em;
  }

  .socials img {
    height: 5em;
  }

  .socials {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
  }

  #submit p {
    text-align: center;
  }

  ::placeholder {
    color: white;
  }

  .header-flex {
    color: #6E5B48;
  }

  [class^='line-'] {
    width: 80%;
    height: 6em;
  }

  .line-1 {
    margin-top: 3em;
    border-top: 6px solid #6E5B48;
    border-right: 6px solid #6E5B48;
    height: 100px;
    padding-top: 125px;
  }

  .line-2 {
    border-top: 6px solid #6E5B48;
    border-right: 6px solid #6E5B48;
    padding-top: 125px;
  }

  .line-3 {
    
    border-top: 6px solid #6E5B48;
    border-right: 6px solid #6E5B48;
    height: 200px;
    margin-bottom: 0;
  }

  .line-4 {
    display: none;
  }


  .line-flex {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    flex-direction: column;
    width: 66%;
    justify-content: space-around;
    height: fit-content;

  }

  .grid {
    display: grid;
    margin-bottom: 100px;
    grid-template-columns: 50% 50%;
  }

  .grid p {
    font-size: 18px;
  }




  
  #grid1 {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 1;
    grid-column-end: 1;
    text-align: center;
  }

  #icon-1 {
    border-radius: 100%;
    height: 150px;
    border: 5px solid white;
  }

  
  #extragrid {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 2;
    grid-column-end: 2;
    text-align: left;
    color: #6E5B48;
  }

  #extragrid h1 {
    font-weight: 400;
    font-size: 22px;
  }

  #extragrid h3 {
    font-weight: 300;
    font-size: 18px;
    width: 75%;
  }

  
  #grid2 {
    grid-row-start: 2;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 1;
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid white;
    border-radius: 20px;
    color: white;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #EAAEB5;
  }

  #grid3 img,
  #grid4 img,
  #grid7 img,
  #grid6 img {
    width: 100%;
  }

  #grid2 img {
    width: 100%;
  }

  #grid2 p {
    font-size: 18px;
    font-weight: 600;
    padding-top: 50px;
    width: 100%;
    text-align: center;
  }

  
  #grid3 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 3;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-around;
  }

  
  #grid4 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 3;
    flex-direction: column;
    display: flex;
    text-align: center;
    justify-content: space-around;
  }

  
  #grid7 {
    grid-row-start: 4;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 3;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    text-align: center;
  }

  
  #grid5 {
    grid-row-start: 5;
    grid-row-end: 6;
    grid-column-start: 1;
    grid-column-end: 3;
  }

  #grid5 h3,
  #grid5 li {
    padding: 15px;
    font-size: 18px;
  }

  
  #grid6 {
    grid-row-start: 7;
    grid-row-end: 7;
    grid-column-start: 1;
    grid-column-end: 3;
    flex-direction: column;
    display: flex;
    text-align: center;
  }

  #icon {
    border-radius: 100%;
    height: 250px;
    border: 5px solid white;
  }

  .cosmetic {
    background-color: #EAAEB5;
    border: 5px solid white;
    border-radius: 20px;
    margin: 20px;
    color: white;
    font-size: 30px;
  }

  .grid-2 {
    
    
    width: 100%;
    padding: 10px;
    grid-template-rows: 400px;
    grid-template-columns: 25% 50%;
    font-size: 30px;
    display: flex;
    justify-content: center;
  }

  .grid-2 img {
    height: 125px;
    margin-bottom: 10px;
    text-align: center;
  }

  .bold {
    font-weight: 600;
    font-size: 22px;
  }

  #g1,
  #g3,
  #g5,
  #g7,
  #g9,
  #g12 {
    text-align: right;
    margin-right: 50px;
  }

  #achievements {
    height: 500px;
    overflow-y: auto;
    display: grid;
    margin-bottom: 200px;
  }


  .achaward {
    width: 100%;
  }

  .achaward h2 {
    text-align: center;
    font-size: 45px;
    color: #6E5B48;
    font-weight: 400;
  }

  .achaward img {
    border-radius: 5px;
    height: 100px;
  }

  .scroll {
    color: white;
    list-style: none;
    border: 4.5px solid white;
    border-radius: 15px;
    padding: 10px;
    font-size: 16px;
    background-color: #EAAEB5;
  }

  .scroll h2 {
    font-size: 18px;
  }


  #g0 {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 1;
    grid-column-end: 4;
    color: white;
    text-align: right;
  }

  #g1 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 1;
  }

  #g2 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 4;

  }

  #g3 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #g4 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g5 {
    grid-row-start: 4;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #g6 {
    grid-row-start: 4;
    grid-row-end: 4;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g7 {
    grid-row-start: 5;
    grid-row-end: 5;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #g8 {
    grid-row-start: 5;
    grid-row-end: 5;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g9 {
    grid-row-start: 6;
    grid-row-end: 6;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #g10 {
    grid-row-start: 6;
    grid-row-end: 6;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g11 {
    grid-row-start: 7;
    grid-row-end: 7;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g12 {
    grid-row-start: 7;
    grid-row-end: 7;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .scroll {
    margin-bottom: 5px;
  }

  .postsec {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: fit-content;
    padding: 10px;
  }

  #psimg img {
    width: 100%;
    text-align: center;
  }

  #pstext {
    width: 100%;
    font-weight: 400;
    padding: 5px;
    color: #6E5B48;
    font-size: 18px;
  }

  .web-grid {
    display: grid;
    color: #6E5B48;
    
    width: 100%;
    margin-top: 200px;
    grid-template-rows: 150px;
    grid-template-columns: 25% 75%;
  }

  .web-1 img,
  .web-2 img,
  .web-3 img,
  .web-4 img {
    width: 100%;
    padding-right: 25px;
  }

  #w1 {
    margin-top: -100px;
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 2;
    grid-column-end: 3;
  }

  #w5 {
    
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 3;
  }

  #w11 {
    grid-row-start: 8;
    grid-row-end: 8;
    grid-column-start: 2;
    grid-column-end: 3;
  }

  #w8 {
    grid-row-start: 6;
    grid-row-end: 6;
    grid-column-start: 2;
    grid-column-end: 3;
  }

  .web-1 {
    margin-top: -100px;
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 3;
  }

  .web-2 {
    grid-row-start: 4;
    grid-row-end: 4;
    grid-column-start: 2;
    grid-column-end: 3;
  }

  .web-3 {
    grid-row-start: 7;
    grid-row-end: 7;
    grid-column-start: 2;
    grid-column-end: 3;
  }

  .web-4 {
    grid-row-start: 9;
    grid-row-end: 10;
    grid-column-start: 2;
    grid-column-end: 3;
  }

  .heart-divider {
    margin-top: 0;
    grid-row-start: 1;
    display: flex;
    justify-content: center;
    
    margin-left: 30px;
    grid-row-end: 10;
    grid-column-start: 1;
    grid-column-end: 1;
    border-right: 5px solid #000000;
    height: 100%;
    width: 1%;
  }

  .heart-divider img {
    height: 50px;
    position: fixed;
    margin-left: 8px;
  }

  .divider {
    background-color: #EAAEB5;
    border: 5px solid white;
    border-radius: 20px;
    color: white;
    width: 75%;
    height: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 25px;
    margin-bottom: 25px;
    font-size: 18px;
  }

  .divider:not(:first-child) {
    margin-top: 100px;
  }

  .eng img,
  .eng-1 img {
    height: 400px;
    padding: 20px;
    margin-left: 10px;
  }

  .portfolio a {
    margin-top: 20px;
  }

  .frame {
    margin-top: 0;
  }

  .eng,
  .eng-1 {
    display: flex;
    line-height: 120%;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    text-align: justify;
  }

  .eng-1 a,
  .eng a {
    text-decoration: none;
  }

  .eng p,
  .eng h2,
  .eng-1 p,
  .eng-1 h2 {
    color: #6E5B48;
    padding: 15px;

  }


  .frame-flex {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: rgb(110, 91, 72);
  }

  .frame-flex h2 {
    font-size: 32px;
  }

  .robot {
    height: 200px;
  }

  .art-img-2 img {
    height: 200px;
  }

  .frame-flex p {
    text-align: left;
    line-height: 120%;
    padding: 25px;
    font-size: 18px;
    width: 100%;
  }

  .frame-1 {
    background-color: #EBADB2;
    border: 5px solid white;
    border-radius: 25px;
    height: 300px;
    align-items: center;
    width: 90%;
    display: flex;
    justify-content: center;
  }
}


@media (max-width:1280px) {
  [class^='line-'] {
    width: 50%;
    height: 300px;
  }

  .line-1 {
    border-right: 3px solid #6E5B48;
    border-left: 6px solid #6E5B48;
    border-bottom: 6px solid #6E5B48;
  }

  .line-2 {
    border-left: 3px solid #6E5B48;
    border-right: 6px solid #6E5B48;
    border-bottom: 6px solid #6E5B48;
  }

  .line-3 {
    border-right: 3px solid #6E5B48;
  }

  .line-4 {
    border-left: 3px solid #6E5B48;
  }

  .line-flex {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    flex-direction: row;
    width: 66%;
    justify-content: space-around;
    height: fit-content;

  }

  #achievements {
    height: 500px;
    overflow-y: auto;
    display: grid;
    margin-bottom: 200px;
  }

  

  .achaward {
    width: 100%;
  }

  #head-2 img {
    width: 100%;
  }

  .achaward h2 {
    text-align: center;
    font-size: 45px;
    color: #6E5B48;
    font-weight: 400;
  }

  .fox {
    height: 100px;
  }

  nav {
    display: flex;
    padding-top: 20px;
    flex-direction: row;
    justify-content: space-around;
  }

  #margin {
    margin-bottom: 50px;
  }

  nav a {
    text-decoration: none;
    color: #6E5B48;
    font-weight: 500;
  }

  .header-flex h1 {
    color: #6E5B48;
    font-size: 100px;
    font-weight: 500;
  }

  .header-flex h2 {
    font-size: 60px;
    font-weight: 500;
    color: #6E5B48;
  }

  .original {
    width: 100%;
    justify-content: space-around;
    display: flex;
    margin-bottom: 200px;
  }

  #head-1 {
    width: 50%;
  }

  #contact-head {
    width: 50%;
  }

  #contact-head h1 {
    font-weight: 600;
  }

  #contact-head h2 {
    font-weight: 400;
  }

  #contact-head p {
    color: #6E5B48;
    font-size: 26px;
  }

  #head-2 {
    width: 20%;
    text-align: left;
  }

  .middle-flex {
    flex-direction: row;
    display: flex;
    width: 100%;

  }

  .middle {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;



  }

  .code {
    transform: translateX(-150px);
    opacity: 0;
    position: relative;
    transition: 1s all ease;
  }

  .code.active {
    transform: translateY(0);
    opacity: 1;
  }


  #special {
    height: 400px;
    margin-top: 0;
  }

  .thirds {
    width: 100%;
    display: flex;
    justify-content: space-around;
    font-size: 60px;
    text-align: center;
    color: #6E5B48;
    background: rgb(241, 158, 160);
    background: linear-gradient(180deg, rgba(241, 158, 160, 1) 41%, rgba(246, 221, 224, 1) 100%);
  }

  .thirds>.code {
    width: 33%;
    text-align: center;
  }

  .thirds>h3 {
    display: inline-block;
  }

  .thirds h3 {
    font-weight: 400;
  }


  .home-intro {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
  }

  .stats img {
    height: 40px;
    text-align: right;
    max-width: 15%;
  }

  .hearts {
    display: flex;
    flex-direction: row;
  }

  .stats {
    width: 20%;
    display: flex;
    font-size: 24px;
    text-align: right;
    flex-direction: column;
    color: #6E5B48;
    justify-content: center;
  }

  .stats h4 {
    font-weight: 500;
    text-align: left;
  }

  .intro {
    width: 20%;
    display: flex;
    flex-direction: column;
    font-weight: 500;
    font-size: 24px;
    color: #6E5B48;
  }

  footer {
    display: flex;
    flex-direction: row;
    line-height: 150%;
    margin-top: 50px;
    height: fit-content;
    background: rgb(241, 158, 160);
    background: linear-gradient(0deg, rgba(241, 158, 160, 1) 60%, rgba(246, 221, 224, 1) 100%);
    color: black;
    height:fit-content;
  }

  .footer-left {
    width: 50%;
    height: 200px;
    font-size: 24px;
    padding-bottom: 100px;
    padding-top: 200px;
    padding-left: 100px;
  }

  .footer-right {
    width: 50%;
    font-size: 20px;
    line-height: 150%;
    text-align: right;
    padding-bottom: 100px;
    padding-top: 200px;
    padding-right: 100px;
  }

  footer li,
  footer a {
    text-decoration: none;
    color: black;
    list-style-type: none;
    font-size: 20px;
  }

  .slider-body {
    height: 50vh;
    width: 100%;
    display: grid;
    
    place-items: center;
    margin-bottom: 35vh;
    color: #6E5B48;
  }

  .slider-info {
    width: 100%;
    flex-direction: column;
    max-width: 800px;
    justify-content: space-around;
    height: 700px;
    position: relative;
    overflow: hidden;
  }

  #bolder {
    font-size: 40px;
    margin-top: 100px;
  }

  .sec {
    width: 100%;
    
    height: 350px;
    position: absolute;
    transition: all 0.5s;
  }

  .sec img {
    width: 100%;

    height: 400px;
    object-fit: contain;
  }

  .btn {
    position: absolute;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: none;
    border-radius: 50%;
    z-index: 10px;
    cursor: pointer;
    background-color: #fff;
    font-size: 18px;
  }

  .btn:active {
    transform: scale(1.1);
  }

  #prev {
    top: 45%;
    left: 2%;
  }

  #next {
    top: 45%;
    right: 2%;
  }

  .slider-info h2,
  .slider-info h3 {
    font-size: 40px;

  }

  .slider-info p {
    font-size: 20px;
  }

  .slider-info h3 {
    text-align: center;
  }

  .dot {
    background-color: hotpink;
    padding: 8px;
    border-radius: 50%;
    margin: 10px;
  }

  #link {
    display: flex;
    flex-direction: column;
    font-size: 24px;
    text-align: center;
  }

  .letters {
    display: flex;
    margin-top: 200px;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
  }

  .letters-text {
    text-align: center;
    font-size: 24px;
    margin-bottom: 200px;
  }

  .resume {
    color: #6E5B48;
    text-align: left;
    width: 90%;
    padding-left: 150px;
  }

  .resume h1 {
    font-size: 50px;
  }

  .resume h2 {
    font-weight: 600;
  }


  .resume li {
    font-size: 20px;
  }

  .head {
    display: flex;
    width: 100%;
    flex-direction: row;
  }

  .head-text,
  .color-bg {
    width: 50%;
  }

  .contact-form {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }

  .left-content {
    width: 50%;
    color: #6E5B48;
    font-size: 26px;
  }

  .right-content {
    width: 25%;
    background-color: #F6DDE0;
    display: flex;
    flex-direction: column;
  }

  .name,
  .email,
  .subject,
  #message {
    color: white;
    margin-bottom: 10px;
    padding-bottom: 20px;
    font-size: 26px;
    background-color: #EBADB2;
    border: 5px solid white;
    border-radius: 2%;
  }

  #submit {
    padding-bottom: 20px;
    background-color: #C77A80;
    border: 5px solid white;
    color: white;
    width: 25%;
    padding: 25px;
    font-size: 26px;
  }

  .socials a {
    margin-top: 100px;
  }

  .socials img {
    max-width: 100%;
    height: 200px;
  }

  .socials {
    display: flex;
    justify-content: space-around;
  }

  #submit p {
    text-align: center;
  }

  ::placeholder {
    color: white;
  }

  .frame {
    background-color: #EBADB2;
    border: 5px solid white;
    border-radius: 25px;
    height: 500px;
    align-items: center;
    width: 40%;

    display: flex;
    justify-content: center;
  }

  .frame {
    margin-top: 200px;
  }

  .sample {
    animation: web-scroll 20s linear infinite;
    display: flex;
    margin-right: 50px;
    width: 1200px;
  }

  .write {
    animation: write-scroll 10s linear infinite;
    display: flex;
    margin-right: 50px;
    width: 1200px;
  }

  .art {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    margin-right: 50px;
    animation: art-scroll 8s linear infinite;
  }

  @keyframes write-scroll {
    100% {
      transform: translateX(-220%);
    }
  }

  @keyframes web-scroll {
    100% {
      transform: translateX(-318%);
    }
  }

  @keyframes art-scroll {
    100% {
      transform: translateX(-219.9%);
    }
  }



  #web img {
    height: 400px;
    width: 800px;
  }

  #writing img {
    height: 600px;
    width: 500px;
  }

  .art img {
    width: 500px;
    height: 450px;
  }

  .carousel {
    text-align: center;
    display: flex;
    overflow: hidden;
    position: relative;
    width: 800px;
    height: 400px;
    align-items: center;
  }

  .carousel-1 {
    text-align: center;
    display: flex;
    overflow: hidden;
    position: relative;
    width: 800px;
    height: 400px;
    align-items: center;

  }

  .portfolio p,
  .portfolio h2 {
    font-weight: 500;
  }

  .portfolio h2 {
    font-size: 45px;
  }

  .portfolio p {
    font-size: 24px;
    width: 50%;
    text-align: left;
  }

  .portfolio {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #6E5B48;
  }

  .grid {
    display: grid;
    margin-bottom: 100px;
    grid-template-rows: 300px auto 300px;
    grid-template-columns: 20% 30% 30% 20%;
  }



  .grid img {
    height: 100px;
  }


  
  #grid1 {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 2;
    grid-column-end: 3;
    text-align: center;
  }

  
  #extragrid {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 3;
    grid-column-end: 3;
    text-align: left;
    color: #6E5B48;
  }

  #extragrid h1 {
    font-weight: 400;
    font-size: 50px;
  }

  #extragrid h3 {
    font-weight: 300;
    font-size: 34px;
    width: 75%;
  }

  
  #grid2 {
    grid-row-start: 1;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 1;
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid white;
    border-radius: 20px;
    color: white;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #EAAEB5;
  }

  #grid2 img {
    height: 300px;
    width: 100%;
  }

  #grid2 p {
    font-size: 40px;
    font-weight: 600;
    width: 100%;
    text-align: center;
  }

  
  #grid3 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 3;
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-around;
  }

  
  #grid4 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 3;
    grid-column-end: 4;
    flex-direction: row;
    display: flex;
    text-align: center;
    justify-content: space-around;
  }

  
  #grid7 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 4;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    text-align: center;
  }

  
  #grid5 {
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 4;
    grid-column-end: 4;
  }

  #grid5 h3,
  #grid5 li {
    padding: 15px;
  }

  
  #grid6 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 4;
    grid-column-end: 4;
    flex-direction: row;
    display: flex;
    text-align: center;
  }

  #icon,
  #icon-1 {
    border-radius: 100%;
    height: 250px;
    border: 5px solid white;
  }

  .letters object {
    width: 25%;
    height: 600px;
  }

  .eng object,
  .eng-1 object {
    width: 100%;
    height: 600px;
  }


  .cosmetic {
    background-color: #EAAEB5;
    border: 5px solid white;
    border-radius: 20px;
    margin: 20px;
    color: white;
    font-size: 30px;
  }

  .grid-2 {
    
    margin-bottom: 100px;
    width: 100%;
    grid-template-rows: 400px;
    grid-template-columns: 25% 50%;
    font-size: 30px;
    display: flex;
    justify-content: center;
  }

  .grid-2 img {
    height: 125px;
    margin-bottom: 25px;
    text-align: center;
  }

  .bold {
    font-weight: 600;
    font-size: 22px;
  }

  #g1,
  #g3,
  #g5,
  #g7,
  #g9,
  #g12 {
    text-align: right;
    margin-right: 50px;
  }


  .scroll {
    color: white;
    list-style: none;
    border: 4.5px solid white;
    border-radius: 15px;
    padding: 10px;
    background-color: #EAAEB5;
  }

  #g0 {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 1;
    grid-column-end: 4;
    color: white;
    text-align: right;
  }

  #g1 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 1;
  }

  #g2 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 4;

  }

  #g3 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #g4 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g5 {
    grid-row-start: 4;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #g6 {
    grid-row-start: 4;
    grid-row-end: 4;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g7 {
    grid-row-start: 5;
    grid-row-end: 5;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #g8 {
    grid-row-start: 5;
    grid-row-end: 5;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g9 {
    grid-row-start: 6;
    grid-row-end: 6;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #g10 {
    grid-row-start: 6;
    grid-row-end: 6;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g11 {
    grid-row-start: 7;
    grid-row-end: 7;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g12 {
    grid-row-start: 7;
    grid-row-end: 7;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .scroll {
    margin-bottom: 25px;
  }

  .postsec {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 50px;
  }

  #psimg {
    width: 50%;
  }

  #pstext {
    width: 50%;
    font-weight: 400;
    color: #6E5B48;
    font-size: 25px;
  }

  .divider {
    background-color: #EAAEB5;
    border: 5px solid white;
    margin: 50px;
    border-radius: 20px;
    color: white;
    width: 40%;
    height: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 25px;
    font-size: 26px;
  }

  #pstext h2 {
    font-weight: 400;
    font-size: 45px;
  }

  .web-grid {
    display: grid;
    
    width: 100%;
    margin-top: 200px;
    grid-template-rows: 400px;
    grid-template-columns: 25% 15% 60%;
  }


  #w1 {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .heart-divider {
    grid-row-start: 1;
    display: flex;
    justify-content: center;
    
    grid-row-end: 9;
    grid-column-start: 2;
    grid-column-end: 3;
    border-left: 9px solid #000000;
    height: 1000px;
    width: 1%;
    height: 100%;
  }

  .heart-divider img {
    height: 125px;
    position: fixed;
    margin-right: 10px;
  }

  #w5 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
    margin-top: 500px;

  }

  #w8 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #w11 {
    grid-row-start: 4;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .web-1 {
    display: flex;

    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 3;
    grid-column-end: 4;
  }

  .web-2 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 3;
    grid-column-end: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .web-3 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 3;
    grid-column-end: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .web-4 {
    grid-row-start: 4;
    grid-row-end: 4;
    grid-column-start: 3;
    grid-column-end: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .web-1 img,
  .web-2 img,
  .web-3 img,
  .web-4 img {
    height: 350px;
  }


  .web-2 img {
    margin-top: 500px;
    position: relative;
  }

  .web-1,
  .web-2,
  .web-3,
  .web-4 {
    margin: 150px;
    text-align: left;
  }

  .web-1 p,
  .web-2 p,
  .web-3 p,
  .web-4 p {
    color: #6E5B48;
    padding: 25px;
    font-size: 24px;
  }

  .port .dropbtn {
    border: none;
    outline: none;
    padding: 14px 16px;
    margin: 0;
  }

  .dropdown {
    display: none;
    text-align: left;
    position: absolute;
    font-size: 20px;
    border: 5px solid white;
    border-radius: 25px;
    list-style: none;
    min-width: 160px;
    z-index: 1;
  }

  .dropdown a {
    color: white;
    padding: 12px 16px;
    display: block;
    text-align: left;
  }

  .dropdown a:hover {
    font-weight: bold;
  }

  .port:hover .dropdown {
    display: block;
    background-color: #EAAEB5;
    text-align: left;
  }
      .dropdown a:hover {
        font-weight: bold;
      } */

  .eng {
    display: flex;
    width: 100%;
    justify-content: space-around;
    flex-direction: row;
    margin-bottom: 175px;
  }

  .eng-1 {
    display: flex;
    width: 100%;
    justify-content: space-around;
    flex-direction: row-reverse;
  }

  .eng h2,
  .eng-1 h2 {
    color: #6E5B48;
    font-size: 45px;
    font-weight: 400;
  }

  .eng p,
  .eng-1 p {
    font-size: 25px;
    color: #6E5B48;
  }

  .eng-img {
    width: 45%;
  }

  .eng-text {
    width: 45%;
  }

  .robot {
    height: 600px;
  }

  .frame-flex {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #6E5B48;
  }

  .frame-flex p {
    margin-left: 200px;
    margin-right: 200px;
    margin-bottom: 100px;
    text-align: left;
    font-size: 25px;
  }

  .frame-flex h2 {
    font-size: 45px;
    font-weight: 600;
  }

  .frame-1 {
    background-color: #EBADB2;
    border: 5px solid white;
    border-radius: 25px;
    height: 800px;
    align-items: center;
    width: 50%;
    display: flex;
    justify-content: center;
  }



  .art-img-2 img {
    height: 600px;
  }

  #hand,
  #draw,
  #clock {
    height: 150px;
    align-items: center;
    display: flex;
    justify-content: center;
  }

  #game {
    height: 200px;
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .cosmetic p {
    font-size: 40px;
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .achaward img {
    border-radius: 15px;
  }

  .animate {
    display: inline-block;
    position: relative;
  }

  .animate:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: -10px;
    left: 0;
    background-color: white;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;

  }


  .animate:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }



  nav {
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-name: slideInLeft;
  }

  .original {
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-name: slideInLeft;
  }

  @keyframes text-animation {
    0% {
      margin-top: -2em;
    }

    12.5% {
      margin-top: -2em;
    }

    25% {
      margin-top: -8em;
    }

    37.5% {
      margin-top: -15em;
    }

    50% {
      margin-top: -22em;
    }

    62.5% {
      margin-top: -15em;
    }

    75% {
      margin-top: -8em;
    }

    87.5% {
      margin-top: -2em;
    }

    100% {
      margin-top: -2em;
    }
  }

  .description div:first-child {
    animation: text-animation 20s infinite;
  }

  .description {
    text-align: left;
    margin-top: 5em;
    margin-bottom: 1em;
    overflow: hidden;
    height: 5em;
  }
}


@media (min-width:1280px) {

  [class^='line-'] {
    width: 50%;
    height: 300px;
  }

  .line-1 {
    border-right: 3px solid #6E5B48;
    border-left: 6px solid #6E5B48;
    border-bottom: 6px solid #6E5B48;
  }

  .line-2 {
    border-left: 3px solid #6E5B48;
    border-right: 6px solid #6E5B48;
    border-bottom: 6px solid #6E5B48;
  }

  .line-3 {
    border-right: 3px solid #6E5B48;
  }

  .line-4 {
    border-left: 3px solid #6E5B48;
  }

  .line-flex {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    flex-direction: row;
    width: 66%;
    justify-content: space-around;
    height: fit-content;

  }

  #achievements {
    height: 500px;
    overflow-y: auto;
    display: grid;
    margin-bottom: 200px;
  }


  .achaward {
    width: 100%;
  }

  #head-2 img {
    width: 100%;
  }

  .achaward h2 {
    text-align: center;
    font-size: 45px;
    color: #6E5B48;
    font-weight: 400;
  }

  .fox {
    height: 100px;
  }

  nav {
    display: flex;
    padding-top: 20px;
    flex-direction: row;
    justify-content: space-around;
  }

  #margin {
    margin-bottom: 50px;
  }

  nav a {
    text-decoration: none;
    color: #6E5B48;
    font-weight: 500;
  }

  .header-flex h1 {
    color: #6E5B48;
    font-size: 100px;
    font-weight: 500;
  }

  .header-flex h2 {
    font-size: 60px;
    font-weight: 500;
    color: #6E5B48;
  }

  .original {
    width: 100%;
    justify-content: space-around;
    display: flex;
    margin-bottom: 200px;
  }

  #head-1 {
    width: 50%;
  }

  #contact-head {
    width: 50%;
  }

  #contact-head h1 {
    font-weight: 600;
  }

  #contact-head h2 {
    font-weight: 400;
  }

  #contact-head p {
    color: #6E5B48;
    font-size: 26px;
  }

  #head-2 {
    width: 20%;
    text-align: left;
  }

  .middle-flex {
    flex-direction: row;
    display: flex;
    width: 100%;

  }

  .middle {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;



  }

  .code {
    transform: translateX(-150px);
    opacity: 0;
    position: relative;
    transition: 1s all ease;
  }

  .code.active {
    transform: translateY(0);
    opacity: 1;
  }


  #special {
    height: 400px;
    margin-top: 0;
  }

  



  

  .thirds {
    width: 100%;
    display: flex;
    justify-content: space-around;
    font-size: 60px;
    text-align: center;
    color: #6E5B48;
    background: rgb(241, 158, 160);
    background: linear-gradient(180deg, rgba(241, 158, 160, 1) 41%, rgba(246, 221, 224, 1) 100%);
  }

  .thirds>.code {
    width: 33%;
    text-align: center;
  }

  .thirds>h3 {
    display: inline-block;
  }

  .thirds h3 {
    font-weight: 400;
  }



  .home-intro {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
  }

  .stats img {
    height: 40px;
    text-align: right;
    max-width: 15%;
  }

  .hearts {
    display: flex;
    flex-direction: row;
  }

  .stats {
    width: 20%;
    display: flex;
    font-size: 24px;
    text-align: right;
    flex-direction: column;
    color: #6E5B48;
    justify-content: center;
  }

  .stats h4 {
    font-weight: 500;
    text-align: left;
  }

  .intro {
    width: 20%;
    display: flex;
    flex-direction: column;
    font-weight: 500;
    font-size: 24px;
    color: #6E5B48;
  }

  footer {
    display: flex;
    flex-direction: row;
    line-height: 150%;
    margin-top: 50px;
    height: fit-content;
    background: rgb(241, 158, 160);
    background: linear-gradient(0deg, rgba(241, 158, 160, 1) 60%, rgba(246, 221, 224, 1) 100%);
    color: black;

  }

  .footer-left {
    width: 50%;
    height: 200px;
    font-size: 24px;
    padding-bottom: 100px;
    padding-top: 200px;
    padding-left: 100px;
  }

  .footer-right {
    width: 50%;
    font-size: 20px;
    line-height: 150%;
    text-align: right;
    padding-bottom: 100px;
    padding-top: 200px;
    padding-right: 100px;
  }

  footer li,
  footer a {
    text-decoration: none;
    color: black;
    list-style-type: none;
    font-size: 20px;
  }

  .slider-body {
    height: 50vh;
    width: 100%;
    display: grid;
    
    place-items: center;
    margin-bottom: 35vh;
    color: #6E5B48;
  }

  .slider-info {
    width: 100%;
    flex-direction: column;
    max-width: 800px;
    justify-content: space-around;
    height: 700px;
    position: relative;
    overflow: hidden;
  }

  #bolder {
    font-size: 40px;
    margin-top: 100px;
  }

  .sec {
    width: 100%;
    
    height: 350px;
    position: absolute;
    transition: all 0.5s;
  }

  .sec img {
    width: 100%;

    height: 400px;
    object-fit: contain;
  }

  .btn {
    position: absolute;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: none;
    border-radius: 50%;
    z-index: 10px;
    cursor: pointer;
    background-color: #fff;
    font-size: 18px;
  }

  .btn:active {
    transform: scale(1.1);
  }

  #prev {
    top: 45%;
    left: 2%;
  }

  #next {
    top: 45%;
    right: 2%;
  }

  .slider-info h2,
  .slider-info h3 {
    font-size: 40px;

  }

  .slider-info p {
    font-size: 20px;
  }

  

  .slider-info h3 {
    text-align: center;
  }

  .dot {
    background-color: hotpink;
    padding: 8px;
    border-radius: 50%;
    margin: 10px;
  }

  #link {
    display: flex;
    flex-direction: column;
    font-size: 24px;
    text-align: center;
  }

  .letters {
    display: flex;
    margin-top: 200px;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
  }

  .letters-text {
    text-align: center;
    font-size: 24px;
    margin-bottom: 200px;
  }

  .resume {
    color: #6E5B48;
    text-align: left;
    width: 90%;
    padding-left: 150px;
  }

  .resume h1 {
    font-size: 50px;
  }

  .resume h2 {
    font-weight: 600;
  }


  .resume li {
    font-size: 20px;
  }

  .head {
    display: flex;
    width: 100%;
    flex-direction: row;
  }

  .head-text,
  .color-bg {
    width: 50%;
  }

  .contact-form {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }

  .left-content {
    width: 50%;
    color: #6E5B48;
    font-size: 26px;
  }

  .right-content {
    width: 25%;
    background-color: #F6DDE0;
    display: flex;
    flex-direction: column;
  }

  .name,
  .email,
  .subject,
  #message {
    color: white;
    margin-bottom: 10px;
    padding-bottom: 20px;
    font-size: 26px;
    background-color: #EBADB2;
    border: 5px solid white;
    border-radius: 2%;
  }

  #submit {
    padding-bottom: 20px;
    background-color: #C77A80;
    border: 5px solid white;
    color: white;
    width: 25%;
    padding: 25px;
    font-size: 26px;
  }

  .socials a {
    margin-top: 100px;
  }

  .socials img {
    max-width: 100%;
    height: 200px;
  }

  .socials {
    display: flex;
    justify-content: space-around;
  }

  #submit p {
    text-align: center;
  }

  ::placeholder {
    color: white;
  }

  .frame {
    background-color: #EBADB2;
    border: 5px solid white;
    border-radius: 25px;
    height: 500px;
    align-items: center;
    width: 40%;

    display: flex;
    justify-content: center;
  }

  .frame {
    margin-top: 200px;
  }

  .sample {
    animation: web-scroll 20s linear infinite;
    display: flex;
    margin-right: 50px;
    width: 1200px;
  }

  .write {
    animation: write-scroll 10s linear infinite;
    display: flex;
    margin-right: 50px;
    width: 1200px;
  }

  .art {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    margin-right: 50px;
    animation: art-scroll 8s linear infinite;
  }

  @keyframes write-scroll {
    100% {
      transform: translateX(-220%);
    }
  }

  @keyframes web-scroll {
    100% {
      transform: translateX(-318%);
    }
  }

  @keyframes art-scroll {
    100% {
      transform: translateX(-219.9%);
    }
  }



  #web img {
    height: 400px;
    width: 800px;
  }

  #writing img {
    height: 600px;
    width: 500px;
  }

  .art img {
    width: 500px;
    height: 450px;
  }

  .carousel {
    text-align: center;
    display: flex;
    overflow: hidden;
    position: relative;
    width: 800px;
    height: 400px;
    align-items: center;
  }

  .carousel-1 {
    text-align: center;
    display: flex;
    overflow: hidden;
    position: relative;
    width: 800px;
    height: 400px;
    align-items: center;

  }

  .portfolio p,
  .portfolio h2 {
    font-weight: 500;
  }

  .portfolio h2 {
    font-size: 45px;
  }

  .portfolio a {
    color:#6E5B48;
  }

  .portfolio p {
    font-size: 24px;
    width: 50%;
    text-align: left;
  }



  .portfolio {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #6E5B48;
  }

  .grid {
    display: grid;
    margin-bottom: 100px;
    grid-template-rows: 300px auto 300px;
    grid-template-columns: 20% 30% 30% 20%;
  }



  .grid img {
    height: 100px;
  }


  
  #grid1 {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 2;
    grid-column-end: 3;
    text-align: center;
  }

  
  #extragrid {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 3;
    grid-column-end: 3;
    text-align: left;
    color: #6E5B48;
  }

  #extragrid h1 {
    font-weight: 400;
    font-size: 50px;
  }

  #extragrid h3 {
    font-weight: 300;
    font-size: 34px;
    width: 75%;
  }

  
  #grid2 {
    grid-row-start: 1;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 1;
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid white;
    border-radius: 20px;
    color: white;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #EAAEB5;
  }

  #grid2 img {
    height: 300px;
    width: 100%;
  }

  #grid2 p {
    font-size: 40px;
    font-weight: 600;
    width: 100%;
    text-align: center;
  }

  
  #grid3 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 3;
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-around;
  }

  
  #grid4 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 3;
    grid-column-end: 4;
    flex-direction: row;
    display: flex;
    text-align: center;
    justify-content: space-around;
  }

  
  #grid7 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 4;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    text-align: center;
  }

  
  #grid5 {
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 4;
    grid-column-end: 4;
  }

  #grid5 h3,
  #grid5 li {
    padding: 15px;
  }

  
  #grid6 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 4;
    grid-column-end: 4;
    flex-direction: row;
    display: flex;
    text-align: center;
  }

  #icon,
  #icon-1 {
    border-radius: 100%;
    height: 250px;
    border: 5px solid white;
  }

  .letters object {
    width: 25%;
    height: 600px;
  }

  .eng object,
  .eng-1 object {
    width: 100%;
    height: 600px;
  }


  .cosmetic {
    background-color: #EAAEB5;
    border: 5px solid white;
    border-radius: 20px;
    margin: 20px;
    color: white;
    font-size: 30px;
  }

  .grid-2 {
    
    margin-bottom: 100px;
    width: 100%;
    grid-template-rows: 400px;
    grid-template-columns: 25% 50%;
    font-size: 30px;
    display: flex;
    justify-content: center;
  }

  .grid-2 img {
    height: 125px;
    margin-bottom: 25px;
    text-align: center;
  }

  .bold {
    font-weight: 600;
    font-size: 22px;
  }

  #g1,
  #g3,
  #g5,
  #g7,
  #g9,
  #g12 {
    text-align: right;
    margin-right: 50px;
  }


  .scroll {
    color: white;
    list-style: none;
    border: 4.5px solid white;
    border-radius: 15px;
    padding: 10px;
    background-color: #EAAEB5;
  }

  #g0 {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 1;
    grid-column-end: 4;
    color: white;
    text-align: right;
  }

  #g1 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 1;
  }

  #g2 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 4;

  }

  #g3 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #g4 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g5 {
    grid-row-start: 4;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #g6 {
    grid-row-start: 4;
    grid-row-end: 4;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g7 {
    grid-row-start: 5;
    grid-row-end: 5;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #g8 {
    grid-row-start: 5;
    grid-row-end: 5;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g9 {
    grid-row-start: 6;
    grid-row-end: 6;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #g10 {
    grid-row-start: 6;
    grid-row-end: 6;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g11 {
    grid-row-start: 7;
    grid-row-end: 7;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  #g12 {
    grid-row-start: 7;
    grid-row-end: 7;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .scroll {
    margin-bottom: 25px;
  }

  .postsec {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 50px;
  }

  #psimg {
    width: 50%;
  }

  #pstext {
    width: 50%;
    font-weight: 400;
    color: #6E5B48;
    font-size: 25px;
  }

  .divider {
    background-color: #EAAEB5;
    border: 5px solid white;
    margin: 50px;
    border-radius: 20px;
    color: white;
    width: 40%;
    height: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 25px;
    font-size: 26px;
  }

  #pstext h2 {
    font-weight: 400;
    font-size: 45px;
  }

  .web-grid {
    display: grid;
    
    width: 100%;
    margin-top: 200px;
    grid-template-rows: 400px;
    grid-template-columns: 25% 15% 60%;
  }


  #w1 {
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .heart-divider {
    grid-row-start: 1;
    display: flex;
    justify-content: center;
    
    grid-row-end: 9;
    grid-column-start: 2;
    grid-column-end: 3;
    border-left: 9px solid #000000;
    height: 1000px;
    width: 1%;
    height: 100%;
  }

  .heart-divider img {
    height: 125px;
    position: fixed;
    margin-right: 10px;
  }

  #w5 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
    margin-top: 500px;

  }

  #w8 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  #w11 {
    grid-row-start: 4;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .web-1 {
    display: flex;

    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    grid-row-start: 1;
    grid-row-end: 1;
    grid-column-start: 3;
    grid-column-end: 4;
  }

  .web-2 {
    grid-row-start: 2;
    grid-row-end: 2;
    grid-column-start: 3;
    grid-column-end: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .web-3 {
    grid-row-start: 3;
    grid-row-end: 3;
    grid-column-start: 3;
    grid-column-end: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .web-4 {
    grid-row-start: 4;
    grid-row-end: 4;
    grid-column-start: 3;
    grid-column-end: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .web-1 img,
  .web-2 img,
  .web-3 img,
  .web-4 img {
    height: 350px;
  }


  .web-2 img {
    margin-top: 500px;
    position: relative;
  }

  .web-1,
  .web-2,
  .web-3,
  .web-4 {
    margin: 150px;
    text-align: left;
  }

  .web-1 p,
  .web-2 p,
  .web-3 p,
  .web-4 p {
    color: #6E5B48;
    padding: 25px;
    font-size: 24px;
  }

  .port .dropbtn {
    border: none;
    outline: none;
    padding: 14px 16px;
    margin: 0;
  }

  .dropdown {
    display: none;
    text-align: left;
    position: absolute;
    font-size: 20px;
    border: 5px solid white;
    border-radius: 25px;
    list-style: none;
    min-width: 160px;
    z-index: 1;
  }

  .dropdown a {
    color: white;
    padding: 12px 16px;
    display: block;
    text-align: left;
  }

  .dropdown a:hover {
    font-weight: bold;
  }

  .port:hover .dropdown {
    display: block;
    background-color: #EAAEB5;
    text-align: left;
  }

  

  .eng {
    display: flex;
    width: 100%;
    justify-content: space-around;
    flex-direction: row;
    margin-bottom: 175px;
  }

  .eng-1 {
    display: flex;
    width: 100%;
    justify-content: space-around;
    flex-direction: row-reverse;
  }

  .eng h2,
  .eng-1 h2 {
    color: #6E5B48;
    font-size: 45px;
    font-weight: 400;
  }

  .eng p,
  .eng-1 p {
    font-size: 25px;
    color: #6E5B48;
  }

  .eng-img {
    width: 45%;
  }

  .eng-text {
    width: 45%;
  }

  .robot {
    height: 600px;
  }

  .frame-flex {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #6E5B48;
  }

  .frame-flex p {
    margin-left: 200px;
    margin-right: 200px;
    margin-bottom: 100px;
    text-align: left;
    font-size: 25px;
  }

  .frame-flex h2 {
    font-size: 45px;
    font-weight: 600;
  }

  .frame-1 {
    background-color: #EBADB2;
    border: 5px solid white;
    border-radius: 25px;
    height: 800px;
    align-items: center;
    width: 50%;
    display: flex;
    justify-content: center;
  }



  .art-img-2 img {
    height: 600px;
  }

  #hand,
  #draw,
  #clock {
    height: 150px;
    align-items: center;
    display: flex;
    justify-content: center;
  }

  #game {
    height: 200px;
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .cosmetic p {
    font-size: 40px;
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .achaward img {
    border-radius: 15px;
  }

  .animate {
    display: inline-block;
    position: relative;
  }

  .animate:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: -10px;
    left: 0;
    background-color: white;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;

  }


  .animate:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }



  nav {
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-name: slideInLeft;
  }

  .original {
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-name: slideInLeft;
  }

  @keyframes text-animation {
    0% {
      margin-top: -2em;
    }

    12.5% {
      margin-top: -2em;
    }

    25% {
      margin-top: -8em;
    }

    37.5% {
      margin-top: -15em;
    }

    50% {
      margin-top: -22em;
    }

    62.5% {
      margin-top: -15em;
    }

    75% {
      margin-top: -8em;
    }

    87.5% {
      margin-top: -2em;
    }

    100% {
      margin-top: -2em;
    }
  }

  .description div:first-child {
    animation: text-animation 20s infinite;
  }

  .description {
    text-align: left;
    margin-top: 5em;
    margin-bottom: 1em;
    overflow: hidden;
    height: 5em;
  }

}

.about-header {
    width: 80%;
    margin: 0 auto 4rem auto;
    color: #6E5B48;
}

.about-row {
    width: 80%;
    margin: 0 auto 5rem auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.reverse {
    flex-direction: row-reverse;
}

.about-image,
.about-text {
    flex: 1;
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 1rem;
}

.about-text {
    color: #6E5B48;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .about-row,
    .reverse {
        flex-direction: column;
    }

    .about-header,
    .about-row {
        width: 90%;
    }
}

.about-image {
    flex: 2;
}

.about-text {
    flex: 1;
}

.about-image object {
    width: 100%;
    height: 30rem;
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 768px) {

  .about-row,
  .reverse,
  .home-intro,
  .contact-form,
  .original {
    flex-direction: column !important;
    width: 100% !important;
  }

  .about-header,
  .about-row {
    width: 95% !important;
    margin-left: auto;
    margin-right: auto;
  }

  .about-image,
  .about-text,
  .intro,
  .stats,
  .left-content,
  .right-content {
    width: 100% !important;
    flex: unset !important;
  }

  .about-image object {
    width: 100% !important;
    height: 30rem !important;
  }

  .about-image img,
  .intro-img img {
    width: 100% !important;
    max-width: 20rem;
    margin: 0 auto;
  }

  nav a {
    font-size: 14px !important;
  }

  .header-flex h1 {
    font-size: 2.5rem !important;
  }

  .header-flex h2 {
    font-size: 1.5rem !important;
  }

  .footer-left,
  .footer-right {
    padding: 1rem !important;
    width: 100% !important;
    text-align: center !important;
    height: auto !important;
  }

  object,
  iframe,
  embed {
    max-width: 100%;
  }
}

@media (max-width: 768px) {

    body {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2.75rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    p,
    li,
    a {
        font-size: 1.1rem !important;
        line-height: 1.7;
    }

    nav a {
        font-size: 1rem !important;
    }

    .about-text {
        font-size: 1.1rem;
    }

    .resume li,
    .resume p {
        font-size: 1.1rem !important;
    }

    .footer-left,
    .footer-right {
        font-size: 1rem !important;
    }

    .header-flex h1 {
        font-size: 3rem !important;
    }

    .header-flex h2 {
        font-size: 1.75rem !important;
    }
}

nav a {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

footer p {
  color:black;
}

@media (max-width: 768px) {

    /* Welcome to My Page section */
    .thirds {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 2rem 1rem !important;
        height: auto !important;
    }

    .thirds h3 {
        font-size: 2rem !important;
        text-align: center !important;
        margin: 0.5rem 0;
    }

    /* Intro section below welcome */
    .home-intro {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }

    .intro {
        width: 90% !important;
        font-size: 1.25rem !important;
        text-align: left;
    }

    .intro p {
        font-size: 1.25rem !important;
        line-height: 1.8 !important;
    }

    .stats {
        width: 90% !important;
        font-size: 1.25rem !important;
        text-align: center !important;
    }

    .stats h4 {
        font-size: 1.4rem !important;
    }
}