@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800;900&display=swap');

html {
    overflow-x: hidden;
}
body {
    margin: 0;
    /*overflow-x: hidden;*/
    padding: 0;
}

#root {
    max-width: 600px;
    margin: auto;
    font-family: 'Rubik', sans-serif;
    font-size: 25pt;
}
#root-terms {
    margin: auto;
    font-family: 'Rubik', sans-serif;
    font-size: 25pt;
    max-width: 80vw;
}

::-moz-selection { /* Code for Firefox */
  color: #ffdf01;
  background: #262626;
}

::selection {
  color: #ffdf01;
  background: #262626;
}

#header {
    padding-top: 70px;
    position: absolute;
    text-align: center;
    min-width: 100vw;
}
#header-terms {
    padding-top: 70px;
    text-align: left;
}
#main-terms {
    padding-top: 30px;
    font-size: 0.8em;
    line-height: 1.6em;
    margin: auto;
    max-width: 100%;
}
#main-terms h2 {
    opacity: 0.2;
    font-size: 1em;
    padding-top: 30px;
    padding-bottom: 30px;
}
#main-terms a {
    text-decoration: none;
    color: black;
}
#main-terms a:hover {
    text-decoration: none;
    color: black;
    border-bottom: 1px solid #000;
}

.underline {
  display: inline;
  position: relative;
  overflow: hidden;
}
.underline:after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  width: 0;
  bottom: -5px;
  background: #000;
  height: 4px;
  transition-property: width;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}
.underline:hover:after,
.underline:focus:after,
.underline:active:after {
  left: 0;
  right: auto;
  width: 100%;
}

#main {
    display: flex;
    height: 110vh;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
    margin-bottom: -19vh;
}
#download {
    margin-top: 50px;
    justify-content: center;
}
.flex {
    display: flex;
}
.dl-btn {
    /*margin: 0.5rem;           enable this after App Store available*/
	margin: 0;
}
.headline h1 {
    text-align: center;
    min-height: 160px;
	color: #262626;
}
#footer {
    background: #ffdf01;
    width: 100vw;
    justify-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    -webkit-border-top-left-radius: 30px;
    -webkit-border-top-right-radius: 30px;
    -moz-border-radius-topleft: 30px;
    -moz-border-radius-topright: 30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    font-family: 'Rubik', sans-serif;
    padding-bottom: 50px;
    -webkit-box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.05);
}
#scroll-indicator {
    height: 9px;
    width: 90px;
    background: black;
    border-radius: 4.5px;
    margin: 25px;
    opacity: 0.2;
}
.nav {
    display: flex;
    padding-top: 30px;
    padding-bottom: 30px;
}
.nav div {
    margin: 20px;
}
.nav div a {
    color: #262626;
    text-decoration: none;
}
.nav div a:hover {
    color: black;
    
    border-bottom: black 1px solid;
}
.legals {
    padding: 10px 20px 10px 20px;
    font-size: 0.85em;
    background: #262626;
    border-radius: 100px;
    color: #ffdf01;
}
#team {
    margin-bottom: 40px;
}
[data-tooltip] {
    position: relative;
    z-index: 2;
    cursor: pointer;
}
[data-tooltip]:before,
[data-tooltip]:after {
    visibility: hidden;
    -ms-filter: "alpha(opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    pointer-events: none;
}
[data-tooltip]:before {
    position: absolute;
    bottom: 290%;
    left: 50%;
    margin-bottom: 5px;
    margin-left: -50px;
    padding: 7px;
    width: 100px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 100px;
    background-color: #fff;
    color: #000;
    content: attr(data-tooltip);
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
}
[data-tooltip]:after {
    position: absolute;
    bottom: 290%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    border-top: 5px solid #fff;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    -ms-filter: "alpha(opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    #download {
        flex-direction: column;
        align-items: center;
    }
}
