/* css variables */
:root {
    --color-grey: #7794a6;
    --color-red: #a63348;
    --color-redder: #8c2e36;
    --color-white: #f0f2f2;
    --color-black: #000000;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    font-family: 'Graduate', serif;
    line-height: 1.6;
}

.modal-content {
    background-color: var(--color-white);
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
    max-width: 600px;
}

.close {
    color: var(--color-grey);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: var(--color-black);
    text-decoration: none;
    cursor: pointer;
}

/* Auction Item Styles */
.bidder-item_title {
    background: #fff;
    margin: 10px;
}

.bidder-item_title h1 {
    font-family: 'Graduate', serif;
    font-size: 32px;
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
}

.bidder-item_image {
    text-align: center;
    margin-bottom: 20px 40px;
}

.bidder-item_image img {
    max-width: 100%;
    height: auto;
}

.bidder-action {
    margin-top: 20px;
}

.current-bidder .label{
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--color-red);
}

.enter-bidder {
    margin-top: 20px;
    border-bottom: 1px solid #ccc; 
    padding-bottom: 20px; 
    margin-bottom: 20px;
}

.bidderAmt {
    width: 100%;
    height: 1.3em;
    font-family: 'Graduate';
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 20px;
    text-align: center;
}

.bidder-button {
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 5px; 
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%; 
    margin:10px auto ; 
    display: block; 
    text-align: center;
    text-decoration: none;
}

.bidder-button:hover {
    background-color: var(--color-redder);
}

#timeleft span{
    width: 100%;
    font-weight: bold;
    color: var(--color-red);
}

.bidder-info,
.bidder-info2 {
    margin-top: 20px;
    text-align: left;
}
.bidder-info2 {
    margin-top: 20px;
    border-bottom: 1px solid #ccc; 
    padding-bottom: 20px; 
}

.label {
    font-weight: bold;
}

.value {
    padding-left: 10px;
}


.description h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
}

.description P {
    margin-bottom: 20px;
    text-align: left;
}

/* Responsive Styles */
@media screen and (max-width: 600px) {
    .modal-content {
        width: 90%;
    }
}
