@import url("https://fonts.googleapis.com/css?family=IBM+Plex+Sans|IBM+Plex+Mono");

/* main website stuff */

body {
	background-color: #111111;
	color: rgba(222, 222, 222, 1.00);
	margin-top: 6em;
    position: absolute;
    left: 10%;
    right: 10%;
    padding: 0.5em;
    border: 1px solid;
	border-radius: 15px;
	border-color: rgba(75, 75, 75, 1.00);
	font-family: "IBM Plex Sans", Roboto, Calibri, Helvetica, Arial, sans-serif;
}

a {
    color: rgba(28, 217, 119, 1.00);
}
    
a:visited {
    color: rgba(28, 217, 170, 1.00);
}

.metal2 {
    background-color: #222222;
    margin: -0.5em;
    padding: 0.5em;
    border: 1px solid;
	border-radius: 15px;
    border-color: rgba(75, 75, 75, 1.00);
}

ul {
    padding-right: 1em;
}


nav ul li {
    padding: .5em;
}

h1 {
    font-size: 36pt;
    line-height: 1em;
}

h2, h3 {
    padding-top: 21px;
    font-size: 15pt;
    line-height: 1.5em;
    text-align: left;
}

hr {
    border: 1px gray solid;
}

#bottom, figcaption {
    font-size: 9pt;
    text-align: left;
}

#bottom {
    margin-top: 3em;
    font-style: normal;
}

/* topnav thing that I should really fix on mobile smh */

.topnav {
    position: fixed;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    background-color: #1a1a1a;
    border: 1px solid rgba(75,75,75,1);
    padding: 0.5em 1em;
    z-index: 999;
    border-radius: 6px;
}

.topnav ul {
    display: flex;
    list-style-type: none;
    gap: 1em;
    margin: 0;
    padding: 0;
    align-items: center;
}

.topnav ul li a, .dropbtn {
    color: rgba(222,222,222,1);
    text-decoration: none;
    padding: 0.5em;
    font-family: "IBM Plex Sans", sans-serif;
}

.topnav ul li a:hover, .dropdown:hover .dropbtn {
    background-color: #333;
    border-radius: 4px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 120px;
    border: 1px solid rgba(75,75,75,1);
    border-radius: 4px;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 0.5em;
    text-decoration: none;
    color: rgba(222,222,222,1);
}

.dropdown-content a:hover {
    background-color: #333;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* thing from random page */

.stuff-container {
    padding: 3em 0.5em 0.5em 0.5em; 
}

.stuff-thing {
    display: flex;
    align-items: center; 
    background-color: #111111; 
    border: 1px solid rgba(75, 75, 75, 1.00);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px; 
    text-decoration: none; 
    color: inherit; 
    transition: background-color 0.2s; 
}

.stuff-thing:hover {
    background-color: #2a2a2a;
    cursor: pointer;
}

.stuff-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 4px;
}

.stuff-thing h2 {
    margin: 0; 
    padding: 0;
    font-size: 20pt;
    font-weight: 400; 
    color: rgba(222, 222, 222, 1.00);
}

/* download page thing I guess */

.download-grid-container {
    padding: 2em 0.5em 0.5em 0.5em; 
    max-width: 100%;
}

.download-grid {
    display: flex;
    gap: 20px; 
    justify-content: flex-start;
    flex-wrap: wrap; 
    padding: 20px 0;
}

.download-card {
    background-color: #111111;
    border: 1px solid rgba(75, 75, 75, 1.00);
    border-radius: 6px;
    width: 200px; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    overflow: hidden; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px 10px 10px;
    flex-grow: 1; 
}

.download-image {
    width: 100px; 
    height: 100px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.download-text {
    margin: 0;
    font-size: 14pt;
    color: rgba(222, 222, 222, 1.00);
    padding: 0 5px;
}

.download-btn {
    display: block;
    width: 100%; 
    padding: 10px 0;
    margin-top: auto; 
    background-color: #333333; 
    color: rgba(222, 222, 222, 1.00);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 10pt;
    text-align: center;
    border-radius: 0 0 6px 6px; 
    border-top: 1px solid rgba(75, 75, 75, 1.00);
    transition: background-color 0.2s;
}

.download-btn:hover {
    background-color: #444444;
}

/* dropdown stuff on guides or whatever */

.adropdown-thing {
    border: 1px solid rgba(75, 75, 75, 1.00); 
    border-radius: 15px; 
    background-color: #1a1a1a; 
    padding: 0;
    margin-bottom: 20px;
}

.adropdown-thing-header {
    cursor: pointer;
    padding: 0.5em 1em;
    font-size: 18pt; 
    font-weight: bold;
    color: rgba(222, 222, 222, 1.00);
    list-style: none; 
}

.adropdown-thing-header:hover {
	border-radius: 15px; 
    background-color: #2a2a2a;
    cursor: pointer;
}

.adropdown-thing-header::marker {
    display: none;
}

.adropdown-thing-content {
    padding: 0 1em 1em 1em; 
    border-top: 1px solid rgba(75, 75, 75, 1.00); 
	overflow: hidden; 
    transition: height 0.3s ease-out; 
    will-change: height;
}

/* used for NO WAY! HTTP pages */

.http-thing-container {
    text-align: center;
    margin-top: 5em;
    padding-bottom: 5em;
}

.scrolling-text-w {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 20px;
}

.scrolling-text {
    display: inline-block;
    font-size: 50pt; 
    font-weight: bold;
    color: rgba(222, 222, 222, 1.00);
    animation: scroll-left 10s linear infinite; 
    padding-right: 20px; 
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); 
    }
}

.error-code {
    font-size: 70pt; 
    font-weight: bold;
    color: rgba(222, 222, 222, 1.00);
    margin-bottom: 30px;
}

.mute-btn {
    background-color: #01A8C6; 
    color: white;
    border: none;
    border-radius: 4px;
    padding: 15px 30px;
    font-size: 20pt;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mute-btn:hover {
    background-color: #0056b3;
}

/* web buttons for homepage */

.web-buttons-container {
    position: fixed; 
    bottom: 27em;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw; 
    display: flex;
    justify-content: center;
    gap: 15px; 
    flex-wrap: wrap; 
    z-index: 10; 
}

.web-button-img {
    width: 88px;
    height: 31px;
    object-fit: contain; 
    transition: opacity 0.2s ease-in-out;
}

.web-buttons-container a:hover .web-button-img {
    opacity: 0.8;
}