html {
    margin: 0;
    padding: 0;
    font-family: 'IBM Plex Mono', monospace; 
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
    font-family: inherit;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100vh;
    justify-content: center;
}
h1 {
    margin-left: 10px;
}
p {
    margin-top: 0;
    margin-left: 10px;
    margin-right: 30%;
    margin-bottom: 0;
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #fcfcfc;
    }
}

@media (prefers-color-scheme: dark){
    body {
        background-color: #0e0e0e;
        color: #f0f0f0;
    }
} 

#time-displayer {
    font-size: 5em;
}

.github-link {
    display: inline-flex;
    margin-top: 15px;
    color: inherit;
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 10px; 
    margin-left: 0; 
}

.github-link svg {
    fill: currentColor;
    width: 36px;
    height: 36px;
    transition: all 0.2s ease;
}

.github-link:hover {
    opacity: 0.6;
    transform: scale(1.05); 
}

#footer {
    margin: 0;
    position: fixed;
    bottom: 0;
    font-size: 0.6em;
    display: flex;
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    box-sizing: border-box; 
}

@media only screen and (max-width: 820px) { 
    body {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        height: 100vh;
    }
    #time-displayer {
        font-size: 3em;
    }
    p{
        margin-right: 10%;
    }
    .github-link {
        margin-top: 25px;
    }

    .github-link svg {
        width: 48px; 
        height: 48px;
    }
}