@font-face {
    font-family: Manrope;
    font-weight: bold;
    src: url("../fonts/Manrope-ExtraBold.ttf");
}

@font-face {
    font-family: Manrope;
    font-weight: normal;
    src: url("../fonts/Manrope-Medium.ttf");
}

body {
    background: #fafafa;
    color: #111;
    font-family: Manrope, Roboto, sans-serif!important;
    overflow-x: hidden;
    margin: 0;
}

html {
    overflow-x: hidden;
}

button {
    font-family: Manrope, Roboto, sans-serif;
}

button:active {
    background: #ddd!important;
}

.shared-image {
    width: 600px;
    border-radius: 4px;
}

.shared-image, .shared-file {
    box-shadow: rgb(0 0 0 / 16%) 0px 3px 6px, rgb(0 0 0 / 23%) 0px 3px 6px;
    transition: box-shadow 0.2s ease, opacity 150ms ease;
    max-width: calc(100% - 48px);
    margin: 0 auto;
    position: relative;
    max-height: calc(var(--vh, 1vh) * 100 - 200px);
    width: auto;
    height: auto;
}

.shared-image.not-loaded {
    opacity: 0.7;
}

.shared-file.not-loaded {
    opacity: 0.7;
}

.not-loaded {
    cursor: progress;
}

.shared-image:hover {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

#file-dropzone-container {
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#file-input {
    display: none;
}

.upload-area {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background-color: #fafafa;
    background-repeat: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 48 48" viewBox="0 0 48 48" fill="lightgray" width="48px" height="48px"><g><rect fill="none" height="24" width="24"/></g><g><path d="M18,15v3H6v-3H4v3c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2v-3H18z M7,9l1.41,1.41L11,7.83V16h2V7.83l2.59,2.58L17,9l-5-5L7,9z"/></g></svg>')
}

.upload-area.highlight {
    background: #eee;
}

/*fallback form for old browsers*/

#upload-form {
    display: none;
}

#shared-files {
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    justify-content: center;
    align-items: center;
}

#auth-status-container {
    position: absolute;
    right: 8px;
    top: 8px;
    box-shadow: rgb(6 24 44 / 40%) 0px 0px 0px 2px, rgb(6 24 44 / 65%) 0px 4px 6px -1px, rgb(255 255 255 / 8%) 0px 1px 0px inset;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    user-select: none;
    background: #fff;
}

#profile-picture {
    border-radius: 50%;
    width: 44px;
    margin-right: 8px;
    height: 44px;
}

#drop-event-catcher {
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}

#drop-event-catcher.active {
    pointer-events: initial;
}

#username {
    margin: 0;
    font-weight: bold;
}

#email {
    margin: 0;
    color: #666;
}

#sign-in-status {}

#sign-out-button {
    color: #f44336;
    border: none;
    background: none;
    width: 44px;
    height: 44px;
    margin-left: 8px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

#sign-in-button {
    border: none;
    background: none;
    cursor: pointer;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    margin: auto;
    display: block;
    outline: none;
    font-size: 100%;
    font-weight: bold;
    padding: 10px;
    background: white;
    border-radius: 4px;
    transition: box-shadow 200ms ease;
}

#sign-in-button:hover {
    box-shadow: rgba(50, 50, 93, 0.3) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

#login-container {
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

#title-container {
    border: 1px #666 solid;
    padding: 32px;
    border-radius: 6px;
    z-index: 10;
    max-width: calc(100vw - 80px);
}

#login-container>h1 {
    font-weight: bold;
}

#firebaseui-auth-container {
    margin-top: 24px;
}

#homepage-title {
    text-align: center;
}

#homepage-title>h1 {
    font-size: 400%;
    margin: 0;
}

#homepage-title h2 {
    margin: 0;
    margin-bottom: 24px;
}

.mdl-button {
    font-family: Manrope, Roboto, sans-serif;
}

#firebase-auth-centerer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(var(--vh, 1vh) * 100);
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
}

.shared-file {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    color: black;
    text-decoration: none;
}

.shared-file h1 {
    display: inline;
}

.download-button {
    padding: 0;
    font-size: 36px;
    border: none;
    outline: none;
    background: none;
    position: relative;
    top: 6px;
    margin-left: 12px;
    cursor: pointer;
}

#about {
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
    z-index: 10;
    position: absolute;
}

#about section {
    padding: 16px;
}

#about section h1 {
    font-size: 48px;
}

#about section p {
    font-size: 24px;
}

#about section:nth-child(odd) {
    border-bottom: 3px black solid;
    background: #f1f1f1;
}

#about section:nth-child(even) {
    background: #fafafa;
}

/*#about section:nth-child(odd):after {
    content:"";
    position:absolute;
    width:100%;
    bottom:1px;
    z-index:-1;
    transform:scale(.9);

}*/

#to-about {
    border: none;
    padding: 0px;
    padding-top: 32px;
    padding-bottom: 32px;
    width: 100vw;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    transition: box-shadow 100ms ease;
    outline: none;
    font-size: 32px;
}

.bounce {
    animation: bounce 2s;
    transition: translateY 200ms ease;
}

.bounce:hover {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 25%, 50%, 75%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-12px);
    }
}

#to-about:hover {
    /*box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;*/
}