﻿html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #FFFFFF;
    color: #16161E;
}

body > header {
    grid-template-columns: 1fr auto 1fr;
}

.content-container {
    display: block;
}

.ei-errorPage {
    display: grid;
    grid-template-rows: 1fr 5fr 1fr;
    grid-template-columns: 1fr 3fr 1fr;
    background-image: url("../assets/error_404_graphic.svg");
    background-repeat: no-repeat;
    background-size: auto 65%;
    background-position: calc(77%) calc(90%);
}

.ei-errorPage__mainContainer {
    display: flex;
    flex-direction: column;
}

.ei-contentContainer__header {
    font-family: Athletics, sans-serif;
    font-weight: 700;
    font-size: 62px;
    line-height: 74px;
}

.ei-contentContainer__content {
    font-family: Athletics, sans-serif;
    font-weight: 700;
    font-size: 34px;
    line-height: 41px;
    white-space: pre-line;
    margin: 0;
}

.ei-errorPage__footerContainer {
    background-color: #16161E;
    color: #FFFFFF;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 16px 20%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.ei-footerContainer__infoContainer {
    display: flex;
    gap: 8px;
}

.ei-infoContainer__helpText {
    font-family: Inter, sans-serif;
}

.ei-infoContainer__helpText--violet {
    color: #BCA8FF;
}

@media (max-width: 1200px) {
    .ei-errorPage {
        display: grid;
        grid-template-rows: 1fr 5fr 1fr;
        grid-template-columns: 16px auto 16px;
        background-image: none
    }

    .ei-errorPage__footerContainer {
        background-color: #16161E;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .ei-footerContainer__infoContainer {
        flex-direction: column;
        align-items: center;
    }

    .ei-infoContainer__helpText {
        margin: 0;
    }
}

@media (max-width: 857px) {
    .ei-contentContainer__content {
        font-size: 28px;
        line-height: 33px;
        white-space: normal;
    }

    .ei-errorPage {
        display: grid;
        grid-template-rows: 0.5fr 3fr 0fr;
        grid-template-columns: 16px auto 16px;
        background-image: none
    }
}
