@media screen and (max-width:780px){
.container{
    grid-template: 500px 500px 500px 400px 500px 600px 200px/1fr;
}
.head_text{
    width: 70%;
}
.head_h:hover{
    transform: translateX(-200px) scale(1.3);
}  
.head_p:hover{
    transform: translateX(-200px) scale(1.2);

}  
.menu{
    top: 0;
    left: 70px;
}
.art1_img{
    height: 140px;
    margin-top: 50px;
}
.art1_p1:hover{
    color: black;
    transform: translate(200px) scale(1.3);
}
.art1_h:hover{
    color: black;
    transform: translate(150px) scale(1.3);
}
.sect_cont{
    margin-top: 50px;
    height: 250px;
}
.sect_items{
    height: 250px;
}
.sect_item4{
    height: 250px;
}
.sect_img1{
    height: 200px;
}
.sect_img2{
    height: 200px;
}
.sect_img3{
    height: 200px;
}
.sect_text1{
    height: 50px;
    padding: 5px;
}
.sect_text2{
    height: 50px;
    padding: 5px;
}
.sect_text3{
    height: 50px;
    padding: 5px;
}
.sect_inp:hover{
    transform: scale(1.2);
}
.art2_img{
    height: 140px;
    margin-top: 50px;
}
.art2_p1:hover{
    color: black;
    transform: translate(-200px) scale(1.3);
}
.art2_h:hover{
    color: black;
    transform: translate(-100px) scale(1.3);
}
.art3_inp2{
    margin-left: 20px;
}
.art3_icon{
    margin-bottom: 0;
}
.art3_p{
    padding: 5px 0 20px 15px;
}
}
@media screen and (max-width:420px){
.container{
    grid-template: 400px 400px 300px 400px 300px 500px 200px/1fr;
}
.head_text{
    width: 100%;
    top: 180px;
}
.menu>li{
    width: 120px;
    height: 30px;
    font-size: 18px;
    padding-top: 0px;
}
.menu>li:nth-child(7){
    display: none;
}
.head_h{
    font-size: 35px;
}
.head_p{
    font-size: 14px;
}
.head_h:hover{
    transform: translateX(0) scale(1);
}  
.head_p:hover{
    transform: translateX(0) scale(1);
}  
.main{
    margin: 20px auto;
}
.main_items{
    width: 48%;
    height: 200px;
}
.main_p{
    display: none;
}
.main_h{
    font-size: 20px;
}
.art1_cont{
    margin: 50px auto;
    height: 200px;
}   
.art1_img{
    width: 30%;
    height: 100px;
} 
.art1_p1{
    font-size: 16px;
}
.art1_p1:hover{
    transform: translate(0) scale(1);
    color: white;
}
.art1_h{
   font-size: 20px;
   padding-top: 20px;
}
.art1_h:hover{
    transform: translate(0) scale(1);
    color: white;
}
.art1_p2{
    display: none;
}
.sect_cont{
    width: 100%;
}
.sect_items{
    width: 33.3%;
}
.sect_item4{
    display: none;
}
.sect_img1{
    margin-top: -30px;
}
.sect_img1:hover{
    transform: skew(0) scale(1.5) translate(80px, 50px) rotate(360deg);
    border-radius: 20px;
}
.sect_img2{
    margin-top: 30px;
}
.sect_img2:hover{
    transform: skew(0) scale(1.5) translate(0, 10px) rotate(360deg);
    border-radius: 20px;
}
.sect_img3{
    margin-top: 90px;
}
.sect_img3:hover{
    transform: skew(0) scale(1.5) translate(-80px, -30px) rotate(360deg);
    border-radius: 20px;
}
.art2_cont{
    margin: 50px auto;
    height: 200px;
}   
.art2_img{
    width: 30%;
    height: 100px;
} 
.art2_p1{
    font-size: 16px;
}
.art2_p1:hover{
    transform: translate(0) scale(1);
    color: white;
}
.art2_h{
   font-size: 20px;
   padding-top: 20px;
}
.art2_h:hover{
    transform: translate(0) scale(1);
    color: white;
}
.art2_p2{
    display: none;
}
.art3_cont{
    height: 300px;
}
.art3_inputs{
    width: 100%;
    height: 300px;
}
.art3_inp1{
    width: 95%;
}
.art3_inp2{
    width: 95%;
    margin-left: 0;
    margin-top: 20px;
}
.art3_inp3{
    width: 95%;
    height: 100px;
    margin-top: 20px;
}
.art3_inp4{
    width: 95%;
}
.art3_inp4:hover{
    transform: scale(1.3) translateX(40px);
}
.art3_icons{
    width: 100%;
    height: 150px;
}
.foot_icons{
    width: 250px;
}
.foot_icon{
    width: 40px;
    height: 40px;
    padding: 13px;
}
.foot_p{
    font-size: 14px;
    padding-top: 10px;
}
}