.product {
    width: 300px;
    padding: 20px;
    border: 2px solid #000;
    margin-top: 20px;
    background-color: #f9f9f9;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background-image: url('./src/Header.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    padding: 20px; 
    position: fixed;
    top: 0;
    left: 0;
    color: white;
    width: 100%; 
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5); 
    background-blend-mode: darken;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px; 
    margin-top: 130px
}

.contact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    /* display: none; */
    margin-bottom: 60px;
    margin-top: 50px;
}

footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1px;
}

.product-image{
    position: relative;
    width: auto;
    height: auto;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
}

.img-1 {
    width: 100%;
    height: auto;
}

.img-2 {
    width: 100%;
    height: auto;
}


.badge-1{
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: red;
    color: white;
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 5px;
}

.badge-2{
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: red;
    color: white;
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 5px;
}

.product-specs{
    /* visibility: hidden; */
    border-collapse: collapse; 
    width: auto;
    border: 2px solid #333;
    /* margin-bottom: 20px; */
    margin-bottom: 30px;
}

.product-specs th, .product-specs td {
    border: 1px solid #b4a9a9;
    padding: 8px;
    text-align: left;
}

.product-specs tr:nth-child(odd) {
    background-color: #f9f9f9; 
}

.product-specs tr:nth-child(even) {
    background-color: #eaeaea; 
}

.product-specs tr:hover {
    background-color: #add8e6; 
}

.contact-form label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.contact-form input[type="text"], .contact-form input[type="email"] {
    width: 92%; 
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #b4a9a9;
    border-radius: 5px;
    font-size: 14px;
}

.contact-form button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.contact-form button[type="submit"]:hover {
    background-color: #2535df;
}

  
.contact-form fieldset {
    border: 2px solid #131212;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
} 

.contact-form legend {
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ccc;
}

@media (max-width: 500px) {
    header {
        padding: 10px;
        font-size: 12px;
    }
}

@media (max-width: 500px) {
    .product{
        width: auto;
    }
}
