/* CSS */

*{
    margin: 0%;
    padding: 0%;
}


/* Navigation & Header */

header{
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    height: 80px;
}

nav{
    flex: 1;
}

nav ul{
    display: flex;
    justify-content: space-evenly;
}

nav ul li{
    list-style: none;
    
}

nav a{
    color: black;
    text-decoration: none;
    font-size: 20px;
    border: 16px;
    border-radius: 2px;
}

@view-transition{
    navigation: auto;
}

/* Main Code */

main{
    min-height: calc(100vh - 80px - 40px);
    padding:30px;
}

h1{
    color: #333;
    padding-bottom: 10px;
}

section{
    padding-top: 10px;
}

/* Product Cards */

.product_card{
    border: 5px solid orangered;
    border-radius: 10px;
    margin: 20px;
    padding: 5px;
    width: 350px;
    box-shadow: 2px 2px 10px grey;
    background-color: #fce2d7;
}

#card_cont{
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

/* Tables */

#my_table{
    border-collapse: collapse;
    background-color: lightgray;
    cursor: cell;
}

#my_table th, #my_table td{
    border: 3px solid black;
    width: 80px;
    padding: 5px;
    text-align: center;
    background-color: whitesmoke;
}

#my_table td:hover{
    background-color: lightcoral;
    font-weight: bold;
}

.not_cur_mo{
    opacity: 0.5;
}

.not_cur_mo:hover {
    opacity: 1;
}

#current_date{
    font-weight: bold;
    background-color: blue;
    color:lightblue;
}

/* Forms */

section#form_main{
    background-image: url(../images/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgb(125, 162, 167);
    gap: 20px;
}

#my_form{
    width: 400px;
    border: 1px solid rgb(87, 47, 1);
    border-radius: 5px;
    padding: 5px;
    backdrop-filter: blur(5px);
}

#my_form fieldset{
    border: 1px solid rgb(119, 64, 0);
    border-radius: 5px;
    padding: 5px;
}

#my_form legend{
    margin-left: 30px;
    color: rgb(197, 174, 140);
    padding: 0 4px;
}

.input_group, .input_group1{
    padding: 15px 20px;
}

.input_group input, .input_group select{
    width: 100%;
    padding: 10px;
    background-color: transparent;
    border-radius: 5px;
    color: rgb(203, 173, 173);
    font-size: 14px;
}

.input_group select option{
    background-color: rgba(139, 63, 12, 0.9);
 
}

.input_group select option:hover{
    background: #502101 !important;
    /* box-shadow: 0 0 10px 100px #502101 inset; */
}

#submit_btn{
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    background-color: #a84706;
    color: white;
    font-weight: bold;
}

#submit_btn:hover{
    background: #9c5f02;
    box-shadow: 0 0 5px #f3a601,
                0 0 25px #f3a601,
                0 0 50px #f3a601,
                0 0 100px #f3a601;
}

#my_form h2{
    font-weight: normal;
    font-size: 20px;
}

.input_group label, .input_group input{
    display: block;
}

.input_group1 input[type=radio], .input_group1 input[type=checkbox]{
    accent-color: rgb(240, 156, 2); 
}

/* For Chrome, Safari, Edge, and Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield; /* Standard property for newer browsers */
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}


/* Footer */
footer{
    background-color: whitesmoke;
    height: 40px;
}

footer p{
    padding: 10px 10px;
}