 :root {
	--card: 0 1px 4px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.3);
	--main-clr: hsl(278, 95%, 32%);
	--border: 1.6px solid #ccc;
	--body-bgc: hsl(0, 0%, 98%);
	--header-bgc: white;
	--article-bgc: white;
	--quote-bgc: whitesmoke;
	--tbl-border: hsl(0, 1%, 90%);
}

/* @media (prefers-color-scheme: dark) {
	:root {
		--card: 0 1px 4px rgba(200, 200, 200, 0.2), 0 1px 2px rgba(200, 200, 200, 0.3);
		--txt-clr: rgb(248, 248, 248);
		--border: 1.6px solid rgb(162, 162, 162);
		--body-bgc: rgb(20, 20, 20);
		--header-bgc: rgb(28, 28, 28);
		--article-bgc: rgb(32, 32, 32);
		--quote-bgc: rgb(54, 54, 54);
		--bulb-icon: url("/light.svg");
		--dialog-bgc: rgb(60, 60, 60);
		--tbl-border: hsl(0, 0%, 28%);
	}
} */

* {
	box-sizing: border-box;
}

*::-webkit-scrollbar {
	background-color: rgba(0, 0, 0, 0.01);
	width: 2px;
	height: 3px;
}

html {
	height: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-size-adjust: 100%;
	margin: 0;
	height: 100%;
	background-color: var(--body-bgc);
	color: var(--txt-clr);
	text-rendering: optimizeSpeed;
}

a {
	text-decoration: none;
	color: hsl(211, 100%, 50%);
}

button {
	box-shadow: var(--card);
	padding: 0.8em;
	background-color: var(--main-clr);
	color: white;
	border-radius: 8px;
	border: none;
	font-weight: bold;

	& a {
		color: white;
	}
}

.center {
	text-align: center;
} ol {
    padding: 1em;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;

}

li {
    list-style-type: none;
    box-shadow: var(--card);
    border-radius: 0.4em;
    text-align: center;
    position: relative;
}

.tool-info {
    &::after {
        content: " ";
        position: absolute;
        inset: 0;
        box-shadow: 0 6px 0.7em 0 rgba(90, 90, 90, 0.4);
        border-radius: 0.4em;
        opacity: 0;
        transition: opacity 1000ms ease-in-out;
    }

    &:hover::after {
        opacity: 1;
    }

    & img {
        border-radius: 0.4em 0.4em 0 0;
        max-width: 100%;
        object-fit: cover;
    }

    & h3,
    & p {
        margin-inline: 0.5em;
        text-align: center;
    }
} 
	.top-header {
		padding: 1rem 2rem;
		height: var(--header-hgt);
		position: sticky;
		top: 0;
		z-index: 4;
		background-color: var(--header-bgc);
		box-shadow: var(--card);
		color: var(--txt-clr);
		display: flex;
		align-items: center;
		justify-content: space-between;

		& .logo-txt {
			width: 10em;
			font-weight: bold;
			font-size: 1.2em;
			color: var(--txt-clr);

			& span {
				margin-left: 5px;
				vertical-align: middle;
			}
		}
	}
