
/* Mobile Design Style to waste less screen space on small devices
    Will also put the "Links"-bar on the top of the page with a 95px size.
*/

@import url("classes.css"); /* Styles valid for both desktop and mobile */

body {
    overflow: auto;
    background: url("../images/wallpaper.jpg");
    background-size: cover;
}
#wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: rgba(100, 100, 100, 0.2);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    overflow: auto;
}

#title {
    position: sticky;
    top: 0px;
    left: 0;
    color: #fff;
    background-color: rgba(200, 200, 200, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-sizing: border-box;
    border: 5px solid saddlebrown;
    border-radius: 0px 0px 15px 15px;
    text-align: center;
    filter: drop-shadow(2px 2px 2px black);
    -webkit-filter: drop-shadow(2px 2px 2px black);
    z-index: 100;
}

#content {
    -webkit-transform: translate3d(0, 0, 0); /* To make sure Safari/WebKit renders properly, specifically on mobile devices */
    position: relative;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 5px;
    padding-right: 5px;
    color: #ffffff;
    filter: drop-shadow(2px 2px 2px black);
    -webkit-filter: drop-shadow(2px 2px 2px black);
}


#copyright {
    position: sticky;
    left: 0px;
    bottom: 0px;
    border: 5px solid saddlebrown;
    border-radius: 15px 15px 0px 0px;
    background-color: rgba(144, 144, 144, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-sizing: border-box;
    padding: 5px;
    color: #fff;
    filter: drop-shadow(2px 2px 2px black);
    -webkit-filter: drop-shadow(2px 2px 2px black);
}

#links {
    display: block;
    -webkit-transform: translate3d(0, 0, 0); /* To make sure Safari/WebKit renders properly, specifically on mobile devices */
    overflow: auto;
    position: fixed;
    top: -200vh;
    left: 0px;
    height: 100%;
    width: 100%;
    border: 5px solid saddlebrown;
    border-radius: 0px;
    box-sizing: border-box;
    padding: 5px;
    background-color: rgba(144, 144, 144, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    filter: drop-shadow(2px 2px 2px black);
    -webkit-filter: drop-shadow(-2px -2px 2px black);
    z-index: 120;
}

#title #caption {
    display: block;
}

@media only screen and (max-height: 320px) { /* for smartwatches with a tiny screen */
    #copyright {
        position: relative;
    }
    #title #caption {
        display:none;
    }
}

#trigger:checked ~ #links {
    -moz-transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    display: block;
    top: 0px;
}

#trigger:not(checked) ~ #links {
    -moz-transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    display: block;
    top: -200vh;
}

#links a, #links label {
    display: block;
    padding-left: 10px;
    padding-right: 10px;
    user-select: none;
}

#links label {
    margin-top: 25px;
}

#links::first-line {
    font-size: x-large;
    color: white;
}

#links::first-letter {
    color: red;
}