:root {
    --accent-color: #244538; 
}

/* Buttons */

.button {
    width: fit-content;
    padding: 10px 20px;
    border-radius: 60px;
    text-decoration: none;
}

.button:hover {
    transform: translateY(-3px);
}

.primary {
    background-color: var(--accent-color);
    color: white;
    font-weight: 400;
}

.primary:hover {
    background-color: rgb(185, 255, 128);
    color: var(--accent-color);
    box-shadow: 0 0 .5px .5px var(--accent-color);
}

.secondary:hover {
    background-color: rgb(185, 255, 128);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.secondary {
    color: white;
    border: 1px solid white;
    font-weight: 400;
}

.grey {
    color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.white {
    background-color: white;
    color: var(--accent-color);
}



.button-wrap {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    gap: 20px;
}

nav ul.nav-menu li a.primary {
    background-color: var(--accent-color);
    color: white;
    font-weight: 400;
}

/* Schriften */

.playfair {
    font-family: 'Playfair Display';
}

.italic {
    font-style: italic;
}

.green {
    color: var(--accent-color);
}

h1 {
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
}

h2 {
    font-size: 34px;
    font-weight: 500;
}

h3 {
    font-size: 38px;
    font-weight: 500;
}

h5 {
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
}

p {
    font-size: 16px;
    font-weight: 300;
}

a {
    color: #244538;
}

/* Koponenten */

.card-wrap {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.card {
    height: 100%;
    display: flex;
    flex-direction: column;

    width: 100%;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 30px;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

.card .title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 10px;
}

.card .title img {
    width: 26px;
}

.card .title span {
    font-size: 16px;
}

@media screen and (min-width: 400px) {
    h3 {
        font-size: 42px;
        font-weight: 500;
    }
}

@media screen and (min-width: 500px) {
    h3 {
        font-size: 52px;
    }
}

@media screen and (min-width: 600px) {
        .card-wrap {
        display: grid;
        grid-template-columns: repeat(2, 3fr);
    }
}

@media screen and (min-width: 768px) {

    h2 {
        font-size: 40px;
    }
    h3 {
        font-size: 64px;
    }

    .button-wrap {
        flex-direction: row;
    }

    .card-wrap {
        display: grid;
        grid-template-columns: repeat(3, 2fr);
    }
}