/*
Theme Name: Thème SH
Theme URI: 
Author: Sarah Hans
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: ollie
Text Domain: theme-sh
Tags: 
*/

html {
    scroll-behavior: smooth;
}
a.wp-block-button__link:hover, .wpcf7-submit:hover {
    background-color: #f7f3f5 !important;
    color: #CC7178 !important;
    border: 1px solid #CC7178;
}
.wp-block-navigation-item__content:hover {
    color: #f7f3f5 !important;
}

/* Formulaire de contact */
.wpcf7-submit {
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    font-family: var(--wp--preset--font-family--quicksand);
    font-style: normal;
    font-weight: 400;
    padding-top: 12px;
    padding-right: var(--wp--preset--spacing--medium);
    padding-bottom: 12px;
    padding-left: var(--wp--preset--spacing--medium);
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: var(--wp--preset--shadow--small-dark);
    border-width: 0;
    border-radius: 100px;
    cursor: pointer;
}
.contact-form input:not(.wpcf7-submit), .contact-form textarea {
    width: 100%;
}
.contact-form .row {
    display: flex;
    justify-content: stretch;
    align-items: center;
    gap: 1rem;
}
.contact-form .col {
    width: 50%;
}

.custom-shape-divider-bottom-1738431426 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1738431426 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 108px;
}

.custom-shape-divider-bottom-1738431426 .shape-fill {
    fill: #5C4E69;
}

.portrait-sarah {
    position: sticky;
    top: 0;
}

@media (max-width: 991px) {
    section {
        padding: 2rem 1rem !important;
    }
    h1 {
        font-size: 36px;
    }
    .logo-sh {
        width: 40vw;
    }
    .contact-form .row {
        flex-direction: column;
    }
    .contact-form .col {
        width: 100% !important;
    }
    .contact-form .col p {
        margin: 0 !important;
    }
    .contact-button-header {
        display: none !important;
    }
    .wp-block-navigation__responsive-container-open {
        padding: 0;
        color: white;
        background-color: transparent;
    }
    .wp-block-navigation__responsive-container {
        height: auto;
        bottom: auto;
    }
    .wp-block-navigation__responsive-dialog {
        margin-top: 0 !important;
    }
    .button-hero {
        justify-content: center;
    }
}