:root {
    --brand-color: #ea3034;
}

.logo-main {
    display: block;
    margin: 0 auto;
    width: 360px;
    margin-bottom: 20px;
}

.title-underline::after, .title-underline-large::after {
    background-color: var(--brand-color);
}


.flex-text-gap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.grid-4-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 20px;
    justify-items: center;
}

.grid-2-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
    gap: 20px;
}

.grid-4-columns > figure {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    justify-items: center;
}

.grid-4-columns > figure > figcaption {
    font-size: 2rem;
    line-height: calc(2rem * 1.3);
    font-weight: 600;
    text-align: center;
}

.grid-4-columns img {
    max-height: 240px;
}

.bubble-container {
    border: 2px solid transparent;
    box-shadow: 0 0 2px rgb(0 0 0 / 0.5);
    border-radius: 20px;
    padding: 20px;
}

.max-height-240 {
    max-height: 240px;
}

.margin-bottom {
    margin-bottom: 20px;
}

.type-container {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    justify-items: center;
    gap: 4px;

    transition: 200ms ease-in-out;
}
.type-container > img {
    max-height: 240px;
    transition: 500ms ease-in-out;
}
.type-container strong {
    font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
    .type-container:hover {
        border-color: grey;
        background-color: #eeeeee;
    }
    .type-container:hover > img {
        transform: scale(102%);
    }
}

.type-container:has(*:focus) {
    border-color: grey;
    background-color: #eeeeee;
}
.type-container:has(*:focus) > img {
    transform: scale(102%);
}

.heading-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.heading-container > h2 {
    font-size: 2.4rem;
    line-height: calc(2.4rem * 1.3);
    font-weight: 600;
    text-align: center;
    margin: 0;
}
.heading-container > img {
    height: calc(2.4rem * 1.3 * 1.4);
}

.button-container {
    display: grid;
    grid-template-columns: 1fr;
    width: fit-content;
    justify-items: center;
    gap: 10px;
}

.download-button {
    display: block;
    
    border: 2px solid var(--brand-color);
    box-shadow: 0 0 2px rgb(from var(--brand-color) r g b / 0.5);
    border-radius: 4px;
    transition: 200ms ease-in-out;

    background: none;
    font-size: 2rem;
    line-height: calc(2rem * 1.3);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;

    padding: 4px 20px;

    cursor: pointer;

    width: 100%;

}

.link-container {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
}
.link-container > span {
    display: block;
}
.download-button.link-container > img {
    height: 2rem;
}
@media (hover: hover) and (pointer: fine) {
    .download-button:hover {
        transform: scale(104%);
        background-color: rgb(0 0 0 / 0.05);
    }
}
.download-button:focus {
    transform: scale(104%);
    background-color: rgb(0 0 0 / 0.05);
}

.text-center {
    text-align: center;
}

.margin-top {
    margin-top: 20px;
}
.link-highlight {
    font-weight: 600;
    color: var(--brand-color);
    transition: 100ms ease-in-out;
}
@media (hover: hover) and (pointer: fine) {
    .link-highlight:hover {
        opacity: 0.8;
    }
}
.link-highlight:focus {
    opacity: 0.8;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.important-text, .important-text > * {
    font-weight: 600;
    font-size: 2rem;
    line-height: calc(2rem * 1.5);
}

@media only screen and (max-width: 950px) {
    .logo-main {
        width: 220px;
    }

    .heading-container {
        margin-bottom: 10px;
    }
    .heading-container > h2 {
        font-size: 2.2rem;
        line-height: calc(2.2rem * 1.3);
    }
    .heading-container > img {
        height: calc(2.2rem * 1.3 * 1.4);
    }

    .download-button {
        font-size: 1.8rem;
        line-height: calc(1.8rem * 1.3);
    }
    .download-button.link-container > img {
        height: 1.8rem;
    }

    .important-text, .important-text > * {
        font-size: 1.8rem;
        line-height: calc(1.8rem * 1.5);
    }
}