/* HERO */

.hero {
    background: var(--background-hell)
}

.wrapper-hero {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 50px;
    gap: 50px;
}

.hero-text {
    display: flex;
    gap: 30px;
    flex-direction: column;
    text-align: center;
}

.hero-text>h1 {
    color: var(--dark-blue);
    font-weight: bold;
}

.hero-text>p {
    color: var(--dark-blue);
}

.wrapper-hero>img {
    max-width: 320px;
    height: auto;
}


/* Problem Section */

.problem {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 50px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.prob-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.prob-text>p {
    color: var(--sub-heading);
}

.cards {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 30px;
}

.card {
    display: flex;
    flex-direction: column;
    width: 320px;
    height: 400px;
    text-align: center;
    color: var(--dark-blue);
    justify-content: flex-end;
    padding: 20px 20px;
    border-radius: 20px;
}

.card>h3 {
    font-size: 31px;
}

.card>p {
    font-size: 20px;
}

.card:first-of-type {
    background-image: linear-gradient(to top,rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0.2) 55%),
                        url("/assets/media/hund_steht.webp");
    background-size: 100%;
    background-position: center;
}

.card:nth-child(2) {
    background-image: linear-gradient(to top,rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0.2) 55%),
                        url("/assets/media/hund_krank.webp");
    background-size:96%;
    background-position: center;
}

.card:nth-child(3) {
    background-image: linear-gradient(to top,rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0.2) 55%),
                        url("/assets/media/hund_schmerz_3.webp");
    background-size:98%;
    background-position: center;
}

.card:last-of-type {
    background-image: linear-gradient(to top,rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0.2) 55%),
                        url("/assets/media/alter_hund.webp");                 
                        background-size:100%;
    background-position: center;
}

/* ABOUT SECTION */

.about {
    background-color: var(--background-hell);
}
.wrapper-about {
    padding: 80px 50px;
    color: var(--dark-blue);
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content>img {
    border-radius: 20px;
    max-width: 468px;
    max-height: 620px;
}

.about-heading {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-heading>p {
    font-size: 20px;
    text-decoration: underline;
}

.about-content>p {
    display: block;
    font-size: 16px;
}

strong {
    position: relative;
    display: inline-block;
    z-index: 1;
}

/* REASONS SECTION */

.reasons {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 80px 50px;
    color: white;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.reason-head {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.reason-head>h1 {
    text-align: center;
}

.reason-head>p {
    color: var(--sub-heading);
    text-align: center;
}

.reason-cards {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.reason {
    display: flex;
    flex-direction: column;
    align-items: center ;
    gap: 30px;
    color: white;
    max-width: 400px;
}

.reason>img {
    max-width: 250px;
    max-height: auto;
    object-fit: contain;
    border-radius: 20px;
}

.reason>h3 {
    font-size: 31px;
    font-weight: bold;
    text-align: center;
}

.reason>p {
    font-size: 20px;
    padding-left: 30px;
    display: block;
}

/* HOW TO SECTION */

.how {
    background-color: var(--background-hell);
}

.wrapper-how {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 80px 50px;
    color: var(--dark-blue);
    max-width: 1200px;
    margin: 0 auto;
}

.how-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.how-header>p {
    text-decoration: underline;
    font-size: 20px;
}

.how-header>h2{
    font-size: 49px;
    font-family: 'Noteworthy';
}

.how-header>h2>span {
    color: rgb(184, 3, 3);
} 

.how-cards {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step>h1 {
    text-align: center;
}

.step>h3, .step>p { 
    font-size: 25px;
    text-align: center;
}

.how-left {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* FAQ */

.faq {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 80px 50px;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
}

.faq>h2 {
    font-size: 49px;
    font-family: 'Noteworthy';
    text-align: center;
}

.akk {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1140px;
}

summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    padding: 10px;
    font-family: 'Noteworthy-light';
    font-size: 25px;
    max-width: 1140px;
    cursor: pointer;
  }
  
  summary::before {
    content: '';
    min-width: 50px;
    min-height: 48px;
    background: url('/assets/media/pfote.svg');
    margin-right: .75em;
    transition: 0.3s;
  }
  
  details[open] > summary::before {
    transform: rotate(90deg);
  }
  
  summary::-webkit-details-marker {
    display: none;
  }
  
  article {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-top-left-radius: 0;
    padding: 0 20px;
  }
  
  @media (min-width: 550px) {

    /* HOW TO */

    .how-header>p {
        font-size: 25px;
    }

    .step {
        flex-direction: row;
    }

    .step>img {
        display: unset;
        max-width: 51px;
    }

    .step>h1 {
        align-self: center;
    }

    .step>h1:nth-child(1) {
        min-width: 50px;
    }

    .step-text {
        display: flex;
        flex-direction: column;
    }

  }

  @media (min-width: 800px) {

    .about-content {
        display: grid;
        grid-template-areas: 
        "text photo photo";
    }

    .about-content>p {
        grid-area: text;
        align-self: center;
        font-size: 20px;
        padding: 0 40px;

    }
    .about-content>img {
        grid-area: photo;
        max-height: 400px;
    }

  }

  @media (min-width: 1024px) {

    /* HERO */

    .wrapper-hero {
        flex-direction: row;
        justify-self: center;
    }

    .hero-text>h1 {
        font-size: 80px;
    }

    .hero-text>p {
        font-size: 31px;
    }

    .hero-wrapper>img {
        max-width: 678px;
    }

    /* PROBLEM */

    .prob-text>h1 {
        font-size: 61px;
    }

    .prob-text>p {
        font-size: 31px;
    }

    .cards {
        grid-template-rows: unset;
        grid-template-areas:
        "topleft topright topright"
        "bottomleft bottomleft bottomright";
    }

    .card:nth-child(1) {
        grid-area: topleft;
        width: 300px;
    }

    .card:nth-child(2) {
        grid-area: topright;
        width: auto;
    }

    .card:nth-child(3) {
        grid-area: bottomleft;
        width: auto;
    }

    .card:nth-child(4) {
        grid-area: bottomright;
        width: 300px;
    }

    /* ABOUT */

   .wrapper-about {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-heading>p {
        font-size: 20px;
    }

    strong::after{
        /* Highlight color */
        background-color: #e6f519;
        content: "";
        position: absolute;
        width: calc(100% + 4px);
        height: 60%;
        left: -2px;
        bottom: 0;
        z-index: -1;
        transform: rotate(-2deg);
      }

    /* REASON */

    .reason-cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* HOW TO */

    
    .wrapper-how>img {
        display: unset;
        max-width: 400px;
        align-self: center;
        border-radius: 20px;
    }

  }

  @media (min-width: 1300px){



    .hero-text {
        max-width: 677px;
    }

    .wrapper-hero>img {
        max-width: 473px;
        height: auto;
    }
    .reason-cards {
        flex-wrap: nowrap;
    }

    .wrapper-how {
        flex-direction: row;
    }

  }