@import "./reset.css";
* {box-sizing:border-box;}
body {position:relative; width:100vw; height:100vh; background:#1f1f1f; font-size:16px;}

h1,h2,h3,h4 {font-weight:700; line-height:180%; margin:0; padding:0; color:rgba(255,255,255,0.8);}
h1 {font-size:1.5em; margin-top:1.5em;}
h2 {font-size:1.25em; margin-top:1em;}
input, textarea {width:100%; height:auto; border:1px solid rgba(255,255,255,0.5); background:rgba(0,0,0,0.1); padding:1em; outline:none; resize:none; color:#f1f1f1;}
textarea {min-height:150px;}


#wrap {position:relative; width:100%; height:100%; z-index:2; overflow:hidden;}


#background {
    position:fixed;
    background-image: url("https://images.unsplash.com/photo-1483728642387-6c3bdd6c93e5?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2076&q=80");
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    transition: filter 250ms, transform 250ms;
    width: 100%;
    left:0;
    top:0;
    z-index:1;
    overflow:hidden;
}

#wrap.login #background {    filter: blur(8px);
    transform: scale(1.2);}


#wrap.ready #background {cursor:pointer;}

#login-info {
    display: flex;
    bottom: 0px;
    left: 0px;
    margin: 40px;
    opacity: 1;
    position: absolute;
    transform: translateX(0%);
    transition: margin 250ms, opacity 250ms, transform 250ms;
    z-index: 2;
    align-items: flex-end;
    
}
#login-info .time {color: whitesmoke; font-size: 6em; height: 80px; line-height: 80px; text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1); }

#wrap.success #login-info {
    opacity: 0;
}

#pin-wrap {
    left: 50%;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -30%) scale(0.8);
    transition: opacity 250ms, transform 250ms;
    z-index: 2;
}

#wrap.login #pin-wrap {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

#pin-wrap .ipts {
    display:flex;
    align-items: center;
}
#pin-wrap .ipts input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.06);
    font-size: 3em;
    justify-content: center;
    position: relative;
    transition: background-color 250ms, border-color 250ms;
    color:#fff;
    text-align:center;
    margin:0 0.1em;
    font-size:5em;
    padding:0.1em 0.05em;
    width:1em;
    caret-color: transparent;
}
#pin-wrap .ipts input:focus {outline:none; background-color:rgba(255,255,255,0.2)}

#pin-wrap h3 {background:transparent; width:100%; text-align:left; padding-left:1em; font-weight:400; font-size:1em;}
#pin-wrap h3.error {color:#c80000;}

#contents { display:none; transform:scale(0.7); overflow:auto;}
#wrap.success #contents {display:block; position:absolute; z-index:5; width:100%; height:100%; transform:scale(1); left:0; top:0; transition: opacity 250ms, transform 250ms; padding:1em; overflow:auto;}
#contents .links {width:100%; height:auto; display:flex; justify-content:center; flex-wrap: wrap; padding:1em; border:1px solid rgba(255,255,255,0.5); background:rgba(0,0,0,0.1);}
#contents .links a {display:inline-block; position:relative; padding:0.7em 1em; margin:0.1em; border:1px solid #ccc; background:rgba(255,255,255,0.3); color:rgba(0,40,40,0.7); text-decoration:none; font-weight:700; white-space:nowrap;}
#contents #map {width:100%; height:300px; margin:0; display:none;}

.w-auto {width:auto!important; max-width:none!important;}
.m-1 {margin-left:0.25em!important;margin-right:0.25em!important;margin-top:0.25em!important;margin-bottom:0.25em!important;}
.ml-1 {margin-left:0.25em!important;}
.mr-1 {margin-right:0.25em!important;}
.mt-1 {margin-top:0.25em!important;}
.mb-1 {margin-bottom:0.25em!important;}

