
@media (max-width:1200px){

.hero{
    gap:50px;
}

.hero-text h1{
    font-size:56px;
}

.hero-image{
    width:320px;
    height:320px;
}

}

/* TABLET */

@media (max-width:992px){

.nav{
    padding:18px 6%;
}

.hero{
    flex-direction:column-reverse;
    text-align:center;
    gap:50px;
    padding:130px 6% 80px;
}

.hero-text{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.hero-text p{
    max-width:100%;
}

.hero-image{
    width:280px;
    height:280px;
}

.about-content{
    grid-template-columns:1fr;
    gap:40px;
}

.about-left{
    text-align:center;
}

.about-buttons{
    justify-content:center;
}

.about-right{
    grid-template-columns:repeat(2,1fr);
}

.stats{
    grid-template-columns:repeat(2,1fr);
}

}

/* MOBILE NAVBAR */

@media (max-width:768px){

.menu-toggle{
    display:block;
    font-size:28px;
    color:#fff;
    cursor:pointer;
    z-index:1001;
}

.nav{
    padding:18px 20px;
}

.nav-btn{
    display:none;
}

.links{
    position:fixed;
    left:-100%;
    top:78px;
    width:100%;
    height:calc(100vh - 78px);

    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;

    gap:35px;
    padding-top:50px;

    background:#070a12;

    transition:.4s;
}

.links.active{
    left:0;
}

.links a{
    font-size:20px;
}

.logo{
    font-size:22px;
}

.hero{
    padding:120px 20px 70px;
}

.hero-text h1{
    font-size:46px;
}

.hero-text h3{
    font-size:24px;
}

.hero-text p{
    font-size:16px;
}

.hero-image{
    width:240px;
    height:240px;
}

.buttons{
    width:100%;
    flex-direction:column;
}

.buttons a{
    width:100%;
}

.about-section{
    padding:90px 20px;
}

.about-left h2{
    font-size:36px;
}

.about-right{
    grid-template-columns:1fr;
}

.about-buttons{
    flex-direction:column;
}

.primary-btn,
.secondary-btn{
    width:100%;
    text-align:center;
}

.stats{
    padding:30px 20px 90px;
    grid-template-columns:1fr;
}

.stat-card{
    padding:25px;
}
.section{
    padding:80px 20px;
}

.section h2{
    font-size:32px;
}

.section-text{
    font-size:15px;
}

.skills-grid{
    grid-template-columns:1fr;
}

.skill-card{
    padding:28px 20px;
}

.skill-card h3{
    font-size:20px;
}

.skill-card p{
    font-size:14px;
}

.project-image{
    height:220px;
}

.project-content{
    padding:22px;
}

.project-content h3{
    font-size:22px;
}

.project-content p{
    font-size:15px;
}

.tech-tags{
    justify-content:center;
}

.proj-links{
    flex-direction:column;
}

.proj-links a{
    width:100%;
}

.contact-card{
    padding:30px 20px;
}

.contact-card h3{
    font-size:22px;
}

.contact-card i{
    width:70px;
    height:70px;
    font-size:28px;
}

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

.footer p{
    font-size:15px;
}

.footer-links{
    flex-wrap:wrap;
    gap:18px;
}

.socials{
    gap:15px;
}

.socials a{
    width:50px;
    height:50px;
}


}

/* SMALL MOBILE*/

@media (max-width:480px){

.hero{
    gap:35px;
}

.hero-text h1{
    font-size:34px;
    line-height:1.3;
}

.hero-text h3{
    font-size:18px;
}

.hero-text p{
    font-size:14px;
}

.hero-image{
    width:190px;
    height:190px;
}

.logo{
    font-size:20px;
}

.about-left h2{
    font-size:28px;
}

.about-left p{
    font-size:15px;
}

.about-card{
    padding:22px;
}

.section-tag{
    font-size:12px;
}

.stat-card h2{
    font-size:34px;
}

.stat-card p{
    font-size:14px;
}

}

img{
    max-width:100%;
    display:block;
}

body{
    overflow-x:hidden;
}
.section{
    padding:70px 18px;
}

.section h2{
    font-size:28px;
}

.section-text{
    font-size:14px;
}

.skill-card{
    border-radius:18px;
}

.skill-card i{
    font-size:42px;
}

.skill-card h3{
    font-size:18px;
}

.project-card{
    border-radius:18px;
}

.project-image{
    height:180px;
}

.project-content{
    padding:18px;
}

.project-content h3{
    font-size:20px;
}

.project-content p{
    font-size:14px;
}

.tech-tags span{
    font-size:12px;
    padding:6px 12px;
}

.contact-card{
    border-radius:18px;
}

.contact-card p{
    font-size:14px;
}

.contact-card a{
    width:100%;
}

.footer{
    padding:50px 18px 25px;
}

.footer h2{
    font-size:26px;
}

.footer p{
    font-size:14px;
}

.footer-links{
    flex-direction:column;
    gap:14px;
}

.socials a{
    width:46px;
    height:46px;
}

.copyright{
    font-size:13px;
}


.project-image img,
.hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

button,
a{
    touch-action:manipulation;
}

html,
body{
    overflow-x:hidden;
}

*{
    max-width:100%;
    box-sizing:border-box;
}

img{
    display:block;
}




@media (max-width:991px){

.section{
    padding:90px 6%;
}

.section h2{
    font-size:38px;
    text-align:center;
}

.section-text{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}

.skills-grid{
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.skill-card{
    padding:30px 22px;
}

.skill-card i{
    font-size:48px;
}

.projects{
    padding:90px 6%;
}

.projects-grid{
    grid-template-columns:1fr;
    gap:30px;
}

.project-card{
    max-width:650px;
    margin:auto;
}

.project-image{
    height:260px;
}

.contact-section{
    padding:90px 6%;
}

.contact-grid{
    grid-template-columns:1fr;
}

.contact-card{
    max-width:550px;
    /* margin:auto; */
}

.footer{
    padding:60px 6% 30px;
}

}

