* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
html{
    touch-action: manipulation;
}
:root{
    --bg-color: #060013;
    --second-bg-color: #04001a;
    --text-color: white;
    --main-color: #0059ff;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}
.header{
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    padding: 3rem 9%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
.logo{
    font-size: 3rem;
    color: var(--text-color);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.logo:hover{
    transform: scale(1.1);
}
.navbar a{
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease-in-out;
    border-bottom: 3px solid transparent;
}
.navbar a:hover,
.navbar a:active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}
section{
    min-height: 100vh;
    padding: 10rem 9% 10rem;
}
.home{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    background-color: rgba(128, 128, 128, 0.185);
    width: 40%;
    margin: auto;
    margin-top: 140px;
    max-height: 750px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    box-shadow: 0 0 50px grey;
}
.home-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-top: 3rem;
}
span{
    color: var(--main-color);
}
.logo span{
    color: var(--main-color);
}
.home-content h3{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
}
.home-content h1{
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}
.home-img{
    border-radius: 50%;
    margin-top: 5px;
}
.home-img img{
    position: relative;
    top: 3rem;
    width: 22vw;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}
.home-img img:hover{
    box-shadow: 0 0 30px var(--main-color),
                0 0 60px var(--main-color);
}
.home-content p{
    font-size: 1.5rem;
    font-weight: 500;
    max-width: 1000px;
}
.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease-in-out;
}
.social-icons a:hover{
    color: white;
    transform: scale(1.2)translateY(-4px);
    box-shadow: 0 0 10px var(--main-color);
    background-color: var(--main-color);
}
.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: white;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
.btn:hover{
    transform: scale(1.05)translateY(-2px);
    box-shadow: 0 0 10px var(--main-color);
}
.text-animation{
    font-size: 34px;
    font-weight: 600;
    min-width: 500px;
}
.text-animation span{
    position: relative;
}
.text-animation span::before{
    content: "Game Devloper";
    color: var(--main-color);
    animation: words 20s infinite;
}
.text-animation span::after{
    content: "";
    background-color: #1d1827;
    position: absolute;
    width: calc(100% 8px);
    height: 100%;
    border-left: 3px solid #1d1827;
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}
@keyframes cursor{
    to{
        border-left: 2px solid var(--main-color);
    }
}
@keyframes words{
    0%,
    20%{
        content: "Game Developer";
    }
    21%,
    40%{
        content: "GDD Maker";
    }
    41%,
    60%{
        content: "Level Designer";
    }
    61%,
    80%{
        content: "Front-End Developer";
    }
    81%,
    100%{
        content: "Game Developer";
    }
}
@keyframes typing{
    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95%{
        width: 0;
    }
    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85%{
        width: calc(100% + 8px);
    }
}
.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    background: var(--second-bg-color);
    color: white;
}
.about h2 span{
    color: var(--main-color);
    text-shadow: 0 0 50px var(--main-color);
}
.about-img{
    border-radius: 50%;
}
.about-img img{
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--main-color);
    top: 1rem;
    cursor: pointer;
    transition: 0.4s ease-in-out;
}
.about-img img:hover{
    box-shadow: 0 0 30px var(--main-color),
                0 0 60px var(--main-color);
}
.heading{
    text-align: center;
    font-size: 8rem;
}
.about-content h2{
    text-align: left;
    line-height: 1.5;
}
.about-content h3{
    font-size: 2.6rem;
}
.about-content p{
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

.about-content .text-animation span::before{
    content: "Game Devloper";
    color: var(--main-color);
    animation: words 20s infinite;
}
.about-content .text-animation span::after{
    content: "";
    background-color: var(--second-bg-color);
    position: absolute;
    width: calc(100% 8px);
    height: 100%;
    border-left: 3px solid var(--second-bg-color);
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}

::-webkit-scrollbar{
    width: 15px;
}
::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
    border-radius: 20px;
    width: 5px;
}
::-webkit-scrollbar-track{
    width: 50px;
}
.services{
    background: var(--second-bg-color);
    color: white;
}
.services h2{
    margin-bottom: 5rem;
    color: white;
}
.services-container{
    display: flex;
    grid-template-columns: repeat(3.1fr);
    align-items: center;
    gap: 2.5rem;
}
.service-box{
    background-color: var(--main-color);
    color: black;
    height: 250px;
    width: 800px;
    border-radius: 3rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.service-box:hover{
    box-shadow: 0 0 25px var(--main-color);
}
.service-box .service-info{
    display: flex;
    flex-direction: column;
    text-align: left;
    max-height: 200px;
    justify-content: center;
    align-items: baseline;
    padding: 5em;
}
.service-info h4{
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.service-info p{
    font-size: 1.6rem;
    font-weight: 400;
    max-height: 100px;
    margin: auto;
}
.contact{
    background-color: var(--bg-color);
}
.contact h2{
    margin-bottom: 3rem;
    color: white;
}
.contact form{
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}
.contact form .input-box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    border-radius: 0.8rem;
    border: 2px solid var(--main-color);
    margin: 1rem 0;
    resize: none;
}
.contact form .btn{
    margin-top: 2rem;
}
.footer{
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: var(--second-bg-color);
}
.footer .social{
    text-align: center;
    padding-bottom: 25px;
    color: var(--main-color);
}
.footer .social a{
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease-in-out;
}
.footer .social a:hover{
    color: var(--text-color);
    transform: scale(1.2)translateY(-4px);
    box-shadow: 0 0 10px var(--main-color);
    background-color: var(--main-color);
}
.footer ul{
    margin-top: 0%;
    padding: 0;
    font-size: 10px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}
.footer ul li a{
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}
.footer ul li a:hover{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
.footer ul li{
    display: inline-block;
    padding: 0 15px;
}
.footer .copyright{
    margin-top: 50px;
    text-align: center;
    font-size: 16px;
    color: white;
}

@media(max-width: 1285px){
    html{
        font-size: 55%;
    }
    .services-container{
        padding-bottom: 7rem;
        grid-template-columns: repeat(2,1fr);
        margin: 0 5rem;
    }
}
@media(max-width: 991px){
    header{
        padding: 2rem 3%;
    }
    section{
        padding: 10rem 3% 2rem;
    }
    .services{
        padding-bottom: 7rem;
    }
    .footer{
        padding: 2rem 3%;
    }
    .home{
        width: 55%;
    }
}
@media(max-width: 895px){
    menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: 0%;
        width: 100%;
        background: rgba(0,0,0,0.9);
        backdrop-filter: blur(20px);
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
        border-top-left-radius: 0.2rem;
        border-top-right-radius: 0.2rem;
        border-left: 2px solid var(--main-color);
        border-right: 2px solid var(--main-color);
        border-top: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: flex;
        padding: 1.5rem;
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: white;
        margin: auto;
    }
    .home{
        width: 60%;
        height: 80%;
    }
    .about{
        flex-direction: column-reverse;
    }
    .about-content{
        margin: 0 2rem 4rem;
    }
    .about img{
        width: 52vw;
        margin-top: 1rem;
        margin-bottom: 3rem;
    }
    .services h2{
        margin-bottom: 3rem;
    }
    .services-container{
        grid-template-columns: repeat(13.1fr);
    }
}
@media(max-width: 800px){
    .services-container{
        display: block;
    }
    .service-box{
        width: 400px;
        margin-bottom: 20px;
    }
}
.games-container{
    display: flex;
    align-items: flex-start;
    padding-top: 200px;
    padding: 0.1px;
    background-color: solid transparent;
    width: 500px;
    border-color: var(--main-color);
    border: solid var(--main-color);
    border-radius: 30px;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
.games-container:hover{
    box-shadow: 0 0 60px var(--main-color);
}
.game-icon{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--main-color);
    margin: 20px;
}
.download-button{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: white;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    height: 41px;
}
.download-button:hover{
    transform: scale(1.05)translateY(-2px);
    box-shadow: 0 0 10px var(--main-color);
}
.about-game{
    display: grid;
    font-size: 15px;
    margin-top: -30px;
    padding: 50px;
}
.about-game a{
    display: grid;
    width: 145px;
    margin-top: 20px;
}
.game-name{
    font-size: 30px;
    margin-top: 30px;
    width: 40rem;
    margin-left: 50px;
    margin-bottom: 5px;
    text-align: center;
    border: solid var(--main-color);
    box-shadow: 0 0 10px var(--main-color);
    border-radius: 50px;
}
.games-container img{
    margin-bottom: 10px;
}
.games{
    align-items: center;
}
.games div{
    align-items: center;
}
.game-box{
    width: 500px;
    margin: auto;
}
@media(max-width: 550px){
    .games div{
        width: 460px;
    }
}
.gallery{
    width: 85vw;
    height: 60vmin;
    display: flex;
    gap: 10px;
    padding-top: 50px;
}
.gallery img{
    height: 100%;
    flex: 1;
    object-fit: cover;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 0 10px var(--main-color);
}
.gallery img:hover{
    flex: 7;
    box-shadow: 0 0 15px var(--main-color);
}
.gallery11{
    width: 85vw;
    height: 60vmin;
    display: flex;
    gap: 10px;
    padding-top: 50px;
}
.gallery11 img{
    height: 100%;
    flex: 1;
    object-fit: cover;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 0 10px var(--main-color);
}
.gallery11 img:hover{
    flex: 1.5;
    box-shadow: 0 0 15px var(--main-color);
}
.skill-bars{
    padding: 25px 30px;
    width: 630px;
    background: rgba(183, 183, 183, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    align-items: center;
    margin: auto;
}
.skill-bars .bar{
    margin: 20px 0;
}
.skill-bars .bar:first-child{
    margin-top: 0;
}
.skill-bars .bar .info{
    margin-bottom: 5px;
}
.skill-bars .bar .info span{
    color: white;
    font-weight: 500;
    font-size: 17px;
    opacity: 0;
    animation: showText 0.5s 1s linear forwards;
}
@keyframes showText{
    100%{
        opacity: 1;
    }
}
.skill-bars .bar .progress-line{
    height: 10px;
    width: 100%;
    background-color: white;
    position: relative;
    transform: scaleX(0);
    transform-origin: left;
    border-radius: 8px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0,0.0.5),
                      0 1px rgba(255, 255, 255, 0.8);
    animation: animate 1s cubic-bezier(1,0,0.5,1) forwards;
}
@keyframes animate{
    100%{
        transform: scaleX(100%);
    }
}
.bar .progress-line span{
    height: 110%;
    position: absolute;
    border-radius: 8px;
    cursor: pointer;
}

.bar .progress-line.html span{
    width: 40%;
    height: 95%;
    background-color: gold;
    box-shadow: 0 0 25px gold;
    transition: 0.3s ease;
}
.bar .progress-line.html span:hover{
    box-shadow: 0 0 25px gold,
                0 0 50px gold;
}
.bar .progress-line.game-devlopment span{
    width: 75%;
    height: 95%;
    background-color: blue;
    box-shadow: 0 0 25px blue;
    transition: 0.3s ease;
}
.bar .progress-line.game-devlopment span:hover{
    box-shadow: 0 0 25px blue,
                0 0 50px blue;
}
.bar .progress-line.modeling span{
    width: 20%;
    height: 95%;
    background-color: peru;
    box-shadow: 0 0 25px peru;
    transition: 0.3s ease;
}
.bar .progress-line.modeling span:hover{
    box-shadow: 0 0 25px peru,
                0 0 50px peru;
}
.bar .progress-line.css span{
    width: 15%;
    height: 95%;
    background-color: green;
    box-shadow: 0 0 25px green;
    transition: 0.3s ease;
}
.bar .progress-line.css span:hover{
    box-shadow: 0 0 25px green,
                0 0 50px green;
}
.bar .progress-line.edit span{
    width: 60%;
    height: 95%;
    background-color: orangered;
    box-shadow: 0 0 25px orangered;
    transition: 0.3s ease;
}
.bar .progress-line.edit span:hover{
    box-shadow: 0 0 25px orangered,
                0 0 50px orangered;
}
.bar .progress-line.robotics span{
    width: 5%;
    height: 95%;
    background-color: purple;
    box-shadow: 0 0 25px purple;
    transition: 0.3s ease;
}
.bar .progress-line.robotics span:hover{
    box-shadow: 0 0 25px purple,
                0 0 50px purple;
}
@media (max-width: 800px) {
    .skill-bars{
        width: 600px;
    }
}
@media (max-width: 650px) {
    .skill-bars{
        width: 400px;
    }
}
@media (max-width: 430px) {
    body{
        width: 430px;
    }
 
    .home{
        margin: auto;
        min-width: 420px;   
        min-height: 400px;
        margin-top: 170px;
    }

    .home-img{
        margin-top: -100px;
    }

    .header{
        max-width: 430px;
    }

    .navbar{
        max-width: 430px;
    }

    .navbar a{
        display: block;
        font-size: 1.5rem;
        margin: 3rem 0;
        color: white;
        margin: auto;
    }

    .games-container p{
        margin: auto;
        padding-left: 5px;
    }

    .services{
        max-width: 430px;
        margin: auto;
    }
    .games{
        max-width: 430px;
    }

    .games-container{
        max-width: 400px;
        margin-right: 20px;
    }

    .game-name{
        font-size: 30px;
        margin-top: 30px;
        margin-right: 20px;
        width: 35rem;
        margin-bottom: 5px;
        text-align: center;
        border: solid var(--main-color);
        box-shadow: 0 0 10px var(--main-color);
        border-radius: 50px;
    }

    .gallery{
        margin: auto;
    }

    .service-box{
        max-width: 320px;
    }

    .text-animation{
        font-size: 324px;
        font-weight: 300;
        min-width: 600px;
        max-width: 100px;
    }

    .about{
        max-width: 430px;
    }

    .about-content h2{
        margin-left: 100px;
    }

    .about-content h3{
        padding-left: 100px;
    }

    .about-content p{
        max-width: 420px;
        margin-left: 90px;
    }
}
