/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

body { overflow-x: hidden; }

ul { margin-left: 20px; }

ul li { padding-left: 2px; }

ul li::marker { color: var(--accent); }

p:last-child,
ul:last-child,
ul li:last-child {
    margin-bottom: 0;
}

a {
    transition: all 0.3s ease-in-out;
}

input:focus,
input:active {
    box-shadow: none !important;
    outline: none !important;
}

.alignfull.fixed__alignfill {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: auto;
    position: relative;
}

.wp-block-button a {
    border: 1px solid var(--accent);
    border-radius: 0 !important;
    transition: border 0.1s ease-in-out, font-weight 0.1s ease-in-out, background-color 0.1s ease-in-out, color 0.1s ease-in-out;
    padding: 8px 17px !important;
    height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.wp-block-button a:hover {
    border: 2px solid var(--accent);
    font-weight: 500;
}

.wp-block-button a:active,
.wp-block-button a:focus {
    border: 2px solid var(--accent);
    font-weight: 400;
    background-color: var(--accent) !important;
    color: var(--base-3) !important;
}

.error404 .inside-article {
    padding-top: 160px;
}

.error404 h1 {
    font-size: 100px;
    line-height: 100px;
    margin-bottom: 30px;
}

.wp-block-buttons-error404 {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .error404 h1 {
        font-size: 80px;
        line-height: 80px;
    }
    .wp-block-button a {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .error404 .inside-article {
        padding-top: 100px;
    }
    .error404 h1 {
        font-size: 50px;
        line-height: 50px;
        margin-bottom: 20px;
    }
    .wp-block-buttons-error404 {
        flex-direction: column;
    }
}