/*********** fake bootstrap ***********/

body {
    /* 
	font-size: 1rem;
    font-weight: 400;
	line-height: 1.5;
	*/
    color: #212529;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.muted {
    color: #6c757d !important;
}

/*.card {
    border: 1px solid rgb(206, 212, 218);
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 4px;
    padding: 20px;
	font-size: 16px;
}*/

* {
    box-sizing: border-box;
}



#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

body {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    min-height: 200px;
    /* background-color: rgb(68, 33, 92); */
    /* background-color: rgb(161, 172, 194); */
    background-color: black;
    font-size: 20px;
}


#logo,
#menu {
    position: absolute;
    width: 100%;
    text-align: center;
    color: white;
    letter-spacing: 0.4em;
    font-family: 'Jura';
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#logo {
    top: 50%;
    margin-top: -24px;
    font-size: 40px;
}

#menu {
    font-size: 24px;
    bottom: 12px;
}


a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: rgba(255, 255, 255, 0.1);

    text-shadow: 0px 0px 5px rgb(255, 255, 255);
}

#menu a {
    display: inline-block;
    margin-left: 18px;
    margin-right: 18px;
    white-space: nowrap;
}

#info {
    position: absolute;
    bottom: 12px;
    right: 12px;
    color: rgba(255, 255, 255, 0.685);
}


#info-overlay {
    display: none;
    font-size: 15px;
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 240px;
    /* height: 240px; */
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 12px 36px 12px;

}

#info-overlay button {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 12px 6px 12px;
    margin: 2px;
}

#info-overlay button:hover {
    background-color: rgba(255, 255, 255, 0.6);
    color: rgba(0, 0, 0, 0.8);
}

#info-overlay a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;

}

#info:hover+#info-overlay {
    display: block;
}



#info-overlay:hover {
    display: block;
}


/********* OVERLAY *********/

#overlay[show] {
    display: flex;
    align-items: center;
    justify-content: center;
}


#overlay {
    display: none;
    background-color: rgba(0, 0, 0, 0.35);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#me {
    position: relative;
    background-color: white;

    padding: 64px;

    border: 1px solid rgba(0, 0, 0, 0.125);
    border: 1px solid rgb(206, 212, 218);
    border-radius: 4px;

    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.5);

    text-align: center;
}


#me h1 {
    font-size: 2rem;
    letter-spacing: 0.05rem;
    font-family: 'Jura';
    margin: 0.2rem;
}

#me .fa-github {
    color: #24292E
}

#me .fa-twitter {
    color: #1DA1F2
}

#me .socials {
    margin-top: 2rem;
    font-size: 2rem;
    letter-spacing: 0.8rem;
}

#me .portrait {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    border-radius: 50px;
    background-color: white;

    border: 8px solid white;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);

}



#me a {
    color: gray;
}



@media screen and (max-width: 480px) {

    #me {
        width: 100%;
    }

    #logo {
        font-size: 20px
    }
    #menu {
        font-size: 14px;
        bottom: 40px;
    }
}