*{
    box-sizing: border-box;
}
html {
    scroll-padding-top: 30px; 
    scroll-behavior: smooth; 
}
body{
    background: #FFF1F1;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    cursor: url('./images/cursor.png'), auto;

}

img:hover{
    filter:grayscale();
}
.jahanara:hover{
    filter: none;
}

/* header code */
.header, .footer{
    background: #E0A7A7;
    padding: 0px 10px 0px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    font-size: 15px;
    font-family:Georgia, 'Times New Roman', Times, serif;
    z-index: 1000;
    height: 50px;
    padding-top: 3px;
}
.dropdown-cont{
    display: flex;
    height: 50px;
}
a{
    text-decoration: none;
    color: black;
    cursor: url('./images/cursorhand.png'), auto;
    display: block;
    padding: 10px;
}

.headlist, .footerlist, .footlist{
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 30px;
    height: 50px;
    margin: 0;
}
.headlist{
    padding-top: 5px;
}
.headerlist:hover, .footerlist:hover{
    text-decoration: underline;
}
.bol{
    font-weight: bold;
    font-size: 15px;
}

.dropdown{
    display: none;
}

@media screen and (max-width: 1000px) {
    .header{
        padding: 10px 30px 10px 30px;
        overflow: visible !important;
    }
    .header .headerlist, .footerlist {
        display: block !important; 
    }
    .dropdown {
        display: block; 
        
    }
    .dropdown-cont {
        position: relative;
        display: inline-block;
    }

    .header .headlist {
        display: none;
        position: absolute;
        top: 100%; 
        right: 0;
        background: #E0A7A7 !important;
        flex-direction: column !important;
        width: 180px;
        padding: 10px;
        margin: 0 !important; 
        margin-top: -10px !important;
        z-index: 1001;
        gap: 2px;
        flex-wrap: nowrap;
        height: auto;
    }

    .dropdown-cont:hover .headlist {
        display: flex !important;
    }
}



/* hero code */
.hero{
    background-image: url("images/herobackground.png");
    background-size:fill;
    background-blend-mode: overlay, multiply;
    background-color: #f8eded;

   
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    height: 110vh;
    flex:1;
}
.jahanara{
    padding: 20px;
}
.herotext{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    max-width: 40%;
}

.bolhero{
    font-weight: bold;
    font-size: 50px;
    padding-bottom: 20px;
}
.semihero{
    font-weight: 600;
    padding-bottom: 20px;
}


/* intro code */

.boltitle, .mughtitle, .tombtitle{
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    padding: 30px;
}

.normtext{
    padding: 0px 300px 30px 300px;
}

@media screen and (max-width: 1000px) {
  .normtext {
    padding: 0px 50px 50px 50px;
  }
}


/*mughal life section*/
.mughflex{
    display: flex;
    flex-direction: row;
    flex:1;
    flex-wrap: wrap;
    padding: 30px 80px 80px 80px;
    justify-content: space-between;
}

.mughtext{
    padding: 50px;
    font-size: 25px;
    flex:1;
}
.mughmaptext{
    font-size: 15px;
}

@media screen and (max-width: 1000px) {
 

    .mughflex{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        padding: 20px 20px 20px 0;
    }
    .mughtext {
    font-size: 20px;
    }
    .mughmap{
    max-height: 300px;
    max-width: 300px;
   
    }
    .mughmapfull{
    align-self: center;
    }
}

hr {
  border: none;
  height: 1px;
  background-color: #333;
  margin: 20px 0;
  width: 100px;
  margin: 0px auto 60px auto;
  
}
li{
    padding-bottom: 20px;
}

.paintings{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    flex:1;
    padding: 30px;
    padding-bottom: 100px;
    gap: 5px;
}

.painting{
    display: flex;
    flex-direction: column;
    max-width: 400px;
    font-size: 10px;
    background-color: #eed6d6;
    padding: 30px 50px 30px 50px;
    border-radius: 15px;
}

.painthead{
    margin: 20px 0 20px 0;
    text-align: center;
    font-weight: bold;
    font-size: 25px;
}

.tasfir{
    width: 300px;
}

.painttext{
    font-size: 20px;
}
.icon{
    width: 60px;
}

/*below is the code for the most difficult section: mullah shah*/
.boxes{
    
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    flex:1;
    align-items: flex-start;
    justify-content: center;
  
}

.leftbox, .middlebox, .rightbox{
    display: flex;
    flex-direction: column;
}

.box{
    background: white;
    max-width: 50vh;
    margin: 20px;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid gainsboro;

}

.boxtitle{
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 20px;
}

.boximage, .tombimage{
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.icon{
    max-width: 50px;
    margin: 0
}

.fulltitle{
    display: flex;
    flex-direction: row;
    align-items: center;
}


.books{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0px 300px 0px 300px;
    justify-content: space-between;
    flex:1;
}


@media screen and (max-width: 1000px) {
 
   .books{
    padding: 20px;
   }
   .boxes{
    padding: 10px;
    margin: 0px;
   }
}

.book{
    max-width: 45%;
}
.booktitle{
    font-weight: bold;
    padding: 30px 0px 20px 0px;
    text-decoration: underline;
}

.persiansplit{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-around;
    padding: 100px;
    padding-top: 0px;
    align-items: center;
}
.munis{
    display: flex;
    flex-direction: column;
    text-align: center;
}
.persian{
    padding-bottom: 10px;
}
.persiantext{
    max-width: 40%;
}
.semiboldtitle{
    font-weight: 700;
    padding: 50px 0px 30px 300px;
    font-size: 30px;
}
@media screen and (max-width: 1000px) {
 
   .persiantext{
    margin: 0px;
    padding: 30px;
    max-width: 500px;
   
   }
   .persiansplit{
    padding: 0px;
    margin: 30px;
   }
   .semiboldtitle{
    font-weight: 700;
    padding: 50px 0px 30px 50px;
    font-size: 30px;
    }
    
}

/* code for construction*/
.conimages{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}
.conbox{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding-bottom: 10px 0px 0px 10px;
}

.context{
    padding-left: 20px;
}
@media screen and (max-width: 1000px) {
    .jama, .mullah, .chowk{
        width: 400px ;
        height: 348px;
        object-fit: cover;
        padding: 0px 40px 20px 60px;
        border-radius: 15px;
    } 
    .jama, .mullah{
        padding-left: 100px;
    }
}
/*code for conclusion*/

.tombtext{
    padding: 0px 500px 100px 500px;
   color: grey;
}
.tombtitle{
    font-weight: 400;
    font-size: 30px;
}

.tombimage{
    max-width: 700px;
}

@media screen and (max-width: 1000px) {
   .conclusion{
    margin: 0px;
    padding: 0px;
   }
   .tombtext{
    padding: 20px !important;
    font-size: 20px;
    text-align: center;
   }
  .tombimage{
    max-width: 400px !important;
    }
}
/* generic code for quotes */
.quote{
    margin: 20px 0px 20px 0px;
    height: 100vh; 
    background-image: url(./images/mughbackground1.png);
    background-size:fill;
    background-blend-mode: multiply;
    background-color: rgb(241, 190, 218);

    background-attachment: fixed; 
    background-size: cover;
    background-position: center;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.quotetext{
    font-size: 35px;
    padding: 60px;
    margin: 20px;
    background-color: rgb(246, 194, 223, 0.9);
    font-family: Georgia, 'Times New Roman', Times, serif;
}

@media screen and (max-width: 1000px) {
    .quotetext{
        font-size: 25px;
    
    }
}

/*code for the footer*/
.footer{
    display: flex;
    background-color:#eed6d6;
    flex-wrap: wrap;

}

@media screen and (max-width: 1000px) {
    .footer{
        display: block !important;
        min-height: 200px;
        height: auto;
        background-color:#eed6d6 !important;
        box-sizing: border-box;
        overflow: hidden;
    }
    .footlist{
        display: block !important;
        width: 100%;
        background-color: transparent;
        padding: 0;
        margin: 0;
    }
  

    @media screen and (max-width: 1000px) {
    
    .dropdown-cont.is-open .headlist {
        display: flex !important;
    }
}
}
