/* ==========================================
   RESPONSIVE DESIGN
========================================== */

/* ===============================
   Large Tablets (1024px)
================================ */

@media (max-width:1024px){

.hero-container{
    grid-template-columns:1fr;
    text-align:center;
    gap:50px;
}

.hero-content{
    order:2;
}

.hero-image{
    order:1;
}

.hero-buttons,
.social-icons{
    justify-content:center;
}

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

.about-container{
    grid-template-columns:1fr;
    text-align:center;
}

.about-image{
    margin-bottom:30px;
}

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

}

/* ===============================
   Tablets (768px)
================================ */

@media (max-width:768px){

section{
    padding:80px 0;
}

.section-title h2{
    font-size:34px;
}

.hero-title{
    font-size:50px;
}

.hero-subtitle{
    font-size:26px;
}

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

.image-glow{
    width:340px;
    height:340px;
}

.nav-links{

    position:fixed;

    top:80px;

    right:-100%;

    width:270px;

    height:calc(100vh - 80px);

    background:#08111f;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:flex-start;

    padding-top:50px;

    gap:30px;

    transition:.4s;

}

.nav-links.active{

    right:0;

}

.menu-btn{

    display:block;

}

.hero-buttons{

    flex-direction:column;

    align-items:center;

}

.project-links{

    flex-direction:column;

}

.timeline::before{

    left:20px;

}

.timeline-item{

    gap:20px;

}

.timeline-icon{

    width:45px;

    height:45px;

    min-width:45px;

    font-size:18px;

}

.timeline-content{

    padding:20px;

}

}

/* ===============================
   Mobile
================================ */

@media (max-width:576px){

.container{

    width:92%;

}

.hero{

    padding-top:100px;

}

.hero-title{

    font-size:40px;

}

.hero-subtitle{

    font-size:22px;

}

.hero-text{

    font-size:15px;

}

.hero-image img{

    width:260px;

    height:260px;

}

.image-glow{

    width:280px;

    height:280px;

}

.hero-stats{

    grid-template-columns:1fr;

}

.about-image img{

    width:260px;

}

.projects-grid{

    grid-template-columns:1fr;

}

.skills-grid{

    grid-template-columns:repeat(2,1fr);

}

.skill-card{

    padding:25px 10px;

}

.skill-card i{

    font-size:36px;

}

.contact-form input,

.contact-form textarea{

    font-size:15px;

}

.footer-social{

    gap:15px;

}

#scrollTop{

    right:20px;

    bottom:20px;

}

}