* {
  font-family: 'Urbanist', sans-serif;
  box-sizing: border-box;
}

:root {
  --main-text-color: #FFF9D6;
  --main-bg-color: #0A0058;
  --hover-bg-color: #0A0058;
  --hamburger-back-color: #030139;
}


.center {
  text-align: center;
}

.row {
  display: flex; /* Use flexbox to center the columns */
  flex-wrap: wrap; /* Wrap the columns if they don't fit on a single row */
  justify-content: center; /* Center the columns horizontally */
}

.column {
  flex-basis: calc(15% - 20px);
  /* 25% width with some spacing */
  /* margin: 5 5; */
}

@media screen and (max-width: 768px) {
  .column {
      /* flex-basis: calc(50% - 20px); Two columns for smaller screens */
      /* display: block; or remove if it's a block-level element by default */
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;

  }
}

.pieceinfo {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 40%;

}

.piecetext {
  background-color: #030139;
  color: #FFF9D6;
  font-size: 1em;
  padding: 1em 2em;
  text-align: left;
  border-radius: 25px;
}

.mySlides:hover .slide-link {
  opacity: 0.3;
}

.mySlides:hover .pieceinfo {
  opacity: 1;
}

/* Add responsive styles for smaller screens if needed */
@media screen and (max-width: 768px) {
  .column {
    flex-basis: calc(50% - 20px);
    /* Two columns for smaller screens */
  }
}

@media only screen and (max-width: 1000px) {

  html,
  body {
    font-family: 'Titillium Web', serif;
    background-color: #01001d; 
    color: #FFF9D6;
    background-image: url("../assets/images/star-pattern.svg"), url("/static/assets/images/aurora.svg");
    background-position: center, center bottom;
    background-repeat: repeat, no-repeat;
    background-size: cover, cover;
    padding-bottom: 0px;
    font-size: 16px;
    margin: 0;
  }
}

@media only screen and (min-width: 1001px) and (max-width: 2000px) {

  html,
  body {
    font-family: 'Titillium Web', serif;
    background-color: #01001d; 
    color: #FFF9D6;
    background-image: url("../assets/images/star-pattern.svg"), url("/static/assets/images/aurora.svg");
    background-position: center, center bottom;
    background-repeat: repeat, no-repeat;
    background-size: cover, cover;
    padding-bottom: 0px;
    font-size: 16px;
    margin: 0;
  }
}

@media only screen and (min-width: 2001px) {

  html,
  body {
    font-family: 'Titillium Web', serif;
    background-color: #01001d; 
    color: #FFF9D6;
    background-image: url("../assets/images/star-pattern.svg"), url("/static/assets/images/aurora.svg");
    background-position: center, center bottom;
    background-repeat: repeat, no-repeat;
    background-size: cover, cover;
    padding-bottom: 0px;
    font-size: 16px;
    margin: 0;
  }
}

h2 {
  text-align: center;
}

h3 {
  text-align: center;
}

.container {
  width: 80%;
  margin: 0 auto;
  padding-top: 64px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media only screen and (max-width: 993px) {
  .container {
    padding-top: 0;
  }
}

@media only screen and (max-width: 993px) {
  .container {
    width: 85%;
  }
}

@media only screen and (max-width: 600px) {
  .container {
    width: 90%;
  }
}

h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  letter-spacing: 0.075em;
  text-align: center;
  font-size: 4rem; 
  text-transform: uppercase;
  color: #FFF9D6; 
  margin: 0;
}

@media only screen and (max-width: 993px) {
  h1 {
    font-size: 10vw;
  }
}

p {
  font-size: 16px;
  color: #FFF9D6;
}

.section {
  padding: 35px 0px 5px 0px;
}

/* Nav Bar */
nav {
  width: 100%;
  height: 64px;
  background-color: #030139;
  top: 0;
  z-index: 99;
  box-shadow: 0px 0px 8px #000000;
  text-align: center;
  position: sticky;
}

nav .home {
  display: flex;
  align-items: center;
}

nav .home img {
  height: 60px;
  margin-right: 10px;
}

nav li:first-child {
  margin-right: auto;
}

nav li {
  margin: 0px 15px 0px 15px;
  list-style-type: none;
}

nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: right;
  margin: auto;
  padding: 0px;
}

nav ul a {
  cursor: pointer;
  text-transform: uppercase;
  /* font-weight: bold; */
  display: inline-block;
  text-decoration: none;
  color: #FFF9D6;
  padding: 0px 10px;
  height: 64px;
  font-size: 1.5rem;
  line-height: 64px;
  position: relative;
}

nav ul a.selected {
  color: #FFED7B;
}


.card {
  background-color: #030139;
  position: relative;
  flex: 0 0 47.5%;
  box-sizing: border-box;
  border-radius: 10px;
  padding: 15px;
  margin: 3vh auto;
}


@media only screen and (max-width: 993px) {
  .card {
    width: 100%
  }
}

.card.full-width {
  flex: 0 0 97.5%;
}

.card.full-width {
  flex: 0 0 97.5%;
}








/* Slideshow CSS */
* {
  box-sizing: border-box
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

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

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #FFF9D6;
  font-weight: bold;
  font-size: 24px;
  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 {
  color: #FFED7B;
}

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

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

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #FFF9D6;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #FFED7B;
}

.mySlides>a>img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* slide show end */

#yeti {
  position: absolute;
  width: 15vw;
  right: 5vw;
}

#kraken {
  position: absolute;
  width: 15vw;
  left: 5vw;
}

@media only screen and (max-width: 993px) {
  .hide-on-med-and-down {
    display: none !important;
  }
}

.mobile-nav {
  display: flex !important;
  justify-content: space-between;
  background-color: #FFF9D6;
  box-shadow: none;
  position: relative;
  /* height: 50%; */
}

@media only screen and (max-width: 993px) {
  .mobile-nav {
    display: flex !important;
    justify-content: space-between;
    background-color: transparent;
    box-shadow: none;
    position: relative;
  }

  .mobile-nav img {
    height: 65%;
    margin: 15px;
  }
}

.past-winner-section {
  padding: 1.5rem;
}

.past-winner-box {
  border-radius: 5px;
  background-color: #FFF9D6;
  width: 60vw;
  padding: 1rem;
  margin: 2rem;
}

.past-winner-box-h3 {
  margin: 0;
}

.past-winner-container {
  height: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 90vw;
  margin-left: 5vw;
  margin-right: 5vw;
}

.HackNCButton2020 {
  background-color: #030139;
  border-radius: 35px;
  display: block;
  cursor: pointer;
  color: #FFF9D6;
  font-size: 22px;
  padding: 1rem 1rem;
  text-decoration: none;
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
  float: left;
  text-align: center;
}

.HackNCButton2020:hover {
  background-color: #030139;
}

.HackNCButton2020:active {
  position: relative;
  top: 1px;
}

.resource-button {
  background-color: #030139;
  border-radius: 20px;
  cursor: pointer;
  color: #FFF9D6;
  padding: 1rem;
  text-decoration: none;
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
  text-align: center;
  display: flex;
  /* Center the content both horizontally and vertically */
  align-items: center;
  /* Vertically center the content */
  justify-content: center;
  /* Horizontally center the content */
  width: 15vw;
  /* You can adjust this width as needed */
  height: 7vw;
  /* You can adjust this height as needed */
  font-size: 13px;
}

@media only screen and (max-width: 993px) {
  .resource-button{
    width:50vw;
    height: 12vw;

  }
}


.resource-button:hover {
  background-color: #030139;
}

.resource-button:active {
  position: relative;
  top: 1px;
}

/*
#mobile-nav-div {
  display: none;
  background-color: #0A0058;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
}

#mobile-nav-div li {
  padding: 10px;
  color: black;
}
#mobile-nav-div img {
  height: 65px;
  padding: 15px;
}

#mobile-nav-div ul {
  list-style-type: none;
}

#mobile-nav-div a {
  text-decoration: none;
  color: #FFF9D6;
  font-size: 5vw;
}

#mobile-nav-div.active {
  display: block;
}
*/

#clock {
  text-align: center;
  padding-top: 20px;
}

#clock div {
  margin: 0;
}

#clock p {
  line-height: 100%;
  font-size: 2vw;
  display: inline-block;
  text-align: center;
  margin: 0;
}

#clock p.display {
  width: 4.5vw;
  font-weight: bold;
  font-size: 4vw;
}

#clock p.label {
  width: 4.5vw;
  font-size: 1.3vw;
}

#clock p.divider {
  font-size: 4.5vw;
  width: 1vw;
}

@media only screen and (max-width: 993px) {
  #clock p {
    font-size: 20px;
  }

  #clock p.display {
    width: 40px;
    font-size: 35px;
  }

  #clock p.label {
    width: 40px;
    font-size: 16px;
  }

  #clock p.divider {
    font-size: 40px;
    width: 15px;
  }
}

/* Links Section */
#links {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 20px;
}

#links a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

#links p {
  font-size: 20px;
  margin: 3px 0 0 0;
  color: #FFF9D6;
}

#discord-logo,
#devpost-logo {
  height: 2.5rem;
}

#team-logo,
#hacker-logo {
  height: 3rem;
}

@media only screen and (max-width: 600px) {
  #links img {
    width: 60%;
  }
}

#links div {
  width: 25%;
  padding: 10px 0px;
  text-align: center;
  border-right: 1px solid ;
  justify-content: center;
  display: flex;
}

#links div:last-child {
  border-right: none;
}

@media only screen and (max-width: 993px) {
  #links div {
    width: 50%;
    height: 90px;
  }

  #links div:first-child {
    border-bottom: 1px solid #0A0058;
  }

  #links div:nth-child(2) {
    border-right: none;
    border-bottom: 1px solid #0A0058;
  }

  #links div:nth-child(3) {
    border-bottom: 1px solid #0A0058;
  }

  #links div:nth-child(4) {
    border-right: none;
    border-bottom: 1px solid #0A0058;
  }

  #links div:nth-child(5) {
    border-right: none;
  }
}







#tracks img {
  padding-top: 15px;
  height: 7vw;
  min-height: 70px;
}

#prizes h2,
#resources h2 {
  width: 100%;
  text-align: center;
  color: #FFED7B;
  margin-bottom: 10px;
}

#prizes .container,
#resources .container {
  width: 95%;
  padding-top: 0;
}

#prizes .card,
#resources .card {
  flex: 1 0 30%;
  box-sizing: border-box;
  background-color: #030139;
  color: #FFF9D6;
  /* border: 1px solid #4f3426; */
  margin: 1%;
}

#prizes .card.full-width,
#resources .card.full-width {
  flex: 1 0 98%;
}

#prizes .card.half-width,
#resources .card.half-width {
  flex: 1 0 46%;
}

#prizes .card.quarter-width,
#resources .card.quarter-width {
  flex: 1 0 22%;
}

#prizes .card.fifth-width,
#resources .card.fifth-width {
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex: 1 0 15%;
}

#prizes .card.fifth-width h2,
#resources .card.fifth-width h2 {
  text-align: center;
}

#prizes .card.fifth-width img,
#resources .card.fifth-width img {
  width: 100%;
}

@media only screen and (max-width: 993px) {

  #prizes .card,
  #resources .card {
    flex: 0 0 97.5% !important;
  }
}

#prizes .card h3,
#resources .card h3 {
  margin: 0;
  color:#FFED7B;
}

#prizes .card p,
#resources .card p {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
  
}

.map-container {
  width: 100%;
  height: 400px;
}

.map-container iframe {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.travel-details li {
  display: block;
}

.grant-table {
  border-collapse: collapse;
  text-align: center;
}

td,
th {
  border: 1px solid #ddd;
  padding: 8px;
}

th {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #463a71;
  color: #d5cbef;
}

.live-section {
  padding-left: 15vw;
  padding-right: 15vw;
  padding-top: 1.5rem;
}

.social-container {
  text-align: center;
  border-radius: 25px;
  border: 2px solid #ddd;
  padding: 20px;
  width: 100%;
  height: 150px;
}

.social-button {
  background-color: #006A94;
  border-radius: 20px;
  border: none;
  display: block;
  color: #ffffff;
  padding: 1rem;
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
  float: left;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  width: 15vw;
  height: 7vw;
}

.social-button:hover {
  background-color: #2999bc;
}

.social-button:active {
  position: relative;
  top: 1px;
}

.link {
  color: #FFF9D6; 
  text-decoration: underline;

}

.link:hover {
  color: #FFED7B;
  text-decoration: underline;
}

.prize-title {
  margin: 0;
  font-size: 1.5rem;
}

.outer {
  position: relative;
}

.calendar {
  margin-left: 5%;
  margin-right: 5%;
  background-color: white;
  box-shadow: 0px 30px 50px rgba(0, 0, 0, 0.2), 0px 3px 7px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.wrap {
  border-radius: 8px;
}

thead {
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
}

thead th {
  color: white;
  text-align: center;
  width: 100%;

}

header h1 {
  font-size: 1.25rem;
  text-align: center;
  font-weight: normal;

}

tbody {
  position: relative;
}

table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;

}

.faq-text-bold {
  margin: auto;
  display: inline-block;
  vertical-align: top;
  margin-top: 0.25rem;
  padding-left: 0.75rem;
  font-weight: bold;
}



.headcol {
  width: 60px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0;
  text-align: center;
  border: 0;
  border-bottom: 1px solid transparent;
}

thead th {
  font-size: 1rem;
  font-weight: bold;
  color: white;
  padding: 1rem;
}

thead {
  z-index: 2;
  border-bottom: 2px solid #ddd;

}

tr,
tr td {
  height: 20px;
}

td {
  text-align: center;
}

tr:nth-child(odd) td:not(.headcol) {
  border-bottom: 1px solid #e8e8e8;
}

tr:nth-child(even) td:not(.headcol) {
  border-bottom: 1px solid #eee;
}

tr td {
  border-right: 1px solid #eee;
  padding: 0;
  white-space: none;
  word-wrap: nowrap;
}

tbody tr td {
  position: relative;
  vertical-align: top;
  height: 40px;
  padding: 0.25rem 0.25rem 0 0.25rem;
  width: auto;

}

.secondary {
  color: rgba(0, 0, 0, 0.4);
}

.schedule-link {
  color: white;
  z-index: 2;
}

.event {
  background: #00B4FC;
  color: white;
  border-radius: 2px;
  text-align: center;
  font-size: 0.875rem;
  overflow-x: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event.one-hour {
  height: 200%;
}

.hacking-ends {
  margin: 0;
}

.event.one-half-hours {
  height: 315%;
}

.event::-webkit-scrollbar {
  display: none;
}

.event.two-hours {
  height: 425%;
}

.event.three-hours {
  height: 650%;
}

.event-title {
  padding: auto;
  font-size: 1em;
  margin-bottom: 0;
}

.event-description {
  font-size: .8em;
  margin-top: 0;
}

.no-description {
  margin-bottom: 1em;
}

.overlap {
  display: flex;
}

.left,
.right {
  width: 49%;
}

.right {
  margin-left: 51%;
}

.legend-container {
  display: flex;
  justify-content: space-around;
}

.legend-item {
  display: flex;
}

.color-box {
  height: 20px;
  width: 20px;
  margin-top: 1.35em;
  border-radius: 5px;
  margin-right: 10px;
}

.food {
  background-color: #483660;
}

.activity {
  background-color: #292348;
}

.events {
  background-color: #6b5d9c;
}

.workshop {
  background-color: #aa9dcc
}

button.secondary {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: white;
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  border-radius: 2px;
  color: rgba(0, 0, 0, 0.5);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-weight: 500;
}

button.secondary:hover {
  background: #fafafa;
}

button.secondary:active {
  box-shadow: none;
}

button.secondary:focus {
  outline: 0;
}

.today {
  color: red;
}

.now {
  box-shadow: 0px -1px 0px 0px red;
}

.icon {
  font-size: 1.5rem;
  margin: 0 1rem;
  text-align: center;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.icon:hover {
  color: red;
}

.calendarBody {
  background-color: inherit;
  flex-direction: column;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  margin-top: -20px;
  padding-top: 20px;
  font-family: "Font Awesome 5 Free",
}

.calendar-header {
  font-size: .3em;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.workshop-schedule {
  flex-direction: column;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  margin-left: 5%;
  margin-right: 5%;
  font-size: 15px;
  background-color: white;
  padding-top: 20px;
  padding-bottom: 50px;
  position: relative;
}

#wsheader {
  font-size: 25px;
  padding-bottom: 10px;
}

@media only screen and (max-width: 600px) {
  .offset td:nth-child(2) {
    display: none
  }

  .offset th:nth-child(2) {
    display: none
  }

  .calendar {
    margin-left: 0;
    margin-right: 0;
  }

  .color-box {
    margin-top: 1em;
    border-radius: 5px;
    margin-right: 5px;
  }

  .headcol {
    width: 50px;
  }

  .offset td:nth-child(3) {
    width: 50%;
  }

  .offset th:nth-child(3) {
    width: 150%;
  }

  .event.one-hour.workshop {
    height: 170%;
  }

  .social-button {
    width: 150px;
    height: 100px;
    margin: 0;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .row.buttons {
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
  }

  .button-section {
    padding: 0;
  }

  .faq-text {
    margin-top: 0.5rem !important;
  }

  .workshop-schedule {
    margin: 0;
  }

  .title-col {
    width: 38%
  }

  .loc-col {
    width: 25%
  }

  .date-col {
    width: 17%
  }

  .time-col {
    width: 18%
  }
}

/* Hambuger Button in Mobile View */
.hamburger-btn {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0c9";
  appearance: none;
  color: var(--main-text-color);
  -webkit-text-stroke: 1px black;
  visibility: hidden;
  z-index: 999;
  position: fixed;
  top: 0rem;
  right: 1.4rem;
  font-size: 3rem;
}

.hamburger-btn:checked::before {
  font-size: 3rem;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f00d";
}

.hamburger-menu {
  background-color: #0A0058;
  position: fixed;
  right: -100%;
  transition: all 0.8s ease;
  z-index: 998;
  background-color: var(--hamburger-back-color);
  width: 50vw;
  height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.hamburger-menu * {
  color: #FFF9D6;
  text-decoration: none;
  font-size: 0.5cm;
}

@media only screen and (max-width: 993px) {
  .hamburger-btn {
    visibility: visible;
  }

  .hamburger-btn.fa-bars:checked+.hamburger-menu {
    right: 0;
  }
}


* {
  box-sizing: border-box;
}

body {
  position: relative;
  background-color: #01001d;
  font-size: 16px;
  color: #FFF9D6;
}


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

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  max-width: 1200px;
  padding: 20px;
}

.card {
  background-color: #0A0058;
  border-radius: 10px;
  /* box-shadow: 0px 0px 15px 1px #FFED7B; */
  padding: 15px;
  margin: 15px;
  flex: 0 0 47.5%;
}

.card:nth-child(3n+1) {
  margin-left: 03;
}

.card:nth-child(3n) {
  margin-right: 1;
}

.card h2 {
  margin: 0 0 10px;
}

.card p {
  margin: 0;
}

.full-width {
  width: 100%;
}

.lilac {
  background-color: #3A3352;
}

.lilac h2 {
  color: #ffffff;
}

.home-link {
  display: block;
  font-size: 14px;
  margin-top: 20px;
  text-align: center;
}

.home-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .card {
      width: calc(50% - 20px);
  }

  .card:nth-child(2n+1) {
      margin-left: 0;
  }

  .card:nth-child(2n) {
      margin-right: 0;
  }
}

@media (max-width: 480px) {
  .card {
      width: 100%;
  }

  .card:nth-child(2n+1) {
      margin-left: 0;
  }
  .card:nth-child(2n) {
      margin-right: 0;
  }
}
.slider {
  background-color: #3A3352; 
}

.info {
  text-align: center;
  padding: 0 10px;
}
.home-link{
  color: #3A3352;
}
.slider-item img {
  width: 100%; 
}
@media (max-width: 400px) {
  .slider {
      display: none;
  }
}
