*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	/* Primary */
	--primary-light: 255, 255, 255;
	--primary: 224, 224, 224;
	--primary-dark: 180, 180, 180;
	--on-primary: 0, 0, 0;

	/* Secondary */

	--secondary-light: 39, 165, 136;
	--secondary: 21, 92, 79;
	--secondary-dark: 15, 65, 56;
	--on-secondary: 255, 255, 255;

	/* Tertiary */
	--tertiary-light: 255, 255, 230;
	--tertiary: 255, 242, 196;
	--tertiary-dark: 200, 190, 120;
	--on-tertiary: 0, 0, 0;
}


/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
	display: none;
}

body {
	/* font-family: 'Roboto', sans-serif; */
	font-family: "Montserrat";
	margin: 0;
	padding: 0;
	background: rgba(var(--primary-green-light));
	background-image: url('../assets/background.png');
	background-repeat: repeat;
	background-size: contain;
	background-position: top left;
	background-attachment: fixed;
}


/* Page Layout Stuff */
.container{
    width: 100%;
    margin: 7em auto 2em auto;
}
.wrapper{
    width: 95%;
    margin: auto;
    text-align: justify;
    background-color: rgba(var(--primary), 0.7);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
    padding: 0em 5em 2em 5em;
    border-radius: 20px;
    font-size: 1.3em;
}
.page_title_wrapper{
    width: 100%;
    padding: 0em 1em;
}
.page_title{
    color: #000;
    background: rgba(var(--primary), 1);
    width: fit-content;
    padding: 0.5em 2em;
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    margin: auto;
    text-align: center;
    margin-bottom: 1em;
}

.page_title::after {
    content: "";
    display: block;
    width: 2em;
    height: 0.1em;
    background-color: rgb(var(--secondary-dark));
    margin: auto;
    border-radius: 10px;
    transform: scaleX(0.5);
    transform-origin: center;
    transition: transform 0.4s ease-in-out;
}
.container:hover .page_title::after {
    transform: scaleX(2);
}


/* Table Styles */

.table-container{
    overflow-x: auto;
    border-radius: 10px;
    width: 80%;
    margin: 1em auto;
}
table{
    width: 100%;
    text-align: center;
    border-spacing: 0;
    margin: auto;
}
th, td{
    border: 1px solid #ddd;
    padding: 0.5em;
    text-align: center;
    font-size: 1em;
    white-space: nowrap;
}
th{
    background: rgba(var(--secondary-light), 0.7);
    color: black;
    font-weight: bold;
    text-align: center;
    font-size: 1em;
}

tr:nth-child(even) {
    background: #E1E4D5;
}

tr:nth-child(odd) {
    background: #F9FAEF;
}
tr:hover {
    background: #CDEDA3;
    transition: 0.3s ease-in-out;
}
td a{
    text-decoration: none;
    font-size: 18px;
    margin: auto 1em;
    color: black;
    background-color: rgba(var(--primary-light), 1);
    padding: 0.2em 0.5em;
    border-radius: 6px;
    transition: 0.3s ease-in-out;
    border: 1px solid lightgray;
}
td a:hover{
    color: rgba(var(--primary-light), 1);
    background-color: black;
    border: 1px solid black;
}


@media screen and (max-width: 768px) {
    .container{
        margin-top: 13em;
    }
    .wrapper{
        padding: 0em 0.5em 1em 0.5em;
		font-size: 1em;
    }
	.page_title{
		width: fit-content;
	}

	.table-container{
        width: 100%;
    }
    th, td{
        padding: 0.4em;
    }
    td a{
        padding: 0.2em;
    }
}