/*---------------------------------------------------------------------------------
    In this CSS file you will find the style for the 404 page
----------------------------------------------------------------------------------*/

/* Here you can import all stylesheets */
@import 'main.css';
@import 'header.css';
@import 'footer.css';

/* The area before the main content is edited here */
body {
    background: #FFF;
}

main {
    overflow-x: visible;
}


/*--------------------------------------------------
    CSS for the notification
---------------------------------------------------*/
.page_404 {
    background: #FFF;
    font-family: 'Inter', sans-serif;
}

/*  Details of the designer of the gif:
    --------------------------------------------------

    Copyright (c) 2025 by Naved khan (https://codepen.io/Navedkhan012/pen/vrWQMY)

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

.four_zero_four_bg {
    background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif);
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    --child-width: 100vw;
    margin-left: calc(-.5 * var(--child-width) + 50%);
    width: var(--child-width);
}
 
h1, .return_box_404 h3, .return_box_404 p {
    text-align: center;
}

.return_box_404 {
    justify-items: center;
}

.link_404 {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}

footer {
    margin-top: 3.5rem;
}


/*--------------------------------------------------
    The breakpoints
---------------------------------------------------*/
/* Intermediate version of mobile and tablet (480px) */
@media screen and (min-width: 480px) {
    footer {
        margin-top: 4.25rem;
    }
}

/* Tablet version (768px) */
@media screen and (min-width: 768px) {
    footer {
        margin-top: 5.5rem;
    }
}

/* Laptop version (1024px) */
@media screen and (min-width: 1024px) {
    footer {
        margin-top: 6.5rem;
    }
}

/* Larger laptop version (1280px) */
@media screen and (min-width: 1280PX) {
    footer {
        margin-top: 7.5rem;
    }
}

/* Intermediate version of laptop and desktop (1600px) */
@media screen and (min-width: 1600PX) {
    footer {
        margin-top: 8.5rem;
    }
}

/* Desktop version (1920px) */
@media screen and (min-width: 1920PX) {
    footer {
        margin-top: 9rem;
    }
}