/*
Theme Name: Chestnut
Author: Bryce Yoder
Description: Bespoke theme for Chestnut Housing
Version: 1.0.0
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}


* {
    margin: 0;
}


body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: greycliff-cf, sans-serif;
}


img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}


input,
button,
textarea,
select {
    font: inherit;
}


p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}


#root,
#__next {
    isolation: isolate;
}

/* -- end reset -- */

h1 {
    font-family: "Americana", serif;
    font-weight: 400;
    color: #24373A;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 3.5rem;
}

h2 {
    font-size: 2rem;
    color: #D08349;
    font-weight: 600;
    margin: 3rem 0 1.5rem 0;
    letter-spacing: -0.5px;
}

h3 {
    text-transform: uppercase;
    color: #F4B54B;
    font-weight: 600;
    margin: 1rem 0;
}

a {
    color: unset;
}

a[href]:hover {
    text-decoration: underline;
}

p {
    font-size: 1.3rem;
    color: #2c2e35;
    margin: 1.5rem 0;
}

blockquote p {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #B25032;
    margin: 1.5rem 0 -0.5rem 0;
    font-size: 1.5rem;
}

button,
.button,
.wp-element-button,
a.wp-block-button__link {
    background-color: #F4B54B;
    border: 2px solid #F4B54B;
    color: #24373A;
    padding: 1rem 2rem;
    border-radius: 99rem;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.1s ease;
    width: max-content;
}

button:hover,
.button:hover,
.wp-element-button:hover {
    background-color: transparent;
    color: #F4B54B;
    cursor: pointer;
}

button.primary,
.button.primary,
.wp-element-button,
a.wp-block-button__link {
    border: none;
}

.button.primary:hover,
button.primary:hover,
.wp-element-button:hover,
a.wp-block-button__link:hover {
    background-color: #24373A;
    text-decoration: none;
}

.container {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 18rem);
}

.wp-block-buttons > div.wp-block-button {
    margin-top: 1rem;
}

@media screen and (min-width: 2750px) {
    html {
        font-size: 35px;
    }
}

@media screen and (max-width: 1400px) {
    html {
        font-size: 13px;
    }
}

@media screen and (max-width: 1200px) {
    html {
        font-size: 10px;
    }
}

@media screen and (max-width: 1000px) {
    html {
        font-size: 12px;
    }

    h1 {
        font-size: 2.75rem;
        line-height: 4rem;
    }
}

@font-face {
    font-family: Americana;
    src: url("assets/fonts/americana.otf") format("opentype");
}