
body{
width: 100%;
height: auto;
}
.main{
width: 100%;
background-color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;

}
.section{
width: 100%;
height: 700px;
display: flex;
left: 0;
top: 0;
position: relative;
margin-top: -150px;
z-index: 0;
}
.section .cover{
width: 100%;
height: 70%;
background-image: linear-gradient(to top,black,transparent);  
z-index: 50;
position: absolute;
bottom: 0;
}
.section img{
width: 100%;
height: 100%;

animation: image_anim 2s;
    
}
.section .article-info{
   width: 100%;
   height: auto;
   position: absolute;
   z-index: 100;
   font-family:poppins;
   color: white;
   bottom: 0;
   left: 0;
   padding: 20px;
 
}

#heading{
font-size: 25px;
font-weight: 700;
margin-bottom: 5px;
animation: txt_anim 2s;
}
#body{
font-size: 20px;
font-weight: 300;
}

.main h1{
font-family: Libre Baskerville,serif;
padding: 20px 30px;
color: #105934;
width: 100%;
text-align: center;
}
.main #remarks{
font-family: poppins;
padding: 10px 30px;
color: #916255;
width: 100%;
text-align: center;    
}

@keyframes image_anim{
0%{
 opacity: 50%;   
}
100%{
    opacity: 100%;
}
}

@keyframes txt_anim{
0%{
 opacity: 50%;
 margin-top: -10%;   
}
100%{
    opacity: 100%;
    margin-top:0;
}
}

@media screen and (max-width:500px) {

body{
    width: 100%;
    height: auto;
}
.main{
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    

}
.section{

height: 400px;
margin-top: 0;

}
.section img{
width: 100%;
height: 100%;
object-fit: cover;
animation: image_anim 2s;
    
}

#heading{
font-size: 30px;
font-weight: 700;
margin-bottom: 0;

}
#body{
font-size: 20px;
font-weight: 300;
}

.main h1{
font-family: Libre Baskerville,serif;
padding: 20px 10px;
color: #E91C21;
width: 100%;
text-align: center;
font-size: 20px;
}

.main h3{
font-family: Libre Baskerville,serif;
padding: 20px 10px;
color: #499C54;
width: 100%;
text-align: center;
}

.main .remarks{
font-family: poppins;
padding: 2px 20px;
color: #916255;
width: 100%;
text-align: center;    
margin-bottom: 30px;
font-size: 13px;
}

}

