/* FONTS */

    @font-face {
        font-family: 'Enhance';
        src: url('../media/fonts/Enhance.ttf');
    }

    @font-face {
        font-family: 'tiny';
        src: url('../media/fonts/TinyUnicode.ttf');
    }

/*  HIDE SCROLLBAR*/

    * {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }

    *::-webkit-scrollbar {
        display: none;  /* Chrome, Safari and Opera */
    }

/* BODY */
        
    * {
        box-sizing: border-box;
    }

    body {
        padding: 0;
        margin: 0;

        background-image: url('../media/bg.png');
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        background-position: bottom left;
        
    }


/* BASE STRUCTURE */

    a.button {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        padding: 6px;

        cursor: pointer;
        text-decoration: none;

        background: #F39C11;
        border: 4px outset #fbc66a;
        box-shadow: 6px 6px 8px rgba(12, 0, 0, 0.125);

        color: ghostwhite;
        font-size: 48px;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.250);
    }

    a.button:hover {
        text-shadow: -2px -2px 2px rgba(0, 0, 0, 0.250);
        border: 4px inset #fbc66a;
        color: ghostwhite;
        text-decoration: none;

    }
		
    img {
        max-width: 100%;
    }

    .border {
	    border: 6px ridge #7EA35A;
    }


/* TEXT */

    body {
        font-family: 'Enhance';
        color: ghostwhite;
        letter-spacing: 0.3px;
    }

    small {
        line-height: 40%;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: 'tiny';
        text-transform:uppercase;
        font-weight: normal;
        margin: 0rem;
        line-height: 80%;
    }

    p {
        font-size: 1.8rem;
        margin: 0em 0em 0.5em 0em;
        line-height: 100%;
        text-align: justify;
    }

    p:last-child {
        margin: 0px;
    }

    small {
        font-size: 1.25rem;
    }

    h1 {
        margin: 0em 0em 0.1em;
        font-size: 5.4rem;
        width: 100%;
    }

    h2 {
        font-size: 4.8rem;
    }

    h3 {
        font-size: 3rem;
    }

    h4 {
        font-size: 3.2rem;
    }

    h5 {
        font-size: 2.2rem;
    }

    h6 {
        font-size: 1.6rem;
    }

    b {
        font-family: 'tiny';
        font-weight: normal;
        font-size: 1.2em;
    }

    li, dd, td {
        font-size: 1.6rem;
    }

    dt, figcaption {
        font-size: 1.8rem;
    }

    #devlog a, #todo a {
        color: #ffb53d;
        text-decoration: none;
    }

    #devlog a:hover, todo a:hover {
        text-decoration: underline;
    }

    p a, p a:link, p a:visited, p a:active {
        color: #ffb53d;
        text-decoration: none;
    }

    p a:hover {
        text-decoration: underline;
    }

    a, a:link, a:visited, a:active {
        color: ghostwhite;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

/* LISTS */

    ul, dl {
        list-style-type: '> ';
        margin: 0;
    }

    .list-horizontal {
        list-style: none;
    }

    .list-horizontal li, .list-horizontal dd {
        display: inline;
    }

    .list-horizontal li:before, .list-horizontal dd:before {
        content: '';
    }

    .fig-list{
        padding: 0;
        margin: 0;
    }

    .figcaption-list {
        padding: 0;
        margin: 0;
    }

    th,td {
        padding-right: 16px;
    }

    /* POP UP */
    


.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  visibility: hidden;
  opacity: 0;
  z-index: 2;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 10vh auto;
  max-width: 60%;
  position: relative;
}


@media screen and (max-width: 700px){
  .popup{
    width: 70%;
  }
}

/* TABLE */

/* ANIMATIONS */

    .floaty {
        -webkit-animation: mover 5s -1s infinite alternate;
        animation: mover 5s -1s infinite alternate;
        animation-timing-function: ease-in-out;
        
        -webkit-filter: drop-shadow(2px 5px 2px #00000057);
        filter: drop-shadow(2px 5px 2px #00000057);
    }

    @-webkit-keyframes mover {
        0% { transform: translateY(-30px); }
        100% { transform: translateY(-10px); }
    }

    @keyframes mover {
        0% { transform: translateY(-30px); }
        100% { transform: translateY(-10px); }
    }

    
    .scroll-parent {
        position: relative;
        width: 100%;
        height: auto;
        padding: 1rem;
        overflow-x: hidden;
    }

    .scroll-element {
        width: inherit;
        height: inherit;
        position: absolute;
        gap: 12px;
        left: 0%;
        top: 0%;
        display: flex;
        align-items: left;
        justify-content: space-around;
        animation: scroll-element 16s linear infinite;
    }

    .scroll-element a img {
        max-width: 88px
    }

    @keyframes scroll-element {
        from {
            left: 120%;
        }

        to {
            left: -500%;
        }
    }

    .scroll-element:hover,
    .scroll-element:hover {
        -webkit-animation-play-state: paused;
        -moz-animation-play-state: paused;
        -o-animation-play-state: paused;
        animation-play-state: paused;
    }

    .scroll-parent:hover>.scroll-element:not(:hover) {
        -webkit-animation-play-state: paused;
        -moz-animation-play-state: paused;
        -o-animation-play-state: paused;
        animation-play-state: paused;
    }
    .scroll-parent {
        position: relative;
        width: 100%;
        height: auto;
        padding: 1rem;
        overflow-x: hidden;
    }

    .scroll-element {
        width: inherit;
        height: inherit;
        position: absolute;
        gap: 12px;
        left: 0%;
        top: 0%;
        display: flex;
        align-items: left;
        justify-content: space-around;
        animation: scroll-element 16s linear infinite;
    }

    .scroll-element a img {
        max-width: 88px
    }

    @keyframes scroll-element {
        from {
            left: 120%;
        }

        to {
            left: -500%;
        }
    }

    .scroll-element:hover,
    .scroll-element:hover {
        -webkit-animation-play-state: paused;
        -moz-animation-play-state: paused;
        -o-animation-play-state: paused;
        animation-play-state: paused;
    }

    .scroll-parent:hover>.scroll-element:not(:hover) {
        -webkit-animation-play-state: paused;
        -moz-animation-play-state: paused;
        -o-animation-play-state: paused;
        animation-play-state: paused;
    }

/* LAST FM */

    .nowplaying {
        font-size: 1.8em;
    }

    /* WAFRING */

    #wafring {
        a {
            color: ghostwhite;
        }

        p {
            text-align: center;
        }
    }

    .blinkies img {
        width: 150px;
    }

@media screen and (max-width: 500px) {

    @-webkit-keyframes mover {
        0% { transform: translateY(-10px); }
        100% { transform: translateY(10px); }
    }

    @keyframes mover {
        0% { transform: translateY(-10px); }
        100% { transform: translateY(10px); }
    }
    
}