/* --------------------------------------------------
   reset
-------------------------------------------------- */

* { 
  box-sizing:border-box;
  outline:0;
}

html { 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,
b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

ol, ul { list-style: none; }

table {
  border-collapse: collapse;
  border-spacing: 0;
}

::selection { background:black; color:white; }
::-moz-selection { background:black; color:white; }







/* --------------------------------------------------
   font import
-------------------------------------------------- */

/* atkinson-hyperlegible-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/atkinson-hyperlegible-v11-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* atkinson-hyperlegible-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/atkinson-hyperlegible-v11-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* unbounded-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/unbounded-v7-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* unbounded-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/unbounded-v7-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}








/* --------------------------------------------------
   typography
-------------------------------------------------- */

html {
  font-size:15px;
}

  @media only screen and (min-width :  600px) { html { font-size:16px; } }
  @media only screen and (min-width :  800px) { html { font-size:17px; } }
  @media only screen and (min-width : 1000px) { html { font-size:18px; } }
  @media only screen and (min-width : 1200px) { html { font-size:19px; } }

body {
  font-family:'Atkinson Hyperlegible','Roboto','Arial',sans-serif;
  font-size:1rem;
  line-height:1.5;
  color:#333;
}

h1,h2,h3, button {
  font-family:'Unbounded','Roboto','Arial',sans-serif;
  line-height: 1.1;
  font-weight:900;
  hyphens:auto;
}

h1 {
  font-size:4rem;
  font-weight:900;
  margin-bottom:3rem;
}

h2 {
    font-size:2.5rem;
    font-weight:900;
    margin-bottom: 3rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

p {
  margin:1.6rem 0;
}

p:first-child {
  margin-top:0;
}

p:last-child {
  margin-bottom:0;
}

a {
  color:#1fb0f9;
}

strong {
    font-weight:700;
}

.black {
    font-weight:900;
}

em {
  font-style:italic;
}

.small {
  font-size:80%;
}

button {
  display: inline-block;
  font-weight:900;
  background: transparent;
  border-color:black;
  border-style: solid;
  border-width: 3px;
  border-radius: .5rem;
  padding:1rem;
  font-size:1rem;
  color:black;
  text-align:center;
  text-transform:uppercase;
  text-decoration:none;
  margin-top: 2rem;
}

button:hover {
  background: rgba(0,0,0,.25);
}








/* --------------------------------------------------
   header
-------------------------------------------------- */

header {
  position:fixed;
  width:100%;
  background:black;
  color:white;
  padding:1rem;
  text-align:center;
  z-index:99;
}

  header h1 {
    font-size:1rem;
    text-transform: uppercase;
    margin:0;
  }

.numbers {
  position:fixed;
  color:cyan;
  top:0;
  left:0;
/*  display:none;*/
}

  .numbers p {
    margin:0;
  }






/* --------------------------------------------------
   general
-------------------------------------------------- */

.onlydesktop { display:none; }

@media (hover: hover) {
  .onlymobile { display:none !important; }
  .onlydesktop { display:inherit; }
}

body {
  background:linear-gradient(0deg, #cbfcfd, #ffe1e1);
}






/* --------------------------------------------------
   welcome
-------------------------------------------------- */

.welcome {
  max-width: 32rem;
  margin: 0 auto;
  height:100vh;
  padding:2rem;
  display:flex;
  flex-direction:column;
  justify-content: center;
}

  #welcome-desktop {
    display:none;
  }




/* --------------------------------------------------
   the wheel
-------------------------------------------------- */

.wheel {
  padding-top:4rem;
  overflow:hidden;
  display:none;
}

  .wheel ul {
    display:flex;
  }

  .topic {
    flex-shrink: 0;
    flex-basis:100vw;
    max-width:100vw;
    padding:2rem;
    display:flex;
    flex-direction:column;
    gap: 3rem;
  }

    .topic-text {
      max-width:34rem;
      margin:0 auto;
    }

    .topic-image {
      max-width:26rem;
      margin:0 auto;
    } 

      .topic-image img {
        display:block;
        width:100%;
        height:auto;
        border-radius:50%;
        border:1rem solid white;
      }

@media (hover: hover) {
  .wheel ul {
    overflow:hidden;
  }
  .topic {
/*    flex-direction:row;*/
  }
  .topic:nth-child(2n) {
/*    flex-direction:row-reverse;*/
  }
}

.wheel-buttons {
  position:fixed;
  top:50%;
  width:100%;
  display:flex;
  justify-content: space-between;
}

  .wheel-buttons button {
    background:black;
    padding:1rem;
    color:white;
    border:none;
    border-radius:0;
    font-weight:bold;
    font-size:2rem;
    cursor: pointer;
  }

  .wheel-buttons button:hover {
    background:white;
    color:black;
  }

.wheel li.animateLeft {
  animation:animateLeft .4s ease;
  transform-origin: bottom center;
}

  @keyframes animateLeft {
      from {opacity: 0; transform:translateX(-100%) rotate(-45deg); }
      to { opacity: 1; transform:none; }
  }

.wheel li.animateRight {
  animation:animateRight .4s ease;
  transform-origin: bottom center;
}

  @keyframes animateRight {
      from {opacity: 0; transform:translateX(100%) rotate(45deg); }
      to { opacity: 1; transform:none; }
  }