/*=================================
Responsive CSS
دبستان دخترانه مسیر
==================================*/


@media(max-width:1100px){

.header{

    padding:15px 4%;

}


.hero{

    gap:30px;

}


.hero h1{

    font-size:45px;

}


.stats{

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

}


.features{

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

}


.news-box{

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

}


.gallery-box{

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

}


.contact-grid{

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

}


.manager{

    padding:35px;

}

}


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


@media(max-width:900px){


.header{

    flex-direction:column;

    gap:20px;

}


nav ul{

    flex-wrap:wrap;

    justify-content:center;

}


.hero{

    flex-direction:column;

    text-align:center;

    padding-top:50px;

}


.hero-text,
.hero-image{

    width:100%;

}


.hero h1{

    font-size:38px;

}


.hero-image img{

    width:280px;

}


.stats{

    grid-template-columns:1fr 1fr;

    margin-top:50px;

}


.manager{

    flex-direction:column;

    text-align:center;

}


.features{

    grid-template-columns:1fr;

}


.news-box{

    grid-template-columns:1fr;

}


}


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


@media(max-width:600px){


body{

    overflow-x:hidden;

}


.logo{

    flex-direction:column;

}


.logo img{

    width:65px;

    height:65px;

}


.logo h2{

    font-size:22px;

}


nav ul{

    gap:12px;

}


nav a{

    font-size:14px;

}


.hero{

    min-height:auto;

    padding:50px 5%;

}


.hero h1{

    font-size:30px;

}


.hero p{

    font-size:16px;

}


.buttons{

    flex-direction:column;

    align-items:center;

}


.btn,
.btn2{

    width:90%;

}


.stats{

    grid-template-columns:1fr;

    width:90%;

}


.item{

    padding:30px 15px;

}


.item h2{

    font-size:38px;

}


.section-title h2,
.news-title,
.gallery h2,
.contact-home h2{

    font-size:30px;

}


.manager{

    width:90%;

    padding:25px;

}


.manager img{

    width:180px;

}


.gallery-box{

    grid-template-columns:1fr;

}


.contact-grid{

    grid-template-columns:1fr;

}


footer{

    padding:40px 20px;

}


}