html{
    scroll-behavior: smooth; 
   
}                  
body { 
    margin: 0;
    font-family: 'Varela Round', sans-serif;
    height: 100%;
    width: 100%;
    
    overflow: auto;
font-size: 1rem;
    color: rgb(36, 40, 44);
background-image:linear-gradient( 45deg,#fffcfa, white) ;
}

.float{
    height: 100%;
    width: 100%;
    position: fixed;
    visibility:hidden;
    background-color: #fffcfa;
}

nav {
    float: end;
    position: fixed ;
    top: 0;
    height: 60px;
    width : 100%;
    background: rgb(36, 40, 44);
    display: flex;
    flex-direction: row;
   
    transition: 0.5s;
}

.logo {
    flex-direction: row;
   justify-content: start;
    display: flex;
    margin-left: 3.8rem;
    padding-left: 0.8rem;
    align-self: center;
    width: 7rem;
   height: 2.8rem;
}

.logo img {
    height: 2rem;
    width: 4rem;
    margin-top: .4rem;
}



ul {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items:center;
    margin-right: 5rem;
    padding-right:2rem;
}

li {
    padding: 2px;
    padding-left: 17px;
    list-style-type: none;
    color: darkgoldenrod;
    font-size: .8rem;
}


a{
    transition: .3s;
    text-decoration: none;
    color: rgb(255, 174, 0);
    font-weight: bold;
   cursor: pointer;
}




.active {
    height:50px;
    width: 450px;
    
    color:rgb(36, 40, 44);
padding: 7px;
padding-block: 32px;
    border-radius: 14px;
    background-image:linear-gradient(45deg ,rgb(255, 136, 0) , rgb(255, 238, 0)) ;
}

span{
    color: rgb(233, 133, 19) ;
    font-family: 'Ms Madi', cursive;
    font-size: 1.5em;
}

.contain{
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.slide {
    aspect-ratio: 16 / 9;
    width: 80%;
    background: rgba(0,0,0,0.3), url(img/background/mmi1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0 auto;
    margin-top:1.5rem;
    border-radius: 6px;
    

    animation-name: animate;
    animation-direction:normal;
    
    animation-timing-function:cubic-bezier(.99,-0.03,.97,.49);
    animation-duration: 50s;
    animation-iteration-count:infinite ;
}

@keyframes animate {
   0%{
background-image: url(img/background/mmi1.jpg);
    }
    10%{
        background-image: url(img/background/mmi2.jpg);
    }
    20%{
        background-image: url(img/background/mmi3.jpg);
     }
    30%{
    background-image: url(img/background/mmi4.jpg);
    }
    40%{
        background-image: url(img/background/mmi5.jpg)
      }
      50%{
        background-image: url(img/background/mmi6.jpg);
         }
         60%{
            background-image: url(img/background/mmi7.jpg);
         }
         70%{
            background-image: url(img/background/mmi8.jpg);
                }
         80%{
       background-image: url(img/background/mmi9.jpg);
        }
        90%{
         background-image: url(img/background/mmi10.jpg);
       }
       100%{
        background-image: url(img/background/mmi1.jpg);
            }
        
}



.hd{
    padding-bottom: 3.5rem;
}

.intro {
text-align: center;
width: 50%;
margin: 0 auto;
font-size: 2.4em;
padding-block: max(5rem , 3vh);
}

.intro p {
    font-size: 1.72rem;
   font-style: italic;
   font-weight: lighter;
   margin-top: 6rem;
}

.yt {
    text-align: center;
    font-size: 1.8em;
    width: 80%;
    height: 80%;
    margin: 0 auto;
   
}


    .iframe{
        
        
         
        aspect-ratio: 16 / 9;
        border-radius: 6px;
      }
      .iframe iframe{
        border-radius: 6px;
        top:0;
        left: 0;
        width: 100%;
        height: 100%;
      }

.scripture{
    text-align: center;
    padding-block: 2rem;
    font-size: 1.5rem;
    width: 70%;
    margin: 0 auto;
}

.line1 {
    width: 100%;
    height: 2px;
    background-color:rgb(36, 40, 44) ;
    margin: 0 auto;
    border-radius: 6px;
}

.head {

padding-block: 1rem;
font-size: 2rem;
max-width: 400px;
}

.scroll-cont{
    padding-left: 10px;
    display: grid;
    text-align: center;
    background-image: orange;
    grid-auto-flow: column;
    grid-auto-columns: 28%;
    height: auto + 3px;
    width: auto;
    overflow-x: auto;
    grid-gap:0.5rem;
    margin-bottom: 3rem;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 8px;
    overscroll-behavior-inline: contain;
   
}

.scroll{
    height: auto + 10px;
    width:auto;
    background-image: url(img/background/mmi1.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    scroll-snap-type: inline mandatory;
     scroll-padding-inline: 3px;
     padding: 5px;
     margin-bottom: 1rem;
     aspect-ratio: 16/9;
     scroll-margin-block: 8px;
      border-radius: 4px;
      box-sizing: border-box;
      box-shadow: rgb(0,0,0,0.5);
      transition: 0.3s;

}

::-webkit-scrollbar {
width: .7em;
height: .7em;
margin: .5em;
}

::-webkit-scrollbar-track {
    background:rgb(79, 86, 92);
    
   
}

::-webkit-scrollbar-thumb {
    background:rgb(36, 40, 44) ;
   
}

::-webkit-scrollbar-thumb {
    cursor: pointer;
}
    
.overlay{
    display: grid;
    align-items: center;
    transition: .2s;
    opacity: 0;
   aspect-ratio: 16/9;
}

.overlay:hover{
    display: grid;
    align-items: center;
    transition: .2s ;
    opacity: 1;
    backdrop-filter: blur(4px);
    text-align: center;
   font-size: 2rem;
   cursor: pointer;
}

.overlay a{
    color: rgb(36, 40, 44);
    transition: .3s;
}
.textt:hover{
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color:antiquewhite;
}

.snaps {
    scroll-snap-type:inline mandatory;
   
}

.snaps > * {
    scroll-snap-align: start;
}

.next{

    padding-block: 1rem;
    font-size: 2rem;
    max-width: 400px;
}

.next-content {
    display: grid;
    align-items: center;
    justify-items: center;
    width: 70%;
    margin: 0 auto;
    margin-top: 1.2rem ;
    margin-bottom: 8rem;
    height: 30rem;
    background-image: url(/comingsoon.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border: 3px solid rgb(36, 40, 44);
    border-radius: 4px;
    font-family: 'Ms Madi', cursive;
    font-size: 4.5rem;
}

.next-content p {
    
   font-weight: 900;
    margin-left:1.2rem;
}

.foot{
    background: rgb(36, 40, 44);
    height: 140px;
    margin-top: 2rem;
    text-align: center;
    width: 100%;
    padding-top: 20px;
    color:beige ;
}

@media (max-width:600px) {
    .float{
        text-align: center;
        display: grid;
        place-items: center;
        visibility: visible;
        font-size: 4rem;
       
    }

    .hd{
        visibility: hidden;
    }
}
