/* ==========================================
   OPSBYYASH
   Responsive Styles
========================================== */


/* ==============================
   Large Laptop
================================= */

@media (max-width:1200px){

.container{
    width:92%;
}

.hero h1{
    font-size:62px;
}

.profile-card{
    width:430px;
    height:430px;
}

.profile-card img{
    width:400px;
    height:400px;
}

}



/* ==============================
   Laptop
================================= */

@media (max-width:1024px){

.hero-grid{

    grid-template-columns:1fr;

    text-align:center;

}

.hero-left{

    order:2;

}

.hero-right{

    order:1;

}

.hero p{

    margin:auto;
    margin-top:25px;

}

.hero-buttons{

    justify-content:center;

}

.hero-tags{

    justify-content:center;

}

.stats-grid{

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

}

.cards{

    grid-template-columns:1fr;

}

}



/* ==============================
   Tablet
================================= */

@media(max-width:768px){

header{

    position:relative;

}

.navbar{

    flex-direction:column;

    height:auto;

    padding:20px 0;

    gap:20px;

}

nav ul{

    flex-wrap:wrap;

    justify-content:center;

    gap:18px;

}

.hero{

    padding:60px 0;

}

.hero h1{

    font-size:48px;

}

.hero p{

    font-size:17px;

}

.profile-card{

    width:340px;

    height:340px;

}

.profile-card img{

    width:310px;

    height:310px;

}

.hero-buttons{

    flex-direction:column;

}

.btn-primary,

.btn-outline{

    width:100%;

    text-align:center;

}

.stats-grid{

    grid-template-columns:1fr;

}

.why h2{

    font-size:34px;

}

.card{

    padding:30px;

}

.terminal-body{

    font-size:15px;

    padding:25px;

}

}



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

@media(max-width:480px){

.container{

    width:94%;

}

.logo{

    font-size:20px;

}

.logo-box{

    width:40px;

    height:40px;

}

.hero{

    padding:40px 0;

}

.hero h1{

    font-size:36px;

    line-height:1.2;

}

.hero p{

    font-size:15px;

}

.version{

    font-size:12px;

}

.hero-tags span{

    padding:8px 14px;

    font-size:13px;

}

.profile-card{

    width:270px;

    height:270px;

}

.profile-card img{

    width:240px;

    height:240px;

}

.stat-card{

    padding:30px;

}

.stat-card h2{

    font-size:34px;

}

.terminal-body{

    font-size:14px;

    min-height:160px;

}

footer h3{

    font-size:26px;

}


nav{

    position:fixed;

    top:80px;

    right:-100%;

    width:280px;

    height:100vh;

    background:#09111d;

    transition:.4s;

    padding:40px;

    border-left:1px solid rgba(255,255,255,.08);

}

nav ul{

    flex-direction:column;

    gap:30px;

}

.hamburger{

    display:flex;

}

.desktop-btn{

    display:none;

}


}



/* ==============================
   Extra Small Devices
================================= */

@media(max-width:360px){

.hero h1{

    font-size:30px;

}

.hero-buttons{

    gap:12px;

}

nav ul{

    gap:12px;

}

.hero-tags{

    gap:10px;

}

}
