@import "native.css";

@font-face {
    font-family: 'yellow_magicianregular';
    src:
         url('../fonts/YellowMagician-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

a:link{
        text-decoration: underline;
}


a:visited{
        color: none;
        text-decoration: underline;
        opacity: 1;
}

p{
        margin-right: 15px;
        margin-left: 15px;
        margin-top: 3px;
        opacity: 1;
        font-family: 'Libre Baskerville', serif;
        font-size: 14px;
        line-height: 1.4;
}

a:hover{
        color: #000080;
        text-decoration: none;
        opacity: 1;
}

a:active{
        color: #FFFFFF;
        text-decoration: none;
        opacity: 1;
}

div.barTop{
        background-color: #F0F0F0;
        text-align: center;
}

body{
        background-color: #080808;
        margin: 0px;
        height: 100%;
        display: flex;
        flex-direction: column;
        background-repeat: no-repeat;
        background-attachment: fixed;
}

h1.logo{
        margin-top: 0px;
        margin-left: 1%;
        margin-bottom: 0px;
        color:  #101010;
        font-family: 'Nanum Brush Script', cursive;
        font-size: 60px;
        display: inline-block;
        font-weight: normal;
}

h1{
        font-family: 'yellow_magicianregular', serif;
        margin-bottom: 3px;
        margin-left: 15px;
        margin-top: 10px;
        text-transform: uppercase;
}

h1.contact{
        margin-top: 0px;
        margin-right: 15px;
        margin-bottom: 0px;
        float: right;
        color: #080808;
        font-family: 'yellow_magicianregular', serif;
        font-size: 42px;
        display: inline-block;
        text-align: right;
        text-transform: uppercase;
}

h2{
        font-family: 'yellow_magicianregular', serif;
        margin-bottom: 3px;
        margin-left: 15px;
        margin-top: 10px;
        text-transform: uppercase;
}

h3{
        font-family: 'yellow_magicianregular', serif;
        margin-bottom: 3px;
        margin-left: 15px;
        margin-top: 10px;
        text-transform: uppercase;
}


/* *** TOP MENU *** */
div.header{
        margin-bottom: 1.5rem;
}

div.menu {
        display: flex;
        align-items: center;
        height: 114px;

        padding-right: 1.75rem;
        background-color: rgba(10, 10, 10, 0.65);
}

div.menu .items {
        margin-left: auto;
        width: 70%;
        display: flex;
        justify-content: space-between;

}

a.menuitem {
        font-family: 'Libre Baskerville', serif;
        font-size: 1rem;

        color: #000047;
        color: #ffd412;
        color: white;

        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        font-weight: bold;

        text-decoration: none;
        border-bottom: 2px solid transparent;

}

a.menuitem:hover {
        border-bottom-color: currentColor;
}

div.menu .hamburger {
        display: none;
}

div.menu .hamburger .lines {
        margin-left: 0.75rem;
        margin-bottom: -0.75rem;

        transform: rotate(90deg);
        font-size: 2.6rem;
        display: block;
        font-weight: bold;
}
div.menu .hamburger .text {
        display: block;
        font-family: 'Libre Baskerville', serif;
        font-size: 1.1rem;
}

@media (max-width: 768px) {
        div.menu {
                flex-direction: column;
                align-items: baseline;
                height: 118px;
                padding-right: initial;
        }

        div.menu .controls {
                width: 100%;
                display: flex;
                align-items: center;
        }

        div.menu .hamburger {
                display: inline-block;
                margin-left: auto;
                margin-right: 2rem;
                color: white;
                text-decoration: none;
        }

        /* div.menu .hamburger .lines {
                margin-left: 0.75rem;
                margin-bottom: -0.75rem;
        } */

        div.menu .items {
                width: 100%;
                justify-content: center;
                flex-direction: column;
                text-align: center;
                margin-top: -5px;

                max-height: 0;
                overflow-y: hidden;

                background-color: rgba(10, 10, 10, 0.85);
                z-index: 2;
        }

        div.menu .items.visible {
                max-height: 25rem;
                overflow-y: visible;
        }

        div.menu .items .menuitem {
                margin-top: 0.6rem;
                margin-bottom: 0.6rem;
                font-size: 0.95rem;
        }
}

div.content{
        max-width: 70rem;
        margin-right: auto;
        margin-left: auto;
        margin-top: 5px;
        display: flex;
        flex-direction: row;
        border: 2px solid #040404;
        background-color: rgba(240, 240, 240, 0.7);
}

div.contentItem{
        display: block;
        margin-top: 5px;
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 5px;
        max-width: 100%

}

div.contentSection{
        display: flex;
        flex-direction: column;
        margin-top: 5px;
        width: 33%;
}

div.contentSectionContact{
        display: flex;
        flex-direction: column;
        margin-top: 5px;
        margin-left: auto;
        margin-right: auto;
}

div.contentSectionProject{
        display: flex;
        flex-direction: column;
        margin-top: 5px;
}

div.contentSectionMiddle{
        display: flex;
        flex-direction: column;
        margin-top: 5px;
        width: 33%;
        background: rgba(208, 208, 208, 1)
}


div.contentLeftSideBar{
        display: inline-block;
        margin-top: 5px;
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 5px;
        background-color: #F0F0F0;
        height: 100%;
}

div.barBottom{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #040404;
        margin-bottom: 0px;
        margin-top: 30px;
}

code {
        background-color: #333;
        color: #FFF;
        font-family: 'Ubuntu Mono', monospace;
        font-size: 0.9rem;
}

.highlight pre,
code:not([class^="language-"]) {
        padding: 0.15rem;
}

img.projectlogo{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
        margin-top: 5px;
        margin-bottom: 5px;
}

img.projectSplash{
        padding-left: 15px;
        padding-bottom: 15px;
        padding-top: 15px;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
	max-width: unset;
}

img.magneticon{
        width: 128px;
        transform: translateX(100%);
}

img{
        max-width: 80%
}

img[src*='#left'] {
        float: left;
        margin: 10px 10px 0 10px;
}

img[src*='#right'] {
        float: right;
        margin: 10px 0 10px 10px;
}

h1, h2, h3, h4, h5, h6 { text-transform: uppercase;}

.mastodon-wrapper {
         display: flex;
         gap: 3rem;
         flex-direction: row;
}
 .comment-level {
         max-width: 3rem;
         min-width: 3rem;
}
 .reply-original {
         display: none;
}
 .mastodon-comment {
         margin-bottom: 1rem;
         display: flex;
         gap: 1rem;
         flex-direction: column;
         flex-grow: 2;
}
.comment {
         display: grid;
         column-gap: 1rem;
		 grid-template-areas:
			"avatar name"
			"avatar time"
			"avatar post"
			"...... interactions";
		grid-template-columns: min-content;
		justify-items: start;
}

.comment-reply {
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: 1em;
}

.avatar img {
         width: 6rem;
}
.content {
         flex-grow: 2;
}

.avatar-link {
	grid-area: avatar;
	height: 4rem;
	position: relative;
	width: 4rem;
}

.author {
         display: flex;
	 align-items: center;
	 grid-area: name;
	 gap: 0.5em;
}
.author-name {
         font-weight: bold;
}
.author-name a {
         display: flex;
         align-items: center;
}
.comment-author-date {
         margin-left: auto;
}
.disabled {
         color: #282c37;
}
 .mastodon-comment-content p:first-child {
         margin-top: 0;
}
 .mastodon {
         --dlg-bg: #282c37;
         --dlg-w: 600px;
         --dlg-color: #9baec8;
         --dlg-button-p: 0.75em 2em;
         --dlg-outline-c: #00d9f5;
}

.instance.op {
	background-color: #000000;
	color: #BBBBBB;
}

instance.op::before{
	content: "OP - ";
}

span.button{
	background-color: #F0F0F0;
	color: #080808;
	display: inline-block;	
	position: relative;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
	margin-left: auto;
	margin-right: auto;
        border: 2px;
        border-color: black;
	border-style: solid;
}
