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

html {
    box-sizing: border-box;
    font-size: 100%;
}

body {
    font-family: var(--font-body);
    color: #3d3d3a;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-bottom: 2rem;
    margin-top: 0;
}

h1 { font-size: 4.6rem; }
h2 { font-size: 3.6rem; }
h3 { font-size: 2.8rem; }
h4 { font-size: 2.2rem; }
h5 { font-size: 1.8rem; }
h6 { font-size: 1.6rem; }

p {
    margin-top: 0;
}

a {
    color: #786c3b;
    text-decoration: none;
}

a:hover {
    color: #5a5029;
}

input,
textarea,
select {
    border: 0.1rem solid #d1d1d1;
    border-radius: .4rem;
    padding: .6rem 1rem;
    font-size: 1rem;
    box-sizing: border-box;
    font-family: inherit;
}

table {
    border-spacing: 0;
    width: 100%;
}

td, th {
    border-bottom: 0.1rem solid #e1e1e1;
    padding: 1.2rem 1.5rem;
}

.container {
    margin: 0 auto;
    max-width: 112rem;
    padding: 0 2rem;
    width: 100%;
}

.row {
    display: flex;
    flex-direction: column;
    width: 100%;
}

img {
    max-width: 100%;
}

.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.message.success {
    background: #e6f7e6;
    color: #2d7a2d;
}

.message.error {
    background: #fdecea;
    color: #b23b3b;
}
