
/*
    © Joey Smalen. All rights reserved.
*/

* {
    margin: 0;
    padding: 0;
}

html {
    margin: 0;
    height: 100%;
    background-color: #008888;
    background-image: linear-gradient(to right, #009966, #006699);
    min-height: 100%;
    background-position: center;
    background-size: cover;
}

body {
    padding-top: constant(safe-area-inset-top);
    padding-top: env(safe-area-inset-top);
    height: calc(100% + (var(--safe-area-inset-top) + var(--safe-area-inset-bottom)));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 14px;
}

/* Layout */
header {
    position: absolute;
    top: 0;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 90vh;
}

main > div {
    color: #223;
    font-size: 1.6em;
}

strong {
    font-weight: 500;
}

footer > .leading {
    position: absolute;
    bottom: 0;
    margin: 10px 20px;
    font-size: 90%;
}

footer > .trailing {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 10px 20px;
    font-size: 90%;
}

/* Basic styling */
a {
    color: inherit;
    text-decoration: none;
    transition: ease-in-out 20ms;
}

a:hover {
    text-decoration: underline;
}

b, strong {
    font-weight: 600;
}

/* Utility */
.overflow-hidden {
    overflow: hidden;
}

.text-white {
    color: #fff;
}

.text-grey {
    color: rgb(78, 78, 78);
}

.text-bold {
    font-weight: 700 !important;
}

.list-style-none {
    list-style: none;
}

.inline-list li {
    float: left;
}

.no-underline {
    text-decoration: none !important;
}

.fallback {
    font-weight: 300;
    color: #3b3c3d;
    transition: ease-in 200ms;
}

.fallback-nohover {
    color: #3b3c3d;
    font-weight: 500;
}

.fallback-main {
    color: #333334;
    font-weight: 600;
}

.fallback:hover {
    color: #e9e9e9;
}

.ml-16 {
    margin-left: 16px;
}

/* Responsive */
@media screen and (max-width: 600px) {
    main {
        min-height: 80vh;
    }

    main > img {
        width: 90%;
        margin: 5px;
    }
}

@media screen and (max-width: 425px) {
    footer > .trailing li {
        float: none;
        text-align: right;
    }
}
