:root {
    --color1: #d0f9ff;
    --color2: rgb(255, 112, 182);
    --body-color: #fffff7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin-inline: auto;
}

body {
    background-color: var(--body-color);
    min-height: 100vh;
}

/* TYPO */

html {
    font-family: 'Instrument sans', sans-serif;
    line-height: 1.5;
}

h1,
h2,
h3,
h4 {
    font-family: 'Margarine', sans-serif;
}

h1 {
    font-size: 1.5rem;
}

/* ---- */


header,
section,
footer {
    padding-inline: 1rem;
}

/* HEADER */

.siteheader {
    background-color: var(--color1);
    padding: 1rem;
}

.header-container {
    display: flex;
    justify-content: center;
}

.logo {
    width: 70px;
}

/* HERO */

.hero {
    padding-block: 4rem;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}


.hero-date {
    font-size: 1rem;
    transform: rotate(-2.61deg);
}

.hero-date span {
    background-color: var(--color2);
    color: #fff;
    padding: .5rem 2rem;
}

.hero-location {
    font-size: 1.5rem;
    font-weight: 600;
}

/* CARD SECTION */

.angebot {
    padding-block: 2rem;
}

.card-container {
    display: grid;
    gap: 2rem;
}

.card {
    background-color: #fff;
    border: 1px solid var(--color2);
    border-radius: 8px;
    box-shadow: 2px 4px 10px rgb(255, 112, 182, 0.5);
    padding: 2rem 1rem;
    display: grid;
    gap: .75rem;
}

/* NEWSLETTER */

.newsletter-section {
    padding-block: 2rem;
}

.newsletter-container {
    display: grid;
    gap: 2rem;
    max-width: 640px;
}

.newsletter-form {
    display: grid;
    gap: 1rem;
}

.newsletter-form label,
.newsletter-form input {
    display: block;
}

.newsletter-form label {
    margin-bottom: .5rem;
}

.newsletter-form input {
    padding: 1rem;
    border: 1px solid var(--color2);
    border-radius: 8px;
    width: 100%;
}

.newsletter-form input[type="submit"] {
    background-color: #4EC5DB;
    color: #fff;
    border: none;
    padding: .75rem 1rem;
    border-radius: 8px;
    font-size: 1.5rem;

}



/* FOOTER */

.sitefooter {
    background-color: var(--color2);
    padding-block: 2rem;
}

.sitefooter-container {
    display: grid;
    gap: 2rem;
}

.social {
    text-decoration: none;
    display: flex;
    gap: .5rem;
    align-items: center;
}

.social-icon {
    width: 3rem;
    height: 3rem;
}

.social-text {
    color: #fff;
    font-size: 1.5rem;
    font-family: 'Margarine', sans-serif;
}

.sitefooter-navigation ul {
    list-style: none;
}

.sitefooter-navigation a {
    color: #fff;
    font-weight: 700;
}

.sitefooter p {
    color: #fff;
}




@media (min-width: 768px) {


    /* TYPO */
    h1 {
        font-size: 2.5rem;
    }

    header,
    section,
    footer {
    padding-inline: 1.5rem;
}

    .logo {
        width: 102px;
    }


    /* HERO */

    .hero-date {
        font-size: 1.5rem;
    }

    /* CARD SECTION */

    .card-container {
        grid-template-columns: 1fr 1fr;
    }

    /* NEWSLETTER */
    .newsletter-section {
        padding-block: 4rem;
    }

    .newsletter-container h2 {
        text-align: center;
    }

    .newsletter-form {
        grid-template-columns: 2fr 1fr;
        align-items: end;
    }

    .newsletter-form input[type="submit"] {
        line-height: 1;
    }

    /* FOOTER */

    .sitefooter-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .sitefooter-navigation ul {
        display: flex;
        gap: 1rem;
    }


}

@media (min-width: 1280px) {
    .card-container {
        grid-template-columns: repeat(4, 1fr);
    }
}