@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%;
    }
}

.divider {
    width: 15rem;
    height: 0.5rem;
    background-color: aqua;
}

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

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

header {
    position: fixed;  
    width:100%;
    min-height: 6rem;
    background-color: #333333;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar {
    width: 100vw;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    align-items: center;
}

.brand {
    font-size: 3rem;
    color: white;
    transition: ease .2s;
    cursor: pointer;
}

.brand span {
  color:aqua;
}

.brand:hover {
    transform: scale(1.1);
}

.menu {
    display:flex;
    width: 50vw;
    justify-content: space-around;
}

.menu li{
    list-style:none;
}

.menu a {
  color:white;
  text-decoration: none;
  padding:0.5rem 1rem;
  font-size: 2rem;
  border-bottom: 0.2rem solid transparent;
}

.menu a:hover , menu a:active{
    background-color: rgba(0,255,255, 20%);
    transition:ease .2s;
    border-bottom: 0.2rem solid aqua;
}

.menu a:not(:hover) {
    transition:ease-in .2s;
}

@media(orientation: portrait)
{
    .menu {
        width: 70vw;
    }
}


main {
    width: 100vw;
}

.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 p {
    font-size: 2.5rem;
    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%,50% {
        content:"student";
    }
    51%,100% {
        content:"gameplay programmer";
    }
}

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

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

.projects{
    width: 100vw;
    height: 100vh;
    background-color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7rem;

}

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

.projects h1 span {
    color: aqua;
}

.project {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    opacity: 0;
    visibility: hidden;
    transition: ease 0.3s;
}

.project.active {

    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.project.hidden {
    
    opacity: 0;
}

.project-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

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

.project-arrow:hover{
    transform: scale(1.1);
    color: white;
    border: 0.2rem solid white;
    transition: ease 0.2s;
    box-shadow: 0 0 0.5rem;
    cursor: pointer;
}

.project-video {
    width: 45rem;
    height: 45rem;
    border: 0.3rem solid aqua;   
    object-fit: cover;
}

.project-video:fullscreen {
    object-fit: contain;
}

.project-text {
    display: flex;
    width: 45rem;
    height: 45rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
}

.project-title {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222222;
    width: 100%;
}

.project h2 {
    font-size: 3rem;
    padding:1rem;
    color:white;
}

.project p {
    font-size: 1.5rem;
    color: white;
    width: 45rem;
    padding: 2.5rem;
    background-color: #222222;
    text-align: justify;
}

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

.project-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 10rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid white;
    font-size: 2rem;
    background-color: #222222;
    color:white;
}

.project-info 
{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 1rem;
    gap:3rem;
    color: white;
    background-color: #222222;
}

.project-info i {
    font-size: 1;
}

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

.project-icons a p:hover{
    color: white;
    transition: ease 0.2s;
}

@media(orientation: portrait)
{
    .projects {
        min-height: 120rem;
    }
    .project {
        flex-direction: column;
        gap: 7rem;
    }
    
    .project p {
        width: 35rem;
    }
    
    .project-text {
        width: 35rem;
    }
    
    .project-video {
        width: 35rem;
        height: 35rem;
    }
}

.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-send {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}¡

.contact-send-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.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;
}

footer {
    width: 100vw;
    height: 20vh;
    min-height: 15rem;
    background-color: #333333;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer h2 {
    font-size: 5rem;
    color: white;
}

footer h2 span{
    color: aqua;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap:1rem;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    color:white;
    font-size: 2rem;
    
}

.footer-contact-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border: 0.3rem solid aqua;
    border-radius: 50%;
    color: aqua;
}

