body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}


.container {
  padding-left: 80px;
  padding-right: 60px;
  max-width: 1300px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}
.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container:hover .image {
  opacity: 0.3;
}

.container:hover .middle {
  opacity: 1;
}

.text {
  background-color: #04AA6D;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}
.container-2 {
  padding-left: 80px;
  padding-right: 60px;
}
.links a {
  text-decoration: none;
}

header {
  background-color: #164a41;
  padding: 10px 0;
}

nav img {
  width: 80px;
}
ul {
  list-style: none;
}
nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  /* gap: 40px; */
  align-items: center;
}

.fa-bars {
  display: none;
}
.menu {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline-start: 0;
}

.menu a {
  text-decoration: none;
  display: block;
  padding: 10px 5px;
  color: #fff;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.menu a:hover {
  background-color: #83c5be;
  color: #fff;
}
.menu li {
  position: relative;
}

.submenu {
  position: absolute;
  background-color: #164a41;
  width: 160px;
  left: 0;
  padding-inline-start: 0;
  display: none;
  animation: slideup 0.3s ease;
}
.submenu-2 {
  position: absolute;
  background-color: #164a41;
  width: 200px;
  top: 0;
  left: 100%;
  padding-inline-start: 0;
  display: none;
  animation: slideleft 0.3s ease;
}
.submenu-3 {
  position: absolute;
  background-color: #164a41;
  width: 200px;
  top: 0;
  left: 100%;
  padding-inline-start: 0;
  display: none;
  animation: slideleft 0.3s ease;
}
.submenu-4 {
  position: absolute;
  background-color: #164a41;
  width: 200px;
  top: 0;
  left: 100%;
  padding-inline-start: 0;
  display: none;
  animation: slideleft 0.3s ease;
}
.fa-caret-right {
  float: right;
}
.menu li:hover > .submenu {
  display: block;
}

.menu li:hover > .submenu-2 {
  display: block;
}
.menu li:hover > .submenu-3 {
  display: block;
}
.menu li:hover > .submenu-4 {
  display: block;
}

@keyframes slideup {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes slideleft {
  0% {
    opacity: 0;
    transform: translateX(18px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.about-ribhoi-college {
  width: 110px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  margin-top: 40px;
  padding: 10px 15px 10px 15px;
  border-radius: 10px;
  background-color: #0a0045;
  color: white;
  border: none;
  cursor: pointer;
}
.main {
  height: 500px;
  padding-bottom: 80px;
  background-color: #cce7c9;
}

.main-index {
  display: flex;
  flex-direction: column;
  justify-content: center;

  align-items: center;
  height: 90vh;

  background-position: center;
  background-size: contain;
  animation: animate 46s ease-in-out infinite;
}
/* @keyframes animate {
  0%,
  100% {
    background-image: linear-gradient(rgba(4, 9, 30, 0.5), rgba(4, 9, 30, 0.5)),
      url(images/ribhoi-college.jpg);
  }
  25% {
    background-image: linear-gradient(rgba(4, 9, 30, 0.5), rgba(4, 9, 30, 0.5)),
      url(/carousel-images/sing-6.jpeg);
  }
  50% {
    background-image: linear-gradient(rgba(4, 9, 30, 0.5), rgba(4, 9, 30, 0.5)),
      url(/carousel-images/sing-5.jpeg);
  }
  75% {
    background-image: linear-gradient(rgba(4, 9, 30, 0.5), rgba(4, 9, 30, 0.5)),
      url(/carousel-images/fare-6.jpeg);
  }
} */
@keyframes animate {
  0%,
  100% {
    background-image: url(/carousel-images/carousel-1.jpg);
  }
  15% {
    background-image: url(/carousel-images/carousel-7.jpg);
  }
  30% {
    background-image: url(/carousel-images/carousel-2.jpg);
  }
  45% {
    background-image: url(/carousel-images/carousel-3.jpg);
  }
  60% {
    background-image: url(/carousel-images/carousel-4.jpg);
  }
  75% {
    background-image: url(/carousel-images/carousel-5.jpg);
  }
  90% {
    background-image: url(/carousel-images/carousel-6.jpg);
  }
}
.main-index h1 {
  color: white;

  /* font-family: "Playfair Display", serif; */
  font-family: "Abril Fatface", cursive;
  font-size: 16vh;
  font-weight: 400;
  margin: 0;
  line-height: 20vh;
}
/* .main-index .h1 {
  padding-left: 200px;
} */
.main-index h4 {
  font-family: "DM Sans", sans-serif;
  color: white;
  font-weight: 400px;
  font-size: 6vh;
  /* padding-left: 200px; */
  margin-top: 30px;
}
.main-dept {
  background-color: #e4eff0;
  height: auto;
  padding-bottom: 20px;
}

.hero {
  height: 500px;

  /* border: 1px solid black; */
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 500px;
}

.college-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  /* background-color: #e4eff0; */
}
.college-image {
  display: flex;
  align-content: center;
  align-items: center;
}
.college-image img {
  /* background-image: linear-gradient(rgba(4, 9, 30, 0.2), rgba(4, 9, 3, 0.2)),
    url("/images/college-2.jpeg");
  background-position: center;
  background-size: cover; */
  width: 100%;
  border-radius: 10px;
  /* box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); */
}
.college-name h2 {
  color: #0a0045;
  margin-top: 10px;
}
.hero h3 {
  color: #0a0045;
  font-size: 16px;
}

.notifications {
  padding-top: 20px;
  padding-right: 60px;
  /* background-color: white; */
  display: flex;
  flex-direction: column;
}
.notifications h2 {
  font-family: "Manrope", sans-serif;
  color: #0a0045;
}
.notification-item-1:hover,
.notification-item-2:hover {
  background-color: #164a41;
}
.notification-item-1 a,
.notification-item-2 a {
  text-decoration: none;
}
.notifications p {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 5px 15px 5px 15px;
  color: #0a0045;
  cursor: pointer;
}

.notification-item-1:hover p,
.notification-item-2:hover p {
  color: #fff;
}
.hero h1 {
  font-family: "Manrope", sans-serif;
  font-size: 60px;
  font-weight: 700;
  margin: 0;
  color: #0a0045;
}

.section-2 {
  height: auto;
  background-color: #e4eff0;
}
.section-title {
  padding-top: 20px;
  padding-bottom: 20px;
}
.section-title h2 {
  font-family: "Manrope", sans-serif;
  font-size: 44px;
  margin-top: 0;
  margin-bottom: 20px;
  color: #0a0045;
}
.section-title p {
  font-weight: 400;
  line-height: 30px;
  margin: 10px;
}

.college-img {
  width: 500px;
  height: 600px;
}

.about-college {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* margin-top: px; */
  padding-top: 40px;
}

.list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.section-3 {
  height: auto;
  background-color: #e4eff0;
  padding-top: 1px;
  padding-bottom: 8vh;
}
.principal-img {
  width: 60%;
}
.princi-img {
  padding-top: 70px;
  width: 65%;
  padding-bottom: 20px;
}
.principal-msg {
  /* height: 40vh; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* display: flex; */
  /* gap: 30px; */
  /* align-content: center;
  align-items: center; */
  /* gap: 40px; */
}

.msg::before {
  content: "\201c";
  font-size: 100px;
  font-family: "Gelasio", serif;
  display: block;
  margin-bottom: -80px;
  color: #0a0045;
}

.msg p {
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}
.principal-tag {
  font-weight: 700;
}
.principal-tag::before {
  content: "\2014\0020";
}

.principal-title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: #0a0045;
}
.principal-title p {
  margin-bottom: 10px;
}

.footer {
  height: auto;
  background-color: #164a41;
  color: white;
  padding-top: 30px;
  position: relative;
  padding-bottom: 10px;
}
.footer-item {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  row-gap: 20px;
}
footer h3 {
  margin-top: 0;
}
.principal-vice-contact {
  display: flex;
  justify-content: space-between;
}
.footer-bold {
  font-weight: 500;
}

/* .contact {
  display: flex;
  justify-content: space-between;
} */
.line-height-min {
  line-height: 10px;
}
.mobile-address {
  display: none;
}
.opacity {
  opacity: 0.8;
}
.copyright {
  position: absolute;
  bottom: 0;
  left: 80px;
}

.faculty-img {
  width: 180px;
  display: block;
  margin: 0 auto;
  height: 200px;
  border-radius: 50%;
  border: 4px #164a41 solid;
}

.faculty {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 40px;
  row-gap: 40px;
}
.faculty-1 h3,
.faculty-1 p,
.faculty-1 h4 {
  text-align: center;
}
/* .faculty-1 {
  text-align: center;
} */
.sub-heading {
  font-size: 30px;
  color: #0a0045;
}

.courses-theme {
  background-color: #e4eff0;
  height: auto;
  padding-top: 20px;
}

.course-container {
  width: 700px;
  height: auto;
  margin: 60px auto 0 auto;
  padding-bottom: 60px;
}
.course-container h2 {
  font-family: "Manrope", sans-serif;
  font-size: 40px;
  color: #0a0045;
  text-align: center;
}

.course-container h3 {
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  color: #0a0045;
  text-align: center;
}

.course-container p {
  font-weight: 400;
  line-height: 30px;
  text-align: center;
}

table {
  /* border-collapse: collapse; */
  width: 100%;
}

td,
th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #83c5be;
}

.table-dept {
  width: 100%;
}
.table-dept td,
th {
  border: none;
}

.table-dept tr:nth-child(even) {
  background-color: #e4eff0;
}

.note p {
  text-align: left;
}
.about-ribhoi {
  background-color: #e4eff0;
}
.about-us-main {
  height: auto;
  padding-top: 20px;
  padding-bottom: 40px;
}

.about-us-main h2 {
  font-family: "Manrope", sans-serif;
  font-size: 44px;
  margin-top: 0;
  margin-bottom: 20px;
  color: #0a0045;
  text-align: center;
}

.about-us-main p {
  font-weight: 400;
  line-height: 30px;
}

.about-us-main h3 {
  font-size: 30px;
  color: #0a0045;
}
.about-us-main h4 {
  font-size: 20px;
  color: #0a0045;
}
.alumni {
  background-color: #e4eff0;
}
.student {
  background-color: #e4eff0;
}
.iqac {
  background-color: #e4eff0;
}
.admission {
  background-color: #e4eff0;
}
.admission a {
  display: block;
  text-decoration: none;
  margin: 10px;
}
.comittee {
  background-color: #e4eff0;
}
.photo {
  background-color: #e4eff0;
}
.photo-container img {
  width: 530px;
  height: 400px;
  border: 6px #164a41 solid;
}

.photo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 40px;
  column-gap: 20px;
}
.photo-container .key {
  width: 400px;
}

.photo-container .longer {
  width: 530px;
  height: 700px;
}
.photo-container .smaller {
  width: 530px;
  height: 300px;
}
.library-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 30px;
}
.library-image img {
  width: 500px;
  height: 280px;
  border: 6px #164a41 solid;
}

.admission-norms {
  list-style-type: circle;
  line-height: 30px;
}
.admission-apply {
  line-height: 30px;
}
.notification-item-1 a {
  text-decoration: none;
}

.contact-us-form {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}

.social {
  display: flex;
  gap: 20px;
}
.social-icon {
  width: 30px;
  /* border-radius: 50%; */
}
.contact-address {
  display: flex;
  align-items: center;
  gap: 40px;
}
.principal-form {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}
.principal-contact-details {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.princi-email {
  display: flex;
  flex-direction: column;
}
.contact-details p {
  margin: 0;
}
.footer-social {
  display: flex;
  gap: 10px;
}

.fa-brands:hover {
  opacity: 0.7;
}
html {
  scroll-behavior: smooth;
}

.ul {
  line-height: 30px;
}
.ul-2 {
  line-height: 30px;
  list-style-type: disc;
}
.ek-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  row-gap: 40px;
}
.ek-img img {
  width: 500px;
  height: 350px;
  border: 6px #164a41 solid;
}

.ek-title {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.ek-title img {
  width: 100px;
  border-radius: 50%;
}

.librarian {
  width: 130px;
  border-radius: 50%;
}

.nss-img {
  width: 100px;
  border-radius: 50%;
}
.nss-title {
  text-align: center;
}

.nss-img-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 5px;
  row-gap: 5px;
}
.nss-img-gallery img {
  width: 350px;
  height: 300px;
  border: 6px #164a41 solid;
}

.nss-gallery h4 {
  margin-top: 100px;
}

.photo-gallery h3 {
  margin-top: 80px;
}
.opacity-nil {
  opacity: 0;
}
.fadein-left {
  animation: fadein-left 1.2s both;
}
@keyframes fadein-left {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadein-right {
  animation: fadein-right 1.2s both;
}
@keyframes fadein-right {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadein-bottom {
  animation: fadein-bottom 1s both;
}
@keyframes fadein-bottom {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.programs {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.khasi-faculty img {
  width: 150px;
  height: 180px;
  border-radius: 50%;
}

.khasi-faculty {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.khasi-faculty-1 img {
  display: block;
  margin: 0 auto;
}

.middle-faculty {
  text-align: center;
}

.ul-3 {
  line-height: 30px;
  text-align: center;
  list-style-type: decimal-leading-zero;
}

.ul-3 li {
  font-size: 22px;
}

.mobile-menu {
  display: none;
}
.governing-body {
  display: block;
  margin: 40px auto 10px auto;
  width: 500px;
  height: 700px;
  border: 3px #164a41 solid;
}
.intl-conference {
  display: grid;
  width: 60%;
  margin: 100px auto;
  row-gap: 40px;
}
.intl-item {
  display: flex;
  align-items: center;
}
.pdf {
  width: 30px;
}
.notification-item-1 {
  position: relative;
}
.new-img {
  width: 30px;
  position: absolute;
  right: 0;
  top: 0;
}
.full-width {
  height: 50vh;
}

@media (max-width: 1200px) {
  .menu {
    display: none;
  }
  .fa-bars {
    display: block;
  }
  .mobile-menu {
    position: absolute;
    box-sizing: border-box;
    margin: 0;
    padding: 20px;
    padding-inline-start: 20px;
    display: none;
    width: 100%;

    background-color: #164a41;
    padding: 20px;
    z-index: 1;
  }
  .open {
    display: block;
  }

  .item ul,
  .mobile-menu input[type="checkbox"] {
    display: none;
  }
  .item input:checked ~ ul {
    display: block;
  }
  .item {
    line-height: 40px;
    margin-left: 20px;
    list-style: none;
    text-decoration: none;
    color: #fff;
  }

  .mobile-ul li {
    line-height: 10px;
    display: block;
  }
  .mobile-menu a {
    line-height: 40px;
    list-style: none;
    text-decoration: none;
    color: #fff;
  }
  .mobile-menu ul a {
    display: block;
    /* margin-left: 20px; */
    /* padding: 0; */
    list-style: none;
    text-decoration: none;
    color: #fff;
  }
  /* .mobile-menu li a {
    line-height: 40px;
    margin-left: 20px;
    padding: 0;
    list-style: none;
    text-decoration: none;
    color: #fff;
  } */
}
@media (min-width: 1500px) {
  .menu {
    width: 70%;
  }
}

/* Mobile Version */

@media (max-width: 768px) {
  .full-width {
    height: auto;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .container-2 {
    padding-left: 20px;
    padding-right: 20px;
  }
  header {
    height: 60px;
    position: relative;
  }
  .nav {
    display: flex;
    justify-content: space-between;
    position: relative;
  }
  nav img {
    width: 60px;
  }

  .menu {
    display: none;
  }
  .fa-bars {
    display: block;
  }

  .main-index {
    width: 100%;
    height: 300px;
    background-position: center;
    background-size: cover;
  }
  .main-index h1 {
    color: white;

    font-family: "Abril Fatface", cursive;
    font-size: 40px;
    font-weight: 400;
    margin: 0;
    line-height: 60px;
  }

  .main-index h4 {
    font-family: "DM Sans", sans-serif;
    color: white;
    font-weight: 400;
    font-size: 20px;
    margin-top: 0px;
  }
  .about-college {
    display: grid;
    grid-template-columns: 1fr;

    padding-top: 5px;
  }

  .principal-msg {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-address,
  .college-contact,
  .principal-vice-contact,
  .vice-principal-contact {
    display: none;
  }
  .section-title h2 {
    font-size: 30px;
  }
  .principal-title {
    font-size: 30px;
  }
  .princi-img {
    margin-bottom: 20px;
  }
  .principal-img {
    width: 100%;
    display: block;
    margin: 0 auto;
  }
  .mobile-address {
    display: block;
  }
  .footer-name {
    margin-bottom: 30px;
  }
  .mobile-menu {
    position: absolute;
    box-sizing: border-box;
    margin: 0;
    padding: 20px;
    padding-inline-start: 20px;
    display: none;
    width: 100%;

    background-color: #164a41;
    padding: 20px;
    z-index: 1;
  }
  .open {
    display: block;
  }

  .item ul,
  .mobile-menu input[type="checkbox"] {
    display: none;
  }
  .item input:checked ~ ul {
    display: block;
  }
  .item {
    line-height: 40px;
    margin-left: 20px;
    list-style: none;
    text-decoration: none;
    color: #fff;
  }

  .mobile-ul li {
    line-height: 10px;
    display: block;
  }
  .mobile-menu a {
    line-height: 40px;
    list-style: none;
    text-decoration: none;
    color: #fff;
  }
  .mobile-menu ul a {
    display: block;
    /* margin-left: 20px; */
    /* padding: 0; */
    list-style: none;
    text-decoration: none;
    color: #fff;
  }
  /* .mobile-menu li a {
    line-height: 40px;
    margin-left: 20px;
    padding: 0;
    list-style: none;
    text-decoration: none;
    color: #fff;
  } */
  .faculty {
    grid-template-columns: 1fr;
  }
  .ek-img {
    grid-template-columns: 1fr;
  }
  .ek-img img {
    width: 300px;
    height: 200px;
    display: block;
    margin: 0 auto;
  }
  .khasi-faculty {
    grid-template-columns: 1fr;
  }
  .course-container {
    width: auto;
    margin-top: 20px;
  }
  .course-container h2 {
    font-size: 26px;
  }

  .course-container h3 {
    font-size: 20px;
  }
  .ek-title {
    flex-direction: column;
  }
  .ek-title img {
    width: 100px;
    height: 100px;
  }
  .eco {
    width: 300px;
  }
  .library-image {
    display: grid;
    grid-template-columns: 1fr;
  }
  .library-image img {
    width: 300px;
    height: 150px;
    display: block;
    margin: 0 auto;
  }
  .nss-img-gallery {
    grid-template-columns: 1fr;
  }
  .nss-img-gallery img {
    width: 300px;
    height: 180px;
    display: block;
    margin: 0 auto;
  }
  .photo-container img {
    width: 300px;
    height: 200px;
    display: block;
    margin: 0 auto;
    /* height: 400px; */
  }
  .photo-container .longer {
    width: 300px;
    height: 450px;
  }
  .photo-container .smaller {
    width: 300px;
    height: 170px;
  }
  .photo-container {
    grid-template-columns: 1fr;
  }
  .photo-container .key {
    width: 300px;
  }
  .contact-us-form {
    margin-top: 40px;
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .principal-form {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 20px;
  }
  .footer {
    padding-top: 10px;
  }
  .about-us-main h2 {
    font-size: 34px;
  }
  .about-us-main h3 {
    font-size: 26px;
  }
  .princi-img {
    padding-top: 40px;
  }

  .librarian {
    width: 130px;
    display: block;
    margin: 0 auto;
  }
  iframe {
    width: 280px;
    height: 280px;
    display: block;
    margin: 0 auto;
  }
  .governing-body {
    display: block;
    margin: 40px auto 10px auto;
    width: 300px;
    height: 500px;
    border: 3px #164a41 solid;
  }
  .programs {
    grid-template-columns: 1fr;
  }
  .intl-conference {
    width: 90%;
  }

  /*  add on photo */

  div.gallery1 {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 200px;
}

div.gallery1:hover {
  border: 2px solid #086ec2;
}

div.gallery1 img {
  width: 200px;
  height: 200px;
}

div.desc1 {
  padding: 10px;
  height: 5px;
  text-align: center;
}
}
