
.shape {
    background: url('shape-white.svg') no-repeat top right;
    background-size: cover;
    padding: 5vw 0;
    width: 800px;
    max-width: 97%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    container-type: inline-size;
    a {
        text-decoration: underline;
        text-underline-offset: 0.2em;  
        text-decoration-thickness: 1px;

        &:hover {
            text-decoration-thickness: 2px;
            text-underline-offset: 0.15em;  
        }
        
        &:focus-visible {
            border-radius: 0.5rem;
            outline: 2px solid white;
            box-shadow: 0 0 0 6px var(--blue);
        }
    }
    & + .shape {
        float: right;
        margin-top: -7vw;
    }

    & h1 {
        color: var(--blue);
        padding: 0 5vw;
        line-height: 1.1;
        margin-bottom: 0.4em;
        font-size: clamp(2rem, 4vw, 3rem);
        max-width: 70%;
    }

    & p {
        color: var(--blue);
        padding: 0 5vw;
        font-size: clamp(1rem, 2.5vw, 1.5rem);
        max-width: 70%;
    }

    & ul {
        padding: 2rem 5vw 0 5vw;
        text-align: left;
        max-width: 70%;
        display: flex;
        align-items: center;
        gap: 2rem;
        color: var(--blue);
        @container (max-width: 500px) {
            flex-direction: column;
            align-items: flex-start;
            gap: 1rem;
        }
        & a {
            text-align: left;
            text-decoration: none!important;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: clamp(0.8rem, 1.3vw, 1.2rem);
            transition: transform 0.3s;
            text-decoration: underline!important;
            text-underline-offset: 0.2em;  
            text-decoration-thickness: 1px;
            text-decoration-color: transparent!important;
            background: var(--yellow);
            padding: 1rem 0.7rem;
            border-radius: 0.5rem;
               
            &:hover {
               transform: scale(1.05);
            }
            &:focus-visible {
                outline: 2px solid white;
                box-shadow: 0 0 0 6px var(--blue);
            }
            & img {
                display: block;
                width: 4rem;
             
            }
        }
    }    
    
}
.shape--yellow {
    z-index: 1;
    background: url('shape-yellow.svg') no-repeat top left;
    background-size: cover;
    align-items: flex-end;
    & h2 {
        padding: 0 5vw;
        line-height: 1.1;
        margin-bottom: 0.4em;
        font-size: clamp(1.3rem, 3vw, 2rem);
        max-width: 70%;
        color: var(--blue);
        font-weight: 600;
        margin-top: 1em;
        &:first-child {
            margin-top: 0;
        }
    }
}
