/* GENERAL */
@font-face {
    font-family: 'a-dripping-marker';
    src: url('fonts/a-dripping-marker-font/ADrippingMarker-Ddw1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100%;
    background-image: url("../img/background/background.svg");
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: center;
    overflow-y: auto;
}


h1 {
    text-decoration: underline 0.25vh;
}





/*TOP NAV BAR STUFF*/
#top-bar {
    background-color: rgba(0, 0, 0, 0.836);
    width: 90%;
    height: 10vh;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 1.8vh;
    left: 50%;
    transform: translate(-50%);
    border: none;
    z-index: 9999;
    overflow: visible;
    border-radius: 4vh;
}

#name-mobile,
#name-desktop {
    height: 8vh;
}

.name-item {
    margin-left: 1.5vh;
}

.name-item,
.name-item a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#top-bar .img a img,
#top-bar .img img,
#top-bar .txt a,
#menu-button {
    display: block;
    height: 9.5vh;
    padding-left: 0.4vw;
}

#top-bar .txt {
    /*text*/
    text-decoration: none;
    color: #EEE;
    margin-right: 2vh;
    margin-left: 2vh;
    border-radius: 2vh;

    border: transparent solid 0.5vh;

    font-size: 6vh;
    font-family: sans-serif;
    font-weight: normal;
    text-align: center;
}

#top-bar .txt:hover {
    color: #999;
}

#top-bar .current {
    background-color: #333;
    border: white solid 0.5vh;
}

#nav-container {
    display: flex;
    align-items: center;
}











/* DROPDOWN STUFF */


#menu-checkbox {
    display: none;
}

.dropdown {
    display: none;
    position: fixed;
    top: 10.2vh;
    right: 0;
    background-color: #333;
    min-width: 6vmin;
    border-radius: 5vmin;
    z-index: 1;
}

.dropdown a {
    float: none;
    color: white;
    font-size: 10vmin;
    padding: 1.4vmin 1.8vmin;
    margin: 0.3vmin;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: 5vmin;
    border: beige solid 0.35vmin;
}

.dropdown .current {
    background-color: black !important;
}

.dropdown a:hover {
    background-color: #222 !important;
}



#menu-checkbox:checked~.dropdown {
    display: block;
}


#menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.75vh;
}

#menu-checkbox~#menu-checkbox-label img {
    background-color: #333;
    border: 0.4vh solid white;
    border-radius: 3.5vh;
    height: 8vh;
    padding: 0;
}

#menu-checkbox:checked~#menu-checkbox-label img {
    background-color: #555;
}




/* Contact dialog */
#mail-confirm-dialog {
    position: fixed;
    display: flex;
    z-index: 9998;
    visibility: hidden;
    flex-direction: column;
    background-color: rgba(219, 219, 219, 0.925);
    border-radius: 2vmin;
    border: 1vmin black solid;
    width: 85vmin;
    height: 55vmin;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#mail-confirm-dialog h1 {
    text-align: center;
}

#mail-confirm-dialog p {
    font-size: 3vmin;
}

.notice {
    color: red;
}

.button-container {
    width: 100%;
    height: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.button {
    display: flex;
    background-color: white;
    width: auto;
    height: 8vmin;
    border-radius: 0.5vmin;
    border: 1vmin black solid;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 7.5vmin;
    margin-left: 0.5vmin;
    margin-right: 0.5vmin;
}

.button img{
    display: block;
    height: 7.8vmin;
    width: 7.8vmin;
}

.button:hover {
    background-color: #999;
    cursor: pointer;
}

.button:hover * {
    cursor: pointer;
}

.button a {
    text-decoration: none;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

#display-contact-notice {
    display: none;
}

#display-contact-notice:checked~#mail-confirm-dialog {
    visibility: visible;
}





/*CONTENT*/
#content {
    min-height: 100vh;
}

.spread {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85);
    position: relative;
    top: 15vh;
    width: 100%;
    height: 60vmin;
    color: #111;
}

.spread img {
    height: 3.5vh;
    width: 3.5vh;
}

.grey {
    background-color: rgba(119, 119, 119, 0.65);
}

.legal_notice {
    font-size: 2vmin;
}





/*FOOTER*/
footer {
    position: relative;
    display: flex;
    margin-top: 20vh;
    justify-content: center;
    align-items: center;
    background-color: rgba(138, 138, 138, 0.63);
    width: 100%;
    color: lightgrey;
    height: 20vw;
    border-top: 1vw black dotted;
}

footer a,
footer label {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.274);
    border-radius: 1vw;
    height: 15vw;
    width: 15vw;
    margin: 1.5vw;
}

footer a:hover,
footer label:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

footer a img,
footer label img {
    width: 14vw;
    height: 14vw;
}

#nojs-img {
    position: absolute;
    right: 1vw;
    bottom: 1vw;
    height: 5vw;
    width: auto;
}

#copyright {
    position: absolute;
    bottom: 0.75vw;
    left: 50%;
    transform: translateX(-50%);
    font-family: monospace;
    font-size: 1vw;
    color: black;
}


/*Mobile and Desktop selectors for top bar items*/
@media screen and (min-aspect-ratio: 16/9) {

    /*desktop*/
    #name-mobile,
    #menu-button {
        display: none;
    }

    #name-desktop {
        display: inline;
    }

    .txt {
        display: block;
    }
}

@media screen and (max-aspect-ratio: 16/9) {

    /*mobile*/
    #name-desktop,
    .txt {
        display: none;
    }

    #name-mobile {
        display: inline;
    }

    #menu-button {
        display: flex;
    }
}

/*Mobile selector for background*/
@media screen and (max-aspect-ratio: 14/9) {

    /*mobile*/

    body {
        background-image: url("../img/background/mobile background.svg");
    }
}