/* In this css file we will be writing the css of your first multi page webpage. */
* {
    margin: 0%;
    padding: 0%;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(/library-5612441_1920.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;

}

nav img {
    width: 150px;
}

.navlinks {
    flex: 1;
    text-align: right;
    font-family: 'Roboto', sans-serif;
    /* position: fixed; */
}
.navlinks ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    /* position: fixed; */
}

.navlinks ul li a {
    color: white;
    text-decoration: none;
    font-size: 22px;
}

.navlinks ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: orangered;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.navlinks ul li:hover::after {
    width: 100%;
}

.textbox {
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    /* line-height: 20px; */
}

.textbox h1 {
    font-size: 67px;
}
.textbox h1:hover{
    -webkit-text-stroke: 1px #fff;
    color: transparent;
}

.textbox p {
    margin: 10px 0 40px;
    font-size: 24px;
    color: white;
}

.main {
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    position: relative;
    padding: 12px 34px;
    font-size: 19px;
    cursor: pointer;
}

.main:hover {
    background-color: rgba(200, 57, 5, 0.908);
    border: 1px solid rgba(200, 57, 5, 0.908);
    transition: 1s;

}

.fa::before {
    content: "\f00d";
    display: none;
}

@media(max-width:700px) {
    .textbox h1 {
        font-size: 28px;
    }

    .navlinks ul li {
        display: block;
    }

    .navlinks {
        position: fixed;
        background: rgba(200, 57, 5, 0.908);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    .fa::before {
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .navlinks ul {
        padding: 30px;
    }

    .fa-star-half-o::before {
        color: black;
    }

    .fa-star-o::before {
        color: black;
    }

    .fa-star::before {
        color: black;
    }
}

/*  now we will be addfing css for the course page of our website */
.course {
    /* background-image:linear-gradient(rgba(4,9,7,0.7),rgba(4,9,7,0.7)), url(/marvin-meyer-SYTO3xs06fU-unsplash.jpg); */
    width: 80%;
    text-align: center;
    padding-top: 100px;
    margin: auto;
    /* background-size: cover; */
    /* background-position: center; */
    /* background-color: #222; */
    /* background-image: linear-gradient(rgba(4,6,30,0.7)),url(/marvin-meyer-SYTO3xs06fU-unsplash.jpg); */
    background-position: center;
    background-size: cover;

}

h1{
    font-size: 52px;
    font-weight: 600;
    
}

.course p {
    color: rgb(0, 0, 0);
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.coursecolmn {
    flex-basis: 31%;
    background: rgb(235, 125, 85);
    border-radius: 5%;
    box-sizing: border-box;
    padding: 20px 12px;
    transition: 0.5s;
    margin-bottom: 5%;
    border: 3px solid black;
}

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    font-size: 24px;
}

.coursecolmn:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.764);
}

@media(max-width:700px) {
    .row {
        flex-direction: column;
    }
}

/* now we are adding the css for the campus of our university website  */
.campus {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    
}

.campuscol {
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    margin: 3px 3px;
}
.for h1{
    border: 2px solid black;
    border-radius: 35px;
    margin-left: 116px;
    margin-right: 136px;
}

.campuscol img {
    width: 100%;
    display: block;
}
.for p{
    margin-top: 27px;
    font-size: 24px;
}
@media(max-width:700px){
    .for h1{
        font-size: 50px;
        margin-left: -7px;
        margin-right: 2px;
    }

}

.layer {
    background: transparent;
    opacity: 0.7;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    transition: 0.6s;
}

.layer:hover {
    background: rgb(0, 0, 0);
}

.layer h3 {
    width: 100%;
    font-size: 26px;
    font-weight: 500;
    color: white;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    transition: 0.5s;
    opacity: 0;
}

.layer:hover h3 {
    bottom: 49%;
    opacity: 1;

}

/* facility */
.facility {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 7%;
}
@media(max-width:700px){
    .facility h1{
        font-size: 45px;
    }
}

.facicol {
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}

.facicol img {
    width: 100%;
    border-radius: 10px;
}

.facicol p {
    padding: 0;
}

.facicol h3 {
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.testi {
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testicol {
    flex-basis: 43%;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 6%;
    background: #eac2c2;
    padding: 15px;
    cursor: pointer;
    display: flex;
    margin: 2px 6px;
    border: 2px solid black;
}
@media(max-width:700px){
    .testi h1{
        font-size: 45px;
        margin-top: -62px;
    }
}
@media(max-width:700px){
    .testicol h3{
        font-size: 18px;
        
    }
}

.testicol img {
    height: 50px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testicol p {
    padding: 0;
}

.testicol h3 {
    margin-top: 15px;
    text-align: left;
}

.fa-star::before {
    display: block;
    width: 13px;
}

.fa-star-half-o::before {
    display: block;
}

.fa-star-o::before {
    display: block;
}

@media(max-width:700px) {
    .testicol img {
        margin-left: 0px;
        margin-right: 30px;
    }

}
@media(max-width:700px){
    .fa{
        width: 20px;
    }
}

/* call to action */
.call {
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(56, 51, 51, 0.7), rgba(19, 11, 11, 0.7)), url(/banner2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.call h1 {
    color: white;
    margin-bottom: 40px;
    padding: 0;
}

@media(max-width:700px) {
    .call h1 {
        font-size: 37px;
    }
}

/* footer */
.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4 {
    margin-bottom: 20px;
    margin-top: 15px;
    font-weight: 600;
    font-size: 29px;
}

.fa-facebook::before {
    display: block;
    padding: 8px;
    color: blue;
}

.fa-instagram::before {
    display: block;
    color: rgb(11, 3, 7);
    padding: 8px;
    margin: 2px;
}

.fa-twitter::before {
    display: block;
    padding: 6px;
    color: rgb(55, 55, 125);
}

.fa-linkedin::before {
    display: block;
    color: rgb(17, 187, 244);
    padding: 7px;
}

.fa-heart::before {
    display: block;
    color: red;
}

/* sub headereee */
.subheader {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(/background.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
}

.subheader h1 {
    margin-top: 100px;
    color: white;
}

.aboutuss {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
    /* background: #222; */
}

.aboutcol {
    flex-basis: 48%;
    padding: 30px 2px;
}

.aboutcol video {
    width: 100%;
    border: 2px solid black;
    border-radius: 5px;
}

.aboutcol h1 {
    padding-top: 0;
    font-size: 52px;
}

.aboutcol p {
    padding-top: 15px 0 25px;
    font-size: 20px;
}

.red {
    border: 1px solid rgba(200, 57, 5, 0.908);
    background: transparent;
    color: rgba(200, 57, 5, 0.908);
}

.red:hover {
    color: white;

}

/* blogg */
.blog {
    width: 80%;
    margin: auto;
    padding: 60px 0;
}

.blogleft {
    flex-basis: 65%;
}

.blogleft img {
    width: 80%;
    border: 5px solid black;
}

.blogleft h2 {
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}

.blogleft p {
    color: #282525;
    padding: 0;
}

.blogright {
    flex-basis: 32%;

}

.blogright h3 {
    background: rgba(200, 57, 5, 0.908);
    color: #fff;
    padding: 7px 0;
    font-size: 19px;
    margin-bottom: 20px;
}
.blogright h3:hover{
    border: 2px solid rgba(200, 57, 5, 0.908);
    color: black;
    background: transparent;
    
}

.blogright div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}

.commentbox {
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}

.commentbox h3 {
    text-align: left;
}

.form input,
.form textarea {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}

.form button {
    margin: 10px 0;
}

@media(max-width:700px) {
    .subheader h1 {
        font-size: 24px;
    }
}

/* location */
.loc {
    width: 80%;
    margin: auto;
    padding: 8px 0;
}

iframe {
    width: 100%;
}

.cont {
    width: 80%;
    margin: auto;

}

.contcol {
    flex-basis: 48%;
    margin-bottom: 25px;
}

.contcol div {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.fa-home::before {
    display: block;
    margin-right: 30px;
    color: rgba(200, 57, 5, 0.908);
    font-size: 28px;
    margin: 10px;
}

.fa-phone:before {
    font-size: 28px;
    display: block;
    color: rgba(200, 57, 5, 0.908);
    margin-right: 30px;
    margin: 10px;

}

.fa-envelope-o:before {
    display: block;
    margin-right: 30px;
    color: rgba(200, 57, 5, 0.908);
    font-size: 28px;
    margin: 10px;
}

.contcol div p {
    padding: 0;
}

.contcol div h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}

.contcol input,
.contcol textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.aboutt {
    margin-left: 40px;
    margin-top: 5px;
}
.new{
    height: 340px;
} 
.india{
    height: 340px;
}