/*general*/
body {
    background-color: #f0f0f0;
}

/*navigation bar*/
#btn-login {
    width: 40px;
    height: 40px;
}

/*description and title*/
#div-emphasis {
    text-align: center;
    margin-top: 80px;
}

#div-emphasis > hr {
    margin: auto;
    width: 50%;
}

/*search*/
#div-container-search {
    margin: 0 auto;
    margin-top: 25px;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#form-search {
    text-align: center;
    padding: 10px;
    font-size: 20px;
    background-color: #fff;
    border-radius: 10px;
}

#form-search>input {
    border: 1px solid #000;
    border-radius: 5px;
    width: 50%;
    padding: 5px;
    margin-right: 5px;
}

#form-search>select {
    border: 1px solid #000;
    padding: 5px;
    border-radius: 5px;
    margin-right: 5px;
}

#form-search>button {
    background-color: #008000;
    color: #fff;
    border-radius: 5px;
    border: none;
    padding: 5px;
    width: 10rem;
}

#form-search>button:hover {
    background-color: rgb(0, 110, 0);
}

/*product list*/
#div-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 100px;
}

.div-products {
    margin: auto;
    margin-top: 30px;
    width: 250px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.div-products > h2 {
    margin-top: 10px;
    font-size: 30px;
    text-align: center;
}

.p-center {
    text-align: center;
    margin: 0;
}

.div-products > div {
    text-align: center;
}

.div-products > div > button{
    margin: 10px 0 10px 0;
    background-color: #8b0000;
    border-color: #8b0000;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
}

/*report block/product*/
#submitReport {
    background-color: #008000;
}

/*baseboard*/
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    gap: 15px;
}

.footer-links li {
    display: inline;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: blueviolet;
}

/*responsiveness*/
@media (max-width: 600px) {

    /*search*/
    #div-container-search {
        width: 95%;
    }

    #form-search > input, select {
        display: block;
        width: 100%;
    }

    #form-search>select {
        margin: 10px 0 10px 0;
    }

    #div-container {
        grid-template-columns: 1fr;
    }

    /*baseboard*/
    .footer-container {
        font-size: 16px;
    }
}