@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: #c1efff;
}

body {
    background-color: #282e3e;
}

header {
    background-color: #33394d;
    box-shadow: 0 0 10px rgb(0 0 0 / 50%);
    display: grid;
    padding: 0 1rem;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 1rem;
}

header>*:nth-child(2) {
    justify-self: center;
    text-align: center;
}

header>*:nth-child(3) {
    justify-self: end;
}

.menuPopup a {
    text-decoration: none;
    padding: 0.5rem 0.2rem;
    text-align: center;
}

.menuPopup a.active {
    color: #00bfff;

}

.menuPopup a:hover {
    background-color: #00bfff;
    border-radius: 2px 2px 2px 2px;
    color: #33394d;
}

.logo img {
    padding: 0.5rem 0;
    -webkit-filter: invert(91%) sepia(7%) saturate(1983%) hue-rotate(169deg) brightness(101%) contrast(102%);
    filter: invert(91%) sepia(7%) saturate(1983%) hue-rotate(169deg) brightness(101%) contrast(102%);
    /* make image height fit the header height */
    height: 2rem;
}

body>h1 {
    text-align: center;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.card-container .card {
    align-items: center;
    background-color: #33394d;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(0 0 0 / 50%);
    display: flex;
    flex-direction: column;
    margin: 1rem;
    padding: 1rem;
    width: 300px;
}

.card-container .card h2 {
    padding: 0 0 1rem 0;
    margin: 0;
}

.card-container .card a {
    color: #00bfff;
    text-decoration: none;
    text-align: center;
}

.card-container .card a:hover {
    color: #9de6ff;
    text-decoration: underline;
}

.card-container .card .card-bookmarks {
    display: flex;
    flex-direction: column;
}

.loginForm,
.registerForm,
.addBookmarkForm {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    width: 300px;
}

input[type="submit"] {
    background-color: #00bfff;
    border: none;
    border-radius: 5px;
    color: #33394d;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

input[type="submit"]:hover {
    background-color: #9de6ff;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    border: 1px solid #c1efff;
    border-radius: 5px;
    margin: 0.5rem;
    outline: none;
    padding: 0.5rem;
    background-color: #33394d;
}

.bookmarkTable {
    border-collapse: collapse;
    margin: 0 auto;
    margin-top: 4rem;
}

.bookmarkTable th,
.bookmarkTable td {
    text-align: center;
    padding: 0.2rem;
}

.bookmarkTable th {
    background-color: #00bfff;
    color: #33394d;
}

.bookmarkTable th:first-child {
    border-top-left-radius: 5px;
}

.bookmarkTable th:last-child {
    border-top-right-radius: 5px;
}

.bookmarkTable td:nth-child(2) {
    max-width: 30ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menuButton {
    border: none;
    background-color: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    text-align: right;
}

.menuPopup {
    position: absolute;
    top: 3.5rem;
    right: 4px;
    background-color: #33394d;
    border: 1px solid #00bfff;
    border-radius: 5px;
    padding: 1rem;
    z-index: 1;
    display: none;
    grid-template-columns: 1fr;
}

.settingsTable {
    border-collapse: collapse;
    margin: 0 auto;
    margin-top: 4rem;
}

.settingsTable th,
.settingsTable td {
    text-align: center;
    padding: 0.2rem;
}

.settingsTable th {
    background-color: #00bfff;
    color: #33394d;
}

.settingsTable td {
    background-color: #33394d;
}

.settingsTable th:first-child {
    border-top-left-radius: 5px;
}

.settingsTable th:last-child {
    border-top-right-radius: 5px;
}

.settingsTable input[type="text"] {
    text-align: center;
}

.menuButton {
    background-image: url(/static/menuIcon.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 2.5rem;
    height: 2.5rem;
    -webkit-filter: invert(91%) sepia(7%) saturate(1983%) hue-rotate(169deg) brightness(101%) contrast(102%);
    filter: invert(91%) sepia(7%) saturate(1983%) hue-rotate(169deg) brightness(101%) contrast(102%);
}

/* scrollbar matching website design */
::-webkit-scrollbar {
    width: 0.5rem;
}

::-webkit-scrollbar-track {
    background: #33394d;
}

::-webkit-scrollbar-thumb {
    background: #00bfff;
}

::-webkit-scrollbar-thumb:hover {
    background: #9de6ff;
}

/* set style for all checkboxes matching website-design */
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #33394d;
    border: 1px solid #00bfff;
    border-radius: 5px;
    height: 1rem;
    width: 1rem;
    outline: none;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: #00bfff;
}

input[type="checkbox"]:checked::after {
    content: "✔";
    color: #33394d;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1rem;
}

table tr.highlight td {
    background-color: #00bfff;
    color: #33394d;
}

.quoteContainer *{
    font-family: 'Special Elite' !important
}

.quoteContainer blockquote {
	font-weight: 100;
	font-size: 2rem;
	max-width: 600px;
	line-height: 1.4;
	position: relative;
	padding: .5rem;
    margin: auto;
}

.quoteContainer blockquote:before,
.quoteContainer blockquote:after {
	position: absolute;
	color: #f1efe6;
	font-size: 8rem;
	width: 4rem;
	height: 4rem;
}

.quoteContainer blockquote:before {
	content: '“';
	left: -5rem;
	top: -2rem;
}

.quoteContainer blockquote:after {
	content: '”';
	right: -5rem;
	bottom: 1rem;
}

.quoteContainer .cite {
	line-height: 3;
	text-align: center;
}