@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri&display=swap');
*{
    padding: 0;
    margin: 0;
    font-family: 'Hind Siliguri', sans-serif;
}
.main-grid {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 10% 90%;
    grid-template-areas: 
    'h h'
    'b b';
}
.body {
    font-family: system-ui;
    grid-area: b;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
}
.header {
    background: rgb(8,87,225);
    background: linear-gradient(138deg, rgba(8,87,225,1) 0%, rgba(0,230,255,1) 100%); 
    grid-area: h;
}
.admin-card {
    background-image: url(images/admin.png);
	background-size: cover;
    background-color: whitesmoke;
    border: 5px solid gray;
    padding: 1rem;
    justify-content: left;
}
.index-card {
    background-image: url(images/homepage.png);
    font-weight: bold;
    background-size: cover;
    background-color: whitesmoke;
    border: 5px solid gray;
    padding: 1rem;
    justify-content: left;
}
.card {
    background-color: whitesmoke;
    border: 5px solid gray;
    padding: 1rem;
    justify-content: left;
}
input {
    width: 300px;
    margin: 0.5rem;
    padding: 0.5rem;
    border: 0.25rem inset#00aaff;
    border-radius: 0.5rem;
}
select {
    width: 300px;
    margin: 0.5rem;
    padding: 0.5rem;
    border: 0.25rem inset#00aaff;
    border-radius: 0.5rem;
}
table {
    width: 80%;
    background-color: whitesmoke;
    overflow: auto;
    height: fit-content;
    border: 5px solid gray;
    border-collapse: collapse;
}
table th{
    background: gray;
    color: white; 
}
table, th, td {
    border: 1px solid;
    text-align: center;
    padding: 0.5rem;
}
table td:last-child input[type="checkbox"] {
    width: fit-content;
}
table tr:hover{
    background-color: rgb(173, 255, 47, 0.5);
}
.spots-remaining{
    overflow: auto;
    position: absolute;
    top: 10%;
    right: 0%;
    background-color: whitesmoke;
    border: 5px solid gray;
    padding: 1rem;
    justify-content: left;
    width: 15%;
    height: fit-content;
}