@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

html {
    height: 100%;
}

* {
    font-family: Roboto;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-color: #f1f1f1;
}

body {
    min-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

/* NAV START */

header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: none;
    padding-top: 25px;
    letter-spacing: -1px;
}

.github-logo {
    width: 35px;
    vertical-align: middle;
    transition: all 1.5s ease 0s;
}

.linkedin-logo {
    width: 35px;
    vertical-align: middle;
    transition: all 1.5s ease 0s;
}

.x-logo {
    width: 30px;
    vertical-align: middle;
    transition: all 1.5s ease 0s;
    margin-right: 0;
}

.github-logo:hover {
    opacity: 0;
    transform: scale(1.25) rotate(360deg);
}

.linkedin-logo:hover {
    opacity: 0;
    transform: scale(1.25) rotate(360deg);
}

.x-logo:hover {
    opacity: 0;
    transform: scale(1.25) rotate(360deg);
}

li, a {
    font-weight: 700;
    font-size: 16px;
    color: #000000;    
    text-decoration: none;
}

.nav-icons {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 0;
    width: 100%;
}

.nav-icons li {
    padding: 0 5px;
}

.nav-links1 {
    list-style: none;
    text-transform: uppercase;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 0;
    width: 100%;
}

.nav-links1 li {
    padding: 0 5px;
}

.nav-links1 li a {
    transition: all 0.8s ease 0s;
}

.nav-links1 li a:hover {
    letter-spacing: 3px;
}

/* NAV END */

/* HOME SECTION START */

.home {
    min-height: 90vh;
    display: grid;
    place-items: center;
}
  
.home-text {
    max-width: 1140px;
    width: 90%;
    animation: typing 4s steps(24), blink 0.5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-size: 52px;
    letter-spacing: -3px;
    font-weight: 200;
    text-align: center;
}
  
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}
      
@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* HOME SECTION END */

/* ABOUT SECTION START */

.about {
    min-height: 90vh;
    display: grid;
    place-items: center;
}

.about-text {
    width: 730px;
    animation: typing 4s steps(24), blink 0.5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-size: 52px;
    letter-spacing: -4px;
    font-weight: 200;
}

.arrow {
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 90%;
    transform-origin: 50% 50%;
    transform: translate3d(-50%, -50%, 0);
}

.arrow-first {
    animation: arrow-movement 3s ease-in-out infinite;
}
.arrow-second {
    animation: arrow-movement 3s 3s ease-in-out infinite;
}

.arrow:before,
.arrow:after {
    background: #000000;
    content: '';
    display: block;
    height: 2px; 
    position: absolute;
    top: 0%;
    left: 0;
    width: 40px;
}

.arrow:before {
    transform: rotate(45deg) translateX(-23%);
    transform-origin: top left;
}

.arrow:after {
    transform: rotate(-45deg) translateX(23%);
    transform-origin: top right;
}

@keyframes arrow-movement {
    0% { 
        opacity: 0;
        top: 65%;
    }
    70% {
        opacity: 1;
    }
    100% { 
        opacity: 0;
    }
}

.about-me {
    padding-top: 175px;
    font-size: 35px;
    width: 1150px;
    font-weight: 200;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -1.5px;
    text-align: center;
    line-height: 50px;
    padding-bottom: 130px;
}

.about-me-text {
    margin-top: 100px;
    margin-bottom: 30px;
}

.certificates {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 30%;
}

/* ABOUT SECTION END */

/* WORK SECTION START */

.work {
    width: 100%;
    min-height: 100%;
    margin-bottom: 200px;
}

.project1 {
    width: 750px;
    height: 500px;
    margin: 5% auto 0 auto;
    background: url(https://wp.dailybruin.com/images/2023/03/7.JS11.jpg);
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.project2 {
    width: 750px;
    height: 500px;
    margin: 3% auto 0 auto;
    background: url(NikeShoe.jpg);
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    margin-top: 100px;
}
  
.project3 {
    width: 750px;
    height: 500px;
    margin: 3% auto 0 auto;
    background: url(DragonSlayer.jpg);
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 150px;
    margin-top: 100px;
}

.project4 {
    width: 750px;
    height: 500px;
    margin: 3% auto 0 auto;
    background: url(html.png);
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 150px;
    margin-top: 100px;
}

.project5 {
    width: 750px;
    height: 500px;
    margin: 3% auto 0 auto;
    background: url(WordScramble.jpeg);
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 150px;
    margin-top: 100px;
}

.project6 {
    width: 750px;
    height: 500px;
    margin: 3% auto 0 auto;
    background: url(pokemon-game-image.png);
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 150px;
    margin-top: 100px;
}

.project7 {
    width: 750px;
    height: 500px;
    margin: 3% auto 0 auto;
    background: url(kingsimage.png);
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 150px;
    margin-top: 100px;
}

#overlay {
    height: 105%;
    background: #F1F1F1;
    text-align: center;
    opacity: 0;
    -webkit-transition: opacity 1.5s ease;
    -moz-transition: opacity 1.5s ease;
}
  
.project1:hover #overlay {
    opacity: 1;
}

.project2:hover #overlay {
    opacity: 1;
}

.project3:hover #overlay {
    opacity: 1;
}

.project4:hover #overlay {
    opacity: 1;
}

.project5:hover #overlay {
    opacity: 1;
}

.project6:hover #overlay {
    opacity: 1;
}

.project7:hover #overlay {
    opacity: 1;
}
  
.overlay-text {
    transition: all 1.5s ease 0s;
    padding-top: 225px;
    background: none;
    font-weight: 200;
    letter-spacing: -4px;
    color: rgba(0, 0, 0, 0.75);
    font-size: 45px;
}

.tech-icons {
    padding-top: 40px;
}

.css-icon {
    width: 60px;
    padding-left: 5px;
    transition: all 1.5s ease 0s;
}

.javascript-icon {
    height: 55px;
    padding-right: 10px;
    transition: all 1.5s ease 0s;
}

.tiled-icon {
    height: 55px;
    padding-right: 10px;
    transition: all 1.5s ease 0s;
}

.tiled-icon:hover {
    opacity: 0;
    transform: scale(0.8);
}

.javascript-icon:hover {
    opacity: 0;
    transform: scale(0.8);
}

.html-icon {
    width: 60px;
    padding-right: 5px;
    transition: all 1.5s ease 0s;
}

.css-icon:hover {
    opacity: 0;
    transform: scale(0.8);
}

.html-icon:hover {
    opacity: 0;
    transform: scale(0.8);
}

/* WORK SECTION END */

/* CONTACT SECTION START */

.connect {
    margin-top: 100px;
    height: 50px;
    display: grid;
    place-items: center;
}

.connect-text {
    width: 340px;
    animation: typing 2s steps(24), blink 0.5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-size: 52px;
    letter-spacing: -4px;
    font-weight: 200;
}

@keyframes typing {
    from {
      width: 0
    }
}
      
@keyframes blink {
    50% {
      border-color: transparent
    }
}

.contact-section {
    padding-top: 20px;
    width: 100%;
    text-align: center;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    font-weight: 300;
}
  
input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
    visibility: hidden;
}

input::placeholder, textarea::placeholder {
    color: #000000;
    font-size: 15px;
    letter-spacing: -0.9px;
    transition: all 1s ease 0s;
}

input:hover::placeholder {
    opacity: 0;
}

#form {
    position: relative;
    width: 500px;
    margin: 50px auto 100px auto;
}
  
input {
    font-size: 15px;
    width: 470px;
    height: 50px;
    padding: 0px 15px 0px 15px;
    background: transparent;
    border: #afafaf 1px solid;
    border-bottom: none;
    color: #000000;
}
  
textarea {
    width: 470px;
    height: 200px;
    padding: 15px;
    background: transparent;
    color: #000000;
    font-size: 15px;
    border: #afafaf 1px solid;
    resize: none;
}

textarea::placeholder {
    transition: all 1s ease 0s;
}

textarea:focus::placeholder {
    visibility: hidden;
}

textarea:hover::placeholder {
    opacity: 0;
}
  
#submit {
    width: 470px;
    padding: 0;
    margin: -5px 0px 0px 0px;
    font-size: 15px;
    font-weight: 300;
    color: #000000;
    cursor: pointer;
    border: none;
    letter-spacing: -0.9px;
    transition: all 1s ease 0s;
    border-radius: 1px;
}
  
#submit:hover {
    color: #f1f1f1;
    background-color: #000000;
}

/* CONTACT SECTION END */

/* RESUME SECTION START */

embed {
    width: 746px;
    height: 1100px;
    overflow-y: hidden;
    overflow-x: hidden;
    margin-left: 373px;
    margin-right: 373px;
    padding-top: 100px;
}

/* RESUME SECTION END */

/* FORM SUCCESS START */

.success {
    min-height: 90vh;
    display: grid;
    place-items: center;
}
  
.success-text {
    width: 190px;
    animation: typing 1s steps(10), blink 0.5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-size: 52px;
    letter-spacing: -3px;
    font-weight: 200;
}
  
@keyframes typing {
    from {
      width: 0
    }
}
      
@keyframes blink {
    50% {
      border-color: transparent
    }
}

/* FORM SUCCESS END */

/* MEDIA QUERY START */

/* Mobile (up to 480px) */
@media screen and (max-width: 480px) {
  header {
    padding-top: 10px;
  }

  .nav-icons {
    display: flex;
    justify-content: space-evenly;
    gap: 5px;
    padding: 5px 0;
  }

  .github-logo, .linkedin-logo, .x-logo {
    width: 20px;
  }

  .nav-links1 {
    display: flex;
    justify-content: space-evenly;
    gap: 5px;
    padding: 5px 0;
  }

  .nav-links1 li a {
    font-size: 12px;
  }

  /* Home Section */
  .home {
    min-height: auto;
    padding: 20px;
  }

  .home-text {
    width: 90%;
    max-width: 100%;
    font-size: 20px;
    letter-spacing: -1px;
    white-space: normal;
    animation: none;
    border-right: none;
    line-height: 1.2;
    padding: 0 10px;
  }

  /* About Section */
  .about {
    min-height: auto;
    padding: 20px;
  }

  .about-text {
    width: 100%;
    font-size: 24px;
    letter-spacing: -1px;
    white-space: normal;
    animation: none;
    border-right: none;
  }

  .about-me {
    width: 90%;
    font-size: 20px;
    line-height: 30px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .certificates {
    max-width: 80%;
  }

  /* Work Section */
  .project1, .project2, .project3, .project4, .project5, .project6, .project7 {
    width: 90%;
    height: 300px;
    margin: 20px auto;
  }

  .overlay-text {
    font-size: 30px;
    padding-top: 130px;
  }

  .tech-icons img {
    width: 40px;
    height: auto;
  }

  /* Contact Section */
  .connect-text {
    width: 100%;
    font-size: 24px;
    letter-spacing: -1px;
  }

  #form {
    width: 90%;
  }

  input, textarea, #submit {
    width: 100%;
    padding: 10px;
  }

  /* Resume Section */
  embed {
    width: 90%;
    height: 800px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  /* Success Section */
  .success-text {
    width: 100%;
    font-size: 24px;
  }
}

/* Tablet (481px to 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .nav-icons {
    gap: 15px;
  }

  .github-logo, .linkedin-logo, .x-logo {
    width: 25px;
  }

  .nav-links1 {
    gap: 15px;
  }

  .nav-links1 li a {
    font-size: 14px;
  }

  .home-text {
    width: 90%;
    font-size: 36px;
    white-space: nowrap;
  }

  .about-text {
    width: 90%;
    font-size: 36px;
  }

  .about-me {
    width: 90%;
    font-size: 28px;
    line-height: 40px;
  }

  .project1, .project2, .project3, .project4, .project5, .project6, .project7 {
    width: 80%;
    height: 400px;
  }

  #form {
    width: 80%;
  }

  input, textarea, #submit {
    width: 100%;
  }

  embed {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Desktop (above 768px) */
@media screen and (min-width: 769px) {
  .nav-icons {
    gap: 20px;
  }

  .nav-links1 {
    gap: 20px;
  }
}

/* MEDIA QUERY END */
