* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    font-family: Helvetica, sans-serif;
}

body {
    background: url('./baby.png'), #000;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.scene {
    width: 100%;
    height: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.llama {
    display: block;
}

.text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem;
}

.text p {
    background: #d8d8d8;
    color: #000;
    border-radius: 1rem;
    padding: .5rem 1rem;
    position: relative;
    max-width: 75%;
    margin: .8rem 0 0 0;
}

.text p::after {
    background: linear-gradient(300deg, #d8d8d800 0%, #d8d8d800 60%, #d8d8d8ff 63%);
    content: '';
    width: 2rem;
    height: 2rem;
    position: absolute;
    bottom: -.5rem;
    left: -1px;
    display: block;
    z-index: -1;
    transform: rotate(15deg);
    background-repeat: no-repeat;
}

.text p.carl {
    background: #218aff;
    align-self: flex-end;
    color: #fff;
}
.text p.carl::after {
    background: linear-gradient(60deg, #218aff00 0%, #218aff00 60%, #218affff 63%);
    transform: rotate(-15deg);
    left: auto;
    right: 1px;
}

.text p.carl + p.carl, .text p.paul + p.paul {
    margin: 3px 0 0 0;
}

.text p.carl:has(+ p.carl)::after, .text p.paul:has(+ p.paul)::after {
    display: none;
}

@media screen and (orientation: portrait) {
    .scene {
        flex-wrap: wrap;
        padding: 0;
        padding: 10px;
    }

    .text {
        order: 2;
        padding: 0;
        margin-top: 65vw;
    }

    .llama {
        order: 1;
        width: 40%;
        position: fixed;
        top: 10px;
        left: 10px;
    }

    .llama.carl {
        left: auto;
        right: 10px;
    }px
}