@import url(https://fonts.bunny.net/css?family=abel:400|carter-one:400);
:root {
    --body-bg-image: url("https://www.transparenttextures.com/patterns/diagmonds.png");
}

body {
    background-image: var(--body-bg-image);
    box-sizing: border-box;
    background-color: #ef233c;
    color: #2b2d42;
    margin: 0;
}

.container {
    display: flex;
    gap: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    font-family: "Abel", sans-serif;
    font-size: 1.25rem;
    min-height: 100vh;
}

img {
    max-width: 100%;
    border-radius: 2rem;
}

.item {
    flex-grow: 0;
    box-shadow:
        8px 8px 0 0 #2b2d42,
        inset 8px 8px 0 0 #edf2f4;
    border-radius: 2rem;
    background-color: #8d99ae;
    padding: 2rem;
    width: 45%;
    gap: 20px;
    background-image: var(--item-bg-image);
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: row;
    flex-wrap: nowrap;
    display: flex;
    align-content: stretch;
}

.inside-flex {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: stretch;
}

.item a {
    text-decoration: none;
    font-weight: bold;
    color: #d2d2d2;
}
a.button {
    text-decoration: none;
    color: #edf2f4;
    background-color: #d80032;
    padding: 0.5rem;
    border-radius: 1rem;
}
div.button {
    margin-top: 1.5rem;
}

h1,
h3 {
    margin: 0.5rem;
}

@media only screen and (max-width: 800px) {
    .item {
        width: 70%;
        overflow-x: hidden;
        margin: 2rem;
        flex-direction: column;
    }
    .header {
        max-width: 40%;
    }
    .charaheader {
        max-width: 80%;
    }
    .imagebox {
        gap: 0;
    }
}
