* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

@view-transition {
    navigation: auto;
}

header{
    background-color: aqua;
    display: flex;
    height: 62px;
    padding: 0 30px;
}

header ul{
    display: flex;
    align-items: center;
    height: 62px;
    justify-content: end;
    gap: 80px;
}

header ul li{
    list-style: none;
    text-transform: uppercase;
}

header li a{
    text-decoration: none;
    color: black;
    font-weight: bold;
}

nav{
    /* background-color: tomato; */
    /* display: inline-block; */
    flex-grow: 1;
}

main{
    background-color: chartreuse;
    padding: 20px 20px 60px 20px; /* top, right, bottom, left*/
    /* padding: 20px 30px;  - top/bottom, left/right */
    min-height: calc(100vh - 62px - 50px);
}

main#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: white;
    gap: 20px;
}

#my_form{
    width: 400px;
    border: 1px solid rgb(119, 64, 0);
    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: blanchedalmond;
    padding: 0 4px;
}

.input_group, .input_group1{
    padding: 15px 10px;
}

.input_group input, .input_group select{
    width: 100%;
    padding: 10px;
    background-color: transparent;
    border-radius: 5px;
    color: white;
    font-size: 14px;
}

.input_group select option{
    background-color: rgba(201, 82, 3, .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);
}

.my_table{
    border-collapse: collapse;
    margin-bottom: 50px;
}

.my_table th, .my_table td{
    border: 3px solid blue;
    width: 80px;
    padding: 5px;
    text-align: center;
}

.not_current_month{
    opacity: 0.5;
}

#current_date{
    font-weight: bold;
    background-color: blue;
    color: white;
}

.my_table td:not(.not_current_month):hover{
    background-color: rgb(35, 70, 0);
    color: white;
}

#card_cont{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-evenly;
}

.product_card{
    border: 5px solid red;
    border-radius: 20px;
    margin: 20px;
    padding: 15px;
    width: 300px;
    box-shadow: 1px 1px 15px gray;
    transition: 0.5s;
}

.product_card:hover{
    transform: scale(1.05);
}

.article_tile{
    border: 3px solid red;
    border-radius: 20px;
    min-height: 250px;
    display: flex;
    gap: 30px;
    padding: 10px;
    margin: 20px 0;
}

.dtg{
    width: 200px;
    border: 2px solid chocolate;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
}

.article_example{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.month, .day{
    text-align: center;
    font-size: 70px;
}

.month::after{
    content: '';
    width: 100%;
    height: 2px;
    background-color: chocolate;
    display: block;
}

.day{
    flex: 1;
    line-height: 126px;
}

footer{
    background-color: darkgray;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    text-align: center;
    line-height: 50px;
}


#main_area{
    background-color: tomato;
    padding: 10px;
    display: flex;
    gap: 10px;
}
#left_area{
    background-color: wheat;
    flex-grow: 1;
    padding: 10px;
}

#left_area p{
    background-color: darkgreen;
    margin-bottom: 10px;
}
#right_area{
    background-color: darkblue;
    width: 300px;
    flex-grow: 0;
    flex-shrink: 0;
}