*{
    padding: 0;
    margin: 0;
}

input[type='number'] {
    -moz-appearance:textfield;
    -webkit-appearance:textfield;
    appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

html{
    height: 100%;
}

body{
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #d0d0d0;    
}

button {
    background-color: rgba(255, 0, 0,8);;
    color: white;
    border: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

button:hover{
    background-color: rgb(255, 90, 90)
}

.header{
    max-height: 10vh;
    height: 45px;
    padding: 10px 15px;
    background-color: rgba(240, 10, 10, 0.8);

}

#logout {
    text-decoration: none;
    color: white;
    float: right;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 4px 3px 2px rgba(0, 0, 0, 0.4);
}

#goBack {
    text-decoration: none;
    color: white;
    float: left;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 4px 3px 2px rgba(0, 0, 0, 0.4);
}

.wrapper{
    flex-grow: 1;
    align-self: center;
    display: flex;
    flex-wrap: wrap;
}

fieldset {
    border: none;
}

#content-box {
    align-self: center;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 320px;
    min-width: 340px;
    max-width: 400px;
    border: solid 2px;
    border-radius: 10px;
    margin: 10px 8px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

#login-form fieldset {
    background-color: #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 340px;
    border-radius: 10px;
    font-size: 20px;
}

#login-form label, input{
    text-align: center;
    padding: 15px;
    margin: 0 15px;
}

#login-form input{
    font-size: 20px;
    border-radius: 5px;
    border: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

#login-form label, legend{
    font-size: 25px;
    font-weight: bold;
}

#login-form button{
    font-weight: bold;
    font-style: italic;
    font-size: 25px;
    padding: 20px;
    margin: 20px 15px;
    border: none;
    background-color: rgba(255, 0, 0,8);
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);

}

#login-form button:hover{
    background-color: rgba(0, 0, 0, 0.2);
}

#error {
    text-align: center;
    margin-bottom: 10px;
    color: red;
    font-size: 20px;
}

#option-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#option-box p {
    font-size: 25px;
    font-weight: bold;
    margin: 15px 0;
}

#option-box a { 
    color: #fff;
    display: grid;
    align-content: center;
    flex-grow: 1;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    width: 260px;
    background-color: rgba(255, 0, 0,8);;
    padding: 10px;
    margin: 15px 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
}
#product-list {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    row-gap: 10px;
    width: 100%;
}
#product-list li{
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    text-align: center;
    list-style-type: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

#product-list li:hover {
    cursor: pointer;
}

#product-list li span{
    padding: 15px 0px;
}

#product-list li button{
    padding: 10px;
    margin: 0 10px;
    background-color: rgba(255, 0, 0,8);;
    border: none;
    border-radius: 10px;
}

.template-form {
    width: 100%;
}

.template-form fieldset{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 100%;
}

.template-form fieldset *{
    font-size: 16px;
    padding: 10px;
    width: 85%;
    text-align: center;
}

.template-form select, .template-form button {
    width: 91%;
}

.template-form fieldset p{
    font-size: 20px;
    font-weight: bold;
}

.family {
    align-self: center;
    text-align: center;
    width: 100%;
}

.family select {
    text-align: center;
    padding: 15px 0px;
}

.family label {
    display: block;
    padding: 10px 0;
    margin-top: -20px;
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
}

.expired-info {
    align-self: center;
    text-align: center;
    width: 100%;
}

.expired-info p {
    font-weight: bold;
}

.expired-info button{
    font-size: 20px;
    font-style: italic;
    width: 260px;
    background-color: rgba(255, 0, 0,8);;
    padding: 10px;
    margin: 25px 10px;
    border-radius: 10px;
}

.tomorrow {
    background-color: rgba(255, 0, 0, 0.3);
}

.footer{
    padding: 10px 15px;
    max-height: 10vh;
    background-color: rgba(255, 0, 0,8);
    color: #fff;
    text-align: center;
}
