/* General Styles */
body, html {
  font-family: 'Poppins', sans-serif;
  /* background-color: #f9fafb; */
  /* background-color: #f9f8f7; */
  /* background: url(./img/background.jpg) no-repeat center center fixed;
  background-size: cover; */
  background: linear-gradient(-45deg, #d8b5ff, #b8c0ff, #efcdf8, #d9c0ff);
  background-size: 300% 300%;
  animation: gradientBG 6s ease-in-out infinite;
  color: #252435;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Main content area */
.main-content {
  padding: 100px;
  box-sizing: border-box;
}

/* Content Styling */
h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3em;
  margin: 10px;
}

p {
  font-size: 16px;
}

/* Navigation Bar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* background: rgba(0, 0, 0, 0.7); */
  background: #252435;
  padding: 10px 20px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

/* Navbar Title */
.navbar-title {
  font-size: 1.5em;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px; /* Space between logo and text */
}

.navbar-logo {
  width: 40px; /* Adjust size */
  height: 40px;
  border-radius: 50%; /* Makes it round */
  object-fit: cover; /* Ensures the image fills the space */
}

/* Menu List */
nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav ul li {
  display: inline;
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  padding: 10px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #d0e678;
}

/* Hamburger Menu */
.menu-icon {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

body .container {
  display: flex;
  gap: 30px; /* Space between cards */
  padding: 20px;
  position: relative;
  box-sizing: border-box;
  justify-content: center;
  margin: 0 auto;
}

body .container .card {
  position: relative;
  min-width: 320px;
  height: 350px;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin-top: 30px;
  transition: 0.5s;
}

body .container .card:nth-child(1) .box .content a {
  background: #d0e678;
  font-weight: bold;
}

body .container .card:nth-child(2) .box .content a {
  background: #d0e678;
  font-weight: bold;
}

body .container .card:nth-child(3) .box .content a {
  background: #d0e678;
  font-weight: bold;
}

body .container .card:nth-child(4) .box .content a {
  background: #d0e678;
  font-weight: bold;
}

body .container .card:nth-child(5) .box .content a {
  background: #d0e678;
  font-weight: bold;
}

body .container .card .box {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #252435;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: 0.5s;
}

body .container .card .box:hover {
  transform: translateY(-50px);
}

body .container .card .box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
}

body .container .card .box .content {
  padding: 20px;
  text-align: center;
}

body .container .card .box .content h2 {
  position: absolute;
  top: -100px;
  right: 30px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.1);
}

body .container .card .box .content h3 {
  font-size: 1.8rem;
  color: #fff;
  z-index: 1;
  transition: 0.5s;
  margin-top: 90px;
}

body .container .card .box .content p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  z-index: 1;
  transition: 0.5s;
}

body .container .card .box .content a {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  background: black;
  border-radius: 5px;
  text-decoration: none;
  color: #252435;
  margin-top: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: 0.5s;
}
body .container .card .box .content a:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  background: #fff;
  color: #000;
}

/* Footer */
.footer {
  /* background: rgba(0, 0, 0, 0.7); */
  background: #252435;
  color: white;
  text-align: center;
  padding: 5px;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* Mobile View */
@media (max-width: 768px) {
  /* Content Styling */
  h1 {
    text-align: center;
  }

  nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: right;
  }

  nav ul li {
    margin-left: 0;
    margin-top: 10px;
  }

  nav ul li a {
    font-size: 1.5em;
    padding: 15px;
  }

  nav ul.show {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  body .container {
    display: grid;
  }
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}