@font-face {
    font-family: Bungee-Regular;
    src: url("./resources/Bungee-Regular.ttf");
}

header {
    background-color: #87aeff;
    width: 100%;

    background-image: url('./resources/colosseum-background.png');

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

body {
    background-color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    margin: 0;
}

footer {
    background-color: #131f37;
    width: 100vw;
    padding: 32px;
    max-height: calc(124px - 64px);
    max-width: calc(100% - 64px);
    color: white;
}

img {
    opacity: 100%;
}

H1,
H2,
H3,
H4,
P {
    font-family: Bungee-Regular;
    line-height: 1.5;
    margin: 0;
}

a.red {
    color: #ff214f;
}

a.blue {
    color: #008aff;
}

.panel {
    background-color: #f0f4ff;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;

    flex-direction: row;
    justify-content: center;
}

.panel-content {
    width: calc(100% - 64px);
    height: calc(100%- 64px);
    padding: 32px;
}

.panel-content.padding-1em {
    padding: 1em;
}

.panel-content.half {
    max-width: calc(50% - 64px);
}


.panel-content.centered {
    display: flex;
    align-items: center;
    justify-content: center;

}

.panel-content.centered.left {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
}

.panel-content.row {
    display: inline-flex;
    width: 100%;
    height: auto;
    align-items: center;
    gap: 1em;
}

.color-blob {
    width: 1em;
    height: 1em;
    border-radius: 1em;
}

.panel .buttons {
    width: 100%;
    display: inline-flex;
    height: 64px;
    gap: 32px;
    margin-top: 2em;
}

.panel button {
    max-width: 50%;
    width: 100%;

    border-radius: 8px;
    background-color: #002aff;
    color: white;
    border-style: none;
    padding: 0;
    position: relative;
}

.panel button .button-cap {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-color: #006eff;
    color: white;
    border-style: none;

    position: absolute;
    bottom: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.panel button:active .button-cap {
    position: unset;
}

.panel .content {
    max-width: 500px;
}

.content.right {
    margin-left: auto;
}

@media screen and (max-width: 900px) {
    .panel-content.half {
        max-width: 100%;
    }

    .first-on-mobile {
        order: -1;
    }

    .content.right {
        margin-left: unset;
        margin-right: auto;
    }
}