@media screen and (min-width: 1200px) {
  :root {
    --container-size: 1140px;
  }
}

@media screen and (max-width: 1199px) {
  :root {
    --container-size: 960px;
  }
}

@media screen and (max-width: 991px) {
  :root {
    --container-size: 720px;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --container-size: 540px;
  }
}

@media screen and (max-width: 575px) {
  :root {
    --container-size: 95vw;
  }
}

:root {
  --container-padding: calc((100% - var(--container-size)) / 2);

  --color-background-darker: #2d2d2d;
  --color-background-dark: #292929;
  --color-background-darkest: #252525;
  --color-highlight: #0fa7fa;
  --color-selection: #57bdf5;
  --height-header: 70px;
}

@font-face {
  font-family: "Press Start";
  src:
          local("Press Start 2P Regular"),
          url("/fonts/press-start.ttf") format("opentype");
}

html, body {
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  font-family: 'Montserrat Alternates', sans-serif;
  background-color: var(--color-background-dark);
  color: white;
}

#app * {
  position: relative;
  box-sizing: border-box;
}

#app *:focus, body *:active {
  outline: none;
}

#app *::-moz-focus-inner {
  border: none;
}

#app > *{
  padding: 30px var(--container-padding);
}

::selection {
    text-shadow: none;
    text-decoration-color: var(--color-selection);
    background-color: black;
    color: var(--color-selection);
}

a {
    color: #bbb;
    transition-duration: .3s;
    transition-property: text-shadow, color;
}

a:hover {
  text-shadow: 0 0 5px var(--color-highlight);
  color: var(--color-highlight);
}

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

button {
  padding: 0;
  border: none;
  background-color: transparent;
  color: inherit;
}

button:hover {
  cursor: pointer;
}

app > section {
  background-color: var(--color-background-darker);
}

app > section + section {
  margin-top: 1px;
}

.wide-container {
  padding: 0 !important;
}

.wide-container > * {
  padding: 0px var(--container-padding);
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--height-header);
  padding-top: 10px;
  padding-bottom: 10px;
  z-index: 2;
  background-color: var(--color-background-darkest);
}

#header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: var(--color-background-darkest);
}

#header > * {
  z-index: 1;
}

#footer {
  flex: auto;
  display: flex;
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: var(--color-background-darkest);
  color: white;
  justify-content: center;
  flex-direction: column;
}

.presentation-slides {
   min-height: 100vh;
 }

.presentation {
  --theme: var(--color-highlight);
  display: flex;
  align-items: center;
  min-height: 100vh;
  background-repeat: no-repeat;
}

.presentation-first {
  min-height: calc(100vh - var(--height-header));
}

.presentation:not(.no-bg) > .content {
  padding: 20px;
  border: 2px solid var(--theme);
  box-shadow: 0 0 10px 0 var(--theme);
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.6);
}

.presentation > .content {
  width: 50%;
}

.presentation > .content.left {
  margin-right: 55%;
}

.presentation > .content.right {
  margin-left: 55%;
}

.presentation > .content.center {
  margin: 0 auto;
}

.presentation > .content > h1 {
  margin-bottom: 20px;
  font-size: 40px;
}

.presentation > .content > p {
  font-size: 17px;
  margin: 10px 0;
}

.presentation > .content > .btn-bottom {
  display: block;
  max-width: none;
  height: 50px;
  border-top: 2px solid var(--theme);
  margin: 15px -20px -20px -20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
  transition-property: text-shadow, background-color, color;
  border-radius: 0 0 15px 15px;
}

.presentation > .content > .btn-bottom:hover {
  text-shadow: 0 0 10px var(--theme);
  background-color: #111;
  color: var(--theme);
}

.slides h1 {
  margin-bottom: 25px;
  margin-top: 25px;
  font-size: 30px;
  text-align: center;
  background-color: #252525;
  color: white;
  border-radius: 7px;
  padding: 7px;
}

.slides > .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.slides > .content > .article {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  width: 32%;
  padding: 30px;
  text-align: left;
  text-decoration: none;
  background-color: var(--color-background-darkest);
  color: white;
  transition-duration: .5s;
  transition-property: box-shadow, background-color, color, transform;
  border-radius: 10px;
}

.slides > .content > .article:hover {
  box-shadow: 0 0 10px 5px rgba(256,256,2,0.7);
  text-shadow: none;
  transform: translateY(-10px);
}

.slides > .content > .article > img {
  min-height: 256px;
  object-fit: contain;
  padding: 15px 0;
}

.slides > .content > .article > h1 {
  font-size: 22px;
  background-color: rgba(256,256,2,0.1);
  color: #ffff02;
  text-align: center;
  border-radius: 3px;
  padding: 3px;
}

.slides > .content > .article > p {
  font-size: 17px;
  margin: 15px 0;
}

.slides > .content > .article li {
  font-size: 17px;
}

.slides > .content > .article a:hover {
  text-decoration: underline;
}

.slides > .content > .article a {
  text-decoration: none;
}

@media screen and (max-width: 991px) {
  .presentation > .content {
    width: auto;
  }

  .presentation > .content.left {
    margin-right: 50%;
  }
  .presentation > .content.right {
    margin-left: 50%;
  }

  .slides > .content {
    flex-direction: column;
  }

  .slides > .content > .article {
    width: 100%;
  }
  .slides > .content > .article + .article {
    margin-top: 10px;
  }

  .slides > .content > .article:hover {
    box-shadow: none;
    transform: none;
  }

  .slides > .content > .article > img {
    height: auto;
  }
}


@media screen and (max-width: 767px) {
  .presentation.no-bg {
    padding: 0;
  }

  .presentation.no-bg > .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px var(--container-padding);
    background-color: rgba(0, 0, 0, 0.47);
  }

  .presentation.presentation-first > .content {
    min-height: calc(100vh - var(--height-header));
  }

  .presentation:not(.no-bg) > .content {
    padding: 20px 5px;
    border-width: 2px 0;
    box-shadow: none;
  }

  .presentation > .content.left,
  .presentation > .content.right {
    margin: 0;
  }

  .presentation > .content > .btn-bottom {
    margin: 15px -5px -20px -5px;
  }

  .presentation > .content > h1 {
    margin-bottom: 10px;
    padding: 0 20px;
  }

  .presentation > .content > p {
    padding: 0 40px;
  }

  .presentation {
    padding: 0 !important;
  }

  .presentation:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .presentation .content {
    width: 100%;
    min-height: 100vh;
  }
}


@media screen and (max-width: 575px) {
  .presentation:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .presentation > .content > h1,
  .slides > h1 {
    font-size: 25px;
  }

  #footer {
    flex-direction: column;
  }

  #footer > .text,
  #footer > .social {
    width: 100%;
  }

  #footer > .text {
    order: 1;
    align-items: center;
    text-align: center;
  }

  #footer > .social {
    justify-content: center;
    margin: 0 0 10px 0;
  }
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}