/* var for colors */
:root {
   --black: #2D2413;
   --bg: #FFFAF0;
   --primary: #FECE6A;
   --SecBg: #FFEBC3;
}

/* for all */
* {
   margin: 0;
   padding: 0;
   font-family: "Roboto", sans-serif;
}

a {
   text-decoration: none;
   color: #333333;
}

body {
   background: var(--bg);
}

/* navigations */
.nav {
   height: 80px;
   display: flex;
   padding: 20px 100px 10px 100px;
   justify-content: space-between;
   align-items: center;
}

.nav-img {
   height: 85px;
}

.nav-list {
   display: flex;
   list-style: none;
   margin-right: 20px;
}

.nav-list>li {
   margin-left: 50px;
   font-size: 18px;
   text-transform: uppercase;
}

.nav-list>li>a {
   text-decoration: none;
   color: var(--black);
}

.hamburger {
   display: none;
}


/* Home Heading */

.home-heading {
   padding: 0px 80px;
   display: flex;
   justify-content: center;
   align-items: center;
   justify-content: space-evenly;
}

.home-heading>h1 {
   font-size: 60px;
   font-weight: 300;
   color: var(--primary);
}

.home-heading>h1 span {
   font-weight: 500;
   color: var(--black);
   letter-spacing: 2px;
}

.home-heading>img {
   width: 620px;
}

/* about of home page */
.about {
   display: flex;
   margin-top: 20px;
   padding: 30px 50px;
   background-color: var(--SecBg);
}

/* home page > about > img */

.about-img {
   display: grid;
   grid-gap: 25px;
   grid-template-areas:
      "imgOne imgTwo"
      "imgThree imgTwo";
   width: 650px;
   align-items: center;
}

.about-img>img {
   width: 290px;
}

.about-img>img:nth-child(2) {
   grid-area: imgTwo;
   padding: 80px 10px;
}

/* home page > about > about us */

.about-text {
   padding: 20px 100px;
   margin: auto;
}

.about-text>h3 {
   font-size: 60px;
   color: var(--primary);
   font-weight: 400;
}

.about-text>p {
   font-size: 20px;
   padding-top: 10px;
}



/* events */
.event {
   margin-top: 30px;
   padding: 10px 50px;
   margin-bottom: 20px
}

.event>h2 {
   font-size: 45px;
   font-weight: 300;
}

.event-box {
   display: flex;
   padding: 13px;
   background-color: var(--SecBg);
   margin: 20px 0px;
}

/* events > img */
.event-box-img>img {
   width: 250px;
}

/* events > event text */
.event-box-text {
   margin-left: 60px;
}

.event-box-text>h3 {
   font-size: 40px;
   color: var(--black);
   font-weight: 300;
}

.event-box-text>p {
   font-size: 16px;
   padding-top: 10px;
}

.event>.containers{
   display: block;
}

/* event > link */
.event-box-text>a {
   position: absolute;
   text-decoration: none;
   color: var(--black);
   font-size: 20px;
   background-color: var(--primary);
   padding: 10px;
   margin-top: 15px;
}

.event-box-text>strong>a {
   position: absolute;
   text-decoration: none;
   color: var(--black);
   font-size: 20px;
   background-color: var(--primary);
   padding: 10px;
   margin-top: 15px;
}

.rEventLink{
   position: absolute;
   text-decoration: none;
   color: var(--black);
   font-size: 20px;
   background-color: var(--primary);
   padding: 10px;
   margin-top: 15px;
}


/* event page > recent events > see more btn */

.all-Event-Btn {
      display:block;
   margin: auto;
   margin-top: 40px;
   width: 200px;
}

.all-Event-Btn>a {
   color: var(--black);
   font-size: 20px;
   padding: 10px 20px;
   background-color: var(--primary);
}

/* footer */
.footer {
   background-color: var(--black);
   color: var(--bg);
}

.footer-top {
   display: flex;
   justify-content: space-around;
   padding: 45px 100px;
}

.footer-middle>h4,
.footer-right>h4 {
   font-size: 18px;
   font-weight: 400;
   margin-bottom: 15px;
}

/* footer logo */
.footer-left {
   display: flex;
   gap: 20px;
}

.footer-left-nepsoc>img,
.footer-left-logo>img {
   width: 180px;
}

.footer-left-nepsoc>img {
   border-radius: 100%;
}

.footer-left-logo>img {
   display: block;
   padding: 15px 20px;
}

/* footer contact */
.footer-contact {
   display: flex;
   margin-top: 30px;
   margin-bottom: 30px;
}

.footer-contact-img>img {
   width: 20px;
   margin-right: 10px;
}

.footer-contact-text>p {
   font-size: 15px;
}

.footer-mt {
   margin-top: 5px;
}

/* footer social media img*/

.hr {
   background-color: #525252;
   height: 1px;
   border: none;
}

.footer-right>a>img {
   width: 25px;
   color: wheat;
   margin-right: 5px;
   margin-top: 10px;
}


/* footer down */
.footer>p {
   margin-top: 20px;
   font-size: 15px;
   text-align: center;
   color: var(--primary);
   padding-bottom: 25px;
}

.footer>p>a {
   color: #BDBDBD;
   text-decoration: underline;
}


/* member page */
.member-page {
   text-align: center;
   padding: 0px 50px;
}

.member-page>h2 {
   margin-bottom: 10px;
   font-size: 35px;
}

.member-page>h4 {
   font-size: 20px;
   font-weight: 500;
}

.member-page-cards {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-around;
   row-gap: 30px;
}

.member-card {
   width: 400px;
   text-align: center;
}



.member-card>a>img,
.member-card>img {
   object-fit: cover;
   border-radius: 50%;
   width: 280px;
   height: 280px;
   margin-right: auto;
   margin-left: auto;
   margin-bottom: 10px;
   display: absolute;
}

.member-details>a>h3 {
   margin-bottom: 5px;
}

.member-details>a>h4 {
   opacity: 0.7;
   margin-bottom: 10px;
}

.social-media-icon>a>img {
   width: 20px;
   filter: contrast(0%) brightness(0%);
   padding: 10px 8px 20px 8px;
}


.member-heading-year {
   margin-top: 20px;
   margin-bottom: 40px;
   font-size: 40px;
}

.member-page>hr {
   border: 1px solid var(--black);
   margin-top: 50px;
}

/* ---- Single Event Page ---- */
.event-single-page-content {
   grid-area: content;
}

.event-single-page-sidebar {
   grid-area: sidebar;
}

.event-single-page {
   display: grid;
   grid-template-areas:
      'content content content content sidebar sidebar';
   gap: 10px;
   padding: 20px;
}

/* Slideshow container */
.slideshow-container {
   position: relative;
   margin: auto;
}

/* Hide the images by default */
.mySlides {
   display: none;
}

.mySlides>img {
   width: auto;
   max-height: 454px;
   display: block;
   margin-left: auto;
   margin-right: auto;
   object-fit: cover;
}

/* Next & previous buttons */
.prev,
.next {
   cursor: pointer;
   position: absolute;
   top: 50%;
   width: auto;
   margin-top: -22px;
   padding: 16px;
   color: rgb(8, 8, 8);
   font-weight: bold;
   font-size: 18px;
   transition: 0.6s ease;
   border-radius: 0 3px 3px 0;
   user-select: none;
}

/* Position the "next button" to the right */
.next {
   right: 0;
   border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
   background-color: #f3e9d7;
}

/* Caption text */
.text {
   color: #f2f2f2;
   font-size: 15px;
   padding: 8px 12px;
   position: absolute;
   bottom: 8px;
   width: 100%;
   text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
   color: #f2f2f2;
   font-size: 12px;
   padding: 8px 12px;
   position: absolute;
   top: 0;
}

/* Fading animation */
.fade {
   animation-name: fade;
   animation-duration: 1.5s;
}

@keyframes fade {
   from {
      opacity: .4
   }

   to {
      opacity: 1
   }
}


/* Single page content */
.event-single-page-content {
   padding: 20px;
   margin: auto;
}

.event-single-page-content>h3 {
   text-align: center;
   font-size: 60px;
   font-weight: 500;
   margin-bottom: 20px;
}

.event-single-page-content>img {
   width: 93%;
   max-height: 454px;
   display: block;
   margin-left: auto;
   margin-right: auto;
   object-fit: cover;
}

.event-single-page-content>p {
   margin-top: 20px;
   font-size: 20px;
   padding: 0px 40px;
}

/* Single page sidebar */
.event-single-page-sidebar {
   padding: 20px;
   margin-right: 30px;
}

.event-single-page-sidebar>h4 {
   font-size: 30px;
   font-weight: 300;
   margin-bottom: 20px;
}

.event-single-page-sidebar {
   padding: 25px;
}

/* Single page sidebar events */
.sb-ue-events>h4 {
   margin-bottom: 25px;
}

.sb-ue-events>a {
   color: var(--black);
   text-decoration: none;
}

.sb-ue-events {
   margin-bottom: 30px;
}

.sb-ue-events>a>img {
   width: 284px;
}

.sb-ue-events>a>h2 {
   font-size: 20px;
   font-size: 20px;
   text-align: center;
   font-weight: 400;
   font-weight: 400;
   margin-top: 5px;
}

/* contact form */

.contact-top {
   display: flex;
   gap: 70px;
   padding: 10px 50px;
   justify-content: center;
   padding-bottom: 5px;
}

.contact-form>h4 {
   font-size: 60px;
   font-weight: 300;
   color: var(--primary);
   margin-bottom: 10px;
}

.contact-form>form>input,
.contact-form>form>textarea {
   display: block;
   margin-bottom: 10px;
   padding: 18px 5px;
   background-color: #F3F3F3;
   border: none;
   width: 391px;
   color: #8D8D8D;
   font-size: 15px;
   letter-spacing: 0.56px;
   font-weight: 400;
   text-indent: 10px;
}

.contact-img>img {
   height: 590px;
}

.contact-form>form>button {
   justify-content: center;
   margin-top: 10px;
   padding: 20px;
   background-color: var(--black);
   color: var(--SecBg);
   width: 400px;
}

.contact-bottom {
   margin-top: 0px;
   padding: 0px 100px;
   margin: auto;
   width: 1081px;
   margin-bottom: 10px;
}

.contact-bottom>iframe {
   width: 1081px;
   height: 450px;
}


/* Pagination */

.pagination {
   text-align: center;
   /* Center the pagination links */
   margin-bottom: 20px;
   /* Add margin at the bottom */
}

.pagination-list {
   display: inline-block;
   /* Display pagination links inline */
   list-style: none;
   /* Remove default list styling */
   padding: 0;
}

.pagination-list li {
   display: inline;
   margin-right: 5px;
   /* Adjust spacing between pagination elements */

}

.pagination-list li a {
   font-size: 20px;
   /* Adjust text size */
   color: #333333;
   text-decoration: none;
}


.pagination-list li.active span {
   font-weight: bold;
   /* Style for active page number */
}



/* Developer Team */
.developer>h2 {
   text-align: center;
   font-weight: 300;
   font-size: 40px;
   margin-top: 20px;
   margin-bottom: 40px;
}

.developer>h2>span {
   font-weight: 500;
   color: var(--black);
}


/* Member Single Page */
.single-member-page-cards {
   padding: 30px;
   display: flex;
   column-gap: 20px;
}

.member-single-left {
   padding: 50px;

}

.member-single-left>img {
   width: 450px;
   height: 450px;
   object-fit: contain;
   display: absolute;
}

.member-single-right {
   margin-top: auto;
   margin-bottom: auto;
   padding-right: 150px;
}

.member-single-right>h1 {
   font-size: 45px;
   margin-bottom: 10px;
}

.member-single-right>h4 {
   opacity: 60%;
   font-size: 20px;
}

.member-single-right>.social-media-icon {
   margin-bottom: 20px;
}

.member-single-right>p {
   font-size: 20px;
}

/* BLOG Page */

.blog {
   padding: 30px;
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   /* column-gap: 25px; */
}

.blog-card {
   width: 25%;
   margin: 25px 25px;
   background-color: var(--SecBg);
   border-radius: 0.25rem;
   box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
}

.blog-card:hover {
   box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.blog-card>a>img {
   width: 100%;
}

.card-text {
   padding: 20px;
}

.card-text>h1 {
   margin-bottom: 8px;
}

.card-text>p>span {
   font-weight: 600;
}

/* ---- Single Event Page ---- */
.single-blog-content {
   grid-area: content;
   min-width: calc(100vw - 590px);
}

.single-pyblog-aside {
   grid-area: aside;
   min-width: 350px;
}

.single-blog {
   display: grid;
   grid-template-areas:
      'content content content content content aside';
   gap: 28px;
   padding: 50px;
}

.single-blog-content-top {
   margin-top: 10px;
}

.single-blog-content-top>img {
   width: 100%;
   height: 350px;
   object-fit: contain;
   display: absolute;
}

/* CSS of Single Blog Page's Author Section */
.single-blog-content-bottom {
   display: flex;
   margin-top: 35px;
   gap: 80px;
}

.single-blog-content-bottom>a>h1,
.single-blog-content-bottom>h1 {
   font-size: 16px;
   opacity: 0.7;
}

.single-blog-content-top>h1 {
   margin: 40px 0px 20px 0px;
   font-size: 25px;
}

.single-blog-aside h1:first-child {
   margin-bottom: 20px;
   font-size: 30px;
}

.aside-post {
   display: flex;
   gap: 15px;
   margin-bottom: 30px;
}

.aside-post>.aside-img>img {
   width: 100px;
}

.aside-content {
   padding-right: 20px;
   display: flex;
   flex-direction: column;
}

.aside-content>.aside-content-top>h1 {
   font-size: 16px;
}

.aside-content-bottom {
   margin-top: auto;
   display: flex;
   justify-content: space-between;
   margin-top: -5px;
}

.aside-content>.aside-content-bottom>h3,
.aside-content>.aside-content-bottom>h4 {
   font-size: 15px;
   font-weight: 600;
   opacity: 0.6;
}


/* 404 Page */
.errorPage {
   height: 40vh;
   text-align: center;

}

.errorPage>h1 {
   margin-top: 15%;
   margin-bottom: 20px;
}


/* Responsive styles for Mobile */
@media screen and (max-width: 768px) {

   /* NAVIGATION */
   .nav {
      padding: 10px 20px 10px 20px;
   }

   .nav-img {
      height: 55px;
   }

   .nav-list {
      display: none;
      /* Hide the nav items by default on mobile */
      flex-direction: column;
      /* Stack them vertically */
      width: 100%;
      /* Make the menu take full width */
      background-color: var(--bg);
      /* Optional: Add a background color */
      position: absolute;
      top: 100px;
      /* Adjust based on your navbar height */
      left: 0;
      z-index: 1000;
   }

   .nav-list.active {
      display: flex;
      /* Show the nav items when active */
   }

   .nav-list>li {
      margin-left: 0;
      /* Remove the left margin for stacked items */
      padding: 10px 20px;
      font-size: 16px;
      /* Adjust font size for mobile */
   }

   .hamburger {
      display: block;
      font-size: 25px;
      /* Show the hamburger icon on smaller screens */
   }




   /* FOOTER */

   .footer-top {
      display: block;
      padding: 25px 20px;

   }

   .footer-left {
      align-items: center;
      float: left;
      margin-right: 30px;
   }


   .footer-left-nepsoc>img,
   .footer-left-logo>img {
      width: 60px;
   }

   .footer-left-nepsoc>img {
      border-radius: 100%;
   }

   .footer-left-logo>img {
      display: block;
      padding: 15px 20px;
   }

   .footer-middle>h4,
   .footer-right>h4 {
      font-size: 12px;
      font-weight: 400;
      margin-bottom: 15px;
   }

   .footer-contact-img>img {
      width: 10px;
      margin-right: 10px;
   }

   .footer-contact-text>p {
      font-size: 8px;
   }

   .footer-right>a>img {
      width: 15px;
      margin-top: 5px;
   }

   .footer-contact {
      display: flex;
      margin-top: 10px;
      margin-bottom: 10px;
   }

   .footer-right {
      text-align: center;
   }

   .footer-right>h4 {
      margin-bottom: 5px;
      margin-top: 20px;
   }


   .footer>p {
      font-size: 9px;
   }



   /* INDEX PAGE */
   .home-heading {
      flex-direction: column;
   }

   .home-heading>h1 {
      order: 2;
      font-size: 32px;
      margin-top: 15px;
      text-align: center;
   }

   .home-heading>img {
      order: 1;
      width: 320px;
   }


   .about {
      flex-direction: column;
      padding: 20px;
   }

   .about-img {
      grid-gap: 12px;
      width: 100%;
      align-items: center;
   }

   .about-img>img {
      width: 100%;
      max-width: 300px;
   }

   .about-img>img:nth-child(2) {
      padding: 0;
   }

   .about-text {
      padding: 20px;
      text-align: center;
   }

   .about-text>h3 {
      font-size: 40px;
   }

   .about-text>p {
      font-size: 16px;
   }

   /* Adjust event section padding for smaller screens */
   .event {
      padding: 10px 20px;
   }

   .event>h2 {
      font-size: 35px;
      font-weight: 400;
   }

   .event-box {
      flex-direction: column;
      align-items: center;
   }

   .event-box-img {
      width: 100%;
      display: flex;
      justify-content: center;
      margin-bottom: 15px;
   }

   .event-box-img>img {
      width: 70%;
      max-width: 200px;
   }

   .event-box-text {
      margin-left: 0;
      width: 100%;
   }

   .event-box-text>h3 {
      font-size: 28px;
      text-align: center;
   }

   .event-box-text>p {
      font-size: 14px;
   }

   .event-box-text>a {
      font-size: 16px;
      padding: 8px 10px;
      display: inline-block;
      margin: 10px 0;
      position: relative;
   }

   .event-single-page {
      grid-template-areas:
         'content';
      gap: 10px;
      padding: 10px;
   }

   /* Hide the sidebar */
   .event-single-page-sidebar {
      display: none;
   }

   /* Adjust the content section for smaller screens */
   .event-single-page-content {
      padding: 15px;
   }

   .event-single-page-content>h3 {
      font-size: 40px;
      padding: 0 10px;
   }

   .event-single-page-content>p {
      font-size: 16px;
      padding: 0 20px;
   }

   /* Slideshow images responsiveness */
   .mySlides>img {
      width: 100%;
      max-height: auto;
      object-fit: contain;
   }

   .prev,
   .next {
      font-size: 14px;
      padding: 12px;
      background-color: #FFFAF0;
   }

   .blog-card {
      width: 100%;
      /* 1 card per row on mobile */
      margin: 15px 0;
      /* Adjust margins for better spacing */
   }


   .single-blog {
      grid-template-areas:
         'content'
         'aside';
      gap: 20px;
      padding: 20px;
   }

   /* Adjust the width of the main content and sidebar */
   .single-blog-content {
      min-width: 100%;
   }

   .single-blog-aside {
      min-width: 100%;
   }

   /* Adjust image sizes for mobile */
   .single-blog-content-top>img {
      height: auto;
      max-width: 100%;
   }

   /* Adjust heading size for mobile */
   .single-blog-content-top>h1 {
      font-size: 22px;
   }

   .single-blog-content-bottom {
      flex-direction: column;
      gap: 10px;
      margin-top: 20px;
   }

   .single-blog-content-bottom>h1 {
      font-size: 14px;
   }

   /* Adjust aside-post styles */
   .aside-post {
      display: flex;
      gap: 15px;
   }

   .aside-post>.aside-img>img {
      width: 80px;
   }

   .aside-content {
      padding-right: 0;
   }

   .aside-content>.aside-content-top>h1 {
      font-size: 14px;
   }

   .aside-content-bottom {
      margin-top: 10px;
      display: block;
   }

   .aside-content>.aside-content-bottom>h3,
   .aside-content>.aside-content-bottom>h4 {
      font-size: 13px;
      font-weight: 600;
      opacity: 0.6;
   }

   /* Member Page */
   .member-page>h2 {
      margin-bottom: 10px;
      font-size: 25px;
   }

   .member-heading-year {
      margin-top: 20px;
      margin-bottom: 40px;
      font-size: 20px;
   }

   .member-page-cards {
      row-gap: 12px;
      flex-wrap: nowrap;
      overflow-x: auto;
   }

   .member-card {
      width: 200px;
      text-align: center;
      margin-right: 30px;
      background-color: var(--bg);
   }

   /* For Webkit browsers (Chrome, Safari, Edge) */
   .member-page-cards::-webkit-scrollbar {
      width: 0px;
      height: 0px;
   }



   .member-card>a>img,
   .member-card>img {
      object-fit: cover;
      border-radius: 50%;
      width: 130px;
      height: 130px;
      margin-right: auto;
      margin-left: auto;
      margin-bottom: 10px;
      display: absolute;
   }

   /* Member Single Page */
   .single-member-page-cards {
      display: block;
   }

   .member-single-left {
      padding: 0;
      margin-bottom: 20px;
   }

   .member-single-left>img {
      width: 100%;
      height: auto;
      max-width: 350px;
   }

   .member-single-right {
      padding-right: 0;
      text-align: center;
   }

   .member-single-right>h1 {
      font-size: 30px;
   }

   .member-single-right>h4 {
      font-size: 18px;
   }

   .member-single-right>p {
      font-size: 16px;
   }


   /* DEVELOPER PAGE */
   .developer .member-page-cards {
      flex-direction: column;
      align-items: center;
   }

   .developer>h2 {
      font-size: 25px;
   }

   .developer .member-card {
      width: 90%;
      margin-bottom: 20px;
   }

   .developer .member-card:nth-child(2) {
      order: 1;
   }

   .developer .member-card:nth-child(3) {
      order: 2;
   }

   .developer .member-card:nth-child(1) {
      order: 3;
   }

   .developer .member-card:nth-child(4) {
      order: 4;
   }

   .developer .member-card img {
      width: 100%;
      height: auto;
      max-width: 200px;
      max-height: 200px;
   }

   .developer .member-details>h3 {
      font-size: 14px;
   }

   .developer .member-details>h4 {
      font-size: 12px;
   }

   .developer .social-media-icon>a>img {
      width: 14px;

   }

   /* Contact Page */
   .contact-top {
      flex-direction: column;
      padding: 10px 20px;
      gap: 20px;
   }

   .contact-form>h4 {
      font-size: 40px;
   }

   .contact-form>form>input,
   .contact-form>form>textarea {
      width: 100%;
      font-size: 14px;
   }

   .contact-form>form>button {
      width: 100%;
   }

   .contact-img {
      display: none;
   }

   .contact-bottom {
      padding: 0px 10px;
      width: 90%;
   }

   .contact-bottom>iframe {
      width: 100%;
      height: 300px;
   }

}