/* ==========================================
   Responsive CSS
========================================== */

/* ===============================
   Large Tablets
================================ */

@media (max-width:1024px){

.container{

    width:94%;

}

.hero h1{

    font-size:48px;

}

.hero p{

    font-size:18px;

}

.compressor-card{

    grid-template-columns:1fr;

}

.result-grid{

    grid-template-columns:1fr;

}

.footer-grid{

    grid-template-columns:repeat(2,1fr);

}

}

/* ===============================
   Tablets
================================ */

@media (max-width:768px){

header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    flex-direction:row;

    height:75px;

    height:auto;

    padding:20px 0;

}

nav{

    margin-top:20px;

}

nav ul{

    flex-wrap:wrap;

    justify-content:center;

    gap:18px;

}

.hero{

    min-height:auto;

    padding:150px 0 80px;

}

.hero h1{

    font-size:38px;

}

.hero p{

    font-size:17px;

}

.section-title h2{

    font-size:34px;

}

.footer-grid{

    grid-template-columns:1fr;

}

.features-grid{

    grid-template-columns:1fr;

}

}



/* ===============================
   Mobile Devices
================================ */

@media (max-width:480px){

body{

    font-size:15px;

}

section{

    padding:60px 0;

}

.logo h2{

    font-size:26px;

}

nav ul{

    flex-direction:column;

    gap:12px;

}

.hero{

    padding:130px 0 60px;

}

.hero h1{

    font-size:30px;

    line-height:1.3;

}

.hero p{

    font-size:16px;

}

.hero-btn{

    width:100%;

    text-align:center;

    padding:15px;

}

.section-title h2{

    font-size:28px;

}

.section-title p{

    font-size:15px;

}

.drop-area{

    padding:35px 20px;

}

.upload-icon{

    font-size:55px;

}

.drop-area h3{

    font-size:22px;

}

.settings{

    padding:20px;

}

.setting-box input,

.setting-box textarea{

    width:100%;

}

.compress-btn,

.download-btn,

.browse-btn{

    width:100%;

}

.image-box{

    padding:18px;

}

.image-box img{

    max-height:250px;

}

.feature-card{

    padding:25px 20px;

}

.feature-icon{

    width:65px;

    height:65px;

    font-size:28px;

}

.faq-item{

    padding:20px;

}

.footer-grid{

    text-align:center;

}

.social-links{

    align-items:center;

}

.theme-btn{

    margin-top:15px;

}

}

/* ===============================
   Small Mobile Devices
================================ */

@media (max-width:360px){

.hero h1{

    font-size:26px;

}

.section-title h2{

    font-size:24px;

}

.logo h2{

    font-size:22px;

}

.hero-btn{

    font-size:15px;

}

.compress-btn,

.download-btn{

    font-size:15px;

}

}