@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');


* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
  }

/* navbar styling */

.navbar {
    font-family: "Unbounded", cursive;
    background-color: #850000;
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;


    img {
        width: 160px;
        object-fit: cover;
        margin-left: 4rem;
      }

      .nav-img{
        width: 120px;
        object-fit: cover;
      margin-right: 4rem;
    }

    .head{
        padding: 1rem;

        h4{
    
            color: white;
            letter-spacing: 1.5px;
            text-align: center;
            font-size: 2.8em;
        }
        p{
            text-align: center;
            color: white;
            font-size: 1.1em;
            letter-spacing: 1.5px;
        }

    }
  }

/* main body styling  */

.main{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
    .mainLeft{
        width: 60%;
        height: auto;
        overflow: hidden;
        margin-top: 100px;

        img{
            background-position: center center;
            background-repeat: no-repeat;
        }
        .gallery{
            text-align: center;
            margin-top: 10px;
        }
        
    }

    .MainCenter{
        width: 100%;
        margin-bottom: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        
        
        h1{
            margin-top: 10px;
            text-align: center;
            margin-bottom: 20px;
        }

        .container{
            width: 60%;
            /* border: 1px  solid black; */
            .tablehead{
            
                
                background-color: #850000;
                color: white;
            }
        }
    }

    .sub-container{
        td{
            font-size: 1.55em;
            font-weight: 650;
        }
    }
    .explode{
        th{
            font-size: 1.45em;
        }
        td{
            font-size: 1.25em;
            font-weight: bold;

            a{
                color: black;
            }
            a:hover{
                font-weight: bolder;
                text-decoration: none;
                font-size: 1.2;
                color: #850000;
            }
        }
    }
    .gallery{
        text-align: center;
        margin-top: 10px;
    }
    
    .carousel{
        margin-top: 10px;
        padding: 2rem;
    }
    
}



/* footer css */
footer{
    background-color: #850000;
    color: white;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: fixed;
    bottom: 0;
    /* top: 7.7rem; */
    width: 100%;
    

    p{
        text-align: center;
    }

}


/* responsive */

@media (max-width:865px){
    .navbar{
        .head{
            p{
                display: none;
            }
        }
    }
    .mainLeft{
        width: 100%;
        height: auto;
    }
    
}

@media (max-width:720px){
   
    .ipulogo {
        .nav-img{
            display: none;
        }
    }
    .mainLeft{
        width: 100%;
        height: auto;
    }
}

@media (max-width:620px){
    .navbar{
        .iitmlogo{
            img{
                width: 120px;
            }
        }
    }
    .mainLeft{
        width: 100%;
        height: auto;
    }
}

@media (max-width:447px){
    .navbar{
        .head{
            h4{
                font-size: 2em;
            }
        }
        .iitmlogo{
            img{
                width: 100px;
            }
        }
    }

    .main{
        .MainCenter{
            .container{
                width: 80%;
            }
            .heading{
                h1{
                    font-size: 2.6em !important;
                }
            }
        }
    }
    .mainLeft{
        width: 100%;
        height: auto;
    }
    
}

@media (max-width:355px){
    .navbar{
        .head{
            h4{
                font-size: 1.5em;
            }
        }
        .iitmlogo{
            img{
                width: 60px;
            }
        }
    }

    .main{
        .MainCenter{
            .container{
                width: 80%;
            }
            .heading{
                h1{
                    font-size: 2em !important;
                }
            }
        }
    }
    .mainLeft{
        width: 100%;
        height: auto;
    }
    
}