/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General styles */
.html {
    text-decoration: none;
    font-size: 62.5%;
    scroll-behavior: smooth;
}

.body {
    font-family: 'IM Fell English', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    text-decoration: none;
}

/* Header */
.header {
    background-color: #333;
    padding: 0 8rem;
    width: 100%;
    height: 7rem;
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav__link {
    color: #fff;
    text-decoration: none;
    font-size: 2.6rem;
}

.nav__link:hover {
    text-decoration: underline;
}

/* Hero Section */
.main__animation {
    height: 55rem;
    background: linear-gradient(to top, #b3daff, #e6f7ff);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.animation {
    width: 100%;
}

.hero__image {
    width: 100%;
    height: 50rem;
    object-fit: cover;
    overflow: hidden;
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 1rem;
}

.hero__title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 3rem;
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 8rem;
    background-color: #f5f5f5;
}

.features__header {
    width: 100%;    
    display: flex;              
    justify-content: center;
    padding: 2rem;
    border-top: 0.5rem solid #333;
}

.features__title {
    color: black;
    font-size: 350%;
}

.features__cards {
    display: flex; 
    justify-content: space-evenly;
}

.features__card {
    background: #fff;
    border: 2px solid #333;
    border-radius: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 60rem;
    padding: 3rem;
    background-image: url('assets/img/wampum_frame.png');
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.features__card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: hsl(30, 60%, 61%);
    /* Slight color variation on hover */
}

.features__card__image {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
}

.features__card__content {
    position: relative;
    z-index: 2;
}

.features__card__title {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.features__card__description {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.features__card__link {
    font-size: 1.9rem;
    text-decoration: none;
    color: #333;
}

.features__card__link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    font-size: 1.5rem;
}

/* About Section */
.about {
    padding: 8rem;
    width: 100%;
}

.about__header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem;
    border-top: 0.5rem solid #333;
}

.about__title {
    color: black;
    font-size: 350%;
}

.about__content {
    display: flex;
    gap: 4rem;
    justify-content: center;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about__paragraph {
    width: 95ch;
    color: black;
    font-size: 1.7rem;
}

.about__figure {
    position: relative;
    width: 50rem;
    height: 40rem;
}

.about__image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.about__figure::after {
    content: "";
    background: linear-gradient(to bottom right, rgba(191, 160, 130, 0.8), rgba(178, 121, 73, 0.5));
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}