h1 {
    color: var(--pirate-cloud);
}
.mining-section-title {
    color: var(--pirate-cloud);
    font-size: 48px;
    font-weight: 700;
}
@media screen and (max-width:400px) {
    .mining-section-title { font-size: 32px; }
}
.divider-bottom {
    position: relative;
    top: 10px;
}

/* ----- hero-section ----- */
.hero-section {
    height: 840px;
    background-image: url("../img/site/underwater-seaweed-background.webp");
    background-repeat: no-repeat;
    background-position: left;
    background-size: auto 100%;
    position: relative;
}
.hero-divider {
    background-image: url("../img/dividers/seafloor-light.svg");
    background-repeat: repeat-x;
    background-size: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 120px;
    width: 100%;
    z-index:2;
}
.hero-section .highlight-txt {
    font-weight: bold;
}
.hero-section .bubble {
    -webkit-filter: drop-shadow(10px 10px 5px rgb(0, 0, 0, 0.8));
    filter: drop-shadow(10px 10px 5px rgb(0, 0, 0, 0.8));
    box-shadow: 0px 0px 50px rgba(2,2,2,0.5);
    backdrop-filter: blur(8px);
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(36,36,58,0.2);
    border-radius: 50%;
    z-index: 9;
    width: 100%;
}
.hero-section .header-container {
    margin-top: 10px;
    padding: 0px;
    max-width: 330px;
    height: 330px;
    margin-left: 0px;
    text-align: center;
}
.hero-section .header-container h1 {
    color: var(--pirate-cloud);
    font-family: var(--pirate-font-primary);
    margin-top: 115px;
    margin-bottom: 20px;
    margin-left: 0px;
    font-size: 56px;
    display: block;
}
.hero-section .header-container  p {
    display: block;
    font-size: 24px;
    color: var(--pirate-fog);
    line-height: 24px;
    margin-top: 10px;
    margin-left: 0px;    
} 
.hero-section .header-container .action {
    display: block;
    font-weight: bold;
    letter-spacing: 0px;
    font-size: 24px;
    color: var(--pirate-cloud);
    margin-top: 5px;
}
.hero-section .kraken-container {
    position: relative;
    margin: 10px auto;
    display: block;
    max-width: 400px;
    margin-bottom: 40px;
    top: -60px;
}
.hero-section .kraken {
    width: 100%;
    max-width: 300px;
    position: absolute;
    left: 100px;   
    -webkit-filter: drop-shadow(10px 10px 5px rgb(0, 0, 0, 0.8));
    filter: drop-shadow(10px 10px 5px rgb(0, 0, 0, 0.8));
}
.hero-section .asic {
    width: 100%;
    max-width: 150px;
    position: absolute;
    left: -30px;
    top: 80px;
    filter: blur(1px);
    -webkit-filter: drop-shadow(10px 10px 5px rgb(0, 0, 0, 0.8));
    filter: drop-shadow(10px 10px 5px rgb(0, 0, 0, 0.8));
}
.hero-section .gpu {
    width: 100%;
    max-width: 205px;
    position: absolute;
    left: 380px;
    top: 220px;
    filter: blur(1px);
    -webkit-filter: drop-shadow(10px 10px 5px rgb(0, 0, 0, 0.8));
    filter: drop-shadow(10px 10px 5px rgb(0, 0, 0, 0.8));
}
@media screen and (min-width:901px) {
    .hero-section .asic {
        left: -80px;
    }
}
.hero-section button {
    width: 20px;
    background-color: transparent;
    border: none;
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 60px;
    margin-bottom: 80px;
    cursor: pointer;
    z-index: 99;
}
@media screen and (max-width:900px) {
    .hero-section .kraken-container {
        margin: 40px;
        width: 100%;       
    }
}
@media screen and (max-width:700px) {
    .hero-section .kraken-container {
        padding-top: 20px;
        margin: auto;
    }
    .hero-section .kraken {
        max-width: 250px;
        left: 25%;   
    }
    .hero-section .asic {
        max-width: 115px;
        left: 5%;
    }    
    .hero-section .gpu {
        display: none;
    }
}

/* ----- stats-section ----- */
.stats-section {
    padding-top: 120px;
    padding-bottom: 0px;
}
.stats-section .stat-container {
    text-align: center;
    width: 100%;
    margin-top: 60px;
}
.stats-section .mining-section-title {
    margin-bottom: 40px;
}
.stats-section .desc {  
    width: 100%;
    max-width: 900px;
}
.stats-section .mining-stat {
    border-radius: 50%;
    border: 4px solid var(--pirate-doubloon);
    width: 220px;
    height: 220px;
    padding: 0px;
    transition-duration: .2s;
    transition-timing-function: ease-in-out;
    transition-property: all;
    display: inline-block;
    margin: 10px;
    margin-top: 50px;
    text-align: center;
    min-width: 220px;
}
.stats-section .mining-stat:hover {
    border: 14px solid var(--pirate-neon);
    animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: none;
    animation-play-state: running;
    animation-name: wiggle; 
}
@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25%  { transform: rotate(-5deg); }
    50%  { transform: rotate(4deg); }
    75%  { transform: rotate(-3deg); }
    100%   { transform: rotate(0deg); }   
}
.stats-section .mining-stat h3{
    font-size: 32px;
    margin: 10px auto;
}
.stats-section .mining-stat div {
    height: 210px;
    width: 220px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    margin: auto;
}
.countdown {
     margin-top: 40px;
}
.countdown .countbox {
    background-color: rgba(2,2,2,0.2);
    width: 100%;
    max-width: 90px;
    height: 90px;
    display: inline-block;
    color: var(--pirate-neon);
    margin: 5px;
    text-align: center;
    padding-top: 20px;
}
@media screen and (max-width:450px) {
    .countdown .countbox {
        margin: 1px;
        max-width: 80px;
        height: 80px;
    }
}
.countdown .count {
    font-size: 40px;
    font-weight: bold;
    display: block;
    color: var(--pirate-cloud);
    margin-bottom: 5px;
    margin: auto;
}
#anymoment {
    color: red;
    display: none;
}
.nexthalving {
    text-align: center;
    position: relative;
    max-width: 440px;
    margin: 110px auto 0px;
}
.nexthalving h2 {
    margin-bottom: 40px;
    cursor: pointer;
}
#celebrate {
    display: none;
    width: 100%;
    height: auto;
    position: absolute;
    left: -30%;
    top: -80%;
}
.blksremaining {
    margin-top: 60px;
    margin-bottom: 60px;
}
#barcontainer {
    width: 100%;
}
#barborder {
	height: 2px;	
	background-color: var(--pirate-fog);
}
#bar {
	height: 2px;
	width: 0vw;
	background: var(--pirate-neon);
	transition: width 0.5s;   
}

/* ----- calculator-section ----- */
.calculator-section {
    padding-top: 60px;
    padding-bottom: 0px;
}
.calculator-section .mining-section-title {
    margin-bottom: 40px;
    font-size: 2em;    
}
.calc-container {
    width: 100%;
    background-image: linear-gradient(#2b2b4a 60%,transparent);    
    border-radius: 12px;
    padding: clamp(6px,4vw,2rem);
    margin-bottom: 0px;
    padding-bottom: 100px;
}   
.input-area {
    display: block;
    background-color: var(--dark);
    padding: clamp(6px,4vw,2rem);
    border-radius: 6px;
    font-size: 12px;
}
.input-area .feild {
    margin-bottom: 10px;    
}
.input-area label { 
    font-size: 16px;
    line-height: 16px;
    display: inline-block;
    width: 100%;
    max-width: 130px;
    color: var(--pirate-doubloon);
}
.input-area input {
    font-size: 16px;
    padding: 8px;
    padding-bottom: 4px;
    border-radius: 4px;
    background: #3b4054;
    color: var(--pirate-cloud);
    box-shadow: inset 2px 2px 7px 0px rgb(0 0 0 / 30%),inset 2px 2px 3px 0px rgb(0 0 0 / 25%);
    border: none;
    width: 100%;
    max-width: 120px;
    line-height: 16px;  
    background: #303340;
}
.input-area input:focus {
    outline: none;
}
.calc-container .a-btn {
    margin-top: 20px;
    margin-bottom: 40px;
    background-color: var(--pirate-doubloon);
    font-weight: bold;
}
.calc-container .a-btn:hover {
    background-color: var(--pirate-neon);
}
#mining-status {
    min-height: 1.5em;
    margin: -20px 0 20px;
    color: var(--pirate-doubloon);
}
.result-area p {
    margin: 12px 0 0;
}
.result-area a {
    color: var(--pirate-neon);
}
.result-area {
    background: #23252d;
    overflow: hidden;
    padding: clamp(6px,4vw,2rem);
    border-radius: 6px;
}
.result-area h3 {
    display: flex;
    font-size: 14px;
    font-weight: 700;
    color: var(--pirate-leviathan);
    background: #bd9746;
    height: 160px;
    width: 250px;
    text-align: center;
    justify-content: center;
    align-items: end;
    transform: rotate(-45deg);
    margin-top: -117px;
    margin-left: -161px;
    padding-bottom: 4px;
}
#result-table {
    padding-left: 1px;
    width: 100%;
    margin-top: -20px;
    border-collapse: collapse;
    border-spacing: 0;
    overflow-x: auto;
    display: block;
}
#result-table small {
    font-weight: 200;
}
#result-table > tbody > tr > td:first-child {
    font-weight: bold;
    text-align: left;
}
#result-table td {
    border: 1px solid #414656;
    text-align: right; 
    padding: 10px 8px 10px 8px;  
    table-layout: fixed;
    width: 200px;
}
#result-table  td.green-hl {
    color: rgb(0, 202, 0);
}
#result-table  td.red-hl {
    color: red;
}
#result-table .header-blank {
    border: none;
    background: none;
}
#result-table .header {
    background: #242739;
    border: 1px solid #414656;
    color: var(--pirate-doubloon);
    padding: 10px;
    line-height: 20px;
}

/* ----- pools-section ----- */
.pools-section {
    padding-top: 180px;
    padding-bottom: 120px;
}
.pools-section .mining-section-title {
    padding-bottom: 40px;    
}
.pools-section p {    
    margin-bottom: 30px;
}
.pools-section img {    
    display: block;
    margin: auto;
    width: 100%;
    max-width: 600px; 
    position: relative;
    top: -30px   
}
.pools-section .box {
    padding-left: 20px;
}
.pools-section .box-right {
    margin-top: 0px;
    padding-top: 0px;
    vertical-align: top;  
}
@media screen and (max-width:1000px) {
    .pools-section .box {
        float: none;
        width: 100%;
        max-width: 700px;
        text-align: center;
        margin: auto;
    }
    .pools-section .box-right {
        margin-top: 0px;
        margin-bottom: 40px;
        float: none; 
        width: 100%;
    }
    .pools-section {
        padding-top: 80px;
    }
}

/* ----- howto-section ----- */
.howto-section {
    padding-bottom: 100px;
    position: relative;
    border-width: 1px;
    border-style: solid;
    border: 1px solid white;
    border-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='50' height='50'><defs><linearGradient id='redgradient'><stop offset='0' stop-color='transparent'/><stop offset='0.5' stop-color='%23ffbd30'/><stop offset='1' stop-color='transparent'/></linearGradient></defs><g id='Layer_1'><path d='M0,0 L50,0 L50,50 L0,50 L0,0 z' fill='url(%23redgradient)' width='100%' height='100%'/></g></svg>") 1% stretch;
  
}
.howto-section h2 {
    font-family: var(--pirate-font-primary);
    width: 100%;
    text-align: center;
    font-size: 48px;
    margin-bottom: 100px;
    margin-top: 40px;
}
.yt-container {
    position:relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;  
    margin: auto;  
    height: 312px;
    max-width: 540px;
    text-align: center;
    transition: all .6s ease-in-out;
    border: 10px solid #2b2f3e;
}
.yt-container:hover {
    border: 10px solid #ffbd30cc;
}
.yt-container iframe{
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    display: none; 
}
#asic-howto {     
    background-image: url("../img/thumbnails/pirate-chain-asic-mining-thumbnail.webp");
    border-radius: 15px;
}
#gpu-howto {
    background-image: url("../img/thumbnails/pirate-chain-gpu-mining-thumbnail.webp");
    border-radius: 15px;
}
@media screen and (max-width:1150px) {
    .howto-section .box {
        float: none;
        width: 100%;        
        text-align: center;
        margin: auto;        
    }
    .howto-section .box-right {
        margin-top: 0px;
        float: none; 
        width: 100%;
        margin-top: 40px;
    }
}
@media screen and (max-width:600px) {
    .yt-container {
        width: 100%; 
        height: 225px;
        max-width: 380px;
    }
}
@media screen and (max-width:420px) {
    .yt-container {
        height: 168px;
        max-width: 280px;
    }
}

/* ----- contact-section ----- */
.contact-section {
    padding: 140px 0px 120px;
}
.contact-section .box img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
    opacity: 0.8;
    border-radius: 20px;
    -webkit-filter: drop-shadow(12px 12px 7px rgb(0, 0, 0, 0.));
    filter: drop-shadow(12px 12px 7px rgb(0, 0, 0, 0.5));
}
.contact-section .box-right {
    margin-left: 30px;
    margin-top: 25px;
}
.contact-section .box-right p {
    margin-top: 30px;
    width: 100%;
    max-width: 400px;
}
@media screen and (max-width:900px) {
    .contact-section .box {
        float: none;
        width: 100%;
        max-width: 700px;
        text-align: center;
        margin: auto;
    }
    .contact-section .box-right {
        float: none; 
        width: 100%;
        margin: 40px auto 0px;
        max-width: 500px;
    }
    .contact-section {
        padding-top: 80px;
    }
}
.contact-section .a-btn {
    margin-top: 40px;
}
.contact-section p{
    margin-top: 40px;
    text-align: justify;
}

#height {
    transition: color 2s;
}
