html {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple Color Emoji", "Twemoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif, "Noto Color Emoji", "Inter";
    font-size: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    padding: 16px;
}

main {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 475px;
    max-width: 100%;
    height: 100%;
}

@media (max-height: 850px) {
    .content {
        padding-top: 16px;
        justify-content: start;
    }
}

.logo {
    width: 100px;
}

.header {
    font-size: 48px;
    font-weight: bolder;
    margin-top: 16px;
    margin-bottom: 16px;
}

.header-name, #referralCode {
    color: #693CFF;
}

.sub-header {
    font-weight: bold;
    font-size: 36px;
    color: #747474;
}

.networks {
    display: flex;
    flex-wrap: wrap;
    margin: 16px;
    width: 90%;
}

.networks .network-wrapper {
    flex: 1 0 13%;
    width: 13%;
    padding: 4px 0px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.networks .network-wrapper img {
    width: calc(100% - 20px);
    filter: drop-shadow(0px 6px 6px rgb(0 0 0 / 0.1));
}

#mobile {
    margin-top: 16px;
}

.referral {
    text-align: center;
    margin: 16px;
    width: 90%;
}

.codeBlock {
    position: relative;
    margin-top: 16px;
}

.referral #copyToClipboard {
	border: none;
	outline: inherit;
    position: absolute;
    top: calc(50% - 20px);
    right: 0;
    width: 40px;
    height: 40px;
    background-color: #E9E9EA;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.referral #copyToClipboard img {
    width: 24px;
    height: 24px;
}

#referralCode {
	border: none;
	outline: inherit;
    background-color: transparent;
    font-weight: bolder;
    font-size: 32px;
    text-align: center;
    max-width: 100%;
}

#referralUrl {
    background-color: #E9E9EA;
    padding: 16px;
    border-radius: 8px;
}

.download {
    width: 90%;
    text-align: left;
    padding: 16px;
}

.download a {
    text-decoration: none;
	border: none;
	outline: inherit;
    color: white;
    font-weight: bold;
    background: linear-gradient(0deg, #7736FF 12px, #932BFF);
    display: block;
    padding: 10px;
    border-radius: 10px;
    margin-top: 12px;
    text-align: center;
}

button, a {
    transition: all 0.1s;
}

button:hover, a:hover {
    filter: drop-shadow(0px 3px 3px rgb(0 0 0 / 0.1));
}

button:active, a:active {
    box-shadow: inset 0 0 3px #747474;
}

.hidden {
    display: none;
}