﻿.soldier-banner {
    background: url('/Content/images/Awcf.jpg') no-repeat center center;
    background-size: cover; /* Ensures full image is visible */
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000; /* Optional: fallback for transparent areas */
    /*height: 100vh;*/ /* or any height you need */
    position: relative;
}
/*
    .overlay-content {
	  position: absolute;
	  top: 50%;
	  left: 50%;
	  transform: translate(-50%, -50%);
	  width: 100%;
	  font-size:1.0rem !important;
	}
*/
.overlay-content {
    position: relative;
    margin: 2px;
    width: 100%;
    /*top: 100;*/ /* Aligns to the top */
    /*left: 54%;*/
    /*transform: translateX(-50%);*/ /* Only center horizontally */
    width: 100%;
    /*padding-top: 23rem;*/ /* Optional: spacing from the very top */
    font-size: 1.5rem;
}

.contribution-section {
    background-color: rgba(178, 34, 34, 0.85); /* semi-transparent dark red */
    color: white;
    padding: 5px 7px;
    text-align: center;
    border-radius: 8px;
    height: 100%;
    margin-top: 2px;
    margin-bottom: 2px;
}

    .contribution-section p {
        font-size: 1.5rem;
    }

    .contribution-section span {
        font-size: 1.0rem !important;
        color: yellow;
    }

.contribution-button {
    background-color: yellow;
    color: #b22222;
    font-weight: bold;
    padding: 2px 5px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: .8em;
}

    .contribution-button:hover {
        animation: pulse 0.6s ease forwards;
        background-color: #b22222;
        color: yellow;
        border: 1px solid yellow;
        box-shadow: 0 0 10px yellow;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .overlay-content {
        /*top: 1rem;
        transform: translateX(-50%);
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 14rem;*/
        font-size: 1.5rem;
    }
    .soldier-banner {
    }

        .contribution-section {
        font-size: 1.5rem;
        padding: 8px 10px;
    }

    .contribution-button {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

