@import url("https://fonts.googleapis.com/css2?family=Heveltica:wght@400;600&display=swap");

html {
  overflow-y: auto;
  overflow-x: hidden;
}

body {
  line-height: 28px;
  font-size: 15px;
  font-family: "Heveltica", sans-serif;
  font-weight: 500;
  --nav-height: 120px;
  padding-top: var(--nav-height);
}

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

body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
  padding: 0px;
}

/* NavBar */

.navBar {
  position: sticky;
  top: 0;
  height: var(--nav-height);
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: black;
  z-index: 2;
  align-items: center;
  transition: transform 0.25s;
}

.nav_hidden{
  transform: translateY(calc(-1 * var(--nav-height)));
}

.navBarTitle {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 30px;
  color: black;
}

.navBarTitle img {
  width: auto;
  height: 100px;
  object-fit: contain;
  margin-right: 10px;
}

.navBarTitle i {
  color: #d4bb1c;
}

.navBarItems {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  /* gap: 2vw; */
  padding-right: 4vw;
  align-items: center;
}

.navLink {
  margin-left: 2vw;
}

.navBar .navLinkActive {
  text-decoration: none;
  color: #d4bb1c;
  margin-left: 2vw;
}

.navLink {
  text-decoration: none;
  color: white;
}

@media (max-width: 980px) {
  .navBar {
    display: none !important;
  }
}

@media (min-width: 980px) {
  #menuToggle {
    display: none !important;
  }
  #mobileLogo {
    display: none !important;
  }
}

/**Dropdown**/

.navLink-dropdown {
  text-decoration: none;
  color: white;
  margin-left: 2vw;
}

.navLink-dropdown:hover {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  margin-left: -3vw;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

/* Show the dropdown menu on hover */
.navLink-dropdown:hover .dropdown-content {
  display: block;
  cursor: pointer;
}

/* Mobile navbar menu taken from Erik Terwan https://codepen.io/erikterwan/pen/EVzeRP */

#menuToggle {
  display: block;
  position: relative;
  top: 50px;
  left: 50px;
  margin-bottom: 100px;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a {
  text-decoration: none;
  color: #232323;

  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: 1ca5d4;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #cdcdcd;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu {
  position: absolute;
  width: 100vw;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;

  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(-100%, 0);

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

#menu li {
  padding: 10px 0;
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul {
  transform: none;
}

/** End mobile navbar css from Erik Terwan **/

#mobileLogo {
  position: fixed;
  right: 25px;
  top: 25px;
  z-index: 2;
  transition: transform 0.25s;
}

#mobileLogo img {
  height: 60px;
  width: 60px;
}

/**Footer**/

.footer {
  width: 100%;
  position: relative;
  height: 30px;
  /* bottom: 0; */
  font-size: 15px;
  background-color: white;
  padding-top: 30px;
  margin-bottom: 30px;
  line-height: 12px;
  color: #d4bb1c;
  text-align: center;
}

/**Homepage**/

.otherLinks {
  width: fit-content;
  margin: 40px;
  /* display: flex;
  justify-content: center;
  align-items: center;
  gap: 5vw; */
  flex-wrap: wrap;
}

.welcomeText {
  text-align: center;
}

/* @media (max-width: 800px) {
  .welcomeText {
    text-align: center;
  }
} */

.welcomeImage img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.welcomeVideo iframe{
  width: 100%;
  height: 50vw;
  margin-bottom: 20px;
}

.linkSection {
  margin-top: 1vh;
  margin-bottom: 20px;
}

.sectionTitle {
  font-size: 20px;
  margin-bottom: 20px;
}

/**About Us Page**/

.aboutUsContainer {
  text-align: center;
  width: 100vw;
  padding-top: 50px;
  /* overflow-y: scroll; */
  /* overflow-x: hidden; */

  align-items: center;
  height: fit-content;
  margin-bottom: 20px;
  overflow-x: hidden;
}

.about_header {
  font-size: 40px;
  text-align: center;
  width: 100vw;
  margin-bottom: 40px;
}

.about_header i {
  font-size: 20px;
}

.exec_container {
  width: 90vw;
  padding: 0vw 5vw 0vw 5vw;
  /* margin-left: 10vw; */
  display: flex;
  align-content: center;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.break {
  flex-basis: 100%;
  height: 0;
}

/* .alumni_container {
  width: 80vw;
  margin-left: 10vw;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
} */

.people {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  /* max-width: 400px; */
  align-items: center;
  height: fit-content;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 20px;
  margin-left: 20px;
}

.imgCaptionHover {
  position: absolute;
  top: 0;
  height: 275px;
  width: 275px;
  opacity: 0;
  transition: 0.5s ease;
  background-color: rgba(255, 255, 255, 0.6);
  align-items: center;
}

.imgCaption {
  font-size: 13px;
  font-weight: bolder;
  text-shadow: 1px 1px 2px black;
  line-height: 18px;
  color: white;
  position: absolute;
  top: 16px;
  right: 16px;
  writing-mode: vertical-rl;
  transform: rotate(-180deg);
}

.people:hover .imgCaptionHover,
.people:active .imgCaptionHover,
.people:focus .imgCaptionHover {
  opacity: 1;
}

.people img {
  display: block;
  width: 275px;
  height: 275px;
  object-fit: cover;
}

.people p {
  font-size: 12px;
  line-height: 18px;
  padding: 20px;
}

.people_with_padding {
  display: flex;
  flex-direction: row;
}

.people_empty {
  min-width: 40px;
  height: 100%;
}

.group_photo img {
  max-width: 50vw;
  margin-left: 25vw;
  padding-bottom: 5vh;
}

.constitution {
  width: 100vw;
  text-align: center;
  margin-bottom: 20px;
}

/**PDF Page**/

.PDFContainer {
  width: 80vw;
  margin-left: 10vw;
  /* overflow-y: scroll; */
  text-align: center;
  overflow-x: hidden;
}

.pdf_container {
  margin-top: 5vh;
  text-align: center;
  width: 80vw;
  margin-bottom: 50px;
}

.pdf_container iframe {
  height: 75vh;
  width: 50vw;
}

/**CPW Page**/

.cpwContainer {
  margin-top: 0;
  /* position: absolute; */
  width: 80vw;
  margin-left: 10vw;
  align-items: center;
  /* overflow-y: scroll; */
  text-align: center;
  height: fit-content;
  padding: 2vw;
  margin-bottom: 20px;

  overflow-x: hidden;
}

.cpw_container {
  flex: 1 1 auto;
  overflow-x: scroll;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 30px;
  margin-bottom: 50px;
  align-items: center;
  text-align: center;
  z-index: 500;
}

.cpw_container iframe {
  margin: 20px;
  width: 100%;
}

.cpw_container img {
  margin: 20px;
  width: 100%;
  height: auto;
}

/**Events Page**/

.eventsContainer {
  width: 80vw;
  margin-left: 10vw;
  margin-top: 5vh;
  padding-bottom: 10vh;
  /* overflow-y: scroll; */
  align-items: center;
  height: fit-content;

  overflow-x: hidden;
}

.event_year {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 100px;
  text-align: center;
  margin-bottom: 20px;
  margin-right: 20px;

  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 4em;
  letter-spacing: 10px;
  color: black;
}

.events_widget {
  width: 200px;
  height: 200px;
  background: #d4bb1c;
  position: relative;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.events_widget:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid #d4bb1c;
  border-top: 10px solid #d4bb1c;
  border-bottom: 10px solid transparent;
  right: 19px;
  bottom: -19px;
}

.events_widget strong {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.7em;
  font-size: 2em;
  color: #fff;
  text-align: left;
}

.events_widget span {
  font-size: 10em;
  position: absolute;
  bottom: 50px;
  right: 10px;
  padding: 0.1em;
  color: #fff;
}

.events_info {
  border: 2px solid #d4bb1c;
  width: 196px;
  height: 300px;
  padding: 20px;
  text-align: center;
  position: relative;
  top: 0px;
  vertical-align: middle;
}

.events_info strong {
  font-size: 18px;
  line-height: 0.5;
}

.events_info span {
  font-style: italic;
}

.events_info p {
  font-size: 11px;
  line-height: 2;
}

.past_event {
  background-color: gray;
}

.past_event:before {
  border-right: 10px solid gray;
  border-top: 10px solid gray;
}

.past_info {
  border: 2px solid gray;
  color: gray;
}

.past_info strong {
  font-size: 18px;
}

.past_info p {
  font-size: 12px;
}

.events_container {
  margin-top: 3vh;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: left;
  margin-bottom: 5vh;
}

.text_event_box {
  width: 400px;
  text-align: left;
}

.event_box {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 300px;
  text-align: center;
  margin-bottom: 20px;
  margin-right: 20px;
}

.events_title {
  padding-left: 15px;
  font-size: 40px;
  font-weight: 100;
}

/** Contact Page **/

.contactContainer {
  width: 80vw;
  margin-left: 10vw;
  margin-top: 5vh;
  padding-bottom: 10vh;
  text-align: center;
}

.contactHeader {
  font-size: 30px;
  margin-bottom: 20px;
}

.contactContainer input {
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  height: 30px;
  width: 300px;
  margin-bottom: 20px;
  font-family: "Heveltica";
  padding: 4px;
}

.contactContainer textarea {
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  height: 200px;
  width: 300px;
  padding: 4px;
  font-family: "Heveltica";
}

.contactContainer button {
  margin-top: 20px;
  border-radius: 10px;
  font-family: "Heveltica";
  width: 120px;
  height: 50px;
  outline: none;
  border-style: none;
  background-color: #d4bb1c;
  color: white;
}

.contactContainer button:hover {
  cursor: pointer;
}

/* General Page */

.gen_container {
  width: fit-content;
  margin: 40px;
  display: block;
}

.announcement {
  width: 100%;
  display: block;
  margin-top: 50px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 40px;
}

.concert {
  width: 100%;
  display: flex;
  margin: 50px;
}

.year{
  width: 100%;
  margin: 50px;
}

.term {
  padding-right: 50px;
  margin-right: 50px;
  width: 50%;
  display: block;
  text-align: center;
  align-items: center;
  height: fit-content;
  display: flex;
  flex-direction: column;
  text-align: center;
  /* max-width: 400px; */
  align-items: center;
  height: fit-content;
}

.term img{
  object-fit: cover;
  width: 100%;
  height: 300px;
}

.termCaptionHover {
  position: absolute;
  margin-top: 23px;
  height: 310px;
  width: 50%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: rgba(255, 255, 255, 0.6);
}

.textCaption{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.term:hover .termCaptionHover,
.term:active .termCaptionHover,
.term:focus .termCaptionHover {
  opacity: 1;
}

/* Utilities */
.u-flex-row-justifyCenter {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
