/* Main Content Styles */


main {
    max-width: 75rem;
    margin: 1rem auto 0;
    padding: 2rem;
}

section {
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 0.9375rem rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

section:hover {
    box-shadow: 0 0 1.25rem rgba(255, 102, 0, 0.3);
}

h1, h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
}

#home {
    text-align: center;
    padding: 2rem 0;
}

#home h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

#home > p {
    font-size: 1.2rem;
    color: #34495e;
    margin-bottom: 1rem;
}

.benefits {
    background-color: var(--light-gray);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.benefits h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.benefit-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.benefit-group h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin-bottom: 1rem;
}

.benefit-group ul {
    list-style-type: none;
    padding-left: 0;
}

.benefit-group li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.benefit-group li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.cta {
    margin-top: 2rem;
}

.cta p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.25rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin: 0 0.5rem;
}

.cta-button:hover {
    background-color: #e55c00;
}

.cta-button.secondary {
    background-color: #34495e;
}

.cta-button.secondary:hover {
    background-color: var(--secondary-color);
}

/* Showcase styles */
#showcase {
    margin-top: 3rem;
}
.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.profile-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;



}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.profile-card__content {
    display: flex;
    padding: 1rem;
}

.profile-card__image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    align-self: center;
    margin-right: 1rem;
}

.profile-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profile-card__name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    text-align: left;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-card__details {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.profile-card__details li {
    font-size: 0.9rem;
    color: #34495e;
    margin-bottom: 0.2rem;
}

.profile-card__skills {
    font-size: 0.8rem;
    color: #7f8c8d;
    padding: 0.5rem 1rem;
    border-top: 1px solid #ecf0f1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-card__skills span {
    background-color: #f0f0f0;
    padding: 0.2rem 0.5rem;
    margin: 0.2rem;
    border-radius: 3px;
}

.firkløver{
    text-align: center;
}

/* --------------------------------
   Responsive design
   -------------------------------- */
   @media (max-width: 48rem) {

    main {
        padding: 1rem;
    }

    section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    #home > p {
        font-size: 1rem;
    }

    .benefits h2 {
        font-size: 1.5rem;
    }

    .benefit-group h3 {
        font-size: 1.2rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .cta-button {
        display: block;
        margin: 0.5rem 0;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }
    .profile-card {
        max-width: 100%;
    }

    .profile-card__content {
        flex-direction: row;
    }

    .profile-card__image {
        width: 60px;
        height: 60px;
    }

    .profile-card__name {
        font-size: 1rem;
        text-align: center;
    }

    .profile-card__details li {
        font-size: 0.8rem;
        text-align: center;
    }

    .profile-card__skills {
        font-size: 0.7rem;
        justify-content: center;
    }
}