@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Lato:wght@300&family=Nanum+Gothic:wght@400;700;800&display=swap');

:root {
  --black: #272a31;
  --orange: #ec5242;
  --light-grey: #d3d3d3;
  --grey: #4b4c4e;
  --font-main-heading: 'Dela Gothic One', cursive;
  --font-heading: 'Nanum Gothic';
  --font-para: 'Lato';
}

.main-container2 {
  background: #f9f6f6 url(../images/about-bg.png);
  background-repeat: space;
}

/* navbar */
.nav-links.active ul li:nth-child(1) {
  pointer-events: initial;
  color: var(--grey);
  text-decoration: none;
}

.nav-links.active ul li:nth-child(2) {
  pointer-events: none;
  color: #ec5242;
  text-decoration: underline;
  text-decoration-thickness: 0.3rem;
}

/* main */

.main h2.banner-heading2 {
  font-size: 1.9rem;
  line-height: 45px;
  text-transform: uppercase;
  font-family: var(--font-main-heading), sans-serif;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 20px;
}

.main {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 4rem;
  padding: 0 5% 60px 5%;
}

.main-para {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f9f6f6;
  border: 3px solid #fff;
  padding: 22px;
}

.main-para p {
  font-size: 13px;
  font-family: var(--font-heading), sans-serif;
  line-height: 22px;
  font-weight: 100;
  color: var(--black);
  text-align: justify;
}

.main-line {
  margin: 16px 0;
  width: 20%;
  border: 10px dashed #ec5242;
}

.dated {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--grey);
  line-height: 2rem;
  letter-spacing: 0.1rem;
  margin: 6px 0;
  font-weight: bold;
  text-align: center;
}

small.credits {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 100;
  line-height: 1rem;
  color: var(--black);
  letter-spacing: 0.1rem;
  margin: 26px 5%;
}

/* Announcement */

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10%;
  border-bottom: 1px solid #4b4c4e;
}

.section-heading {
  color: var(--black);
  text-align: center;
}

.logo-para {
  margin: 20px 0;
  font-size: 13px;
  font-family: var(--font-heading), sans-serif;
  line-height: 22px;
  font-weight: 100;
  color: var(--black);
  text-align: center;
}

.logo img {
  margin: 20px 30%;
  width: 90%;
}

/* past-events */

.past-events {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 8%;
}

.past-events-images {
  width: 100%;
}

.past-event-links {
  margin: 5px 0;
  background: url(../images/summit-image3.jpeg) no-repeat;
  background-size: cover;
  width: 100%;
  height: 200px;
}

.past-event-links.other-link {
  background: url(../images/summit-image2.jpeg) no-repeat;
  background-size: cover;
}

.past-event-links p {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ec5342a7;
  width: 100%;
  height: 100%;
  text-align: center;
  font-family: var(--font-heading), sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  transition: background-color 0.5s ease-out;
}

/* partner */

.partner {
  background: var(--black);
}

.partner .section-heading {
  color: #fff;
}

.partner .partner-label ul {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* footer */

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

.footer h2 {
  color: #fff;
}

.footer .footer-para {
  color: #fff;
}

/* desktop-version */

@media only screen and (min-width: 768px) {
  .nav-links ul li:nth-child(1) {
    color: inherit;
    pointer-events: inherit;
  }

  .nav-links ul li:nth-child(2) {
    color: #ec5242;
    pointer-events: none;
  }

  .nav-links ul li:nth-child(1)::after {
    display: none;
  }

  .nav-links ul li:nth-child(2)::after {
    display: block;
  }

  /* desktop-main */

  .main {
    align-items: center;
  }

  .main h1.hello-world {
    font-size: 32px;
  }

  .main h2.banner-heading {
    font-size: 2.3rem;
  }

  .main-para {
    width: 40rem;
  }

  /* desktop-logo */
  .logo-para {
    font-size: 0.9rem;
  }

  /* desktop-past-events */

  .past-events-images {
    display: flex;
    gap: 0.9rem;
  }

  .past-event-links {
    width: 100%;
    height: 250px;
  }

  .past-event-links p {
    font-size: 1.5rem;
  }

  .nav-links ul li:hover {
    color: #ec5242;
  }

  .nav-links ul li:hover::after {
    display: block;
  }
}

/* hover-effects */
.nav-links.active ul li:hover {
  color: #ec5242;
  text-decoration: underline;
  text-decoration-thickness: 0.3rem;
}

.past-event-links p:hover {
  background-color: #4b4c4e8d;
}
