@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    margin: 0;
    padding: 0;
    overscroll-behavior: none;
    scroll-behavior: smooth;
}

body {
    background-color: #fffcf7;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

#main {
    display: flex;
    width: 60vw;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.centered {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.start {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
}

.spacey {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    text-align: left;
}

.card {
    padding: 2%;
    margin: 2%;
    /* border: 2px solid rgb(230, 227, 227); */
    border-radius: 0.3vw;
}

.dotsep {
    display: flex;
    flex-direction: row;
    gap: 0.4rem;
}

a {
    text-decoration: none;
}

.dotsep > *:not(:last-child)::after {
    content: " ·";
    color: gray;
}

.faded {
    color: rgb(166, 164, 164);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    padding-bottom: 3%;
}

.hh {
    font-size: 8rem;
    font-weight: 700;
}

.accent {
    color: #c75557;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.2rem;
    gap: 14px;
}

.sep-fp {
    background-color: rgb(230, 227, 227);
    width: 100%;
    height: 2px;
}

#landing-x {
    position: relative;
    animation: landing-x 3.0s cubic-bezier(0, 1, .18, .99) forwards;
}

#landing-y {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: end;
    animation: landing-y 3.0s cubic-bezier(.06, .88, .44, 1) forwards;
}

#landing-icon {
    position: relative;
    font-size: 3.6em;
    animation: landing-rotate 3.0s ease-out forwards;
}

@keyframes landing-x {
    from {
        transform: translateX(-200px);
    }

    to {
        transform: translateX(-10px);
    }
}

@keyframes landing-y {
    from {
        transform: translateY(-1000px);
    }

    to {
        transform: translateY(-4px);
    }
}

@keyframes landing-rotate {
    0% {
        transform: rotate(70deg);
    }

    /* 60% { transform: rotate(-7deg); } */

    100% {
        transform: rotate(90deg);
    }
}

#scroll_prompt {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 0;
    background-color: rgb(226, 191, 149);
    transition: 0.4s cubic-bezier(0, .66, .21, 1);
}

/*
.feature {
    display: flex;
    max-width: 18vw;
    max-height: 40vh;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border: 2px solid rgb(230, 227, 227);
    border-radius: 0.6vw;
    overflow: hidden;
}

.feature-content {
    padding: 10%;
}

.feature-img {
    max-width: 100%;
}
*/

.feature-grid,
.feature-list {
    display: grid;
    gap: 1.5rem;
    /* padding: 3%; */
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.feature-list {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
}

.feature-list.row {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
}

.feature {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    background: #fff;
    color: #202020;
    box-shadow: 0 2px 8px #00000008;
    transition: transform 250ms, box-shadow 250ms, border-color 250ms;
    flex-direction: column;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: #d5d5d5;
    box-shadow: 0 12px 30px #00000014;
}

.feature-img {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    transition: transform 400ms;
    object-fit: cover;
}

.feature.row .feature-img {
    flex: 0 0 45%;
    min-width: 0;
}

.feature:hover .feature-img {
    transform: scale(1.04);
}

.feature-content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem;
}

.feature-content h2,
.feature-content h3,
.feature-content p {
    margin: 0;
}

.feature-content h2,
.feature-content h3 {
    font-size: 1.35rem;
    line-height: 1.3;
}

.feature-content p {
    color: #666;
    line-height: 1.65;
}

a.feature {
    margin-top: auto;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 2px;
}

a.feature:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .feature:not(.column) {
        flex-direction: column;
    }

    .feature:not(.column) .feature-img {
        flex: none;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature,
    .feature-img {
        transition: none;
    }

    .feature:hover,
    .feature:hover .feature-img {
        transform: none;
    }
}

.row {
    flex-direction: row;
}