* {
    box-sizing: border-box;
}

body {
    background-color: rgb(247, 241, 233);
    margin: 0px;
    font-family: -apple-system,
}


nav {
    display: flex;
    background-color: rgb(56, 55, 55);

}

.flex-align-left {
    margin-left: auto;
}

nav a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 20px;
    text-align: center;
    float: left;
}

.navBar {
    text-align: center;
    height: 100%;
    padding: 75px 0px;
    min-height: 40vh;
}

.navBar:nth-child(even) {
    background-color: #ececec;
}



img {
    padding: 0px 20px;
}

h2 {
    padding-bottom: 40px;
}

footer {
    display: flex;
 
    background-color: rgb(65, 61, 61);
}

footer a {
    display: block;
    text-decoration: none;
    color: rgb(247, 241, 241);
    padding: 20px;
    text-align: center;
    float: left;
}

footer {
    background-color: rgb(56, 55, 55);
}

.founderDetail {
    background-color: rgb(248, 240, 230);
}

.h2F {
    margin: 50px;
    margin-bottom: 30px;
    text-align: center;
}

.banner {
    background-image: url(logo\ apna\ college.png);
    height: 200px;
    min-height: 100px;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 450px;
    background-attachment: fixed;
}

header {
    background-color: rgb(243, 223, 198);
}

nav a:hover {
    background-color:rgb(247, 234, 220) ;
    color:rgb(68, 64, 64);
}

section h2 span{
    background: linear-gradient(to right,rgb(255, 194, 120), rgb(254, 169, 0) );
    padding: 10px 55px;
    border-radius: 20px;
    color: white;
}


/* Flickity carousel*/
.carousel-cell {
  width: 66%;
  margin-right: 10px;
  border-radius: 5px;

}

.iframe-container{
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
    width: 100%;
}

.iframe-container iframe{
    display: block;
    position: absolute;
    width: 60%;
    height: 60%;
    top: 0;
    left: 0;
    border: 0;
    margin: 20%;
    margin-top: 0;  
}

.img-responsive{
    width: 100%;
    height:100%;
}

.profile_img{
    
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 20%;
   border-radius: 100%;
}

.name {
    text-align: center;
    font-size: 2em;
    font-weight: 900;
    letter-spacing: 2px;
    word-spacing: 10px;
    text-transform: uppercase;
    margin: 20px 0px 30px 0px;
}

@media screen and (max-width: 700px) {
    nav {
        flex-direction: column;
    }

    .flex-align-left {
        margin-left: 0;
    }
    .name{
        font-size: 1em;
    }
    footer{
        flex-direction: column;
    }
}
