@font-face {
    font-family: 'establishRetrosansOTF';
    src: url('../fonts/establishRetrosansOTF.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MapoDPPA';
    src: url('../fonts/MapoDPPA.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
html, body {
    margin: 0;
    overflow: hidden;
}
body {
    background-color: #1f1f1f;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;           
}
.wrapper {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin-bottom: 20px;
    overflow-y: auto;
}
.ft{
    font-family: establishRetrosansOTF, sans-serif;
}
#clock {
    font-size: 3em;
    margin-top: 20px;
    letter-spacing: 2px;
    position: relative;
    top: -14px;
    margin-left: 20px;
}
.container{
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    width: 1000px;
    justify-content: flex-start;
    align-items: center;
}
.container > *{
    margin-right: 30px;
}
.link{
    padding: 10px;
    cursor: pointer;
    background-color: #008FFF;
    width: 160px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    font-family: MapoDPPA, sans-serif;
    font-size: 1.2rem;
    font-weight: inherit;

    height: 30px;
    border-radius: 5px;            
}
a{
    color: white;
    text-decoration-line: none;
}
#title{
    font-size: 1.5rem;
    margin-top: 20px;
}
footer{
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #1f1f1f;
    text-align: center;
}
.sub-title{
    font-size: 1.2rem;
}
.lf{
    min-width: 120px;
    border-right: #bcbcbc 1px solid;
    padding-left: 20px;
}

/* mobile */
@media screen and (max-width: 960px) {
    body {
        font-size: 0.8rem;
    }
    #clock {
        font-size: 2em;
    }
    #weather{
        display: none;
    }
    #title{
        margin-bottom: 0;
    }
    .container{
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: space-evenly;
        margin-top: 0;
        margin-bottom: 0;
    }
    .link{
        width: 70%;
        margin-top: 10px;
    }
    .lf{
        min-width: 0;
        border-right: none;
        padding-left: 0;
    }
    #clock {
        display: none;
    }
    #weather{
        display: none;
    }
    .wrapper{
        justify-content: flex-start;
        padding-bottom: 30px;
        padding-top: 30px;
    }
    footer{
        display: none;
    }
}
@media screen and (max-width: 300px) {
    .container > * {
        margin: 0 auto;
        margin-bottom: 5px;
    }
}