* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: "Roboto Mono", monospace;
    padding: 0;
    margin: 0;
    display: flex;
}

img {
    /* unused but necessary for inner images */
    max-width: 100%;
    max-height: 100vh;
}

.wrapper {
    /* layout */
    width: 100%;
    height: 100vh;
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.slide {
    /* layout */
    height: 100vh;
    flex: 1;
    display: flex;
    /* content styling OPTIONAL*/
    align-items: center;
    justify-content: center;
    padding: 10vh;
    /* background styling */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inner {
    color: white;
    font-size: 1.3em;
}

/* Background images on each slide */
.a {
    background-color: rgb(158, 158, 158);
    background-image: url("../img/background.jpg");
}

.copyright {
    position: fixed;
    bottom: 5px;
    left: 5px;
    color: white;
    background-color: #08200b99;
    padding: 5px;
    border-radius: 15px;
    height: 30px;
    overflow: hidden;
    max-width: 30px;
    transition: max-width 0.6s;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.copyright:hover {
    max-width: 680px;
}

.copyright > div {
    padding: 0 5px;
    display: inline-block;
}

.copyright img {
    height: 100%;
}

.copyright a {
    color: inherit;
}
#hideAll {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: white;
    z-index: 99; /* Higher than anything else in the document */
}

.daylight-wrapper {
    width: 500px;
    display: flex;
    background: #0000002e;
}
.daylight-bar {
    width: 100%;
}
.daylight {
    height: 10px;
    display: inline-block;
    background: #00000066;
    width: 25px;
    font-size: 10pt;
}
.daylight.delta::after {
    content: attr(data-after);
    position: relative;

    left: -45px;
    top: 20px;
}
.daylight.delta::before {
    content: attr(data-before);
    border-right: 2px solid #00000066;
    padding-right: 4px;
    margin-right: 4px;
    position: relative;
    left: -45px;
    top: 20px;
}
.daylight.light {
    flex-grow: 2;
}

.clock-wrapper {
    display: flex;
    background: #00000061;
    text-align: center;
    padding: 20px;
    font-size: 24pt;
    flex-direction: column;
    align-items: center;
    height: 150px;
    justify-content: space-evenly;
}
.digit-wrapper,
.cal-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.cal {
    font-size: 10pt;
    justify-content: space-between;
}
.row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
}

#daylight-wrapper {
    --clock-bar: 0px;
}

#daylight-wrapper::before {
    content: "";
    display: block;
    position: relative;
    left: var(--clock-bar);
    border-left: 2px solid #9d9039b8;
}
