/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    --h: 212deg;
    --l: 43%;
    --brandColor: hsl(var(--h), 71%, var(--l));
    margin: 0;
    background: #007991;
    background: -webkit-linear-gradient(to right, #78ffd6, #007991);
    background: linear-gradient(to right, #78ffd6, #007991);
}

p {
    margin: 0;
    line-height: 1.6;
}

/* Card Styles */
.card {
    border: none;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0.1rem 0.1rem 1.5rem rgba(0, 0, 0, 0.3);
}

.card:before {
    content: "";
    position: relative;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #E1BEE7;
    transform: scaleY(1);
    transition: all 0.5s;
    transform-origin: bottom;
}

.card:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #8E24AA;
    transform: scaleY(0);
    transition: all 0.5s;
    transform-origin: bottom;
}

.card:hover::after {
    transform: scaleY(1);
}

/* Typography */
.fonts {
    font-size: 13px;
    font-weight: 500;
}

h2 {
	display: flex;
	align-items: baseline;
	margin: 0 0 1rem;
	color: rgb(70 70 70);
    font-size: smaller;
}

h3 {
    display: flex;
    align-items: baseline;
    margin: 0 0 1rem;
    color: rgb(70 70 70);
}

h3::before {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 1rem;
    width: 3rem;
    height: 3rem;
    content: counter(list);
    border-radius: 50%;
    background-color: var(--c1);
    color: white;
}

/* List Styles */
ol {
    list-style: none;
    counter-reset: list;
    padding: 0 1rem;
}

li {
    --stop: calc(100% / var(--length) * var(--i));
    --l: 62%;
    --l2: 88%;
    --h: calc((var(--i) - 1) * (180 / var(--length)));
    --c1: hsl(var(--h), 71%, var(--l));
    --c2: hsl(var(--h), 71%, var(--l2));
    border-radius: .3rem;
}

li h2 {
    display: block;
    font-size: 0.875rem;
    margin: 0 0 0.5rem;
    color: rgb(70 70 70);
}

li::before {
    content: '';
    display: block;
    width: 100%;
    height: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, var(--c1) var(--stop), var(--c2) var(--stop));
    border-top-left-radius: .27rem;
    border-top-right-radius: .27rem;
}

/* Social List */
.social-list {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
}

.social-list li {
    padding: 10px;
    color: #8E24AA;
    font-size: 19px;
}

/* Table Styles */
table {
    width: 100%;
    text-align: left;
    box-shadow: .1rem;
    padding: 2rem 1rem 1rem;
    margin: 2rem auto;
    max-width: 45rem;
    border-radius: .25rem;
    border-color: black;
    background-color: whitesmoke;
    box-shadow: 0.1rem 0.1rem 1.5rem rgba(0, 0, 0, 0.3);
}

th, td {
    padding: 0.5em;
}

th {
    font-size: medium;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.15);
}

td {
    transform-origin: center;
    transition-property: transform;
    transition-duration: 0.4s;
    transition-timing-function: ease-in-out;
}

tr:hover td {
    background-color: lightseagreen;
    font-weight: bolder;
    color: white;
}

tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

tr:nth-child(odd) {
    background-color: rgba(255, 244, 244, 0.05);
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

/* Utility Classes */
.sizze {
    height: 100vh;
    width: 100vw;
}

/* Media Queries */
@media (min-width: 40em) {
    li {
        border-radius: .3rem;
    }

    h2 {
        font-size: smaller;
    }

    h3 {
        font-size: 2.1rem;
        margin: 0 0 1rem;
    }

    h3::before {
        margin-right: 1.5rem;
    }
}