@import url('https://fonts.googleapis.com/css2?family=Jersey+10&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  
  font-family: "Jersey 10", sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

@media (orientation: landscape) and (max-width: 4000px) {
    html {
        font-size: 130%;
    }
}

@media (orientation: landscape) and (max-width: 3000px) {
    html {
        font-size: 100%;
    }
}

@media (orientation: landscape) and (max-width: 2500px) {
    html {
        font-size: 85%;
    }
}

@media (orientation: landscape) and (max-width: 2000px) {
    html {
        font-size: 70%;
    }
}

@media (orientation: landscape) and (max-width: 1500px) {
    html {
        font-size: 55%;
    }
}

@media (orientation: landscape) and (max-width: 1000px) {
    html {
        font-size: 40%;
    }
}

@media (orientation: landscape) and (max-width: 750px) {
    html {
        font-size: 30%;
    }
}

@media (orientation: portrait) and (max-width: 2000px) {
    html {
        font-size: 90%;
    }
}

@media (orientation: portrait) and (max-width: 1500px) {
    html {
        font-size: 75%;
    }
}

@media (orientation: portrait) and (max-width: 1000px) {
    html {
        font-size: 60%;
    }
}

@media (orientation: portrait) and (max-width: 750px) {
    html {
        font-size: 40%;
    }
}


body {
  font-family: "Jersey 10", sans-serif;
  overflow-x: hidden;
  background-color: #222222;
  display: flex;
}

.wrapper {
  width:100vw;
  height:100vh;
}

.home {
    width: 100vw;
    height: 100vh;
}

.resume-video {
    width: 100vw;
    height: 100vh;
    min-height: 70rem;
    object-fit: cover;
    position: absolute;
    z-index: -1;
    background-color: #222222;
}

.home-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color:white;
}

.home-content h1 {
    font-size: 10rem;
}

.home-content h1 span{
    color:aqua;
}

.home-content p {
    font-size: 3rem;
}

.about-me{
    width: 100vw;
    height: 100vh;
    min-height: 70rem;
    background-color: #222222;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: row;
    gap: 10rem;
}

.about-me img{
    width: 30rem;
    border-radius: 50%;
}

.about-me-content {
    
    justify-content: center;
    display: inline-flex;
    flex-direction: column;
    width: 50rem;
    gap:0.5rem;
}

.about-me-content h1{
    font-size: 8rem;
    color: white;
}

.about-me-content h1 span{
    color:aqua;
}

.about-me-content h3{
    font-size: 4rem;
    color: white;
}

.about-me-content h3 span{
    color:aqua;
}

.about-me-content p{
    font-size: 2rem;
    color: white;
}

.about-me-icons{
    padding-top:1rem ;
    transition: ease 0.5s;
    display: flex;
    gap: 1rem;
}

.about-me-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: transparent;
    border: 0.2rem solid aqua;
    font-size: 2rem;
    border-radius: 50%;
    color:aqua;
}


.about-me-icons a:hover{
    transform: scale(1.1);
    color: white;
    border: 0.2rem solid white;
    transition: ease 0.2s;
    box-shadow: 0 0 0.5rem;
    
}

.typing-text span {
    position: relative;
}

.typing-text span::before{
    content: "software Developer";
    color: aqua;
    animation: words 8s infinite;
}

.typing-text span::after{
    content: "";
    color: aqua;
    width: calc(100%);
    border-left: 0.5rem solid aqua;
    animation: cursor 0.6s infinite;
}

@keyframes cursor {
    to{
        border-left: 0.5rem solid transparent;
    }
}

@keyframes words {
    0%,33% {
        content:"student";
    }
    34%,66% {
        content:"gameplay programmer";
    }
    67%,100% {
        content:"engine programmer";
    }
}

@media(orientation: portrait)
{
    .about-me {
        flex-direction: column;
        
    }

    .about-me-content {
        justify-content: center;
        display: inline-flex;
        flex-direction: column;
    }
}

.projects {
    width: 100vw;
    min-height: 100vh; 
    height: auto; 
    background-color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 10rem 0;
}

.projects h1 {
    font-size: 5rem;
    color: white;
}

.projects h1 span {
    color: aqua;
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
    width: 80vw;
    max-width: 120rem;
    padding: 2rem 0;
}

.project-card {
    background-color: #222222;
    border: 0.3rem solid aqua;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0rem 0rem 5rem rgba(0, 255, 255, 0.4);
    border-color: white;
}

.media-container {
    position: relative;
    width: 100%;
    height: 30rem;
    border-bottom: 0.3rem solid aqua;
    transition: border-color 0.3s ease;
}

.project-card:hover .media-container {
    border-bottom: 0.3rem solid white;
}

.card-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.project-card-video {
    width: 100%;
    height: 30rem;
    object-fit: cover;
    border-bottom: 0.3rem solid aqua;
    transition: border-color 0.3s ease;
}


.project-card:hover .project-card-video {
    border-bottom: 0.3rem solid white;
}

.project-card-info {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card-info h3 {
    color: white;
    font-size: 3rem;
}

.project-card-info p {
    color: aqua;
    font-size: 2rem;
}

.all-projects-btn {
    font-size: 3rem;
    padding: 1rem 4rem;
    border: 0.4rem solid aqua;
    background-color: transparent;
    color: aqua;
    border-radius: 1rem;
    transition: ease 0.3s;
    cursor: pointer;
    margin-top: 2rem;
}

.all-projects-btn:hover {
    transform: scale(1.1);
    color: white;
    border: 0.4rem solid white;
    box-shadow: 0 0 1.5rem rgba(0, 255, 255, 0.4);
}

.contact{
    width: 100vw;
    height: 80vh;
    min-height: 55rem;
    background-color: #222222;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:2rem;
}

.contact h3 {
    font-size: 2rem;
    color: white;
}

.contact-input {
    background-color: transparent;
    border: 0.5rem solid aqua;
    font-size: 2rem;
    padding: 0.5rem;
    width: 40rem;
    color: white;
    display: flex;
    flex-direction: column;
    text-align: left;
}


form {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.contact h1 {
    font-size: 4rem ;   
    color: white;
}

.contact h1 span{ 
    color: aqua;
}

.contact button {
    font-size: 2rem;
    padding: 0.5rem 1rem;
    border: 0.5rem solid aqua;
    background-color: transparent;
    color: aqua;
    transition: ease 0.2s;
}

.contact button:hover {
    transform: scale(1.1);
    color: white;
    border: 0.5rem solid white;
    box-shadow: 0 0 0.5rem;
    cursor: pointer;
}

