/*
Theme Name:   Child Graphy Pro
Description:  Child theme
Author:       Argo22
Author URL:   https://argo22.com/
Template:     graphy-pro
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  graphy-pro-child
*/

.main_head {
    background-color: rgb(248 242 239);
    height: 7.375rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    align-items: center;
    display: flex;
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.form-wrapper {
    width: 31rem;
    margin-left: 6rem;
}

.search-form-wrapper {
    display: flex;
    align-items: center;
    gap: .5rem;
    border-radius: 9999px;
    background-color: rgb(255 255 255);
    padding-left: 1.5rem;
    box-shadow: 0 2px 6px rgba(132, 104, 89, .13);
}

.search-form-input {
    width: 100%;
    outline-offset: .4rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    border: none !important;
    font-family: sans-serif;
}

.search-input-submit-icon {
    height: 3.5rem;
    width: 3.5rem;
    flex-shrink: 0;
    border-radius: 9999px;
    color: rgb(56 67 13);
    display: flex;
    justify-content: center;
}

.search-input-submit-icon:hover {
    background-color: rgb(154 178 23);
}

.search-input-submit-icon:not(:hover):not(:active) {
    text-shadow: 0 2px 1px rgba(56, 67, 13, .1);
    box-shadow: 0 2px 4px rgba(176, 203, 44, .3);
    background-color: rgb(176 203 44);
}

.search-input-submit-icon-svg {
    margin-left: auto;
    margin-right: auto;
    height: 2.25rem;
    width: 2.25rem;
    color: rgb(56 67 13);
    stroke-width: 1.8;
    overflow: visible !important;
    align-self: center;
}

.site-navigation-wrapper {
    position: relative;
    display: block;
    background-color: rgb(176 203 44);
}

.main-navigation li {
    background-color: rgb(176 203 44) !important;
}

.main-navigation li a {
    font-weight: 700;
    color: rgb(56 67 13);
    text-transform: none;
    font-family: sans-serif;
}

.main-navigation li a:hover {
    background-color: rgb(123 142 16);
    color: rgb(255 255 255);
}

.main-navigation {
    border: none;
}

.search-form-wrapper-mobile {
    display: none;
}

figure {
    margin: 0;
}

@media screen and (max-width: 1120px) {
    .site-branding {
        max-width: 980px;
    }
    .form-wrapper {
        margin-left: 0;
    }
    .site-content {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media screen and (max-width: 980px) {
    .site-branding {
        flex-direction: column;
        gap: 20px;
    }

    .main_head {
        height: unset !important;
        padding-bottom: unset !important;
        padding-top: unset !important;
    }
}

@media screen and (max-width: 780px) {
    .form-wrapper {
        display: none;
    }
    .search-form-wrapper-mobile {
        display: block;
    }
    .menu-text {
        padding-left: 20px;
        background-color: rgb(176 203 44);
        font-family: sans-serif;
    }
    .main-navigation .search-form {
        background-color: rgb(176 203 44);
        padding-right: 20px;
    }

    .site-content {
        margin-left: 20px;
        margin-right: 20px;
    }

    .main-navigation li {
        padding-left: 20px;
    }
}

