﻿@font-face {
    font-family: Helvetica;
    src: url(fonts/HelveticaNeue.otf);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Helvetica;
}

.error404 {
    align-items: center;
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    padding: 145px 0 130px;
    text-align: center;
    height: 100vh;
}

    .error404 .img img {
        max-width: 481px;
        height: auto;
        border: none;
        border-radius: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.error-content h3 {
    color: #30425B;
    font-size: 45px;
    font-weight: 500;
    line-height: 61px;
    max-width: 460px;
    margin-bottom: 30px;
}

.list-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
}

    .list-contact a {
        display: inline-block;
        background: red;
        color: #fff;
        padding: 11px 20px;
        font-size: 16px;
        border-radius: 30px;
        text-decoration: none;
    }

        .list-contact a.backhome {
            background: #225ca3;
        }

@media only screen and (max-width: 600px) {
    .error404 {
        max-width: 100%;
        padding: 10px 0;
        flex-direction: column;
        justify-content: center;
    }

        .error404 .img img {
            max-width: 80%;
            margin: auto;
            display: block;
        }

    .error-content h3 {
        font-size: 30px;
        line-height: 40px;
        max-width: 100%;
    }
}
