*{ 
    
    margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif; 
}

/* CSS for Header */

 
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(Images/bg.png); 
    background-position: center;
    background-size: cover;
    position: relative;  
}
   
    
nav{ 
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{ 
    
    width: 350px;
    height: 75px;
    
}
.nav-links{ 
    flex: 1;
    text-align: right;
        
}
.nav-links ul li{ 
    
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    
}
.nav-links ul li a{ 
    color: #fff;
    text-decoration: none;
    font-size: 13px;
        
}
.nav-links ul li::after { 
    
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
    
}

.nav-links ul li:hover::after{ 
    width: 100%;
    
}

.text-box{ 
   
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{ 
    font-family: 'Noto Sans Malayalam', sans-serif;
    font-size: 100px;
    font-weight: 900;
    color: #fff;

        
}

h1:hover {
  
  animation: example 1s linear infinite;
}

@keyframes example { /* h1 Animation */
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(1deg);
  }
    100%
    {
        transform: rotate(0deg);
    }
}





.text-box h3{
     font-family: 'Noto Sans Malayalam', sans-serif;
    color: #fff;
    font-size: 35px;
}
.text-box p{ 
    margin: 10px; 0 40px;
    font-family: 'Noto Sans Malayalam', sans-serif;
    font-size: 14px;
    color: #fff;
    
}

.hero-btn{ 
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-family: 'Noto Sans Malayalam', sans-serif;
    font-size: 20px;
    font-weight: 400;
    background: transparent;
    position: relative;
    cursor: pointer;
       
}

.hero-btn:hover{ 
    
    border: 1px solid #ffff;
    background: #f44336;
    font-family: 'Noto Sans Malayalam', sans-serif;
    font-weight:800;
    transition: 0.1s;
    
    
    
}

nav .fa{ 
    
    display: none;
}


@media(max-width: 700px)
{
    
    nav img{ 
    
    width: 150px;
    height: 55px;
    
}
    
    .text-box h1
    { 
    font-family: 'Noto Sans Malayalam', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: #fff;
       
    }
    
    .text-box h3
    {
    color: #fff;
    font-family: 'Noto Sans Malayalam', sans-serif;
    font-size: 10px;
        
        
    }
    .text-box p
    {
    color: #fff;
    font-family: 'Noto Sans Malayalam', sans-serif;
    font-size: 9px;
            
    }
    
    
    .nav-links ul li
    {
    
   display: block;
    }
    
    .nav-links
    { 
        position: absolute;
        background:#f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -500px; 
        text-align: left;
        z-index: 2;
        transition: 1.5s;
                
    }
    nav .fa 
    { 
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
             
    }
    .nav-links ul
    {
        padding: 30px;
        
        
    }
    
 }

/* End of Header */

/* CSS for Section 3 */

.surahnames{
    
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 40px;
   
            
}

.surahnames p{
    
    padding-bottom: 40px;
}

.surah-row{
    margin-top: 0%;
    display: flex;
    justify-content: space-between;
    
    
}

.surah-col{
    flex-basis: 55%;
    border-radius: 10px;
    margin-bottom: 30px;
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
    transform: scale(1); /* Column Animation */
    transition: transform 0.3s; /* Column Animation */
    
}

.surah-col:hover {
  transform: scale(1.05);/* Column Animation */
}

.surah-col img{
    
    width: 100%;
    display: block;
    
    
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
   /* transition: 6s;*/
    transition: background-color 0.5s; /* Column Animation */
    
    
}
.layer:hover{
  
 /*    background: rgba(122,185,95,0.75); */
    background-color: rgba(122, 185, 95, 0.75);/* Column Animation */
   
}

.layer h3{
    font-family: 'Noto Sans Malayalam', sans-serif;
    width: 100%;
    font-weight: 400;
    color: #fff;
    font-size: 15px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
  /*  transition: 1s; */
    transition: opacity 0.5s; /* Column Animation */
    
    
    
    
}

.layer:hover h3{
  
    font-family: 'Noto Sans Malayalam', sans-serif;
     bottom: 20%;
    opacity: 1;
    
    
    
}

@media(max-width:700px){
    .surah-row{
        flex-direction: column-reverse;
    }
}

/* End  of CSS for Section 3 */


