/**
 * Theme Name: Florian Thierry
 */

* {
    box-sizing: border-box;
}

body {
    color: #36383b;
    font-family: "Inter", sans-serif;
    padding: 0;
    margin: 0;
    line-height: 1.4;
}

#hero svg {
    display: none;
}

.main-header {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
}

.main-header__logo {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.main-header__logo p {
    margin-bottom: 0;
    margin-top: 0;
}

.main-header__main-navigation ul,
.main-header__secondary-navigation {
    padding: 0;
    display: flex;
    list-style-type: none;
    justify-content: center;
}

.main-header__main-navigation ul li {}

.main-header__main-navigation ul li a {
    color: #000;
    text-decoration: none;
    padding: 1rem;
}

.main-header__main-navigation ul li a:hover,
.main-header__main-navigation ul li a:active{
    text-decoration: underline;
    text-decoration-thickness: 0.15rem;
}

.main-header__secondary-navigation {}

.button-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
}

.button.button--primary {
    color: #ffffff;
    background: linear-gradient(to bottom, #36383b, #000000);
}

.button.button--secondary {
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
}

.button.button--link {
    padding-left: 0;
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.button.button--primary:hover,
.button.button--primary:active {
    box-shadow: 1px 1px 1px 2px rgba(0, 0, 0, 0.2);
}

section,
footer {
    padding: 20px;
}

section h2 {
    font-size: 1.25rem;
    text-align: center;
    font-weight: 500;
}

section h2 strong {
    font-weight: 500;
    background-color: #000;
    color: #fff;
}

section h3 {
    font-size: 1rem;
    font-weight: 500;
}

.section--inverted {
    background-color: #f9f9f9;
}

.section--inverted h1 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 500;
}

.section--inverted h1,
.section--inverted h2 {
    color: #000;
    font-weight: 500;
}

/*#hero strong {
    font-weight: 500;
    background-color: #000;
    color: #fff;
}*/

.button-list {
    padding: 0;
    display: flex;
    list-style-type: none;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    margin-top: 2rem;
}

.subtitle {
    text-align: center;
    color: #727272;
    font-size: 1.125rem;
    line-height: 1.5;
}

.availability-date {
    color: #589e67;
    background-color: #eef5f0;
}

footer {
    text-align: center;
}

#contact {
    text-align: center;
    background-color: #000;
    color: #fff;
}

#contact h2,
#contact .subtitle {
    color: #fff;
}

#contact .button {
    text-align: center;
    background: white;
    color: #000;
}

dt {
    font-weight: 500;
}

dd {
    margin-left: 0;
    margin-bottom: 2rem;
}

figure {
    text-align: center;
}

@media (min-width: 1279px) {
    .main-header__logo p {
        max-width: 100%;
    }

    p {
        max-width: 568px;
    }

    .button-list {
        flex-direction: row;
        gap: 1rem;
    }

    .section--inverted h1 {
        font-size: 4rem;
        line-height: 1.2;
        margin-bottom: 0;
        margin-top: 0;
    }

    .subtitle {
        font-size: 1.25rem;
        line-height: 1.2;
        margin: 2rem 0;
        max-width: 100%;
    }

    section,
    #contact {
        padding: 6rem 3.5rem;
    }

    #contact h2 {
        font-size: 3rem;
        max-width: 568px;
        line-height: 1.2;
        margin-bottom: 0;
    }

    #contact .subtitle {
        max-width: 568px;
        font-size: 1.125rem;
    }

    #contact p {
        max-width: 568px;
    }

    #contact a.cta {
        margin-top: 2rem;
    }

    section h2 {
        font-size: 3rem;
        line-height: 1.2;
        margin-bottom: 0;
        margin-top: 0;
    }

    .offers {
        display: flex;
        justify-content: center;
        gap: 2rem;
    }

    .offers article {
        padding: 1rem;
        border-radius: 4px;
        border: 1px solid #727272;
    }

    footer p {
        max-width: 100%;
    }

    section .content-wrapper p {
        margin: 0 auto;
    }

    section .content-wrapper .button-list {
        justify-content: center;
    }

    section h2 {
        margin-bottom: 2rem;
    }

    .content-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4rem;
    }

    #hero svg {
        display: block;
        max-width: 568px;
    }

    .tools .content-wrapper svg,
    .why-freelancer .content-wrapper svg {
        max-width: 350px;
        height: auto;
    }

    .tools .content-wrapper,
    .references .content-wrapper,
    .why-freelancer .content-wrapper {
        align-items: initial;
    }

    .tools .content-wrapper h2,
    .references .content-wrapper h2,
    .references .content-wrapper .subtitle,
    .why-freelancer .content-wrapper h2,
    .why-freelancer .content-wrapper .subtitle {
        max-width: 568px;
        text-align: left;
    }

    .references .content-wrapper dl {
        max-width: 568px;
    }

    .tools .content-wrapper p,
    .why-freelancer .content-wrapper p {
        margin: 0 0 2rem 0;
    }

    #contact {
        margin: 0 auto;
    }
}
