* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
}

#notfound {
    position: relative;
    height: 100vh;
}

#notfound .notfound-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg.jpg');
    background-size: cover;
}

#notfound .notfound-bg:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
}

#notfound .notfound {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.notfound {
    max-width: 910px;
    width: 100%;
    line-height: 1;
    text-align: center;
}

.notfound .notfound-404 {
    position: relative;
    height: 200px;
}

.notfound .notfound-404 h1 {
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 50px;
    font-weight: bold;
    margin: 5px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 1px 1px 2px black;
    background-color: rgba(255, 194, 0, 0.9);
    padding: 20px;
    border-radius: 10px;
}

.notfound h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-top: 20px;
    text-shadow: 1px 1px 2px black;
    background-color: rgba(255, 92, 0, 0.9);
    border-radius: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.notfound .home-btn, .notfound .contact-btn {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid transparent;
    text-transform: uppercase;
    padding: 13px 25px;
    font-size: 18px;
    border-radius: 40px;
    margin: 7px;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}

.notfound .home-btn:hover, .notfound .contact-btn:hover {
    color: #fff;
    background: rgb(255, 68, 0);
}

.notfound .home-btn {
    color: rgb(255, 68, 0);
    background: #fff;
}


.notfound-social {
    margin-top: 25px;
}

.notfound-social > a {
    border-radius: 50%;
    display: inline-block;
    height: 50px;
    line-height: 50px;
    width: 50px;
    font-size: 2rem;
    color: rgb(255, 68, 0);
    margin: 0px 6px;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
    background-color: #fff;
}

.notfound-social > a:hover {
    color: #fff;
    background-color: rgb(255, 68, 0);
    border-radius: 50%;
}

@media only screen and (min-width: 50px) and (max-width: 819px) {
    .notfound .notfound-404 h1 {
        font-size: 2rem;
    }

    .notfound h2 {
        font-size: 1.5rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #fff;
        margin-top: 5px;
    }

    .notfound {
        max-width: 910px;
        width: 95%;
        text-align: center;
    }

    .notfound-social > a {
        height: 60px;
        line-height: 60px;
        width: 60px;
        font-size: 2rem;
    }
}

@media only screen and (min-width: 820px) and (max-width: 1024px) {
    .notfound .notfound-404 h1 {
        font-size: 3rem;
    }

    .notfound h2 {
        font-size: 2rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #fff;
        margin-top: 5px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .notfound {
        max-width: 910px;
        width: 95%;
        text-align: center;
        padding-top: 10px;
    }

    .notfound .home-btn {
        font-size: 2rem;
    }

    .notfound-social > a {
        height: 80px;
        line-height: 80px;
        width: 80px;
        font-size: 2.5rem;
    }
}
