* {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@font-face {
    font-family: 'Doto';
    src: url('../fonts/Doto.woff2') format('woff');
    font-weight: 700;
}

body {
    word-break: normal;
    padding: 1%;
    font-family: 'Doto';
    font-size: medium;
    background-color: #1a1a1a;
    color: #7ef07e;
    display: block;
    margin: auto;
    padding: 5px;
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    margin: 0;
    display: block;
}

div {
    padding: 0;
    margin: 0;
}

p {
    word-break: break-word;
    text-align: left;
}

a {
    color:rgb(51, 200, 234);
    text-decoration:none;
}

a:hover{
    color: #c5f0ff;
}

#header {
    cursor: pointer;
}

.header {
    text-align: center;
}

.header h1 {
    display: block;
}

@media (max-width: 540px) {
    .header h1 {
        display: none;
    }
}

.feature-img {
    text-align: center;
    width: 100%;
}

.inv img {
    width: 64px;
    height: 64px;
    border: 1px;
}

fieldset {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#menu a {display:inline-block;}

#footer p { margin: 0px; }

#footer div { display: flex; gap: 5px; flex-direction: row; }
#footer {
    text-align: center;
}

.inv {display:block;text-align:center;}

pre {
    font-family: 'Doto';
    overflow:auto;
}

#gotop-link{
    text-align: right;
    font-size: 0.8rem;
}

.container {
}

h1 {
    text-align: left;
}

#contact {
    border-style: dashed;
    border-width: 3px;
    border-color: #276a4b;
}

label {
    width: 100%;
}

input {
    width: 100%;
    border: 0px;
    border-radius: 0px;
    padding: 1vh 1vw;
    color: yellow;
    background: black;
    border: lightyellow 1px dashed;
}

.sub-input{
    border-radius: 0px;
    border-width: 1px;
    border-style: solid;
    border-color: #7ef07e;
    padding: 1.1%;
    background: #1a1a1a;
    color: #7ef07e;
    text-align: center;
    padding: 1% 0 1% 0;
}

textarea {
    width: 100%;
    border: 0px;
    border-radius: 5px;
    height: 100px;
}

.row .large-12 .small-12 {
    width: 100%;
    display: inline-grid;
}

.large-6 .small-6 {
    width: 50%;
    display: inline-flex;
}

.success {
    background-color: green;
    color: white;
}

.alert {
    background-color: red;
    color: black;
}

pre { white-space: pre-wrap; }

#stellar-freigher-connect-address {
    position: fixed;
    top: 0;
    right: 7vw;
    z-index: 998;
    padding: 0.5vh 1vw;
    font-size: 0.9rem;
}

.stellar-address {
    border: #1c241c 2px solid;
    color: #ff1e1e;
    padding: 2px;
    width: fit-content;
    margin: 0;
}

#progress {
    word-wrap: break-word;
}

select {
    border: 1px solid;
    background-color: #1a1a1a;
    color: #7ef07e;
}

article {
    font-family: monospace;
    border: none;
    border-radius: 40px;
    border-left: 2px dashed #672178;
    border-right: 1px dashed rgba(255,255,255,0.2);
    padding: 24px;
    margin: 1vh 10vw;
}

.topbar audio {
    width: 25%;
    padding: 2%;
}

.topbar {
    position: fixed;
    top: 0;
    bottom: 0;
    float: left;
    min-height: 48px;
    justify-content: space-between;
    max-height: 48px;
    height: 48px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
}

.main{
    position: fixed;
    top: 48px;
    background-color: #000000;
    bottom: 32px;
    width: auto;
    right: 0vw;
    left: 0vw;
    padding-left: 2vw;
    padding-right: 2vw;
    padding-top: 1vh;
    padding-bottom: 1vh;
    max-height: 90vh;
    height: auto;
    min-height: 45vh;
    overflow-y: auto;
    z-index: 1;
}

.main div {
    height: 100%;
}

.main div div {
    height: auto;
}

.page-layout {
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header img {
    max-width: 48px;
    width: 32px;
    width: -moz-available;
    width: -webkit-fill-available;
}

h1 {
    margin: 0px;
}

#menu {
    text-align: center;
    padding: 2px;
    overflow-y: auto;
    display: flex;
    background: #cacaca;
    width: 100%;
    color:rgb(51, 200, 234);
}

.button {
    border: 0px;
    padding: 7px;
    color: white;
}

button {
    color: rgb(0, 255, 231);
    text-decoration: none;
    font-family: 'Doto';
    border: 1px solid #17392e;
    padding: 10px;
    margin: 1px;
    cursor: pointer;
    display: flex;
    background: #000000;
    border: 1px solid #17392e;
    padding: 1vh 1vw;
    margin: 1px;
    width: auto;
    flex-shrink: 6;
    flex-grow: 0;
    text-align: center;
    flex-flow: row;
    word-break: normal;
}

button:hover {
    background: #535353;
    border-color: #eef7ff;
}

#mobile-menu {
    display: none;
}

.dropdown {
    flex-direction: row;
}

#explore-submenu {
    display: none;
}

#modules-submenu {
    display: none;
}

#double-floor {
    display: flex;
    flex-direction: row;
}

.upper-floor {
    display: flex;
    flex-direction: row;
}

.lower-floor {
    display: none;
    flex-direction: row;
}

.news-text * {
    word-break: break-word;
}

article hr {
    border: none;
    border-top-width: 1px;
    border-top-color: #672178;
    border-top-style: dotted;
    margin-left: 0vw;
    margin-right: 0vw;
}

hr {
    border: none;
    border-top-width: 1px;
    border-top-color: #7ef07e;
    border-top-style: dashed;
    margin-left: 10vw;
    margin-right: 10vw;
}

.hsm {
    z-index: 999;
    position: fixed;
    text-decoration-line: overline;
    background: #1c241c;
    border: 1px solid #1c241c;
    box-shadow: 2px 2px #2c223c;
    top: 0px;
    text-shadow: 1px 2px #461551;
    right: 1vw;
}

audio {
    width: -webkit-fill-available;
    width: -moz-available;
}

summary {
    background-color: #080808;
    padding: 4px;
    word-break: break-all;
}

details {
    border: 2px solid #3a3a3a;
    background-color: #000000;
    padding: 0px;
}

#logs-area-element {
    padding-left: 10px;
}

.zchain-details {
    border: 2px solid #672178;
    padding: 24px;
}

#settings-section {
    gap: 5px;
    flex-direction: column;
}

#settings-section div {
    flex-direction: row;
    width: fit-content;
    height: fit-content;
}

#settings-section p {}
#settings-section label {
    font-weight: bold;
}
#settings-section button {}

#footer {
    margin: 0px;
    font-size: medium;
    position: fixed;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    bottom: 0;
    background: #1c241c;
    width: -moz-available;
    width: -webkit-fill-available;
}

@media (max-width: 850px) {
    #double-floor {
        flex-direction: column;
    }

    .upper-floor {
        flex-direction: column;
    }

    .lower-floor {
        flex-direction: column;
    }
    .dropdown {
        flex-direction: column;
    }
    #double-floor {
        position: fixed;
        top: 0px;
        z-index: 0;
        align-items: center;
        background-color: #1a1a1a8a;
        height: 100%;
        width: 100%;
    }
    #mobile-menu {
        display: flex;
    }
    article {
        margin: 1vw 1vh;
    }
    hr {
        margin-left: 1vw;
        margin-right: 1vw;
    }
}

@media (max-width: 960px) {
    #footer {
        font-size: 8px;
        gap: 0px;
        flex-direction: column;
    }
    #footer span {
        display: none;
    }
}

#unique-overlay {
    position: fixed;
    z-index: 1;
    background: black;
    width: auto;
    height: auto;
    overflow: scroll;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    margin: 0px;
    padding: 1vh 4vw;
    display: flex;
    flex-direction: column;
}

#home-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#home-grid button {
    width: 128px;
    height: 128px;
    margin: 0px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.manual-scan {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.where-am-i {
    height: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.where-am-i img {
    height: 32px;
    display: flex;
    flex-direction: row;
}

#results-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

/* Radio CSS */
* {
  padding: 0px;
  margin: 0;
}

#radio-main div {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

#radio-main {
    order: 2;
    gap: 10px;
}

#radio-main .div-groups-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#radio-main progress {
    width: auto;
}

#radio-main a {
  color: orange;
}

#radio-main a:hover {
  color: yellow;
}

#radio-main button {
  background:black;
  color:red;
  font-family: 'Doto';
  border: dotted 2px;
  width: 100%;
}

#radio-main .no-break {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    word-break: none;
}

#radio-main button {
  background:black;
  color:red;
  font-size: 24px;
  border: dotted 2px;
}

#radio-main button:hover {
  background:#ffff96;
  color:red;
  border: dotted 2px aliceblue;
}

#radio-main pre {
    border: 1px dotted;
    overflow-x: auto;
    padding: 0.5vh 1vw;
}

#radio-main details {
    border: 1px dotted;
    padding: 1vh 2vw;
    width: 88vh;
}

#radio-main summary {
    border-bottom: 1px dotted;
    padding: 0.5vh 1vw;
}

#radio-main summary:hover {
    background-color: lightgreen;
    color: black;
}

#radio-main .start-top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 10px;
}

#radio-main .previously-played {
    flex-direction: column-reverse;
    overflow-y: auto;
    height: 40vh;
    gap: 5px;
}

#radio-main .div-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#radio-main .previously-played img {
    width: 48px;
}

#radio-main .previously-played div {
    gap: 5px;
}


#radio-main .previously-played div:hover {
    background-color: lightgreen;
    color: black;
}

#radio-main .div-inline-reverse {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

#radio-main .div-inline {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

#radio-main table {
    width: 100%;
}

#radio-main th, #radio-main td {
    background-color: black;
    padding: 2px;
}

#radio-main tr {
    background-color: black;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    border: 1px dotted;
    align-items: center;
}

#radio-main audio {
    width: auto;
}

#radio-main .generated {
    width: 128px;
    height: 128px;
    max-width: 128px;
    max-height: 128px;
}

#radio-main .more-details {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}