@font-face {
  font-family: "barcade-brawl-regular";
  src: url("https://dafonttop.com/wp-data/b/427/10427/file/barcade-brawl.ttf") format("woff"),
    url("https://dafonttop.com/wp-data/b/427/10427/file/barcade-brawl.ttf") format("opentype"),
    url("https://dafonttop.com/wp-data/b/427/10427/file/barcade-brawl.ttf") format("truetype");
}

@font-face {
  font-family: "Nintendo";
  src: url("https://cdn.rawgit.com/brenopolanski/nintendo-logo-css3/master/nintendo.eot");
  src: url("https://cdn.rawgit.com/brenopolanski/nintendo-logo-css3/master/nintendo.eot?#iefix"),
    url("https://cdn.rawgit.com/brenopolanski/nintendo-logo-css3/master/nintendo.ttf") format("truetype");
}

:root {
  /* Palete de cores exp */

  --paradise-pink: #f1335bff;
  --deep-cerise: #de288e;
  --plump-purple: #5645b1ff;
  --persian-indigo: #3d1080ff;
  --dark-magenta: #7d1b92ff;

  --naples-yellow: #f7dc64ff;
  --neon-yellow: #fff01fff;
  --charm-pink: #d98aa8ff;
  --cyber-grape: #64408aff;
  --plum: #963699ff;
  --space-cadet: #302d54ff;
  --nintendo-red: #f2021a;
  --dark-shadow-text: #030303;

  --silver-prize: #c0c0c0;
  --bronze-prize: #cd7f32;
  --aqua: #72ddf7;
}

html {
  scroll-behavior: smooth;
}

body {
  left: 0;
  top: 0;
  margin: 0;
  background: #222;
  padding: 0;
  z-index: -1;
  color: #ffffff;
  font-family: "Press Start 2P", cursive;
  font-size: 1rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.85)),
    url("../img/background2.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-attachment: fixed;
  overflow-x: hidden;
}

.nes-container {
  background-color: var(--white);
  border: 3px solid white;
  box-shadow: 0 3px 0 3px black, inset 0 3px 0 3px black,
    0 0 0 3px black, inset 0 0 0 3px black;
  padding-bottom: 0.5rem;
}

.nes-container.with-title>.title {
  background-color: var(--white);
  color: var(--dark-shadow-text);
  margin: -0.5rem 0 !important;
  padding: 0.25rem;
}

#schedule {
  width: 80%;
  padding: 0%;
}

.nes-table.is-bordered {
  width: 99%;
  border: 4px solid white;
  background-image: linear-gradient(to bottom right,
      var(--dark-magenta),
      var(--persian-indigo));
}

.nes-table tr,
th,
td {
  border: 2px solid white !important;
  position: initial !important;
}

.nes-table-header th {
  color: var(--white);
}

.nes-table tr {
  color: white;
  text-shadow: var(--persian-indigo) 1px 1px 0px, #9c9c9c 2px 2px 0px;
}

.nes-tooltip {
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: black;
  margin: 0.75rem 0.33rem 0;
  float: right;
}

#box-logo {
  position: relative;
  margin: 2rem 0 7rem 0;

  padding: 0.6rem 1.5rem 0rem 1.5rem;
  border: var(--nintendo-red) solid 12px;
  border-radius: 130px 130px 130px 130px;
  background-color: #fff;

  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s all linear;
  text-decoration: none;
  width: 35%;
}

#box-logo-text {
  text-decoration: none;
  transition: 0.3s all linear;
  width: 100%;
}

#box-logo-text span {
  font-size: 2.5rem;
  width: 100%;
  color: var(--nintendo-red);
  font-weight: 900;
  font-family: Nintendo;
  letter-spacing: 2px;
  padding-top: 50px;
}

#box-logo:hover {
  transform: scale(1.05);
}

.subtitle {
  color: var(--neon-yellow);
  text-shadow: var(--persian-indigo) 2px 2px 0px, #9c9c9c 3px 3px 0px;
  text-align: center;
}

/* Fonts smaller on smaller stuff */
@media (max-width: 375px) {
  .smallerText {
    font-size: 0.5em;
  }

  #box-logo-text {
    font-size: 0.45rem;
  }
}

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

/* Awards container */

.awards-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}

.awards-container span {
  filter: drop-shadow(3px 3px 0px black);
}

.awards-container img {
  max-height: 200px;
  transition: 0.3s all linear;
}

.awards-container.first-prize-container,
.awards-container.second-prize-container,
.awards-container.third-prize-container {
  transition: 0.3s all linear;
}

.awards-container .first-prize {
  filter: drop-shadow(1px 1px 0px var(--neon-yellow));
}

.awards-container.first-prize-container .subtitle {
  color: var(--neon-yellow);
}

.awards-container.first-prize-container:hover {
  filter: drop-shadow(2px 2px 2px var(--neon-yellow));
  transform: scale(1.1);
}

.speaker {
  border-radius: 5px;
  box-shadow: 0px 0px 15px #7c7c7c;
  transition: 0.2s;
}

.speaker:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 20px #a5a5a5;
  transition: 0.2s;
}

.speaker-container {
  width: 320px;
  margin: 0 2em;
}

.speaker-name, speaker-role {
  width: 100%;
  line-height: 1.8;
  text-align: center;
}

.speaker-name {
  font-size: 1rem;
}

.speaker-role {
  font-size: 0.8rem;
}

.speaker-links i {
  font-size: 16px;
  padding: 4px;
  color: white;
  transition: 0.2s all linear;
}

.speaker-links i:hover {
  color: var(--aqua);
  transform: scale(1.1);
}

.awards-container .second-prize {
  filter: drop-shadow(1px 1px 0px var(--silver-prize));
}

.awards-container.second-prize-container:hover {
  filter: drop-shadow(2px 2px 2px var(--silver-prize));
  transform: scale(1.1);
}

.awards-container.second-prize-container .subtitle {
  color: var(--silver-prize);
}

.awards-container .third-prize {
  filter: drop-shadow(1px 1px 0px var(--bronze-prize));
}

.awards-container.third-prize-container .subtitle {
  color: var(--bronze-prize);
}

.awards-container.third-prize-container:hover {
  filter: drop-shadow(2px 2px 2px var(--bronze-prize));
  transform: scale(1.1);
}

.team-container {
  width: 14em;

  height: 220px;
  margin-right: 2em;

  cursor: pointer;
}

.team {
  background: rgb(177, 80, 0);
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.team-container:hover .team {
  animation: container-rotate 1s forwards;
}

@keyframes container-rotate {
  0% {
    transform: rotate(0deg);
  }

  70% {
    -moz-transform: rotate3d(0, 1, 0, 180deg);
    -webkit-transform: rotate3d(0, 1, 0, 180deg);
    -ms-transform: rotate3d(0, 1, 0, 180deg);
    transform: rotate3d(0, 1, 0, 180deg);
  }
}

@keyframes text-rotate {
  0% {
    display: none;
  }

  70% {
    display: flex;
    flex-direction: column;

    -moz-transform: rotate3d(0, 1, 0, 180deg);
    -webkit-transform: rotate3d(0, 1, 0, 180deg);
    -ms-transform: rotate3d(0, 1, 0, 180deg);
    transform: rotate3d(0, 1, 0, 180deg);
  }
}

.team-container:hover .team>.hover-text {
  display: flex;
  flex-direction: column;
  animation: text-rotate 1.2s forwards;
}

@media screen and (max-width: 1068px) {
  #box-logo {
    width: 70%;
  }
}

@media screen and (max-width: 768px) {
  .subtitle {
    font-size: 0.9rem;
  }

  .nes-table td {
    font-size: 0.75rem;
  }

  .team-container {
    width: 12em;
    height: 200px;
    margin: 2em;
  }

  .podium {
    display: flex;
    flex-wrap: wrap;

    justify-content: space-around;
    align-items: center;
  }

  .footer {
    margin-top: 2em;
  }

  #mario {
    display: none;
  }

  #box-logo {
    width: 90%;
  }

  #box-logo-text span {
    font-size: 1.75rem;
  }
}

@media only screen and (max-width: 1300px) {
  .video iframe {
    width: 560px;
    height: 315px;
  }
}

@media only screen and (max-width: 1100px) {
  .video iframe {
    width: 448px;
    height: 252px;
  }
}

@media only screen and (max-width: 455px) {
  .video {
    width: 80%;
    margin: 0 auto !important;
  }
}

.hover-text h1 {
  font-size: 1.5em;
  text-align: center;
  color: white;
  margin: 0;
  padding: 0;
}

.hover-text h2 {
  font-size: 1em;
  text-align: center;
  color: white;
  margin: 0;
  padding: 0;
}

#mario {
  width: 10em;
  height: 10em;
  position: absolute;
  bottom: -11em;
  left: -4em;
}

.team-container:hover .team>.text-container {
  display: none;
}

.team-container .team .hover-text {
  display: none;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  margin: 2em 0;
}

.team-container:nth-child(1):hover~#mario {
  animation: mario-move-1 0.9s forwards;
}

#logo:hover,
#social-media a:hover {
  filter: drop-shadow(0px 0px 4px white);
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
}

#social-media {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#social-media a {
  margin: 0 1em;
  color: white;
  text-decoration: none !important;
}

#social-media a>i {
  font-size: 24px;
}

@keyframes mario-move-1 {
  70% {
    transform: translateX(calc((1 + 0 * 2.2) * 8em));
  }

  92% {
    transform: translate(calc((1 + 0 * 2.2) * 8em), -20px);
  }

  100% {
    transform: translateX(calc((1 + 0 * 2.2) * 8em));
  }
}

.team-container:nth-child(2):hover~#mario {
  animation: mario-move-2 0.9s forwards;
}

@keyframes mario-move-2 {
  70% {
    transform: translateX(calc((1 + 1 * 2.2) * 8em));
  }

  90% {
    transform: translate(calc((1 + 1 * 2.2) * 8em), -20px);
  }

  100% {
    transform: translateX(calc((1 + 1 * 2.2) * 8em));
  }
}

.team-container:nth-child(3):hover~#mario {
  animation: mario-move-3 0.9s forwards;
}

@keyframes mario-move-3 {
  70% {
    transform: translateX(calc((1 + 2 * 2.2) * 8em));
  }

  90% {
    transform: translate(calc((1 + 2 * 2.2) * 8em), -20px);
  }

  100% {
    transform: translateX(calc((1 + 2 * 2.2) * 8em));
  }
}

.team-container:nth-child(4):hover~#mario {
  animation: mario-move-4 0.9s forwards;
}

@keyframes mario-move-4 {
  70% {
    transform: translateX(calc((1 + 3 * 2.2) * 8em));
  }

  90% {
    transform: translate(calc((1 + 3 * 2.2) * 8em), -20px);
  }

  100% {
    transform: translateX(calc((1 + 3 * 2.2) * 8em));
  }
}

.footer {
  margin-top: calc(8em + 4em);
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.col-title {
  color: var(--neon-yellow);
  text-shadow: var(--persian-indigo) 2px 2px 0px, #9c9c9c 3px 3px 0px;
  font-weight: bolder;
  text-transform: uppercase;
  font-size: xx-large;
  filter: drop-shadow(3px 3px 1px black);
  margin-top: 5rem;
}

#patrocinadores-title {
  margin-top: 7rem;
}

.patrocinadores-img,
.agradecimentos-img {
  object-fit: contain;
  max-width: 300px;
  transition: all 0.3s ease-in-out;
  filter: drop-shadow(1.5px 1.5px 0px white);
}

.patrocinadores-img:hover,
.agradecimentos-img:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

.patrocinadores-img {
  max-width: 250px;
}

.no-shadow-logo {
  height: 150px;
  filter: initial;
}

#direitos {
  font-size: 1rem;
  margin-top: 2rem;
}

@media (max-width: 450px) {
  .col-title {
    font-size: large;
  }

  #nei-logo,
  .patrocinadores-img,
  .agradecimentos-img {
    width: 80vw;
    margin: 0 auto;
  }

  .nes-container {
    padding: 1rem 0.75rem;
  }

  #logo {
    width: 100vw;
    margin: 0 auto;
  }

  #direitos {
    font-size: 0.65rem;
    text-align: center;
  }
}

.content__inner-item {
  display: inline;
  font-weight: 700;
  filter: drop-shadow(3px 3px 0px black);
}

.inscription-text {
  font-size: 1.66em;
}

.content__inner-item:nth-child(3n-1) {
  font-weight: 100;
  font-size: large;
}

.content__inner-item:nth-child(3n) {
  font-weight: lighter;
  font-size: large;
}

.content__inner-item a {
  text-decoration: underline !important;
  color: var(--neon-yellow);
}

.frame__title-wrap {
  grid-area: title;
  display: flex;
  justify-content: end;
}

.frame__title {
  margin: 0 8vw 0 0;
}

.frame__links {
  display: inline;
}

.frame__links a {
  display: inline-block;
  margin: 0 1rem 1rem 1rem;
}

.frame__links a {
  /*pointer-events: auto;*/
  margin: 0 0 0 1rem;
}

.frame__links a:not(:last-child)::after {
  content: "|";
  color: white;
  opacity: 1;
  margin: 0 0 0 1rem;
}

.bottom-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

/* HERO AND LOGO */
#hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#logo {
  filter: drop-shadow(4px 4px 1px black);
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
  margin-bottom: 100px;
}

#scroll-div {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
}

#scroll-href {
  font-size: 30px;
  visibility: hidden;
  opacity: 0%;
  animation: fade ease-out 1s 1s forwards;
  transition: 0.5s;
  z-index: 100;
  color: var(--neon-yellow);
  filter: drop-shadow(3px 3px 0px black);
}

#scroll-href:hover {
  transition: 0.5s;
  font-size: 2.4rem !important;
}

#description {
  overflow: hidden;
}

#box-logo-text span {
  font-size: 2rem;
  width: 100%;
  color: var(--nintendo-red);
  font-weight: 900;
  font-family: Nintendo;
  letter-spacing: 2px;
}

#box-logo:hover {
  transform: scale(1.05);
}

.carousel-item.carousel-item-next>.video iframe,
.carousel-item.carousel-item-prev>.video iframe {
  box-shadow: none;
}

.video {
  margin: 15px 0 0 0;
}

.video iframe {
  width: 672px;
  height: 378px;
  border-radius: 15px;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2372ddf7' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
  margin-bottom: 80px;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2372ddf7' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
  margin-bottom: 80px;
}

.carousel .carousel-indicators li {
  background-color: var(--aqua);
  border-radius: 100%;
  height: 15px;
  width: 15px;
}

.carousel .carousel-indicators li:nth-of-type(1) {
  margin-right: 20px;
}

.carousel .carousel-indicators .active {
  background-color: var(--plump-purple);
}

/* Animations */
@keyframes fade {
  from {
    /* visibility is only for scroll button
        if needed we can put this in other keyframe */
    visibility: visible;
    opacity: 0%;
  }

  to {
    visibility: visible;
    opacity: 100%;
  }
}