
/* Basic Normalize CSS */
html {
    line-height: 1.15; /* Correct the line height for better readability */
    -webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes */
}

body {
    margin: 0; /* Remove default margin */
}

* {
    word-wrap: break-word;
}

main {
    display: block; /* Correct the display value for HTML5 <main> element */
}

h1 {
    font-size: 2em; /* Adjust heading size for consistency */
    margin-top:10px ;
}

hr {
    box-sizing: content-box; /* Ensure hr is styled consistently */
    height: 0; /* Remove default border height */
    overflow: visible; /* Show content if hr overflows */
}

pre {
    font-family: monospace, monospace; /* Use consistent monospace font */
    font-size: 1em; /* Match font size with surrounding text */
}

a {
    background-color: transparent; /* Remove the default background highlight */
    text-decoration: none; /* Remove underline for unstyled links */
}

abbr[title] {
    border-bottom: none; /* Remove underline for abbreviations */
    text-decoration: underline dotted; /* Add dotted underline for clarity */
}

b,
strong {
    font-weight: bolder; /* Use a consistent bold weight */
}

code,
kbd,
samp {
    font-family: monospace, monospace; /* Use consistent monospace font */
    font-size: 1em;
}

small {
    font-size: 80%; /* Ensure small text is appropriately scaled */
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* Inherit font style */
    font-size: 100%; /* Reset font size */
    margin: 0; /* Remove default margin */
}

button,
input {
    overflow: visible; /* Remove the default overflow style */
}

button {
    text-transform: none; /* Prevent uppercase transformation */
}

.social-icon {
  display: inline-flex;
  margin: 0 5px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: #2A2A2A; /* Uses the text color of the page */
}

.social-icon:hover {
  transform: scale(1.2);
}

.icon-x:hover {
  color: #000; /* X's brand color is black */
}

.icon-instagram:hover {
  color: #000; /* Instagram pink */
}

.icon-tiktok:hover {
  color: #000; /* TikTok teal */
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button; /* Ensure buttons have a consistent style */
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0; /* Remove inner border for buttons in Firefox */
    padding: 0;
}

textarea {
    overflow: auto; /* Ensure scrolling works in textareas */
}

table {
    border-collapse: collapse; /* Collapse table borders */
    border-spacing: 0; /* Remove spacing between table cells */
}

body {
    background-color:#EAE2B7;
    font-family: "Lora", serif;
}

* {
    transition: all 0.5s ease;
}

h1, h2, h3, h4 {
    font-family: "Anton", serif;
    font-weight: 400;
    font-style: normal;
    color:#2a2a2a;
}

.content {
    width:90%;
    margin:0 auto;
}

h1 {
    font-size:70px;
    line-height:75px;
}

h2 {
    color:#2a2a2a;
}

p {
    font-size:20px;
    line-height:25px;
}

main {
    min-height:60vh;
    padding-bottom:70px;
}

a.solbtn.button {
    padding:13.5px 20px;
    margin-left:10px;
    background-color: #F77F00;
}

.tokenaddress {
    font-size:14px;
    color:#2a2a2a;
    display:inline-block;
    margin-top:10px;
    background-color: #d9d2a7;
    padding:4px 10px;
    border-radius: 5px;
    width:100%;
    box-sizing:border-box;
}

.tokenaddress a {cursor:pointer;}

.avatar {
    display:inline-block;
    width:49%;
    vertical-align:top;
    box-sizing:border-box;
    padding:20px 0 70px 0;
    border-radius:15px;
    text-align:center;
}

.avatar svg {
    width:200px;
    max-width:80%;
    height:auto;
}

.avatar #moneybag {
    display:inline-block;
}

.avatar #moneybag svg {
    width:120px;
    cursor:pointer;
    position:relative;
    transition: all 0.3s ease;
    opacity:.5;
}

.avatar #moneybag svg.active {
    animation: glow 2s infinite;
    opacity:1;
}

.avatar #moneybag svg path {
    fill:#004d03;
}

.avatar #moneybag svg:hover  {
    transform:scale(1.1);
}

/* Animate glow */
@keyframes glow {
    0% {
        filter: drop-shadow(0 0 1px #00a516);
    }
    50% {
        filter: drop-shadow(0 0 20px #00a516);
    }
    100% {
        filter: drop-shadow(0 0 1px #00a516);
    }
}

#emptyavatar {
    padding-top:30px;
    position:relative;
}

#inline-connect {
    padding:15px 25px;
    background-color: #0d31e9;
    color:#ffffff;
    border-radius:25px;
    text-decoration:none;
    position:absolute;
    top:50%;
    left:50%;
    transform:translateX(-50%) translateY(-50%);
    font-size:20px;
    border:none;
}

#inline-connect:hover {
    background-color: #001997;
}

.card {
    display:inline-block;
    width:49%;
    vertical-align:top;
    background-color:#fbf3c5;
    margin-right:1%;
    box-sizing:border-box;
    padding:20px 25px 50px 25px;
    border-radius:15px;
    min-height:300px;
    margin-bottom:20px;
}

.card:nth-child(2n+2) {
    margin-right:0;
}

footer {
    padding:50px 0;
    background-color:#D62828;
}

#cards {
    padding-top:20px;
}

header {
    padding:25px 0 10px 0;
}

header a.btn {
    padding:12px 20px;
    background-color: #D62828;
    color:#ffffff;
    border-radius:25px;
    text-decoration:none;
    float:right;
}

header a.btn:hover {
    background-color: #F77F00;
}

footer p {
    font-size:14px;
    line-height:20px;
    color:#000000;
    max-width:450px;
}

h4.level {
    font-size:20px;
    line-height:25px;
    color:#2a2a2a;
    padding-bottom:10px;
    margin-bottom:0px;
    font-family: "Lora", serif;
    font-weight: 400;
}

.progress-bar-container {
    position:relative;
}

.progress-bar-container .progress-line {
    width:100%;
    height:10px;
    background-color:#e0d7a4;
}

.progress-text {
    text-align:right;
}

.progress-point {
    min-width:30px;
    height:30px;
    border-radius:25px;
    display:inline-block;
    background-color:#e0d7a4;
    position: relative;
    top:25px;
    padding:10px 10px;
    text-align:center;
}

.progress-point.start {
    margin-left:20px;
}

.progress-point span.day {
    position:relative;
    top:5px;
    font-size:16px;
    font-weight:bold;
    color:#b6a88d;
}

.progress-point.active {
    background-color:#00a516;
    cursor: pointer;
}

.progress-point.active span.day {
    color:#ffffff;
}

h4.total, h4.soltotal {
    font-size:47px;
    line-height:57px;
    color:#2a2a2a;
    font-family: "Lora", serif;
    font-weight:bold;
    margin-block-start: .5em;
    margin-bottom:0;
    /* margin-top:10px; */
    border-top:solid 1px #ebe3b7;
    padding-top:20px;
}

h4.total span, h4.soltotal span {
    font-weight:bold;
    color:#00a516;
}

h4#pooledamount {
    color:#00a516;
}

#wallet-balance {
    font-size:15px;
    line-height:20px;
    color:#2a2a2a;
    font-family: "Lora", serif;
    font-weight: 400;
    display: none;
}

#logo svg {
    width:150px;
    height:auto;
}

.pic {
    max-width:100%;
    width:400px;
    height:auto;
    border-radius:15px;
}

a.button {
    padding:10px 20px;
    background-color: #D62828;
    color:#ffffff;
    border-radius:25px;
    text-decoration:none;
    font-size:15px;
    float:right;
}

a.button:hover {
    background-color: #F77F00;
}

a.button span,
a.button svg {
    vertical-align:middle;
    display:inline-block;
}

a.button svg {
    width:25px;
    height:auto;
}

/* Stats */

/* Progress Bar Container */
.progress-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    height: 20px;
    margin: 10px 0 20px 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    opacity:0;
}

.stat {
    margin-bottom: 20px;
    display:inline-block;
    padding:10px 12px;
    background-color:#fbf3c5;
    margin-right:6px;
    border-radius:15px;
}

.stat .d {
    display: block;
}

.stat .m {
    display: none;
}

.stat h3, .stat p {
    display:inline-block;
    margin:0;
    font-size:15px;
}

.stat p {
    font-family: monospace, monospace;
}

.inactive {
    color: #f44336;
}

.active {
    color: #4caf50;
}
  
/* Progress Bar Fill */
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1ea823, #0b860f);
    width: 0%;
    transition: width .7s ease-in-out;
}

@media (max-width: 768px) {
    a.button {
        float:none;
        display:block;
        width:100%;
        margin-bottom:10px;
        margin-left:0 !important;
        box-sizing:border-box;
        text-align: center;
    }

    .card, .avatar {
        width:100%;
        margin-right:0;
        margin-bottom:20px;
    }

    .progress-text {
        text-align:center;
    }

    .avatar svg {
        width:57%;
    }

    .avatar #moneybag {
        width:29%;
    }

    .avatar #moneybag svg {
        width:100%;
    }

    h4.total, h4.soltotal {
        font-size:25px;
        line-height:30px;
    }

    .stat h4, .stat p {
        font-size:14px;
    }

    .stat {
        padding:10px 8px;
        margin-right:2px;
    }

    .stat:last-child {
        margin-right:0;
    }

    .stat .d {
        display: none;
    }

    .stat .m {
        display: block;
    }
}