@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Kannada:wght@400;500;600&display=swap');
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}


/* Global Styles */
body {
  overflow-x: hidden;
}

/* Top Navigation */
.top-nav {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(rgba(4, 9, 30, 0.8), rgba(4, 9, 30, 0.8));
  color: #fff;
}

.header{
    width: 100%;
    height: 100vh;
    background:linear-gradient(rgba(4,9,30,0.5),rgba(4,9,30,0.5)),url('images/header.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;

}

.left-section img {
  max-width: 150px;
  height: auto;
}

.center-section {
  text-align: center;
  color: gold;
}

.center-section h1 {
  font-size: 20px;
  margin: 5px 0;
}

.center-section p {
  font-size: 16px;
  margin: 5px 0;
  color: #ffffff;
}

.right-section {
  display: flex;
  align-items: center;
}

.circle-images img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-left: 10px;
}


/* Poster Styles */
.Poster {
  max-width: 90%;
  margin: auto;
  text-align: justify;
  padding: 20px;
}
.Poster h1{
    text-align: center;
}

.poster-col {
  display: flex;
  justify-content: space-between;
}

h1 {
  font-size: 36px;
  font-weight: 600;
}

p {
  color: #777;
  font-size: 17px;
  font-weight: 300;
  line-height: 22px;
  font-family: 'Times New Roman', Times, serif;
  padding: 10px;
  line-height: 1.8em;
}

/* Container and Boxes */
.container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.container p{
  font-family: 'Noto Serif Kannada', serif;
  font-size: 16px;
  line-height: 2em;
}

.box {
  flex: 1;
  width: 100%;
  border: 1px solid #ccc;
  padding: 20px;
  margin: 10px;
  transition: box-shadow 0.3s ease-in-out;
}


.notification-container {
  height: 100%;
  overflow: hidden;
}

.notification-container a {
  display: block;
  padding: 10px;
  background: #f1f1f1;
  margin-bottom: 5px;
  animation: move-up 1s linear infinite;
}

@keyframes move-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(-100%);
  }
}

.about {
  max-width: 80%;
  margin: 0 auto;
  padding: 10px;
}
.about h1{
  text-align: center;
}
.about p{
  font-family: 'Times New Roman', Times, serif;
  font-size: 17px;
  text-align: justify;
  line-height: 1.8em;
}

.about {
  text-align: center;
  margin-top: 50px; /* Adjust as needed */
}

#img1 {
  display: block;
  margin: 0 auto;
}
.grid-item img{
  width: 25%;
  border-radius: 10px;
  box-shadow: 0 0 20px 10px #aba5aa;
}

.grid {
  display: flex;
  justify-content: center;
  align-items:center;
  gap: 10px;
  margin-top: 20px; /* Adjust as needed */
}

.grid-item {
  flex: 1;
  margin: 0 auto;
}

.grid1{
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  gap: 30px;
  margin-top: 3%;
}
.grid1 img{
  width: 100%;
  height: 80%;
}
/* Attractive paragraph styles */
.grid-item .attractive-paragraph {
  width: 100%;
  font-size: 17px;
  line-height: 1.5;
  color: #000;
  margin-top: 20px;
  padding: 15px;
  text-align: center;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {

  .header{
    height: 80vh;
  }
  .poster{
    max-width: 80%;
    padding: 20px;
  }
  .grid {
    flex-direction: column;
    gap: 20px;
  }

  .grid-item {
    flex: none;
    width: 100%;
  }
  .grid-item img{
    width: 100%;
  }
  .grid-item .attractive-paragraph{
    width: 100%;
  }
  .grid1 {
    gap: 20px;
    flex-direction:column;
  }

}


/* Individual Post */
.post-col {
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  text-align: justify;
}

.post-col p {
  font-weight: 500;
}

.post-col img {
  width: 30vh;
  height: auto;
  border-radius: 8px;
}

h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
  font-size: 25px;
}

.box:hover,
.box1:hover {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.5);
}

@media (max-width: 700px) {
  /* Adjustments for mobile screens */
  .container {
    max-width: 100%;
    padding: 10px;
  }
  .row {
    flex-direction: column;
    padding: 10px;
  }
}

