@import url("fonts.css");

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    font-family: "Manrope", sans-serif;
    color: white;
}

.errorPage {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(180deg, #008be8 0%, #262626 38%, #ff6720 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bigError {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    width: 120%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw;
}

.bigError span {
    font-family: "Feature Mono", monospace;
    font-size: 56vw;
    font-weight: 400;
    font-style: normal;
    line-height: 0.8;
    color: white;
}

.errorBox {
    position: relative;
    z-index: 3;
    width: 74%;
    padding: 1.6vw 2vw 2.2vw;
    background-color: #ff6720;
    text-align: center;
}

.errorBox h1 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 5.2vw;
    font-weight: 400;
    line-height: 1.05;
    color: white;
}

.errorBox p {
    margin: 1.2vw 0 0;
    font-family: "Feature Mono", monospace;
    font-size: 2.1vw;
    font-weight: 400;
    line-height: 1.2;
    color: white;
}

.homeButton {
    position: absolute;
    left: 50%;
    top: 67%;
    transform: translateX(-50%);
    z-index: 4;
    width: 19%;
    padding: 0.9vw 0;
    background-color: #262626;
    border: 0.08vw solid white;
    font-family: "Manrope", sans-serif;
    font-size: 1vw;
    font-weight: 400;
    text-align: center;
    color: white;
    text-decoration: none;
}

.homeButton:hover {
    background-color: #017DD6;
    color: #ffffff;
}

@media (max-width: 414px) {
    .errorPage {
        height: 100vh;
        background: linear-gradient(180deg, #008be8 0%, #262626 42%, #ff6720 100%);
    }

    .bigError {
        gap: 3vw;
    }

    .bigError span {
        font-size: 60vw;
    }

    .errorBox {
        width: 50%;
        padding: 5vw 4vw 6vw;
    }

    .errorBox h1 {
        font-size: 5vw;
        line-height: 1.05;
    }

    .errorBox p {
        margin-top: 4vw;
        font-size: 3vw;
        line-height: 1.2;
    }

    .homeButton {
        top: 64%;
        width: 58%;
        padding: 3vw 0;
        font-size: 3.5vw;
    }
}