/* ----- button-description  section ----- */
.button-description {
    background: linear-gradient(0deg, var(--dark) 20%, #070302 100%) no-repeat;
    padding: 40px 0px 0px;
    text-align: center;
}
.button-description .divider {
    margin: 0px;
    position: relative;
    bottom: -10px;
}
.donation-hero {
    background-size: cover; 
    background-position: center;
    background-color: #020202;
}
@media screen and (max-width:1257px) {
    .donation-hero {
        background-size: contain;background-size: auto;background-color: #020202;
    }   
}
.button-description .description {
    background: linear-gradient(180deg, #23252d96 20%, transparent 100%) no-repeat;
    border-radius: 20px 20px 0px 0px;
    padding: 80px 5%;
    width: 100%;
    max-width: 700px;
    margin: auto;
    display: block;
    text-align: left;    
    color:var(--text-main);
}
.button-description h2 {
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.774); 
    margin: 0px auto 40px;
    color: var(--pirate-doubloon);
    text-align: center;
}
.button-description .description p {
    margin-top: 20px;
}
.button-description .donation-container {
    margin: 40px auto 20px;
    display: inline-block;
    width: 100%;
    max-width: 800px;
    text-align: center;
    vertical-align: top;
}
.button-description .donation-container .donation-image {
    -webkit-filter: drop-shadow(5px 5px 5px #22222281);
    filter:         drop-shadow(5px 5px 5px #22222286); 
}
.button-description .donation-container .clickme {
    display: block;
    color: var(--pirate-cloud);
    font-size: 16px;
}

/* ----- button-builder section ----- */
.button-builder {
    background:linear-gradient(to bottom,var(--lighter-grey) 0%, var(--darker-grey) 100%);
    padding: 10px 0px 20px;
}
.button-builder h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    font-size: 48px;
    font-weight: bold;
    color: var(--pirate-doubloon);
    text-shadow: 6px 6px 12px #262729;
}
.button-builder p {
    width: 100%;
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 40px;
}
.button-builder h3 {
    margin: 80px 0px 20px;
    color: var(--pirate-cloud);
}
.button-builder #imageContainer {
    width: 100%;
    text-align: center;
}
.button-builder #imageContainer img {
    width: 100%;
    max-width: 190px;
    margin: 20px 30px;
    filter: drop-shadow(0.25rem 0.25rem 0.5rem #00000054);
    transition: all 0.5s ease;
    position: relative;
    cursor: pointer;
   
}
.button-builder .img-wrapper {
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: 190px;
    margin: 20px 30px;
    transition: all 0.5s ease;
}  
.button-builder .img-wrapper img {
    width: 100%;
    filter: drop-shadow(0.25rem 0.25rem 0.5rem #00000054);
}
.button-builder .img-wrapper.selected {
    transform: scale(1.2); /* increase size by 10% */
}  
.button-builder .img-wrapper.selected::before {
    content: "✔"; 
    position: absolute;
    top: 10px; 
    right: -20px;
    font-size: 30px; 
    color: greenyellow;
    background-color: #333; 
    z-index: 100; 
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; 
    border: 2px solid greenyellow;
    filter: drop-shadow(4px 4px 8px #000000);
}
.button-builder #imageContainer {
    width: 100%;
    text-align: center;
}  
.button-builder #address {
    width: 100%;
    max-width: 740px;
    height: 32px;
    display: block;
    font-size: 16px;
    padding: 5px 20px;
    background-color: var(--pirate-cloud);
    border: 1px solid var(--pirate-neon);
    margin-left: 20px;
}
.button-builder .btn,
.button-builder label {
    margin-left: 20px;
    text-align: left;
}
.button-builder #message {
    color: var(--red-highlight);
    text-align: left;
    font-size: 16px;
    display: block;
    margin-top: 20px;
    margin-left: 20px;
}

.button-builder #step4header {
    opacity: 0;
    transition: all 2s ease-in-out;
}
.button-builder #step4 {
    display: block;
    width:0px;
    height: 0px;
    overflow: hidden;
    transition: all 1.2s ease-in-out;
}
.button-builder #codeBlock {
    background-color: #2b2b2b;
    padding: 30px 40px;
    margin-left: 20px;
    margin-bottom: 80px;
    font-family: monospace;
    color: #a0adbb;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.137);
    display: block;
}
.button-builder #codeBlock .key {
    color: #c077d9;
}
.button-builder #codeBlock .value {
    color: #8aae68;
}

.donation-divider {
    background-color: var(--darker-grey);
    padding: 0px;
    margin: 0px;
    position: relative;
    height: 140px;
}
@media screen and (min-width:1800px) {
    .donation-divider {
        height: 300px;
    } 
}
.donation-divider img {
    padding: 0px;
    margin: 0px;
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100%;
    min-width: 1100px;
    z-index: 0;
}

/* ----- mobile width adjustments ----- */
@media screen and (max-width:500px) {
    .hero-section  {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .hero-section h1 {
        font-size: 30px;
    }
    .hero-section strong {
        font-size: 20px;
    }
    .hero-section p {
        font-size: 16px;
    }
    .btn, .button-builder .btn {
        width: 100%;
        min-width: 100px;
        padding: 10px 5px;
        margin: 8px auto;
    }
    .button-description h2 {
        font-size: 26px;
    }
    .button-builder #imageContainer img {
        margin-inline: auto;
    }
    .button-description .donation-container .donation-image {
        width: 100%;
        max-width: 250px;
    }
    .button-builder .img-wrapper {
        margin-inline: auto;
    }
}
