*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  color: black;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
/* Style the video: 100% width and height to cover the entire window 
#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  filter: blur(8px);
  -webkit-filter: blur(8px);
}*/
.searchicon{
  display: none;
  color: #ffffff;
}

.logo p{
  padding-right: 20px;
  height: 40px;
  margin-top: 4px;
}

.Gravity_logo img{
  width: 150px;
  padding-right: 20px;
  height: auto;
  margin-top: 5px;
}

.logo{
  display: flex;
  justify-content: space-between;
}

.Mcet_logo img{
  padding-right: 20px;
  width: 170px;
  height: auto;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header Styling */
header{
  height: 60px;
  padding: 0 7vw;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background-color: #1f1d1dcf;
  border-bottom: 2px solid #00000096;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.763);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
  position: fixed;
  width: 100%;
  top: 0px;
}

.header ul{
  display: flex;
  align-items: center;
  color: #f5f2f2;
}

.header ul li:hover{
  color: #2b74af;
  transition: color 0.3s ease;
}

#brand a {
  color: #fff;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

nav ul li {
  margin-left: 15px;
  color: #ffffff;
  transition: color 0.3s ease;
}

nav ul li a {
  padding: 0 15px;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
}

nav ul li a:hover {
  color: #1c73b1;
}

.selected a {
  color: #1c73b1;
}

/* Hamburger Icon */
#hamburger-icon {
  display: none;
  cursor: pointer;
}

#hamburger-icon div {
  width: 27px;
  height: 2.2px;
  background-color: white;
  margin: 6px 0;
  transition: 0.4s;
}

/* Hamburger Animation */
.open .bar1 {
  transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  transform: rotate(45deg) translate(-6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 60px;
  right: 0;
  width: 80%;
  height: calc(100vh - 50px);
  background-color: rgba(0, 0, 0, 0.808);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
  opacity: 0;
  transform: translateX(80px);
  pointer-events: none;
  visibility: hidden;
  z-index: 9999;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
  list-style: none;
  padding-left: 0px;
  font-weight: bold;

}

.mobile-menu li {
  margin: 0px 0px;
  list-style-type: none;
}



.mobile-menu a li{
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 18px;

}

.mobile-menu li a:hover {
  color: #1A4F7A;
}

/* Mobile Menu - Opened */
.open .mobile-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  z-index: 9999;
}

/* Backdrop */
#menu-backdrop {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  height: calc(100vh - 50px);
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.open ~ #menu-backdrop {
  opacity: 1;
  visibility: visible;
  z-index: 9999;
}


.menu-item {
  padding: 40px 100px;
  border-radius: 10px;
  text-align: center;
  background-color: #1c73b100;
  margin-left: 150px;
}

.menu-item:hover {
  background-color: #1A4F7A; /* translucent white hover effect */
  box-shadow: 0 0 10px #ffffff33;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

body {
  background-image: url("images/GRAVITY_BGG.png");
  /* background-repeat: no-repeat;        Prevent repeating */
  background-position: center center; /* Center the image */
  background-size: contain;           /* Make whole image visible, fit inside container */
  /* or */
  /* background-size: 50% auto; */    /* Make width 50%, height auto to maintain ratio */
}

.home{
  padding: 8vw 7vw;
  background-color: #1a4f7ace;
  margin-top: -80px;
}

.home h1{
  text-align: center;
  margin-top: 10px;
  font-size: 50px;
}
.home span{
  color: #fdfdfd;
}

.home h3{
  text-align: center;
  margin-top: 10px;
  margin-left: 180px;
  margin-right: 180px;
  font-weight: normal;
  color: #666;
  font-size: 17px;
  margin-bottom: 10px;
}

.food_items{
  padding: 20px;
  background-color: #f2eeee;
  border-radius: 20px;
  margin-top: 57px;
}

.food_items h1 {
  text-align: center;
  font-size: 42px;
  font-weight: bold;
}

.food_items h1 span {
  color: #196ca8;
}

.flip-card {
  background-color: transparent;
  width: 250px;
  height: 320px;
  perspective: 1000px;
  cursor: pointer;
  margin: auto;
  margin-bottom: 50px;
}

.flip-inner {
  position: relative;
  width: 250px;
  height: auto;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 250px;
  height: 320px;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.box .flip-front, .box .flip-back {
  position: absolute;
  width: 250px;
  height: 250px;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.box .flip-card {
  background-color: transparent;
  width: 250px;
  height: 250px;
  perspective: 1000px;
  cursor: pointer;
  margin: auto;
  margin-bottom: 50px;
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-back {
  background-color: #fff;
  color: #1A4F7A;
  transform: rotateY(180deg);
  padding: 20px;
  box-sizing: border-box;
}

.flip-back ul {
  padding-left: 15px;
  text-align: left;
  font-size: 13px;
}

.flip-back ul li{
  color: #1A4F7A;
}

.event-details h2 {
  margin-top: 0;
  font-size: 18px;
  color: #1A4F7A;
}

.event-details p{
  font-size: 13px;
  color: #1A4F7A;
}

/* Section styling */
.events-section {
  padding: 60px 20px;
  background: #f8f8f8;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

/* Grid layout */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0px; /* space between cards */
  padding: 20px;
  justify-items: center; /* Add this line to center grid items horizontally */
  max-width: 1200px; /* Optional: limits maximum width of the grid */
  margin: 0 auto; /* Optional: centers the grid itself if it doesn't take full width */
}

.buttons{
  margin-top: 30px;
  text-align: center;
  align-items: center;
}
.blue_button{
  cursor: pointer;
  margin-top: 0px;
  width: 90px;
  font-weight: bold;
  color: aliceblue;
  background-color: #1A4F7A;
  border: 1px solid #1A4F7A;
  border-radius: 5px;
  padding: 5px 5px;
  box-shadow: 0 0px 10px #1e5a8b;
  transition: all 0.2s;
  margin-bottom: 50px;
  font-size: 12px;
  margin-right: 5px;
  margin-left: 5px;
}

.blue_button i{
  color: aliceblue;
  transition: all 0.2s;
}

.blue_button:hover{
  background-color: aliceblue;
  box-shadow: 0 2px 15px #1e5888;
  color: #1A4F7A;
  border: 1px solid #1A4F7A;
}

.blue_button:hover i{
  color: #1A4F7A;
}









/* Responsive */
@media only screen and (max-width: 480px) {


body {
  background-image: url("images/Gravity_bgg_phone.png");
  /* background-repeat: no-repeat;        Prevent repeating */
  background-position: center center; /* Center the image */
  background-size: contain;           /* Make whole image visible, fit inside container */
  /* or */
  /* background-size: 50% auto; */    /* Make width 50%, height auto to maintain ratio */
}
.mobile-menu .selected a {
  color: #1c73b1;
}
  nav {
    display: none;
  }

  #hamburger-icon {
    display: block;
  }

  .logo p{
  padding-right: 10px;
  height: 40px;
  margin-top: 3px;
  }

.Gravity_logo img{
  width: 120px;
  padding-right: 10px;
  height: auto;
  margin-top: 5px;
}

.logo{
  display: flex;
  justify-content: space-between;
}

.Mcet_logo img{
  padding-right: 20px;
  width: 155px;
  height: auto;
  margin-top: 2px;
}


.home{
  padding: 8vw 7vw;
  background-color: #1a4f7ace;
  margin-top: -5px;
}

.upcoming-events-container .upcoming-heading {
  display: none !important;
}

.home h1{
  text-align: center;
  margin-top: 10px;
  font-size: 50px;
}
.home span{
  color: #fdfdfd;
}

.home h3{
  text-align: center;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  font-weight: normal;
  color: #666;
  font-size: 17px;
  margin-bottom: 10px;
}

.center-wrapper {
    display: none !important;
    height: 0;
    margin: 0;
    padding: 0;
  }

.food_items{
  padding: 20px;
  background-color: #f2eeee;
  border-radius: 20px;
  margin-top: 57px;
}

.food_items h1 {
  text-align: center;
  font-size: 42px;
  font-weight: bold;
}

.food_items h1 span {
  color: #196ca8;
}

.flip-card {
  background-color: transparent;
  width: 250px;
  height: 320px;
  perspective: 1000px;
  cursor: pointer;
  margin: 0 auto 50px !important;
  margin-bottom: 50px;
}

.flip-inner {
  position: relative;
  width: 250px;
  height: auto;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 250px;
  height: 320px;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-back {
  background-color: #fff;
  color: #1A4F7A;
  transform: rotateY(180deg);
  padding: 20px;
  box-sizing: border-box;
}

.flip-back ul {
  padding-left: 15px;
  text-align: left;
  font-size: 13px;
}

.flip-back ul li{
  color: #1A4F7A;
}

.event-details h2 {
  margin-top: 0;
  font-size: 18px;
  color: #1A4F7A;
}

.event-details p{
  font-size: 13px;
  color: #1A4F7A;
}

/* Section styling */
.events-section {
  padding: 60px 20px;
  background: #f8f8f8;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

/* Grid layout */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0px; /* space between cards */
  padding: 20px 0;
  justify-items: center; /* Add this line to center grid items horizontally */
  max-width: 1200px; /* Optional: limits maximum width of the grid */
  margin: auto auto; /* Optional: centers the grid itself if it doesn't take full width */
}

.buttons{
  margin-top: 30px;
  text-align: center;
  align-items: center;
}
.blue_button{
  cursor: pointer;
  margin-top: -15px;
  width: 90px;
  font-weight: bold;
  color: aliceblue;
  background-color: #1A4F7A;
  border: 1px solid #1A4F7A;
  border-radius: 5px;
  padding: 5px 5px;
  box-shadow: 0 0px 10px #1e5a8b;
  transition: all 0.2s;
  margin-bottom: 50px;
  font-size: 12px;
  margin-right: 5px;
  margin-left: 5px;
}

.blue_button i{
  color: aliceblue;
  transition: all 0.2s;
}

.blue_button:hover{
  background-color: aliceblue;
  box-shadow: 0 2px 15px #1e5888;
  color: #1A4F7A;
  border: 1px solid #1A4F7A;
}

.blue_button:hover i{
  color: #1A4F7A;
}
}

