/* Whole Page */
* {
    box-sizing: border-box;
}
.main {
    background-image: url("../media/earth7.jpg");
    border: none;
    margin: 0px;
    padding: 0px;
}

.an-main {
    background-image: url("../media/alogo.png");
    background-repeat: repeat;
    border: none;
    margin: 0px;
    padding: 0px;
}

.an-header img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: unset;
    width: 80%;
}

.an-header {
    background-color: #e6e6e6;
    text-align: center;
}

.an-header p {
    font-family: "Roboto Mono", monospace;
}

.an-nav {
    display: block;
    text-align: center;
    background-color: #e6e6e6;
    border-top: 2px solid white;
    border-left: 2px solid white;
    border-right: 2px solid #888888;
    border-bottom: 2px solid #888888;
    height: 35px;
    position: relative;
    overflow: hidden;
}

.an-nav a {
    float: left;
    text-decoration: none;
    font-family: "Roboto Mono", monospace;
    height: 100%;
    width: 18%;
    border-top: 2px solid white;
    border-left: 2px solid white;
    border-right: 2px solid #888888;
    border-bottom: 2px solid #888888;
    color: black;
}

.an-nav a:hover {
    color: darkblue;
    border-top: 2px solid #888888;
    border-left: 2px solid #888888;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    text-decoration: underline;
}

.an-nav a:active {
    color: darkblue;
    border-top: 2px solid #888888;
    border-left: 2px solid #888888;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    text-decoration: underline;
}

.an-nav input {
    float: right;
    position: absolute, relative;
    transform: translate(0, 25%);
    width: 18%;
    margin-right: 10px;
}

.an-sidebar {
    background-color: transparent;
    min-height: 150vh;
}
.an-footer {
    border-top: 2px solid white;
    border-left: 2px solid white;
    border-right: 2px solid #888888;
    border-bottom: 2px solid #888888;
    background-color: #e6e6e6;
    text-align: center;
}
.an-footer p {
    
    font-family: "Roboto Mono", monospace;
    color: black;
}
.an-infobox {
    background-color: #e6e6e6;
    text-align: center;
}
.an-infobox p {
    padding: 10px;
}
.an-infobox h3 {
    font-family: "Roboto Mono", monospace;
    color: black;
    font-weight: normal;
    font-size: medium;
    border-bottom: 1px dashed black;
}
.an-post {
    border-top: 2px solid white;
    border-left: 2px solid white;
    border-right: 2px solid #888888;
    border-bottom: 2px solid #888888;
    text-align: left;
    padding: 10px;
}
.an-dir {
    border: inset;
    padding: 10px;
    text-align: left;
    height: 400px;
    overflow: scroll;
}
.an-dir h3 {
    font-family: "Roboto Mono", monospace;
font-weight: normal;
    font-size: small;
    border-bottom: 1px dashed black;
}
.an-dir p {
    font-family: "Roboto Mono", monospace;
}
.an-dir a {
    font-family: "Roboto Mono", monospace;
    font-size: smaller;
    color: black;
    text-decoration: underline;
    margin-top: 0px;
}
.an-dir a:hover {
    color: darkblue;
}
.an-dir a:active {
    color:darkblue;
}
.an-puzz img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
  }
/* Desktop Formatting */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

[class*="col-"] {
    float: left;
}
.row::after {
    content: "";
    clear: both;
    display: table;
}
/* Header */
/* Mobile Formatting */
@media only screen and (max-width: 899px) {
    [class*="col-"] {
        width: 100%;
        float: left;
    }
    .header {
        display: block;
        overflow: hidden;
        width: 100%;
        background-color: #222222;
        z-index: 100;
    }
    .header a:not(:first-child) {display: none;}
    .header a:first-child {
        display: block;
        text-align: right;
        border-bottom: none;
        padding: 0px 10px 0px 0px ;
    }
    .header .a:first-child:hover {
        border-bottom: none;
        color: #ff7019;
    }
    .header.responsive {position: relative;}
    .header.responsive a:not(:first-child) {
        display: block;
        text-align: right;
        border-bottom: none;
        padding: 10px;
    }
    .header.responsive a:hover {
        border-bottom: none;
        color: #ff7019;
    }   
    .header .notlink {
        display: block;
        text-align: left;
        height: unset;
        width: 50%
    }
    .dropdown {
        display: none;
    }
    .drop-links {
        display: none;
        position: relative;
        background-color: #222222;
        z-index: 100;
    }
}

/* Navigation Bar */
@media only screen and (min-width: 900px) {
    .header {
        display: flex;
        justify-content: right;
        align-items: center;
        overflow: hidden;
        background-color: #222222;
        z-index: 100;
        height: 70px;
    }
    .header img {
        height: 50px;
    }
    .header .icon {
        display: none;
    }
    .drop-links {
        display: none;
        position: absolute;
        background-color: #222222;
        padding-top: 26px;
        z-index: 50;
    }
    .dropdown:hover .drop-links {
        display: block;
    }
    .header a:hover {
        background-color: transparent;
        border-bottom: 1px solid #ff7019;
        color: #ff7019;
    }
    .dropdown:hover {
        background-color: transparent;
        border-bottom: 1px solid #ff7019;
        color: #ff7019;
    }
    .header .navactive {
        background-color: transparent;
        color: #ff7019;
    }
    .header .notlink {
        border-bottom: 1px solid #222222;
    }
    .header .notlink:hover {
        border-bottom: 1px solid #222222;
    }
    .dropdown {
        float: left;
        overflow: hidden;
        border-bottom: 1px solid #222222;
    }
    .dropdown .dropbtn {
        padding: 26px 15px 26px 15px;
        text-align: center;
        text-decoration: none;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-weight: normal;
        font-size: 85%;
        letter-spacing: 3px;
        color: white;
        border-bottom: 1px solid #222222;
    }
    .drop-links a {
        padding: 15px 15px 15px 15px;
        text-align: center;
        text-decoration: none;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-weight: normal;
        font-size: 85%;
        letter-spacing: 3px;
        color: white;
        border-bottom: 1px solid #222222;
        float: none;
        display: block;
        text-align: left;
    }
    .drop-links a:hover {
        background-color: transparent;
        border-bottom: 1px solid #ff7019;
        color: #ff7019;
    }
    .header .hdr-mobile {
        display: none;
    }    
}
.header a {
    padding: 26px 15px 26px 15px;
    text-align: center;
    text-decoration: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: normal;
    font-size: 85%;
    letter-spacing: 3px;
    color: white;
    border-bottom: 1px solid #222222;
}


/* Footer */
.footer {
    background-color: #222222;
    text-align: center;
    padding: 30px;
    padding-bottom: 10px;
}
.footer p {
    font-weight: normal;
    color: white;
}
.directory {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.directory a {
    font-family: "Open Sans", sans-serif;
    font-size: small;
    color: white;
    text-decoration: none;
    padding-bottom: 15px;
}
.directory p {
    font-family: "Open Sans", sans-serif;
    font-size: small;
    text-decoration: none;
    padding-bottom: 5px;
    margin-top: 0px;
    margin-bottom: 0px;
}
.directory a:hover {
    color: #e6e6e6;
    text-decoration: underline;
}
.copyright p {
    font-family: "Cambria", serif;
    text-decoration: none;
    padding-top: 20px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}
/* Fonts & Headings */
h1 {
    font-family: Verdana, sans-serif;
    font-weight: bold;
    font-style: oblique;
    font-size: 120%;
}

h2 {
    font-family: "Roboto Mono", monospace;
    color: #4491e8;
    font-weight: bold;
}

h3 {
    font-family: "Open Sans", sans-serif;
    font-weight: 100%;
    color: black;
}
h4 {
    font-family: "Open Sans", sans-serif;
    font-weight: 100%;
    color: black;
}

p {
    font-family: "Open Sans", sans-serif;
    color: black;
}

/* Sidebar Content */
.sidebar {
    background-color: transparent;
    min-height: 40px;
}

/* Main Content */
.content {
    background-color: rgba(255, 255, 255, 0.75)
}
.infobox {
    float: left;
    margin: auto;
    text-align: center;
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: rgba(255, 255, 255, 0.6);
}



.row {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
}
.section {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: flex-start;
    padding-left: 20px;
    padding-right: 20px;
}
.section iframe {
    justify-content: center;
    margin: auto;
    align-items: center;
}
.section h2 {
    color: #4491e8;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-style: oblique;
    font-weight: 100%;
    padding-left: 15%;
    padding-right: 15%;
}
.section p:last-child {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 5px solid #4491e8;
}
.infobox a {
    font-family: "Open Sans", sans-serif;
    font-weight: normal;
    text-decoration: none;
    color: black;
}
.section a {
    color: steelblue;
}
.product a {
    color: steelblue
}
.section b {
    color: black;
}
.infobox a:hover {
    text-decoration: underline;
    color: #464646;
}
.infobox h1 {
    color: #e6e6e6;
    text-align: center;
    text-decoration: underline;
    text-shadow: 2px 2px 5px #000000;
    font-size: larger;
}
.mkadvanced {
    display: flex;
    background-image: url(../media/mathkeeb_cropped.jpg);
    background-position: center;
    justify-content: center;
    align-items: center;
    height: 200px;
}
.printinghdr {
    display: flex;
    background-image: url(../media/printer_cropped.jpg);
    background-position: center;
    justify-content: center;
    align-items: center;
    height: 200px;
}

/* Image Gallery */
.gallery {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}
.slide {
    display: none;
    justify-content: center;
}
.slide img {
    max-height: 70vh;
    max-width: 80vw;
    border: 2px solid rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    box-shadow: 0 0 10px black;
}
.gallery a {
    cursor: pointer;
    align-items: center;
    padding: 16px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 5px 0 0 5px;
    user-select: none;
    -webkit-user-select: none;
}
.gallery a:hover {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}
.gallery p {
    display: table-caption;
    caption-side: bottom;
    width: 100%;
    justify-self: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    margin-top: 0;
}
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #777777;
    border-radius: 50%;
    transition: background-color 0.6s ease;
}
.row .active, .dot:hover {
    background-color: #464646;
}

/* Store Page Product */
.product {
    display: flex;
    flex-flow: row wrap;
    padding: 10px;
    align-items: flex-start;
    text-align: left;
    background-color: white;
}
.product .detail {
    flex-flow: column wrap;
}
.product h2 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #464646;
    padding-left: 20px;
    border-bottom: 5px solid #4491e8;
    font-weight: bold;
}
.product img {
    margin: 20px;
    border: 5px solid #464646;
    border-radius: 5px;
}
.product .dl {
    color: black;
    padding: 5px;
    border: 1px solid black;
    border-radius: 5px;
    margin: 5px;
    text-decoration: none;
}
.product .dl:hover {
    color: #464646;
    border: 1px solid #464646;
    border-radius: 10px;
    text-decoration: none;
}

/* McDeimos About Page */
.mcdeimos {
    display: flex;
    flex-flow: column wrap;
    padding: 10px;
    align-items: flex-start;
}
.mcdeimos h3 {
    padding-right: 20px;
    padding-left: 20px;
    border-bottom: 5px solid #ffe705;
}
.mcd-nav .navactive {
    color: #ffe705;
}
.mcd-nav a:hover {
    color: #ffe705;
    border-bottom: 1px solid #ffe705;
}

/* About Page */
.row .leftpfp {
    max-width: 50%;
    flex-shrink: 50%;
    padding-right: 5px;
    border-left: 5px solid #ff7019;
}
.row .rightpfp {
    max-width: 50%;
    flex-shrink: 50%;
    padding-left: 5px;
    border-right: 5px solid #ff7019
}
.row h3 {
    padding: 5px;
    border-bottom: 5px solid #4491e8;
}
.row p {
    padding-left: 10px;
    padding-right: 10px;
    text-align: justify;
}
.contact h3 {
    color: transparent;
}

/* Mobile Parallax Optimization */
.parallax {
    float: none;
    margin: auto;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.6);
}
.parallax .mathkeeb {
    background-image: url(../media/mathkeeb.jpg);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}
.parallax .printer {
    background-image: url(../media/printer.jpg);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}
.parallax .transparent {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 50vh;
}
/* Desktop Parallax Optimization */
@media only screen and (min-width: 900px) {
    .parallax .mathkeeb {
        background-image: url(../media/mathkeeb.jpg);
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 78%;
    }
    .parallax .printer {
        background-image: url(../media/printer.jpg);
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 78%;
    }
    .parallax .transparent {
        height: 60vh;
    }
    .parallax .transparent2 {
        height: 60vh;
    }
}
.parallax .opaque {
    display: flex;
    flex-direction: column;
    background-color: white;
    background-image: none;
    padding: 5px;
    margin: 0px;
}
.parallax .transparent .overlay {
    background-color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin: 0px;
}
.parallax .transparent h1 {
    color: black;
    font-family: "Cambria Math", Cambria, serif;
    font-style: normal;
    text-decoration: none;
    font-size: 40px;
    margin-top: -5px;
    margin-bottom: 0px;
    padding-bottom: 10px;
}
.parallax .transparent h2 {
    color: #464646;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: normal;
    font-size: 95%;
    padding-top: 10px;   
}
.parallax .transparent p {
    padding-bottom: 0px;
    letter-spacing: normal;
    color: #464646;
    margin-top: -15px;
}
.parallax .opaque p:last-child {
    padding-bottom: 5%;
}
.parallax .opaque h1 {
    color: black;
    font-family: "Cambria Math", Cambria, serif;
    font-style: italic;
    font-weight: 100%;
    text-align: center;
}
.parallax .opaque h1::before {
    content: open-quote;
    font-size: 400%;
    font-weight: bold;
    color: #4491e8;
}

.parallax .opaque h1::after {
    content: close-quote;
    font-size: 400%;
    font-weight: bold;
    color: #4491e8;
}

.parallax .opaque h2 {
    color: #4491e8;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-style: oblique;
    font-weight: 100%;
    padding-left: 15%;
    padding-right: 15%;
}
.parallax .opaque p {
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
}

/* Buttons */
.top-button {
    display: flex;
    padding: 10px;
    background-color: none;
    justify-content: center;
    align-content: center;
}
.top-button a {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: transparent;
    color: #e6e6e6;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    letter-spacing: 3px;
    text-decoration: none;
}
.top-button a:hover {
    color: #ff7019;
}
.top-button a:hover::before {
    content: ">  ";
}
.top-button a:hover::after {
    content: "  <";
}

.social-buttons {
    display: flex;
    flex-flow: row wrap;
    padding-left: 10px;
    padding-right: 10px;
    align-items: center;
    justify-content: center;
}
.fa {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    margin-left: 10px;
    margin-right: 10px;
}
.fa-twitch {
    background-color: #6441a5;
    color: white;
}
.fa-twitter {
    background-color: #55acee;
    color: white;
}
.fa-youtube {
    background-color: #bb0000;
    color: white;
}
.notice {
    background-color: blue;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    margin-bottom: 10px;
}
.notice h1 {
    color: white;
    font-weight: bold;
    font-style: normal;
}
.collapsible {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    letter-spacing: 3px;
    font-weight: bold;
    color: #464646;
    text-align: left;
    border: none;
    border-bottom: 2px solid #464646;
    outline: none;
    transition: 0.4s;
    cursor: pointer;
}
.collapsible:before {
    content: '+  ';
    font-weight: normal;
}
.active:before {
    content: '-  ';
    font-weight: normal;
}
.collapsible:hover, .active {
    background-color: #464646;
    color: #e6e6e6;
    border-bottom: 2px solid #4491e8;
}
.hiddenpanel {
    background-color: white;
    display: none;
    overflow: hidden;
}
.newsection {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: flex-start;
    padding-left: 20px;
    padding-right: 20px;
    background-color: white;
}
.newsection h3 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    letter-spacing: 3px;
    border-bottom: 2px solid #464646;
    color: #464646;
    font-size: 14px;
    padding: 0px 100px 10px 30px
}
.pros, .cons, .stats, .fees {
    padding: 10px;
}
.pros ul, .cons ul, .stats ul, .fees ul {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    margin-left: 0px;
    padding: 0px 0px 10px 0px;
}
.pros ul {
    color: green;
    border-bottom: 2px solid green;
}
.stats ul {
    color: #464646;
    border-bottom: 2px solid #464646;
}
.fees ul {
    color: #464646;
    border-bottom: 2px solid #464646;
    text-align: left;
}
.hiddenpanel li {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    list-style-position: inside;
    list-style-type: none;
    padding-left: 20px;
    padding-bottom: 5px;
}
.stats li:before {
    content: '> ';
    color: #464646;
    font-size: 16px;
    font-weight: bold;
}
.fees li:before {
    content: '$ ';
    color: green;
    font-size:  16px;
    font-weight: bold;
}
.pros li:before {
    content: '+ ';
    color: green;
    font-size: 16px;
    font-weight: bold;
}
.cons ul {
    color: red;
    border-bottom: 2px solid red;
}
.cons li:before {
    content: '- ';
    color: red;
    font-size: 16px;
    font-weight: bold;
}
.hiddenpanel p:last-child {
    padding-bottom: 10px;
    border-bottom: 2px solid #4491e8;
}
.newsection a {
    color: #4491e8;
}
.infobox h1 {
    font-size: 16px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    letter-spacing: 3px;
    font-weight: bold;
    font-style: normal;
    padding-bottom: 5px;
    text-decoration: none;
    color: #e6e6e6
}
