* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  height: 100%;
}

a {
  text-decoration: none;
  color: white;
}

body {
  min-height: 100vh;
  font-family: "Arial", sans-serif;
  background-image: url(images/dark-purple-background-black-magenta-plum-colors-gradient-with-grain-texture-effect-abstract-web-banner-design_284753-2283.avif);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: #ffffff;
  animation: fadeIn 0.5s forwards;
  padding-bottom: 50px;
  position: relative;
  overflow-y: auto;
}

.container {
  min-height: 100vh;
  color: antiquewhite;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: filter 0.3s ease;
}

.blur-background {
  filter: blur(5px);
}

/* Navigation bar styling */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px;
  border-radius: 10px;
}



/* Navigation list styling */
.ullist {
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0;
  margin: 0;
  font-size: 18px;
  z-index: 100;
}


.Geett{
  margin-right: 200px;
}

/* Style for buttons in the nav */
.ullist button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  color: antiquewhite;
  padding: 5px 10px;
  border-radius: 5px;
  position: relative;
}

/* Hover effect for buttons with glowing background */
.ullist button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ececff;
  box-shadow: 0 0 10px #7aa6d5, 0 0 20px #7baadc, 0 0 30px #86b9f0;
}

/* Style for the search icon */
.search-icon {
  cursor: pointer;
  height: 24px;
  width: 24px;
  margin-left: 10px;
  transition: transform 0.2s ease;
  stroke: antiquewhite;
}

/* Rotate search icon on hover */
.search-icon:hover {
  transform: rotate(20deg);
}

/* Style for the search bar */
.search-bar {
  padding: 7px 12px;
  border-radius: 20px;
  border: 1px solid #ddd;
  width: 200px;
  transition: width 0.3s ease, opacity 0.3s ease;
  display: none;
  opacity: 0;
  background: #fff;
  color: #000;
  margin-left: 10px;
}

/* When the search bar is visible */
.search-bar.show {
  display: block;
  opacity: 1;
}

.body {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  animation: fadeIn 0.5s forwards;
}

.fade-out {
  animation: fadeOut 0.5s forwards;
}

.eventswale {
  padding: 100px 100px 0px 100px;
  width: 60%;
  height: 70%;
}

h1 {
  text-align: center;
  display: grid;
  padding-top: 220px;
  padding-right: 120px;
  padding-left: 20px;
  grid-template-rows: 1fr;
  align-items: center;
  font-family: cursive;
  color: aliceblue;
}

h2 {
  text-align: center;
  display: grid;
  padding-top: 30px;
  padding-right: 0;
  padding-left: 25%;
  grid-template-rows: 1fr;
  align-items: center;
  font-family: cursive;
  color: aliceblue;
}

#getstarted {
  display: flex;
  padding: 12px 2%;
  justify-content: center;
  align-items: center;
  font-size: 2.5vw;
  background-image: url("images/istockphot3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border-radius: 27px;
  margin: 15px auto;
  margin-right: 200px;
  height: 50px;
  width: 80%;
  max-width: 400px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#getstarted:hover {
  background-color: rgba(49, 34, 34, 0.3);
  color: #3e1c5c;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8),
    0 0 10px rgba(255, 255, 255, 0.5);
}

footer {
  height: 50px;
  width: 100%;
  color: #ffffff;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #333;
  z-index: 1000;
}

.cards-container {
  padding-top: 80px;
  height: 40vh;
  position: relative;
  overflow: hidden;
}

.cards-scroll {
  display: flex;
  gap: 20px;
  padding: 20px;
  animation: scroll 30s linear infinite;
  position: absolute;
}

.event-card {
  min-width: 280px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.event-card h3 {
  color: rgb(244, 228, 198);
  margin-bottom: 10px;
}

.event-card p {
  color: rgb(239, 228, 210);
  font-size: 14px;
  margin-bottom: 15px;
}

.know-more-btn {
  background: rgba(221, 223, 145, 0.2);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.know-more-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.articles-section {
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.article-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-10px);
}

.article-card h3 {
  color: rgb(240, 222, 189);
  margin-bottom: 15px;
}

.article-card p {
  color: rgb(250, 237, 215);
  margin-bottom: 20px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  #getstarted {
    font-size: 4vw;
    height: 45px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.Devider {
  height: 5px;
  background-color: black;
  opacity: 0.1;
}

/*LOGINNNN*/
.loginpage {
  top: 0;
  left: 35vw;
  top: 20vh;
  backdrop-filter: blur(10px);
  display: none;
  z-index: 5;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  position: absolute;
}

.profileimg {
  width: 50px;
}

.login-box {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 440px;
  height: 480px;
  padding: 30px;
}

.login-header {
  text-align: center;
  margin: 20px 0 40px 0;
}

.login-header header {
  color: #ffffff;
  font-size: 30px;
  font-weight: 600;
}

.input-box .input-field {
  width: 100%;
  height: 60px;
  font-size: 17px;
  padding: 0 25px;
  margin-bottom: 15px;
  border-radius: 30px;
  border: none;
  box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.05);
  outline: none;
  transition: 0.3s;
}

::placeholder {
  font-weight: 500;
  color: #222;
}

.input-field:focus {
  width: 105%;
}

.forgot {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

section {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #ffffff;
}

#check {
  margin-right: 10px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

section a {
  color: rgb(255, 255, 255);
}

.already-account {
  color: rgb(255, 255, 255);
  font-size: 14px;
  font-weight: 500;
}

.input-submit {
  position: relative;
}

.submit-btn {
  width: 100%;
  height: 60px;
  background: #222;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}


/* Add these styles to your CSS file */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Add this to ensure proper positioning */
.login-box {
  position: relative;
  /* ... rest of existing login-box styles ... */
}

.input-submit label {
  position: absolute;
  top: 45%;
  left: 50%;
  color: #fff;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.submit-btn:hover {
  background: #000;
  transform: scale(1.05, 1);
}

.sign-up-link {
  text-align: center;
  font-size: 15px;
  margin-top: 20px;
}

.sign-up-link a {
  color: #000;
  font-weight: 600;
}