/* 
Colors
dark : #
white : #f8f7f2
primary : #a2513f
secondary : #495e35
*/

.sr-only, .skiplink:not(:focus-visible) {
    position: fixed;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body {
    font-family: Raleway;
    background-color: #495e35;
    vertical-align: baseline;
    color: #0F0806;
    margin: 0;
}

#page {
    background-color: #f8f7f2;
    padding: 0 2rem; /* 32px */
}

a:focus-visible, button:focus-visible {
    outline-width: 0.125rem; /* 2px */
    outline-offset: 0.125rem; /* 2px */
    outline-color: #a2513f;
    outline-style: solid;
}

.logo {
    height: 9rem; /* 144px */
    width: 9rem; /* 144px */
}

.container {
    max-width: 1280px;
    margin: 14rem auto; /* 224px */
}

.hero {
    margin-top: 10rem; /* 160px */
}

.button, .nav-link {
    padding: 1rem 1.5rem; /* 16px */
    border-radius: calc(infinity * 1px);
    font-family: Raleway;
    font-size: 1rem; /* 16px */
    line-height: 1.5;
    font-weight: 500;
}

.button {
    color: white !important;
    background-color: #a2513f;
    border: none;
    text-decoration-line: none;
    text-align: center;
}

.button:hover {
    background-color: #0F0806;
    text-decoration: none !important;
    cursor: pointer;
}

.coffee::before {
    content:"☕";
}

.button > span, .nav-link > span {
    padding: 0 0.5rem; /* 8px */
}

.btn-group {
    margin-top: 2.5rem; /* 40px */
    display: flex;
    flex-direction: row;
    gap: 1rem;/* 16px */
    flex-wrap: wrap;
}

.icon {
    color: white;
    height: 1.5rem; /* 24px */
    width: 1.5rem; /* 24px */
    padding: 0.75rem; /* 12px */
}

.meta {
    display: flex;
    gap: 0.5rem; /* 8px */
    flex-wrap: wrap;
    margin: 1rem 0 2rem; /* 16px 0 32px */
}

.badge {
    padding: 0.25rem 0.75rem; /* 4px 12px */
    color: white;
    background-color: #495e35;
    border-radius: calc(infinity * 1px);
    font-size: 0.75rem; /* 12px */
}

.thumbnail {
    border-radius: 1.5rem; /* 24px */
    max-width: 100%;
}

.work > article:not(:first-child) {
    padding-top: 10rem; /* 160px */
}

.testimonials {
    columns: 3;
    gap: 1.5rem; /* 24px */
    margin-top: -1.5rem; /* -24px */
}

figure {
    background-color: white;
    border-radius: 1.5rem; /* 24px */
    padding: 2rem; /* 32px */
    margin: 0;
    margin-top: 1.5rem; /* 24px */
    display: inline-block;
}

figcaption {
    display: flex;
    align-items: center;
    gap: 1rem; /* 16px */
    margin-bottom: 1.5rem; /* 24px */
}

figcaption > img {
    height: 2.5rem; /* 40px */
    width: 2.5rem; /* 40px */
    border-radius: calc(infinity * 1px);
}

blockquote, .tool-name > p {
    margin: 0;
}

.tool {
    background-color: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tool-icon {
    background-color: #0F0806;
}

.tool-name {
    display: flex;
    flex-direction: column;
}

.pt-1 {
    padding-top: 1rem;
}

/* Breadcrumb */

.breadcrumb {
    font-size: 0.75rem;
    line-height: 1.25;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin: 0 0 3rem;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-item:last-child {
    font-weight: 700;
}

.breadcrumb-item a {
    color: #0F0806;
    text-decoration: none;
}
.breadcrumb-item a:hover {
    text-underline-offset: 4px;
    text-decoration-line: underline;
}

.breadcrumb-item:last-child a {
    pointer-events: none;
    text-decoration: none;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "|";
    padding-right: 0.5rem;
    font-weight: 500;
}

/* Grid */

.grid {
    display: grid;
    gap: 1rem;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.col-span-2 {
    grid-column: span 2 / span 2;
}

.col-span-full {
    grid-column: 1 / -1;
}

.row-span-2 {
    grid-row: span 2 / span 2;
}

/* Typography */

.skiplink {
    font-size: 0.75rem; /* 12px */
    line-height: 1.25;
    text-decoration-line: none;
    color: #0F0806;
}

.text {
    max-width: 42rem; /* 672px */
}

.shifted-text {
    margin-left: auto;
    margin-right: 0;
}

.text > section:not(:first-child) {
    padding-top: 3rem; /* 48px */
}

h1, h2, h3, h4 {
    font-weight: 500;
    line-height: 1.25;
    margin: 0;
}

h1 {
    font-family: Prata;
    font-size: 4.5rem; /* 72px */
}

h2 {
    font-size: 2.5rem; /* 40px */
}

h3 {
    font-size: 2rem; /* 32px */
}

p {
    font-size: 1rem; /* 16px */
    line-height: 1.5;
    font-weight: 500;
    margin-top: 1rem; /* 16px */
    margin-bottom: 0;
}

.italic {
    font-style: italic;
}

.section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 4rem; /* 64px */
}

.text-xs {
    font-size: 0.75rem !important; /* 12px */
}

.quote, .author > p {
    margin-top: 0;
    font-size: 1rem; /* 16px */
    line-height: 1.5;
}

.quote::before {
    content: "“";
}

.quote::after {
    content: "”";
}

.author > p:first-child {
    font-weight: 700;
}

.project-desc {
    background-color: white;
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.self-end {align-self: flex-end;}

.link {
    color: #a2513f;
    text-underline-offset: 4px;
    text-decoration-line: underline;
}

.link:hover {
    text-decoration-line: none;
}

/* Header and footer */

header, footer {
    margin: 0 auto;
}

header {
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem; /* 20px */
}

.navbar { 
	position: static;
}

.navbar-toggler, .social-link, .tool-icon {
    display: block;
    border: none;
    border-radius: 0.75rem; /* 12px */
    padding: 0;
    height: 3rem; /* 48px */
    width: 3rem; /* 48px */
}

.navbar-toggler, .social-link {
    background-color: #a2513f;
    cursor: pointer;
}

.navbar-toggler:hover, .social-link:hover {
    background-color: #0F0806;
}

.nav-list {
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #0F0806;
}

.nav-link:hover {
    text-decoration: solid;
    text-underline-offset: 0.5rem; /* 8px */
    text-decoration-line: underline;
}

.external::after {
    content: "";
    mask: url("/assets/arrow-solid.svg");
    background-color: currentColor;
    mask-size: cover;
    width: 0.625rem; /* 10px */
    height: 0.625rem; /* 10px */
    display: inline-block;
}

.transition, .external::after {
    transition: transform 400ms ease;
}

.external:hover::after {
    transform: rotate(45deg);
}

.socials {
    display: flex;
    gap: 1.5rem; /* 24px */
    justify-content: center;
    flex-wrap: wrap;
    border-bottom-right-radius: 2rem; /* 32px */
    border-bottom-left-radius: 2rem; /* 32px */
    background-color: #f8f7f2;
    padding-bottom: 3rem; /* 48px */
	padding-left: 0;
	margin: 0;
	list-style: none;
}

footer {
    margin: 0 -2rem; /* -32px */;
    background-color: #495e35;
}

.legals {
    text-align: center;
    color: white !important;
    padding: 1rem 0; /* 16px */
}

.legals > p {
    margin: 0;
}

.legals > p > a {
    color: white;
}

/* Responsive */

@media (max-width: 1023px) {
	.navbar-menu {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		z-index: 100;
		margin-top: 1.5rem; /* 24px */
	}

    #close-icon {
        display: none;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-color: white;
        border-radius: 1.5rem; /* 24px */
        padding: 1.5rem; /* 24px */
        margin: 1.5rem; /* 24px */
        gap: 0.5rem; /* 8px */
    }

    .nav-link {
        display: block;
    }

    .testimonials {
        columns: 2;
    }
}

@media (min-width: 1024px) {
	.navbar-toggler {
		display: none;
	}

	.navbar-menu {
		display: block !important;
	}

	.nav-list {
		display: flex;
        gap: 0.5rem; /* 8px */
        align-items: center;
	}
}

/* LG */
@media (max-width: 1024px) {
    .grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .grid-cols-2, .grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .col-span-2 {
        grid-column: span 1 / span 1;
    }

    .project-desc {
        grid-column: 1 / -1;
    }

    .tools {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* MD (tablet) */
@media (max-width: 768px) {
    .tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    h1 {
        font-size: 4rem;
    }
}

/* SM (mobile) */
@media (max-width: 640px) {
    #page {
        padding: 0 1rem; /* 0 16px */
    }

    .nav-list {
        margin: 1rem; /* 16px */
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem; /* 24px */
    }

    p {
        font-size: 1rem; /* 16px */
    }

    .logo {
        height: 7rem; /* 112px */
        width: 7rem; /* 112px */
    }

    .container {
        margin: 7rem auto; /* 112px */
    }

    .section-title {
        text-align: left;
        margin-bottom: 4rem; /* 64px */
    }

    .tools {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .tool {
        padding: 1rem;
    }

    .grid {
        gap: 0.5rem;
    }

    .grid-cols-2, .grid-cols-4 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .self-end {align-self: flex-start;}

    .testimonials {
        columns: 1;
    }

    footer {
        margin: 0 -1rem; /* -16px */;
    }
    
    .socials {
        gap: 0.5rem; /* 8px */
    }
}