*{
    user-select: none;
}


header{
    height: 2.2rem;
    background-color: #0098E0;
    color: white;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 7;
}

header > #logo{
    font-size: 1.3rem;
    padding: 0.4rem 0 0.3rem 1rem;
}

header > #logo > span{
    font-size: 0.7rem;
}
header > #logo > sup{
    font-size: 0.8rem;
    font-weight: normal;
    font-style: italic;
    color: #dd7b6e;
}


.container{
    margin-top: 2.7rem;
}


.container > #position{

}


.container > #position > #name{
    text-align: center;
    font-size: 1.4rem;
}


.container > #position > #setMyLocationButton{
    display: inline-block;
    padding: 0.2rem 0.77rem 0.35rem;
    border-radius: 0.4rem;
    color: #ffffff;
    background-color: #df6a1d;
    font-size: 0.77rem;
    margin: 0.5rem 0 0 50%;
    transform: translateX(-50%);
    cursor: pointer;
}
.container > #position > #setMyLocationButton:hover{
    background-color: #c25d1a;
}

.container > #position > #setMyLocationButton > .fa-spinner{
    display: none;
}
.container > #position > #setMyLocationButton.loading > .fa-spinner{
    display: inline-block;
}
.container > #position > #setMyLocationButton.loading > .fa-location-dot{
    display: none;
}


.container > #position > #searchLocation{
    width: 100%;
    max-width: 35rem;
    margin-left: 50%;
    transform: translateX(-50%);
}

.container > #position > #searchLocation > input{
    font-size: 1.2rem;
    margin-top: 1.5rem;
    box-sizing: border-box;
}

.container > #position > #searchLocation > #searchResult{
    position: absolute;
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
    z-index: 2;
    border: 1px solid #d4e6fe;
    box-shadow: 0 12px 20px -6px #666
}

.container > #position > #searchLocation > #searchResult > div{
    font-size: 1.2rem;
    margin: 0.6rem 0 0 0;
    border-bottom: 1px solid #d4e6fe;
    padding: 0 0 0.5rem 0.7rem;
}



.container > #data{
    font-size: 1.2rem;
    margin: 3.2rem auto 0;
    position: relative;
    max-width: 30rem;
    z-index: -1;
}

.container > #data #section{
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 0.6rem 0 0.9rem 0;
    border-bottom: 1px solid #d4e6fe;
    padding: 0 0 0.5rem 0;
}
.container > #data #section.loading{
    background-color: #ededed77;
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, .5) 50%,
        rgba(255, 255, 255, 0) 60%
    ) #ededed77;
    background-size: 200% 100%;
    background-position-x: 180%;
    font-size: 1.05rem;
    animation: 1s loading ease-in-out infinite;
}
.container > #data #section.fail:after{
    content: "정보 로딩에 실패했습니다";
    display: flex;
    font-size: 0.7rem;
    font-style: italic;
    opacity: 0.8;
}

@keyframes loading {
    to {
        background-position-x: -20%;
    }
}


.container.folded > #data > #right{
    display: none;
}


.container > #data #section > #time{
    width: 15%;
    opacity: 0.8;
}

.container > #data #section > #amount{
    width: 40%;
}

.container > #data #section > #amount > span{
    font-size: 0.9rem;
    opacity: 0.8;
}

.container > #data #section > .fa-sun{
    color: rgb(254, 189, 68)
}
.container > #data #section > .fa-cloud-rain{
    color: rgb(68, 155, 254)
}
.container > #data #section > .fa-cloud-showers-heavy{
    color: rgb(33, 33, 247)
}


.container.folded > #loadMore{
    max-width: 20rem;
    transform: translateX(-50%);
    text-align: center;
    display: inline-block;
    margin: 0 0 0 50%;
    padding: 0.3rem 2.77rem 0.4rem;
    border-radius: 0.4rem;
    color: #ffffff;
    background-color: #0098E0;
    font-size: 1rem;
    cursor: pointer;
}
.container.folded > #loadMore:hover{
    background-color: #0278ae;
}
.container > #loadMore{
    display: none;
}



#installApp{
    background-color: #0098E0;
    height: 3rem;
    width: 3rem;
    border-radius: 100%;
    color: #ffffff;
    position: fixed;
    right: 2rem;
    bottom: 1rem;
    cursor: pointer;
    text-align: center;
    display: none;
}
#installApp:hover{
    background-color: #0278ae;
}

#installApp > i{
    margin-top: 0.4rem;
    font-size: 0.9rem;
}

#installApp > #label{
    font-size: 0.6rem;
}


@media screen and (min-width: 50rem) {
    .container > #data{
        display: flex;
        max-width: 60rem;
        justify-content: space-around;
    }

    .container > #data > #left,
    .container > #data > #right{
        width: calc(100% - 1.4rem);
        margin: 0 0.7rem;
    }
    .container.folded > #data > #right{
        display: block;
    }


    .container > #loadMore{
        display: none !important;
    }
}