/* Variables */
:root {
  --primary: #e91212;
  --secondary: #ffffff;
  --tertiary: #000000;
}

body,
html {
  min-width: 320px;
  color: var(--primary);
  font-family: Montserrat;
  -webkit-overflow-scrolling: touch;
  /* Flick scrolling for iPhones */
  scroll-behavior: smooth;

}


canvas {
  background-color: rgb(204, 0, 0);
  display: block;
  position: fixed;
  z-index: -1;
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

#countdown {
  padding: 1rem;
  font-size: 1.25rem;
}

a {
  cursor: pointer;
  color: var(--primary);
}

.newsletter-link {
  color: var(--secondary);
  text-align: center;
  margin: auto;
  text-decoration: underline;
  border: 2px solid transparent;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.newsletter-link:hover {
  color: var(--tertiary);
  background-color: var(--secondary);
  border-radius: 99px;
  padding: 10px 15px;
  font-weight: bold;
}

.button-link {
  height: 3em;
  font-size: 11pt;
  font-weight: bolder;
  text-transform: uppercase;
  background-color: white;
  letter-spacing: 2.5px;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
  color: #e91212;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0px 10px;
}

.button-link:hover {
  background-color: #e91212;
  box-shadow: 0px 15px 20px rgba(122, 12, 12, 0.685);
  transform: translateY(-5px);
}

.button-link:hover {
  color: white;
}

@media only screen and (min-width: 760px) {
  body::-webkit-scrollbar {
    width: 1em;
  }

  body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: white;
  }

  body::-webkit-scrollbar-thumb {
    background-color: #ced3dc;
    outline: 1px solid slategrey;
  }
}

.theme-picker {
  margin-left: -120px;
  -webkit-transition: margin-left 0.5s;
  /* Safari */
  transition: margin-left 0.5s;
}

.active-theme-picker {
  margin-left: 0px;
}

.active-theme-picker #theme-pullout {
  transform: rotate(180deg);
}

#theme-pullout {
  position: fixed;
  bottom: 10px;
  left: 10px;
  color: white;
  cursor: pointer;
  z-index: 1000;
  -webkit-transition: transform 0.5s;
  /* Safari */
  transition: transform 0.5s;
}

.color-ball {
  position: fixed;
  margin: 50px 20px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  cursor: pointer;
  z-index: 100;
}

.theme-1 {
  background-color: #cc0000;
  border: 3px solid #ffffff;
}

.theme-2 {
  margin-top: 120px;
  background-color: #f3f3f3;
  border: 3px solid #cc0000;
}

.theme-3 {
  margin-top: 190px;
  background-color: #fb6542;
  border: 3px solid #ffffff;
}

.theme-4 {
  margin-top: 260px;
  background-color: #07575b;
  border: 3px solid #ffffff;
}

.theme-5 {
  margin-top: 330px;
  background-color: #5c821a;
  border: 3px solid #ffffff;
}

.active-theme {
  box-shadow: 0px 0px 20px #07575b;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  max-height: 100%;
}

hr {
  border-color: var(--primary);
  width: 50%;
}

canvas {
  display: block;
  position: fixed;
  z-index: -1;
}

#header {
  color: white;
  padding-bottom: 2rem;
  align-items: center;
}

#banner-logo {
  margin-top: 5rem;
}

.col-centered {
  float: none;
  margin: 0 auto;
}

#sideNav a {
  text-decoration: none;
  color: inherit;
  transition: all 0.5s ease-in-out;
}

#sideNav a.active {
  color: var(--primary);
}

section {
  background-color: white;
  padding-bottom: 80px;
}

section:first-of-type {
  padding-top: 80px;
}

.section-title {
  padding: 10px;
  margin-bottom: 20px;
  color: var(--primary);
  background-color: white;
  width: 100%;
}

.image-section {
  padding-left: 40px;
  padding-right: 40px;
}

.image-section span {
  color: #000000;
}

.image-section svg {
  margin-bottom: 20px;
  color: white !important;
  background-color: var(--primary);
  height: 100px;
  width: 100px !important;
  border-radius: 100%;
}

.image-holder svg {
  padding: 20px;
}

.divider:before {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  /* or 100px */
  border-right: 1px solid #07575b;
}

.divider span {
  color: #000000;
}

.question {
  padding: 10px 0px;
  width: 95%;
  -webkit-transition: max-height 0.5s, height 0.5s;
  /* Safari */
  transition: max-height 0.5s, height 0.5s;
}

.question h4 {
  display: table;
  color: var(--primary);
  padding: 10px;
}

.icon-typeform {
  top: 5px;
}

.icon-devpost {
  left: 5px;
}

.question span {
  display: block;
  padding: 0px 10px;
  color: #000000;
}

.sponsor {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 10px;
  padding-top: 0;
  max-width: 33%;
}

.tera-sponsor {
  max-width: 100%;
}

.sponsor-row {
  display: flex;
  max-height: 100px;
  margin-bottom: 35px;
}

.sponsor-row-lg {
  max-height: 120px;
}

.sponsor img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
}

#footer {
  padding: 50px 0px;
  width: 100%;
  color: white;
  background-color: var(--primary);
}

#footer>div>a {
  color: white;
  margin: 20px;
}

#footer>* {
  margin-bottom: 20px;
  color: var(--white);
}

@media only screen and (max-width: 992px) {
  .divider:before {
    border-right: 0px;
  }

  .sponsor-row {
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 768px) {
  #footer>div>a {
    margin: 15px;
  }

  .long-text {
    display: none;
  }

  .short-text {
    display: initial;
  }
}

@media only screen and (min-width: 1500px) {
  #sideNav {
    display: block !important;
  }
}

/* Add Animation */
@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

/* Lots of media queries so registration button looks good on mobile */
#typeFormButtonStyleLarge {
  margin-top: 15;
  display: inline-block;
}

#typeFormButtonStyleSmall {
  margin-top: 15;
  display: none;
  word-break: break-word;
}

@media only screen and (max-width: 992px) {
  .typeform-share {
    font-size: 12px;
    padding-left: 25px !important;
    padding-right: 25px !important;
    margin: 0 !important;
  }

  .icon-typeform {
    top: 4px;
  }
}

@media only screen and (max-width: 1499px) {
  .icon-typeform {
    top: 8px;
  }
}

@media only screen and (min-width: 1500px) {
  .typeform-share {
    font-size: 26px;
  }
}

@media only screen and (max-width: 465px) {
  #typeFormButtonStyleSmall {
    display: inline-block;
  }

  .typeform-share {
    font-size: 10px;
    word-break: break-word !important;
    white-space: normal !important;
  }

  .icon-typeform {
    top: 10px;
    display: none;
  }
}

@font-face {
  font-family: "Hack NCState";
  src: url("fonts/Hack_NCState.ttf?p9luny") format("truetype");
}

@font-face {
  font-family: "icomoon";
  src: url("fonts/icomoon.eot?567je6");
  src: url("fonts/icomoon.eot?567je6#iefix") format("embedded-opentype"),
    url("fonts/icomoon.ttf?567je6") format("truetype"),
    url("fonts/icomoon.woff?567je6") format("woff"),
    url("fonts/icomoon.svg?567je6#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* better font rendering*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* inline the icon */
  display: inline-block;
  position: relative;

  /* style icons */
  font-size: 2rem;
}

.icon-wolf:before {
  content: "\1f43a";
}

.icon-devpost:before {
  content: "\1f3f6";
}

.icon-notion:before {
  content: "\1f323";
}

.icon-typeform:before {
  content: "\1f398";
}

.icon-discord:before {
  content: "\1f322";
}

.card-image {
  display: block;
  position: relative;
}

.person-card {
  width: 9rem;
}

.person-card .card-image {
  width: 100%;
  filter: brightness(100%);
  background-position: 50%;
  background-repeat: no-repeat;
  border-radius: 1rem;
  transition: all 0.5s;
  margin-bottom: 1rem;
}

.person-card .card-image:hover {
  filter: brightness(80%);
  background-size: 110%;
  transition: all 0.5s;
}

.person-card .card-image::after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.person-card .card-content .name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tertiary);
}

.person-card .card-content {
  display: flex;
  flex-direction: column;
}

.person-card .linkedin-image {
  font-size: 2rem;
  color: var(--secondary);
}

.future-statement {
  color: var(--tertiary);
}