@import url('https://fonts.googleapis.com/css2?family=Oswald&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');

/*
    Our color palette:

    dark:       #022b3a
    regular:    #1F7A8C
    light:      #a8b8c7
    background: #e1e5f2
*/


/* ========== */
/* BACKGROUND */
/* ========== */

html {
    background-color: #e1e5f2;
    padding: 0 8%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body > p > a {
    color: #022b3a;
}


/* Inspired by emmoglu.io's pretty scrollbar */

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #e1e5f2;
}

body::-webkit-scrollbar-thumb {
    background-color: #a8b8c7;
}


/* ==== */
/* LOGO */
/* ==== */

#logo-container {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items:stretch;
    justify-content:center;
    text-align: center;
    flex-wrap: wrap;
}

#logo {
    margin-top: 38px;
    flex: initial;
    width: 107px;
    height: 107px;
}

h1 {
    flex: initial;
    font-family: 'Oswald', sans-serif;
    font-size: 120px;
    color: #022b3a;
    margin: 0;
}

@media (max-width: 720px) {
    h1 {
        font-size: 60px;
    }
    
    #logo {
        width: 100%;
    }
}

#under-title {
    color: #022B3A;
    margin-top: 0;
    margin-bottom: 60px;
    text-align: center;
    font-size: 30px;
}


/* ============== */
/* SEPARATION BAR */
/* ============== */

.separation-bar {
    margin: 3px auto 0 auto;
    height: 1px;
    background-color: #1F7A8C;
    max-width: 1200px;
}


/* ======= */
/* SUMMARY */
/* ======= */

#summary {
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items:start;
    justify-content:center;
    text-align: center;
    margin: 5px auto 0 auto;
}

#summary .summary-point {
    flex: auto;
}

.summary-point a {
    text-decoration: none;
}

.summary-point h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    line-height: 60px;
    padding: 10px 10px 15px 10px;
    margin: 0;
    color: #022b3a;
}

.summary-point h4:hover {
    color: #1F7A8C;
}


/* ================= */
/* VALIDATOR NUMBERS */
/* ================= */

#validator-points {
    display: flex;
    flex-direction: row;
    align-items:start;
    justify-content:center;
    text-align: center;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    max-width: 1100px;
    padding: 0;
}

.validator-point {
    /* border: solid 5px #1F7A8C; */
    border-radius: 10px;
    flex: initial;
    width: 270px;
    font-size: 20px;
    margin: 10px auto;
}

.validator-point h3 {
    color: #1F7A8C;
}

.validator-point:hover h3, .validator-point:hover p {
    color: #1F7A8C;
}

.validator-point:hover {
    transform: scale(1.05);
}

.validator-point p {
    margin-top: 5px;
    margin-bottom: 9px;
}

#validator-points a {
    text-decoration: none;
}


/* =========== */
/* LOTTERY BAR */
/* =========== */

#lottery-bar-container {
    display: flex;
    height: 50px;
    max-width: 1200px;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}

#lottery-bar-left, #lottery-bar-right {
    margin: 0;
    padding: 0;
}

#lottery-bar-left {
    min-width: 10px;
    background-color: black;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    z-index: 1;
}

#lottery-bar-right {
    min-width: 10px;
    flex: auto;
    background-color: #a8b8c7;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 2;
}

#lottery-bar-value {
    position: absolute;
    left: 0;
    right: 0;
    max-width: 1200px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-family: 'Roboto Mono', monospace;
    color: #a8b8c7;
    font-size: 30px;
    margin: 0 auto;
    z-index: 3;
    mix-blend-mode: difference;
    border-radius: 10px;
}

@media (max-width: 900px) {
    #lottery-bar-container {
        margin-top: 5px;
    }
}

#makered { 
    border-radius: 10px;
    position: absolute;
    left: 0;
    right: 0;
    height: 50px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #1F7A8C;
    mix-blend-mode: screen;
    z-index:4;
}

#lottery-bar-legend {
    margin-bottom: 20px;
}


/* ======= */
/* ADDRESS */
/* ======= */

h2#staking {
    margin-top: 50px;
}

#address-bar-container {
    text-align: center;
    align-items: stretch;
}

#address-bar-container * {
    display: inline-flex;
}

#address {
    word-break: break-all;
}

#address-bar-container p {
    margin: 0;
    font-size: 200%;
}

#address-bar {
    border: solid 5px #1F7A8C;
    border-radius: 5px;
    padding: 13px 20px;
}

#address {
    display: block;
    height: min-content;
    font-weight: bold;
}

#copy-address-button, #valid-copy {
    flex: initial;
    flex-shrink: 0;
    display: block;
    margin: auto 0 auto 10px;
    width: 24px;
    height: 24px;
    fill: #022B3A;
}

#address-bar:hover #copy-address-button {
    fill: #1F7A8C;
}

#address-bar:hover #valid-copy {
    fill: #1F7A8C;
}

#address-bar:hover p {
    color: #1F7A8C;
}

.wild-p {
    max-width: 1043px;
	margin-left: auto;
    margin-right: auto;
}

code {
    font-family: 'Roboto Mono', monospace;
    text-decoration: underline;
}

a#staking-guide {
    color: #1F7A8C;
}

a#staking-guide:hover {
    color: #022b3a;
}


/* =============== */
/* OUR COMMITMENTS */
/* =============== */

h2 {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 50px;
    color: #022B3A;
}

h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    margin: 0;
    color: #022B3A;
}

p {
    font-family: 'Roboto', sans-serif;
    color: #022B3A;
    text-align: center;
    font-size: 20px;
}

.icon {
    width: 100px;
    height: 100px;
    fill: #1F7A8C;
}

#selling-points {
    display: flex;
    flex-direction: row;
    align-items:start;
    justify-content:center;
    text-align: center;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0;
}

.selling-point {
    flex: initial;
    max-width: 225px;
    min-width: 225px;
    margin: 0 10px 0 10px;
    font-size: 20px;
}

.selling-point p {
    margin-top: 5px;
}


/* ======== */
/* ABOUT US */
/* ======== */

#team-members {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    text-align: center;
    flex-wrap: nowrap;
    padding: 0;
}

@media (max-width: 900px) {
    #team-members {
        flex-wrap: wrap;
    }
}

.member-img {
    width: 200px;
    height: 200px;
    background-color: #022B3A;
    padding: 5px;
    border-radius: 100%;
}

.team-member {
    flex: initial;
    max-width: 550px;
    min-width: 225px;
    width: 100%;
    margin: 0 20px 30px 20px;
    font-size: 20px;
}

.team-member p {
    text-align: justify;
    text-justify: inter-word;
}

br {
    display: block;
    margin: 10px 0;
    content: " ";
}


/* ======= */
/* LOTTERY */
/* ======= */

.math {
    font-family: 'Roboto Mono', monospace;
}

.column-container {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 60px;
    column-count: auto;
    column-width: 350px;
    column-rule-color: #022b3a;
    column-rule-style: solid;
    column-gap: 40px;
    column-rule-width: 1px;
    text-align: justify;
    text-justify: inter-word;
}

.column-container p {
    max-width: 350px;
}

.svg-container {
    text-align: center;
    margin: 0;
    margin-bottom: 30px;
}

#github-container {
    max-width: 1200px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

#github-icon {
    fill: #1F7A8C;
    width: 60px;
    height: 60px;
    margin: 0;
}

#github-container p {
    line-height: 60px;
    height: 60px;
    margin: 0;
    font-weight: bold;
}

#github-container:hover {
    transform: scale(1.05);
}

#github-container:hover p {
    color: #1F7A8C;
}

a.github-link {
    text-decoration: none;
}


/* ============ */
/* NODES HEALTH */
/* ============ */

.legend {
    margin: auto;
    max-width: 1200px;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
    flex-wrap: nowrap;
}

.legend p {
    margin: 0;
}

#legend-gradient {
    background: rgb(31,122,140);
    background: linear-gradient(90deg, rgba(5,51,66,1) 0%, rgba(2,43,58,1) 20%, rgba(31,122,140,1) 80%, rgba(28,114,132,1) 100%);
    border-radius: 5px;
    margin: 0 10px;
    margin-left: 15px;
    flex: auto;
    max-width: 200px;
    height: 10px;
}

.bar-infos {
    align-items: baseline;
    margin: auto;
    max-width: 1200px;
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

@media (max-width: 900px) {
    .bar-infos {
        flex-direction: column;
    }
}

.bar-infos p {
    margin: 0;
}

#backup-uptime-info, #main-uptime-info, #lottery-bar-info {
    font-weight: bold;
    text-align: left;
}


/* ======= */
/* SOCIALS */
/* ======= */

#social-icons {
    margin-top: 50px;
    position: relative;
    bottom: 0;
    display: flex;
    flex-direction: row;
    align-items:start;
    justify-content:center;
    text-align: center;
}

#social-icons svg {
    padding: 10px;
    fill: #022b3a;
    width: 30px;
    height: 30px;
    flex: initial;
    display: block;
}

#social-icons svg:hover {
    fill: #1F7A8C;
}


/* ========= */
/* COPYRIGHT */
/* ========= */

#copyright {
    text-align: center;
    color: #022b3a;
    margin-top: 0;
}