* {
    margin: 0px;
    padding: 0px;
    background-color: white;
}

html,
body {
    height: 100%;
}

.main {
    min-height: 100%;
    min-width: 100%;
    position: relative;
    margin: auto;
}

.navbar {
    display: flex;
    gap: 22%;
    padding: 20px;
    margin-left: 10px;
    /*  */

}

.logo img {
    width: 50px;
    height: 50px;
}

.toplist a {
    text-decoration: none;
    font-size: 23px;
    padding: 20px;
    margin-bottom: 10px;
    color: green;
    font-weight: bold;

}

.toplist a:hover {
    background-color: black;
    color: white;
    border-bottom: 4px solid green;
    transition: all 0.1s ease-in-out;

}

.buttons {
    font-size: 15px;
    font-weight: bold;
    margin: 0 7px;
    color: green;
}

.navbar .btn .buttons:hover {
    background-color: black;
    color: white;
    box-shadow: 3px 3px 8px gray;
    transition: all 0.1s ease-in-out;

}

#login {
    height: 30px;
    width: 80px;
    border-radius: 15px;
    border: 3px solid black;


}

#register {
    height: 30px;
    width: 100px;
    border-radius: 15px;
    border: 3px solid black;


}

.content {
    display: flex;
    padding: 8px 26px;
    margin: 0 auto;

}

.content .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 40%;
    padding-bottom:60px;
}

.heading {
    font-size: 60px;
    font-weight: bold;
    padding-left: 0 10px;
    margin-bottom:25px;

}

p {
    font-size: 20px;
    font-weight: bold;
    padding-left: 0 10px;
    margin-bottom:25px;
}

#startnow {
    outline: none;
    border: none;
    border: 3px solid black;
    border-radius: 18px;
    padding: 8px 12px;
    font-weight: bold;
    font-size: 15px;
    color: green;
    margin-bottom:25px;
}

.content {
    justify-content: center;

}

.content .text #startnow:hover {
    background-color: black;
    color: white;
    box-shadow: 3px 3px 8px gray;
    transition: all 0.1s ease-in-out;

}

.content .image {
    display: flex;
    width: 60%;
    align-items: start;
    justify-content: start;
}

.content .image img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}


.card img {
    width: 120px;
    height: 120px;

}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 8px grey;
    width: 220px;
    height: 220px;
    border-radius: 8px;
    margin: 20px 20px;
}



.department {
    display: flex;
    align-items: center;
    padding-top: 80px;
    justify-content: center;
    text-align: center;
    padding: 0 12px;
    margin-top:25px;
}

.row {
    display: flex;

}

.card h4 {
    font-size: 20px;
    font-weight: bold;
}

.container .card p {
    font-size: 15px;
}

.container h1 {
    font-size: 40px;
    text-align: center;
    font-weight: bold;

}

.container p {
    font-size: 20px;
    text-align: center;

}


.college {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    text-align: center;
    padding: 0 12px;
}

.row1 {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.row1 .card1 {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 18px;

}

.college .row1 .card1 img {
    width: 450px;
    height: 310px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 2px 2px 4px gray;

}

.row1 .card1 h4 {
    font-size: 24px;
    font-weight: bold;
}

.college .card p {
    font-size: 15px;

}

.college h4 {
    font-size: 40px;
    font-weight: bold;

}

.college p {
    font-size: 20px;

}

.footer {
    display: flex;
    position: absolute;
    justify-content: space-between;
    width: 94%;
    padding: 30px 24px;
    gap: 10%;
    margin: 0 auto;
}



.footers ul li {
    list-style: none;
}


.footers .SocialMedia i {
    margin: 5px;
    border: 2px solid black;
    border-radius: 50%;
    padding: 5px;
    width: 15px;
    height: 15px;
    background-color: green;
    color: white;
}

.footers ul li {
    font-size: 18px;
    font-weight: 150;
    margin: 4px;
}

.footers h3 {
    font-size: 20px;
    font-weight: bold;
}

.footer .SocialMedia i:hover {
    background-color: black;
    transition: all 0.1s ease-in-out;
}

.footers p{
    font-size: 20px;
    margin: 5px;
}

#email{
    width:90%;
    margin:5px;
    height:20px;
    border: 2px solid black;

}



@media screen and (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .toplist {
        display: none;
    }

    .content .text {
        width: 100%;
        padding: 0 12px;
        margin: 10px;
    }

    .content .image {
        width: 100%;
        margin: 20px;
    }


    .heading {
        font-size: 42px;
    }
    #register{
        display: none;
    }
    .navbar {
        justify-content: space-between;
    }

    .department {
        flex-direction: column;
        margin: 30px;
    }

    .department .row {
        flex-direction: column;
        align-items: center;
        padding:24px;
    }

    .department .row .card {
        width:100%;
        height:100%;
        padding-bottom: 12px;
    }

    .department .row .card img {
        width: 260px;
        height: 260px;
    }

    .college .row1 {
        flex-direction: column;
    }
    .college .row1 .card1 img{
        width: 340px;
        height: 240px;
    }

    .footer {
        flex-direction: column;
        width: 90%;
    }

    .footers {
        margin: 12px 0;
    }
}