body {
    margin: 5vh 5vw;
    font-family: Poppins, sans-serif;
}

#compareTable > thead {
    position: sticky;
    top: 0px;
}

.table1 {
	--table-theme: #2980b9;
	border-collapse: collapse;
	margin: 25px 0;
	font-size: 0.9em;
	min-width: 400px;
	border-radius: 5px 5px 0 0;
	overflow: hidden;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.table1 thead tr {
	background-color: var(--table-theme);
	color: white;
	text-align: left;
	font-weight: bold;
}

.table1 th, .table1 td {
	padding: 12px 15px;
}

.table1 tbody tr {
	border-bottom: 1px solid #dddddd;
}

.table1 tbody tr:nth-of-type(even) {
	background-color: whitesmoke;
}

.table1 tbody tr:last-of-type {
	border-bottom: 2px solid var(--table-theme);
}

.table1 tbody tr.active {
	color: var(--table-theme);
}

.table1 thead tr td:not(:first-of-type),
.table1 tbody tr td:not(:first-of-type) {
    text-align: center;
}

.table1 tbody tr:last-of-type td {
    max-width: 175px;
}

.display-inline {
    display: inline;
}

a {
    color: inherit;
}

button {
    font-family: Poppins, sans-serif;
    cursor: pointer;
}

.btn1 {
    border: 2px solid black;
    border-radius: 10px;
    padding: 5px 10px;
    transform: scale(1, 1);
    transition: 250ms;
    background: whitesmoke;
}

.btn1:hover {
    transform: scale(1.1, 1.1);
}

.btn2 {
    display: inline-block;
    padding: 3px 5px;
    background: #2ecc71;
    border: none;
    outline: none;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: 250ms;
}

.btn2:hover {
    background: #27ae60;
}

.btn2.danger {
    background: #e74c3c;
}

.btn2.danger:hover {
    background: #c0392b;
}

.color-white {
    color: white;
}

#gameEngineList {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
}

#gameEngineList > div {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    padding: 20px;
    margin: 20px;
    border-radius: 5px;
}

#gameEngineList > div > h2 {
    margin-block-start: 0;
    overflow-wrap: break-word;
}

#tableOfContents {
    overflow: hidden;
    position: fixed;
    right: 0;
    background-image: linear-gradient(to left, rgba(255, 255, 255, 255) 90%, rgba(255, 255, 255, 0) 95%);
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    transition: 250ms;
    z-index: 2;
}

#tableOfContents > a {
    text-decoration: none;
    transition: 250ms;
    display: block;
}

#tableOfContents > a:hover {
    color: royalblue;
}

#dashboardButton,
#resetPasswordButton,
#loadMoreGameEngines,
#viewAccountInfo {
    display: none;
}

#loadMoreGameEngines {
    margin: 20px;
}

@media only screen and (max-width: 768px) {
    #tableOfContents {
        right: -125px;
    }

    #tableOfContents:hover {
        right: 0;
    }
}
