:root {
    --primary: #FEF901;
    --brush-light: url('brush-white.svg');
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1.section-title {
    font-size: 2rem;
    color: black;
    padding: 0.6rem 1rem;
    margin-bottom: 2.5rem;
    display: inline-block;
    -webkit-background-image: var(--brush-light);
    -moz-background-image: var(--brush-light);
    background-image: var(--brush-light);
}

h2.paragraph-title {
    font-size: 1.5rem;
    color: black;
    padding: 0.4rem 4rem;
    margin: 4rem 0 2rem 0;
    display: inline-block;
    -webkit-background-image: var(--brush-light);
    -moz-background-image: var(--brush-light);
    background-image: var(--brush-light);
}

span.icon {
    font-style: normal;
}

img.rotate-1-reverse {
    transform: rotate(-1deg);
}

img.rotate-2-reverse {
    transform: rotate(-2deg);
}

img.rotate-1 {
    transform: rotate(1deg);
}

img.rotate-2 {
    transform: rotate(2deg);
}

img.rotate-4 {
    transform: rotate(4deg);
}

div.card {
    border: 5px solid white;
    border-radius: 5px;
    padding: 1rem;
}

div.card.link:hover {
    border-color: var(--primary);
    cursor: pointer;
}

.w-full {
    width: 100%;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.hide {
    display: none;
}

/* Flex and Grid Layouts */

div.flex {
    display: flex;
    flex-wrap: wrap;
}

div.grow {
    flex-grow: 1;
}

div.shrink {
    flex-shrink: 1;
}

div.no-wrap {
    flex-wrap: nowrap;
}

div.center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

div.flex-col {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

div.gap {
    gap: 0.5rem;
}

div.gap-2 {
    gap: 1rem;
}

div.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    row-gap: 1rem;
}

div.grid-col-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 0.5rem;
    align-items: start;
}

div.grid-col-2 > span {
    text-align: left;
}

div.grid-col-2 > span:nth-child(odd) {
    text-align: right;
}

@media (max-width: 1024px) {
    div.grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1rem;
    }
}
