/* =================================== */
/* SETUP */
/* =================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Trebuchet MS", sans-serif;
  font-weight: 400;
  background-color: #15151b;
  margin: 0;
  overflow-x: hidden;
}

main {
  margin: auto;
}

section {
  padding: 3vh 3vw;
}

h1 {
  font-family: "Bank Gothic Light", sans-serif;
  display: inline-block;
  font-size: 5rem;
  margin: 1.5rem;
  color: #da8f17;
}

h2 {
  font-family: "Bank Gothic Light", sans-serif;
  text-align: center;
  font-size: 2.5rem;
  color: #da8f17;
  margin: 1.2rem;
}

h3 {
  font-family: "Bank Gothic Light", sans-serif;
  text-align: center;
  font-size: 1.5rem;
  color: #da8f17;
  padding: 0vh;
}

ul {
  color: #ece6e6;
  text-align: left;
}

h4 {
  font-family: "Bank Gothic Light", sans-serif;
  display: inline-block;
  font-size: 1.2rem;
  color: #ece6e6;
  padding: 0vh;
  margin-top: 0px;
  margin-bottom: 0px;
}

p {
  color: #ece6e6;
}

.link-spanner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

#main-description {
  color: #7a778d;
}

pb {
  color: #ece6e6;
  font-size: 1.4rem;
  margin-left: 10px;
}

ps {
  color: #ece6e6;
  margin-left: 10px;
  font-size: 1.2rem;
}

psd {
  color: #ece6e6;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 0.95rem;
  line-height: 20px;
}

/* psds {
    color:#ece6e6;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 0.65rem;
    line-height: 16px;
} */

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

a:hover {
  color: #ffc340;
  /* text-decoration: underline; */
}

/* NAV BAR */

nav {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 1;
}

button {
  background-color: transparent;
  border: none;
  color: #d0943f;
}

button:hover {
  cursor: pointer;
}

.nav-bar {
  padding: 20px 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #212026;
  overflow: hidden;
  min-height: 5rem;
  height: 75px;
  transition: all 0.5s ease-out;
}

.icon {
  font-size: 2rem;
}

.nav-logo {
  max-height: 3.5rem;
}

.svg {
  width: 100px;
  height: 50px;
  transform: scale(2);
}

.nav-bar a {
  text-align: center;
}

.nav-link {
  font-family: "Bank Gothic Light", sans-serif;
  color: #f3ece2;
  text-decoration: none;
}

.nav-link:hover {
  color: #ffc340;
  text-decoration: none;
}

.nav-bar .icon {
  display: none;
}

@media screen and (min-width: 768px) {
  .home-container {
    padding-top: 25vh;
  }
  .iframe-container {
    height: 600px;
  }
  div.src-item {
    width: 700px;
  }
  .flip-card {
    width: 270px;
    height: 350px;
  }
  .cards-container img {
    width: 270px;
    height: 350px;
  }
  .card-container-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-container-quick-links {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-container-emails {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-container-gpta {
    grid-template-columns: repeat(1, 1fr);
    width: 600px;
  }
}

@media screen and (max-width: 768px) {
  .nav-logo {
    transition: all 0.5s ease-out;
    max-height: 4rem;
  }
  .nav-bar {
    height: 10vh;
  }
  .nav-link {
    display: none;
  }
  .nav-bar .icon {
    float: right;
    display: block;
    margin-top: 14px;
  }
  .nav-bar.responsive {
    flex-direction: column;
    min-height: 20rem;
    transition: all 0.5s ease-out;
  }
  .nav-bar.responsive .icon {
    position: absolute;
    right: 50px;
    top: 50px;
  }
  .nav-bar.responsive a {
    float: none;
    display: block;
    text-align: left;
    transition: all 0.5s ease-out;
  }
  .home-container {
    padding-top: 15vh;
  }
  .home-logo-container {
    display: none;
  }
  #main-description {
    margin: auto;
    font-size: 18px;
  }
  h1 {
    font-size: 3.5rem;
    margin: auto;
    margin-bottom: 1rem;
  }
  .iframe-container {
    height: 400px;
  }
  .src-container {
    flex-direction: column;
  }
  div.src-item {
    font-size: 0.8rem;
    width: 100%;
  }
  .flip-card {
    width: 200px;
    height: 260px;
  }
  .cards-container img {
    width: 200px;
    height: 260px;
  }

  .card-container-links {
    grid-template-columns: repeat(1, 1fr);
    height: auto;
  }

  .card-container-quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-container-emails {
    grid-template-columns: repeat(1, 1fr);
  }

  .card-container-gpta {
    min-width: auto;
    width: auto;
  }

  .box {
    width: 100%;
    height: 50%;
  }
}

/* HOME */

/* #home {
    background-color: #111014;
} */

#deliverables,
#assignments,
#lectures,
#sections,
#codealong,
#hours,
#resources {
  background-color: #15151b;
}

.content-container {
  margin: auto 3% auto 3%;
}

.home-container {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 10vh;
  font-size: 20px;
}

.home-description-container {
  max-width: 100%;
}

div.home-logo-container {
  margin-right: 100px;
}

img.home-logo {
  display: block;
  margin: 0 auto;
  width: 450px;
  height: 100%;
  animation: fadein 1s;
}

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

.description {
  padding: 10px 20px;
  margin: 1%;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  max-width: 90vw;
  min-width: 60vw;
}

.description2 {
  padding: 10px 20px;
  margin: 1%;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  max-width: 50vw;
  min-width: 30vw;
}

#sparks {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

video {
  overflow-clip-margin: content-box;
  overflow: clip;
}

/* DELIVERABLES */
.deliverables-container {
  width: 90%;
  padding: 20px;
  margin: auto;
  align-self: center;
  justify-content: center;
  display: flex;
  overflow-x: scroll;
  flex-direction: row;
  flex-wrap: wrap;
  overflow: hidden;
}

.header-container {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 100%;
  padding: 2vh 10vw;
}

.card-container {
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 20px;
  width: auto;
  margin: auto;
}

.deliverables-grid {
  grid-column-gap: 5%;
  -ms-overflow-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(2, auto);
  justify-content: space-between;
  overflow-x: scroll;
  padding-bottom: 10px;
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
  width: auto;
}
.deliverables-grid::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  height: 320px;
  width: 270px;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 15px;
  line-height: 15px;
  /* min-height: 10rem;
    min-width: 30vw;
    width: 20%; */
}

p.deliverable-title {
  font-family: "Bank Gothic Light", sans-serif;
  font-size: 1.4rem;
  display: inline-block;
  color: #ece6e6;
  margin-bottom: 1px;
}

p.deliverable-subtitle {
  display: inline-block;
  color: #ece6e6;
  font-size: 1rem;
  margin-bottom: 1px;
  text-decoration: underline;
}

p.deliverable-item {
  display: inline-block;
  color: #a79c9c;
  margin-bottom: 1px;
}
/* 
p.deliverable-item-gpta {
  font-family: "Bank Gothic Light", sans-serif;
  font-size: 1.2rem;
  display: inline-block;
  color: #ece6e6;
  margin-bottom: 1px;
} */

p.deliverable-item-curr {
  display: inline-block;
  color: #ece6e6;
  margin-bottom: 1px;
}

p.deliverable-item-disclaimer {
  display: inline-block;
  color: #a79c9c;
  margin-bottom: 1px;
  font-size: 0.8rem;
}

/* div.card-container-rq {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 3.5%;
    width: 70%;
    margin: auto;
} */

.card-rq {
  position: relative;
  align-items: center;
  text-align: center;
  height: 50px;
  width: 170px;
  background-color: rgba(0, 0, 0, 0.25);
  margin-bottom: 25px;
  border-radius: 15px;
}
/* 
div.card-container-e {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 3.5%;
    width: 40%;
    margin: auto;
} */

.card-e {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  height: 85px;
  background-color: rgba(0, 0, 0, 0.25);
  width: 100%;
  border-radius: 15px;
}

/* div.card-container-resource {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 5%;
    width: 50%;
    margin: auto;
} */

.card-resource {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  height: 210px;
  background-color: rgba(0, 0, 0, 0.25);
  width: 100%;
  height: 100%;
  margin-bottom: 25px;
  line-height: 5px;
  border-radius: 15px;
  overflow-wrap: break-word;
}

.card-gpta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  height: 275px;
  background-color: rgba(0, 0, 0, 0.25);
  width: 100%;
  height: 100%;
  margin-bottom: 25px;
  line-height: 15px;
  border-radius: 15px;
  overflow-wrap: break-word;
}

#staff {
  background-color: #060609;
}

div.card-container-staff {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 10%;
  width: 70%;
  margin: auto;
}

div.card-container-staff2 {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 5%;
  width: 90%;
  margin: auto;
}

.card-container-quick-links {
  display: grid;
  grid-row-gap: 30px;
  grid-column-gap: 5%;
  align-self: center;
  place-items: center;
  width: 80%;
  margin: auto;
}

.card-container-links {
  display: grid;
  grid-row-gap: 30px;
  grid-column-gap: 5%;
  align-self: center;
  place-items: center;
  width: 80%;
  margin: auto;
}

.card-container-gpta {
  display: grid;
  align-self: center;
  place-items: center;
  height: auto;
  margin: auto;
}

.card-container-emails {
  display: grid;
  grid-row-gap: 30px;
  grid-column-gap: 5%;
  align-self: center;
  place-items: center;
  width: 80%;
  margin: auto;
}

.card-staff {
  display: flex;
  flex-direction: column;
  /* align-items: left; */
  justify-content: flex-start;
  text-align: left;
  height: 600px;
  width: 325px;
  background-color: rgba(54, 51, 74, 0.25);
  border-radius: 10px;
  margin-bottom: 25px;
  line-height: 25px;
}

img.staff {
  margin-top: 10px;
  margin-bottom: 5px;
  margin-left: 12.5px;
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.card-staff:hover img.staff {
  display: none;
}

img.staff-back {
  display: none;
  margin-top: 10px;
  margin-bottom: 5px;
  margin-left: 12.5px;
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.card-staff:hover img.staff-back {
  display: block;
}

h5 {
  font-family: "Bank Gothic Light", sans-serif;
  display: none;
  font-size: 1rem;
  color: #ece6e6;
  padding: 0vh;
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: center;
}

.card-staff:hover h5 {
  display: block;
}

/* TABLE */

.table-container {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  /* Make scrollbar invisible */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}
.table-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

table {
  width: 80%;
  max-width: 1000px;
  margin: 20px auto 20px auto;
  background-color: #100f12;
}

th,
td {
  text-align: center;
  padding: 20px;
  word-wrap: break-word;
}

th {
  font-family: "Bank Gothic Light", sans-serif;
  font-size: 20px;
  color: #f3ece2;
}

th.no-wrap {
  white-space: nowrap;
}

td.no-wrap {
  white-space: nowrap;
}

td {
  background-color: rgba(0, 0, 0, 0.1);
  border-top: 2px solid rgb(60, 46, 44);
  transition: background-color linear 0.1s;
  color: #f3ece2;
}

tr:nth-child(even) > td {
  background-color: rgba(75, 69, 50, 0.1);
  border-top: 2px solid rgb(60, 46, 44);
  transition: background-color linear 0.1s;
}

tr:hover > td {
  background-color: rgba(0, 0, 0, 0.2);
}

tr.past > td {
  background-color: rgba(0, 0, 0, 0.05);
}

tr.curr > td {
  background-color: rgba(50, 0, 0, 0.5);
}

tr.unreleased > td {
  background-color: rgba(0, 0, 0, 0.05);
  color: #81808a;
}

/* SRC */
.src-container {
  display: flex;
  max-width: 100%;
  width: auto;
  column-gap: 5vw;
  align-items: center;
  justify-content: center;
}

#src {
  background-color: #0d0d15;
}

div.cards-container {
  display: flex;
  padding-top: 10px;
  padding-bottom: 20px;
  column-gap: 5vw;
  row-gap: 30px;
  max-width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

/* FLIPPABLE CARDS: thank you W3schools <3 */
/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  border-radius: 25px;
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  border-radius: 25px;
  background-color: rgb(35, 41, 55);
  color: white;
  transform: rotateY(180deg);
}

.cards-container img {
  border-radius: 25px;
}

.box {
  width: 85%;
  margin: 0;
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.button {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  border: 2px solid #384e41;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.button:hover {
  background: #384e41;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 25vh auto;
  padding: 20px;
  background: #49495d;
  border-radius: 5px;
  width: 30%;
  min-width: 400px;
  position: relative;
  transition: all 0.6s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06d85f;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

/*
CALENDAR
*/

/* div.calendar-description {
    margin-top: 0px;
    padding: 0px 20px;
    margin-bottom: 25px;
    width: 800px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
} */

iframe {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.iframe-container {
  display: flex;
  flex-direction: column;
  width: 90%;
  margin: auto;
  max-width: 80%;
  text-align: center;
  align-items: center;
  justify-content: center;
}
