/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)

  CSS Reset

*/

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;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

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



/* End of CSS reset */



* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    color: white;
}

*:active {
    -webkit-tap-highlight-color: transparent;
}

html {
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100dvh;
    
}

main section {
    backdrop-filter: blur(5px);
    padding: 2em;
    color: white;
    width: 100%;
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.title {
    font-size: 3em;
    margin: 0 0 2rem 0;
    font-weight: 700;
    width: 100%;
}

.input {
    background-color: unset;
    padding: 0.5rem;
    border-bottom: 1px solid lightgrey;
    width: 100%;
    display: block;
    display: flex;
    align-items: center;
    height: 3em;
    flex-wrap: nowrap;
}

main section p {
    margin: 2rem 0 0 0;
    align-self: flex-start;
}

.input img {
    height: 70%;
    margin: 0 1rem 0 0;
    aspect-ratio: 1/1.3;
}

.input input {
    background-color: unset;
    border: unset;
    font-family: inherit;
}

.input input:focus {
    outline: none;
}

.input input::placeholder {
    font-size: 1em;
    color: darkgrey;
}

main section div div p {
    margin: 0 0 0.5rem 0;
    font-size: 1.5em;
}

.button {
    color: lightgrey;
    border: 1px solid lightgrey;
    border-radius: 0.5em;
    transition: all 0.2s ease-out;
    background-color: unset;
    font-size: 1.5em;
    padding: 1rem 0;
    margin: 3rem 0;
    align-self: stretch;
  }
  
  .button:hover {
    background-color: #b7094c;
    transition: all 0.2s ease-out;
    cursor: pointer;
  }
  
  .button:active {
    filter: brightness(90%);
    transition: all 0.2s ease-out;
  }

@media (min-width: 600px) and (min-height: 600px) {
    main section {
        width: 25em;
        height: 70%;
        border-radius: 3em;
        border: 1px solid grey;
    }
}

.loader {
    background: #000;
    background: radial-gradient(#222, #000);
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.loader-inner {
    bottom: 0;
    height: 60px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
}

.loader-line-wrap {
    animation: spin 2000ms cubic-bezier(.175, .885, .32, 1.275) infinite;
    box-sizing: border-box;
    height: 50px;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    transform-origin: 50% 100%;
    width: 100px;
}

.loader-line {
    border: 4px solid transparent;
    border-radius: 100%;
    box-sizing: border-box;
    height: 100px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
}

.loader-line-wrap:nth-child(1) {
    animation-delay: -50ms;
}

.loader-line-wrap:nth-child(2) {
    animation-delay: -100ms;
}

.loader-line-wrap:nth-child(3) {
    animation-delay: -150ms;
}

.loader-line-wrap:nth-child(4) {
    animation-delay: -200ms;
}

.loader-line-wrap:nth-child(5) {
    animation-delay: -250ms;
}

.loader-line-wrap:nth-child(1) .loader-line {
    border-color: hsl(0, 80%, 60%);
    height: 90px;
    width: 90px;
    top: 7px;
}

.loader-line-wrap:nth-child(2) .loader-line {
    border-color: hsl(60, 80%, 60%);
    height: 76px;
    width: 76px;
    top: 14px;
}

.loader-line-wrap:nth-child(3) .loader-line {
    border-color: hsl(120, 80%, 60%);
    height: 62px;
    width: 62px;
    top: 21px;
}

.loader-line-wrap:nth-child(4) .loader-line {
    border-color: hsl(180, 80%, 60%);
    height: 48px;
    width: 48px;
    top: 28px;
}

.loader-line-wrap:nth-child(5) .loader-line {
    border-color: hsl(240, 80%, 60%);
    height: 34px;
    width: 34px;
    top: 35px;
}

@keyframes spin {

    0%,
    15% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}