/* Agemo Coin Download Page Stylesheet */

/*
 * When display is *not* set to "none", indicates to
 * JavaScript code that the mobile layout is in use.
 * (This is overridden in `mobile.css`.)
 */
#is-mobile-layout {
    display: none;
    position: absolute;
    width: 0;
    height: 0;
    left: -1px;
    right: -1px;
}

body {
    margin: 0;
    color: white;
    font-family: Arial, sans-serif;
    background-size: cover;
    background-image: url("../img/Background.svg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

main {
    padding: 0 2vmax 0 2vmax;
    font-size: 20px;
}

h2 {
    display: flex;
    min-height: 36px;
    max-height: 48px;
    line-height: 36px;
    font-size: 36px;
}

h3 {
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: 24px;
}

.link {
    color: white;
    text-decoration: underline solid white;
    font-weight: bold;
}

#root-container {
    min-width: calc(70vw - 8px);
    min-height: 100vh;
    margin-right: 15vw;
    margin-left: 15vw;
    background-color: #11111199;
    border-left: 4px #21252B99 solid;
    border-right: 4px #21252B99 solid;
    backdrop-filter: blur(20px);
}

#root-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#logo {
    width: auto;
    max-height: 20vh;
    margin-top: 5vh;
    margin-bottom: 2vh;
    user-select: none;
    filter: drop-shadow(5px 5px 5px black);
}

#title {
    margin: 0;
    font-size: 4vmax;
    font-weight: 900;
    line-height: 4vmax;
    -webkit-text-stroke: 2px black;
}

#splash {
    font-style: italic;
    font-size: 1vmax;
    line-height: 1vmax;
    letter-spacing: 2px;
    text-shadow: black 2px 2px;
}

.emote-32x32 {
    width: 32px;
    height: 32px;
    margin: 0 6px 0 6px;
    vertical-align: center;
}

.emote-40x40 {
    width: 40px;
    height: 40px;
    margin: 0 6px 0 6px;
    vertical-align: center;
}

.no-margin {
    margin: 0 !important;
}

.no-select {
    user-select: none !important;
}

.horizontal-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.vertical-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
}

.center-heading {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.asterix-disclaimer {
    color: white;
    font-weight: 900;
    -webkit-text-stroke: 1px #000000;
}

.info-cell {
    width: calc(100% - 16px);
    margin: 2px;
    border: 6px solid #4169E1;
}

.large-cell {
    flex-grow: 1;
    min-height: 8vh;
}

.platform-heading-cell {
    display: flex;
    align-items: center;
    min-height: max(2vh, 2em, 24px);
}

.platform-heading-cell h3 {
    height: 24px;
    line-height: 24px;
}

ul {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: start;
}

li {
    padding-top: 6px;
    padding-bottom: 6px;
}

.download-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6px;
    width: calc(100% - 12px);
    min-height: 88px;
    transition: 0.2s;
    
    border: 0;
    color: white;
    background-color: #4169E1;
    font-size: 38px;
    font-weight: bolder;
    text-decoration: none;
    text-align: center;
}

.download-button:hover {
    background-color: #2C4696;
}

.runtime-dependent-download-button:hover {
    background-color: #404850;
}

/* Overridden by `version_fetching.js` and `noscript.css` */
#runtime-dependent-downloads {
    display: none;
}

.download-remark {
    color: #DDDDDD;
    font-weight: revert; /* Intended to override `.link` */
    margin: 0 0.8vw 0.65vh 0.8vw;
    text-align: center;
}

.runtime-dependent-border {
    border-color: #707070;
}

.runtime-dependent-download-button {
    background-color: #707070;
}

/* Overridden in `mobile.css`. */
.mobile-download-icon {
    display: none;
}

#runtime-dependent-disclaimer {
    text-align: center;
    max-width: 80%;
}

#show-runtime-dependent-button {
    margin-top: 12px;
    cursor: pointer;
}

#copyright {
    color: #EEEEEE;
    padding-bottom: 0;
    text-align: center;
}