@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500&display=swap');

body {
    overflow-x: hidden;
    overflow-y: hidden;
    background: #223550;
    color: whitesmoke;
    font-family: "IBM Plex Mono", monospace;
    font-style: normal;

}
::selection{
    background-color:darkgray;
    color: #223550;
}

.container {
    position: absolute;
    top:0;
    left:0;
    width: 100vw;
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-color:yellow; */
}
a, a:hover, a:visited, a:active{
    all:unset;
}

#code{
    position: absolute;
    top: 2vh;
    right:3vh;
    height: 7vh;
    cursor: pointer;
    opacity: 0.6;
}

#code:hover{
    opacity: 0.9;
    transition: 0.3s;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;   
}

#calendar{
    font-size: 6vw;
}

#clock {
    font-size: 15vw;
}

#changeMode{
    cursor: pointer;
    font-size:4vw;
    text-decoration: underline;
}

#changeMode:hover{
    color:darkgray;
    transition: 0.3s;
}

/* Viewport taller than wide (mobile) */
@media (max-aspect-ratio: 1/1) {
    .container{
        height: 65vh;
    }
    .content{
        height: 20vh;
        justify-content: space-around;
    }
    #calendar{
        font-size: 7vw;
    }
    #changeMode{
        font-size: 5vw;
    }
    #code{
        height: 4vh;
    }
  }