html, button, input, select, textarea, .pure-g [class *= "pure-u"], .pure-g-r [class *= "pure-u"] {
    font-family: 'Open Sans', sans-serif;
}

html {
    background: #1d252b;
    overflow-y: scroll;
}

body {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 100vh;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 14px;
}

header > .home-menu {
    min-height: 64px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 5px;
    background: transparent !important;
}

header > .home-menu > a.pure-menu-heading,
header > .home-menu > ul,
header > .home-menu > ul > li {
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: normal !important;
}

header > .home-menu > a.pure-menu-heading {
    color: white;
    font-size: 1.42em;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
    white-space: nowrap;
}

.brandMark {
    display: inline-flex;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    margin-right: 7px;
    border-radius: 8px;
    background: linear-gradient(135deg, #25baaa, #6d55c8);
    color: white;
    font-size: 0.72em;
}

header > .home-menu > ul {
    flex-wrap: wrap;
    margin-left: auto;
}

header > .home-menu > ul > li > a {
    color: #b9c8cf;
    padding: 0.82em 0.65em;
    font-size: 0.93em;
    text-decoration: none;
}

header > .home-menu > ul > li > a:hover,
header > .home-menu > ul > li > a:focus {
    background: transparent !important;
}

header > .home-menu > ul > li > a:hover,
header > .home-menu > ul > li.pure-menu-selected > a {
    color: white;
}

main {
    overflow: hidden;
    border-radius: 12px;
    background-color: #eef4f6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

footer {
    padding: 21px 12px 27px;
    color: #9cacb5;
    text-align: center;
    font-size: 0.82em;
    line-height: 1.75em;
}

footer .footerBrand {
    color: #e7f5f5;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 0.02em;
}

footer .footerSmall {
    margin-top: 3px;
    color: #71818a;
}

footer code {
    padding: 1px 4px;
    border-radius: 3px;
    background: rgba(255,255,255,0.08);
    color: #cceee8;
    font-family: Consolas, Monaco, 'Courier New', monospace;
}

code {
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(20, 63, 76, 0.08);
    color: #165663;
    font-family: Consolas, Monaco, 'Courier New', monospace;
}

a {
    transition: color 160ms ease, opacity 160ms ease;
}

@media screen and (max-width: 760px) {
    body {
        padding: 0;
    }

    header > .home-menu {
        display: block;
        padding: 8px 8px 4px;
    }

    header > .home-menu > a.pure-menu-heading {
        display: flex !important;
        justify-content: center;
        padding: 9px 0 11px;
    }

    header > .home-menu > ul {
        display: flex !important;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    header > .home-menu > ul > li {
        display: block !important;
    }

    header > .home-menu > ul > li > a {
        display: block;
        padding: 9px 7px;
        font-size: 0.80em;
    }

    main {
        border-radius: 0;
    }

    #poolHero {
        margin: 10px;
        padding: 34px 18px 30px;
    }

    #poolHero h1 {
        font-size: 2.15em;
    }

    #connectionBox {
        display: flex;
        margin-top: 22px;
        overflow-wrap: anywhere;
    }

    #poolIntro {
        margin: 0 10px 10px;
        padding: 20px;
    }

    #boxesLower {
        margin: 0;
    }

    #boxesLower > div {
        display: block;
    }

    #boxesLower > div > div {
        margin: 0 10px 10px;
    }

    #gettingStarted {
        margin: 10px;
    }

    .connectCard {
        padding: 17px;
    }

    .connectionTable td:first-child {
        width: 36%;
    }

    .connectionTable td {
        padding: 9px 5px;
        overflow-wrap: anywhere;
    }

    .codeBlock {
        font-size: 0.86em;
    }
}

@media screen and (max-width: 480px) {
    header > .home-menu > ul > li > a {
        padding: 8px 5px;
        font-size: 0.73em;
    }

    #poolHero h1 {
        font-size: 1.9em;
    }

    #poolHero p {
        font-size: 1em;
    }

    .connectionTable td:first-child {
        width: 33%;
    }
}

/* =========================================================
   PooLab · buscador global de wallet
   ========================================================= */

.globalWalletSearch {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
}

.globalWalletSearch input {
    width: 220px;
    padding: 8px 10px;
    border: 1px solid rgba(186, 218, 221, 0.20);
    border-radius: 6px;
    outline: none;
    background: rgba(255,255,255,0.08);
    color: #eefafa;
    font-size: 0.84em;
}

.globalWalletSearch input::placeholder {
    color: #98abb3;
}

.globalWalletSearch input:focus {
    border-color: #36bfb0;
    background: rgba(255,255,255,0.12);
}

.globalWalletSearch button {
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #25baaa, #6d55c8);
    color: white;
    font-size: 0.84em;
    font-weight: 700;
    cursor: pointer;
}

.globalWalletSearch button:hover {
    opacity: 0.92;
}

.globalWalletSearch button i {
    margin-right: 4px;
}

@media screen and (max-width: 1040px) {
    .globalWalletSearch {
        order: 3;
        width: 100%;
        justify-content: flex-end;
        margin: 0 8px 8px;
    }
}

@media screen and (max-width: 760px) {
    .globalWalletSearch {
        justify-content: center;
        margin: 4px 0 7px;
    }

    .globalWalletSearch input {
        width: min(270px, 62vw);
    }
}

@media screen and (max-width: 430px) {
    .globalWalletSearch {
        width: auto;
        padding: 0 8px;
    }

    .globalWalletSearch input {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .globalWalletSearch button span {
        display: none;
    }

    .globalWalletSearch button i {
        margin-right: 0;
    }
}

/* =========================================================
   PooLab · buscador global de wallet
   ========================================================= */

.globalWalletSearch {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
}

.globalWalletSearch input {
    width: 220px;
    padding: 8px 10px;
    border: 1px solid rgba(186, 218, 221, 0.20);
    border-radius: 6px;
    outline: none;
    background: rgba(255,255,255,0.08);
    color: #eefafa;
    font-size: 0.84em;
}

.globalWalletSearch input::placeholder {
    color: #98abb3;
}

.globalWalletSearch input:focus {
    border-color: #36bfb0;
    background: rgba(255,255,255,0.12);
}

.globalWalletSearch button {
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #25baaa, #6d55c8);
    color: white;
    font-size: 0.84em;
    font-weight: 700;
    cursor: pointer;
}

.globalWalletSearch button:hover {
    opacity: 0.92;
}

.globalWalletSearch button i {
    margin-right: 4px;
}

@media screen and (max-width: 1040px) {
    .globalWalletSearch {
        order: 3;
        width: 100%;
        justify-content: flex-end;
        margin: 0 8px 8px;
    }
}

@media screen and (max-width: 760px) {
    .globalWalletSearch {
        justify-content: center;
        margin: 4px 0 7px;
    }

    .globalWalletSearch input {
        width: min(270px, 62vw);
    }
}

@media screen and (max-width: 430px) {
    .globalWalletSearch {
        width: auto;
        padding: 0 8px;
    }

    .globalWalletSearch input {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .globalWalletSearch button span {
        display: none;
    }

    .globalWalletSearch button i {
        margin-right: 0;
    }
}
