* {
    box-sizing: border-box;
}

.menu-open{
    z-index: 5;
    float: right;
    position: fixed;
    right: 0vw;
    top: 50vh;
    margin-right: -2rem;
}
.closeBtn{
    position:absolute;
    right: 0px;
}



.slider-container {
    position: relative;
    display: flex;
    overflow: hidden;
    width:  max-content;
   border: black;
    color: black;
  
    padding-top: -3rem;
}
h3{
    margin-top: 0%;
    margin-bottom: 0.5rem;
}
.slider {
    display: flex;

}
a{
    color: black;
    
   
}

p a{
    text-decoration: none;
}
figcaption{
    margin-left: 0%;
}
.quiz{
    padding-right: 2rem;
    display: block;
}
.cross{
    margin-top: 5%;
    margin-bottom: 20%;
    margin-right: 2rem;
    
    height: 0.1%;
    font-size: 400%;
        font-weight: 600;
}
table {
    border-collapse: collapse;
    margin-bottom: 20px;
    justify-content: center;
    max-width: 100%;
}
table{
    justify-self: center;
    }
td {
    width: 30px;
    height: 30px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #000;
    background-color: #fff;
}
td.black {
    background-color: #000;
}
input {
    width: 100%;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 16px;
}
.clues {
    margin-bottom: 20px;
}
.clues h3 {
    margin: 0;
}
.clues p {
    margin: 5px 0;
}
.close-button{
    padding: 8px 20px;
    border: none;
    background-color:black;
    color:whitesmoke;
    font-family:"Prata";
    font-size: 16px;
    font-weight: bold;
    border-radius: 1rem;
    cursor: pointer;
    justify-content: center;
    margin-left: 4rem;
    margin-right: 0rem;
}

.button-container {
    margin-top: 20px;
}
.button-container button {
    padding: 10px 20px;
    margin-left: 2rem;
    border: none;
    background-color:black;
    color:whitesmoke;
    font-family:"Prata";
    font-size: 16px;
    font-weight: bold;
    border-radius: 1rem;
    cursor: pointer;
    
}
.p{
   
    font-size: 1rem;
    line-height: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
   
   
}
p{
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-content {
    display:flexbox;
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    justify-content: center;
}

/*
.hidden{
    display: none;
}
/*
coin{
    display: none;
}
*/



.coinImg{
    width:40vw;
    justify-content: center;
    animation: rotation 5s infinite linear;
    margin-top: 0%;
    margin: 3rem;
    right: 5rem;
    
    
}
.shab{
    padding: 0%;
    margin-bottom: 0%;
    align-items: center;
    text-align: center;
}
.shab2{
    text-align: center; 
}
footer a{
    color: white;
    text-decoration:solid;
    text-decoration-color: #fff;
}

@keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
  }
.hide-mobile{
    display:none;
}

.logo{
   margin-bottom: 0 ;
    width: 1rem;

}

hr{
    border-top: 2px solid   #000000;
  border-radius: 5px;
}

.heading{
    text-align: center;
    align-items: center;
    margin-bottom: 0%;
    padding-bottom: 0%;
    
}
.subhead{
    font-style: italic;
    text-align: center; 
    margin-top: 0%;

    
}
@keyframes reveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


p{
    opacity: 1;
    transform: translateY(20px);
    animation: reveal 2s ease-out forwards;
   
}
/*
p{
    opacity: 0;
    transform: translateY(20px);
    animation: reveal 2s ease-out forwards;
}

.roohAfzaSection{
    transition:ease-out;
}
.fashion-section{
    opacity: 1;
    transition:ease-out;
}   
*/

.crossword{
    max-width: 100%;
    width: 100vw;
    height: 70vh;
    border: 0;
    
   
 
    
  
    
}



h1{
    font-size: 5rem;
    max-width: 100%;
}

h1{
    p{
    text-align: center;
    max-width:fit-content;
    
   
    img{
        display: block;
        margin:0 auto;

    }
}
}
p{
    font-size: 1.8rem;
    line-height: 1.8rem;
    max-width: 100%;
}
.header-top{
    max-width: 100%;
    display:flex;
    justify-content: space-between;
    margin:0;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.2rem;
  
}
.header-text{
   
    justify-content:flex-start;
    font-size:0.2rem; /* Adjust the size as needed */
}
.header-date{
   
    justify-content:flex-end;
    text-align: right;
    font-size:1.3rem; /* Adjust the size as needed */
}
img{
    margin: 1rem;
}

.content{
    display: grid;
}

.hero{
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; 
    background-image: url('topi.svg');
    position:absolute;
    top:0%;
    left:0%;
    width:100vw;
    height: 100vh;
    object-fit: cover;
    /*try getting rid of object fit since it crops*/
    z-index: -1;
    height: 100%;
    
}
.shair{
    font-family: Noto Nastaliq Urdu;
    font-size: 3rem;
    align-items: right; 
    max-width: 100%;
 
}
body{
   /* background-image: url(bg.jpg);*/
   
    background-color: #FFFBF3;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Prata';
    overflow-x: hidden;
    color:black;
    width: 100vw;
    height: 100%;

}

.wrap{
    overflow-x:hidden;
    padding-left:1rem;
   padding-right: 1rem;
   max-width: 100%;
   padding-left: 1rem;
   padding-right: 1rem;
   box-sizing: border-box;
   left: 0;

}



.truck{
    position:absolute;
    z-index: -1;
}
header{
    display:flex;
    justify-content:space-between;
    /*margin-bottom: 100vh;*/
}
.header-text{
    font-style: italic;
    font-size: 1.3rem;
    
    
}

nav ul{
    background-color: black;
    position:fixed;
    z-index:999;
    top:0;
    right:0;
    height :100vh;
    margin:0;
    list-style:none;
    width:45%;
    text-align: left;
    
    transform: translateX(100%);
    transition: transform 0.5s ease-in;

   li{
   
    &:nth-of-type(1){
        margin-bottom: 2em;
        
    }
    a{
        color: white;
        text-decoration: none;
        font-weight: bold;
        font-size:1.4rem;

        &:hover{
            color: green;
            
        }
    
    }
}
/*
nav ul{
    max-width: 100%;
    background-color:blanchedalmond;
    position:fixed;
    z-index:999;
    top:0;
    left: 0;
    margin:0;
    list-style:none;
    width:100vw;
    align-content: center;
    text-align:center;
   transform: translateX(100%);
    transition: transform 0.5s ease-in;
   /* text-align:center;
   transform: translateX(100%);
    transition: transform 0.5s ease-in;

   li{
    margin:0.5em 0;
    max-width: 100%;
   
   
    a{
        color: black;
        text-decoration: none;
        font-weight: bold;
        font-size:1.7rem;

        &:hover{
            color:green;
            

        }
    
    }



   }
*/
}


.open{
    transform: translateX(0%);
    animation-duration: 0.4s;
    /*animation-duration: 0.4s;*/
}
#transport-sec {
   /* display: block;*/
   display: block;
    align-items: flex-start;
    width: 100%;
    overflow-x: hidden;
}

.rickshaw {
    width: 98vw;
    margin: 1rem;
    float: left;
    margin-left: 0rem;
    margin-right: 0rem;
    max-width: 100%;
    
}

.shairi{
    width: 98vw;
   
    margin: 1rem;
    float: right;
    margin-left: 0rem;
    margin-right: 0rem;
    max-width: 100%;
}

.addImg{
    width: 20vw;
    float: right;
    max-width: 100%;

}

.section2{ 
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    overflow-x: hidden;
}


.rooafzaImg{
  
    width: 42vw;
    float: left;
    margin-top: 2rem;
    z-index: 1;
    max-width: 100%;
    margin-left: auto;
  
}


.rooafzaImg {
    overflow: hidden;
}
.rooafzaImg img {
    transform: translateY(100%);
}


#roohAfzaSection{
    width: 47vw;
    margin-right: 1rem;
}

#fashionSection{
  
    width: 47vw;
    overflow-x: hidden;
   
}
.poetryImg{
        width: 20vw;
        float: right;
}

.footer{
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-between;
   
   padding-right: 2rem;
   padding-left: 2rem;
  

}
footer p{
    font-size: 0.8rem;
    font-style: italic;
}

.across{
    margin-bottom: 0%;
}

.down{
    margin-bottom: 0%;
}
@media(min-width: 380px){
/*    mobile, these will only work if 550px in width or larger*/


.wrap {
    padding-left: 1rem;
        padding-right: 1rem;
        overflow-x: hidden;
        align-content: center;
        max-width: 100%; 
        left: 0;
        box-sizing: border-box;
      }

}


.subhead{
font-size: 1rem;
}
.cross{
    font-size: 300%;
    font-weight: 600;
    padding-top: 2%;
    padding-top: 2%;
   
}
   .header-top{
    padding-right: 0rem;
    font-size: 0.2rem;
   }

.wrap {
    padding-left: 1rem;
        padding-right: 1rem;
        overflow-x: hidden;
        align-content: center;
        max-width: 100%; 
        left: 0;
        box-sizing: border-box;
      }


.hide-mobile{
    display: none;
}
.hide-desktop{
    display:block;
}
/*
.hide-desktop{
    display:none;
}
.hide-mobile{
    display: block;
}

}
*/

.header-left{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;

    .divider{
        height: 50px;
        width:1px;
        border-right: 1px solid;
        color:grey;
    }
    a{
        text-decoration: none;
        color: #FFFBF3;
        font-size: 1.2rem;
    }
}
ul{
    width: 100vw;
}

.poetrySection{
    max-width: 100%;
}


.shair{
    line-height: 1.5;
    text-align: center;
    font-size: 2rem;
    max-width: 100%;
}
#fashionSection{
    max-width: 100%;
    width: 47vw;
   
}

@media(min-width:650px){
    /*tablet*/
    .p{
        font-size: 1.2rem;
        line-height: 2rem;
        word-wrap: break-word;
        overflow-wrap: hidden;
        /*
         max-width: 100%;
        overflow-x: hidden;
        */
       
    }

    .close-button{
        padding: 8px 20px;
        border: none;
        background-color:black;
        color:whitesmoke;
        font-family:"Prata";
        font-size: 16px;
        font-weight: bold;
        border-radius: 1rem;
        cursor: pointer;
        justify-content: center;
        margin-left: 6rem;
        margin-right: 0rem;
    }
    .coinImg{
        width:20vw;
        justify-content: center;
        animation: rotation 5s infinite linear;
        margin-top: 0%;
        margin-bottom: 1rem;
        margin: 4.5rem;
        right: 5rem;
        
        
    }
    nav {
        
        display: flex;
        justify-content: center;
        max-width: 100%;

      
}
     
nav ul{
    position:unset;
    display: flex;
    gap: 6rem;
    color: white;
    background-color: #000;
    text-align: center;
   margin-left: -200vw;
   width: 100vw;
   height:5rem;
   align-items: center;
   text-align: center;
   z-index: 3;
   padding-left:8%;

 
}


.hide-mobile{
    display: block;
}
.hide-desktop{
    display: none;
}
.footer p{
    font-size: 1.2rem;
}
#fashionSection{
    max-width: 100%;
    width: 47vw;
   
}
.quiz{
    display: flex;
}
.clues{
    margin-top: 4rem;
}
}



@media(min-width:950px){
   /*desktop*/
   .rooafzaImg{
  
    width: 30vw;
    float: left;
    margin-top: 2rem;
    z-index: 1;
    max-width: 100%;
    margin-left: auto;
  
}
   .close-button{
    padding: 8px 20px;
    border: none;
    background-color:black;
    color:whitesmoke;
    font-family:"Prata";
    font-size: 16px;
    font-weight: bold;
    border-radius: 1rem;
    cursor: pointer;
    justify-content: center;
    margin-left: 6rem;
    margin-right: 0rem;
}
.p{
    padding-right: 0%;
}

   .coinImg{
    width:12vw;
    justify-content: center;
    animation: rotation 5s infinite linear;
    margin: 4rem;
    margin-left: 5rem;
    margin-bottom: 2rem;
   
    
    
}
.addImg{
    width: 30vw;
    float: right;
    max-width: 100%;

}
   .footer p{
    font-size: 1.2rem;
}
    h1,p{
        text-align:left;
        max-width: 100%;
       
    }
    nav {
        
            display: flex;
            justify-content: center;
          
    }
         
    nav ul{
        position:unset;
        display: flex;
        gap: 6rem;
        color: white;
        background-color: #000;
        text-align: center;
       margin-left: -200vw;
       width: 100vw;
       height:5rem;
       align-items: center;
       text-align: center;
       z-index: 3;
       padding-left: 20%;

     
    }
       
     
     
      ul  li a{
            font-size: 1.2rem;
        
        }
        
    

    h1 img{
        margin:0;

    }
    main{
        max-width: 100%;
        width: 100vw;
        height: auto;
    }
    /*
    #transport-sec{
display:block
    }
    .rickshaw{
        width: 70vw;
        
    }*/
    .rickshaw{
        margin-left: 8rem;
        width: 80vw;
        
    }*

    .hide-desktop{
        display: none;
    }

    .hide-mobile{
        display: block;
    }
    .shair{
        padding-left: 1rem;
    }
    .subhead{
        font-size: 1.5rem;
    }
    #fashionSection{
        max-width: 100%;
        width: 47vw;
       
    }
    .quiz{
        display: flex;
    }
}