:root { --fg-color: #333; --bg-color: #f9f9f9; --gray-color: #9d9d9d; --yellow-color: #f8a911; --yellow-alt-color: #ffce6f; --default-border: 2px solid var(--gray-color); } html { font-size: 100%; } body { background: var(--bg-color); font-family: 'Inter', sans-serif; font-weight: 400; max-width: 1024px; padding: 1rem; margin: 0 auto; line-height: 1.75; color: var(--fg-color); } p { margin-bottom: 1rem; } a { color: var(--fg-color); } h1, h2, h3, h4, h5 { margin: 0; font-family: 'Eczar', serif; font-weight: 700; line-height: 1.3; } h1 { margin-top: 0; font-size: 2.488rem; } h2 { font-size: 2.074rem; } h3 { font-size: 1.728rem; } h4 { font-size: 1.44rem; } h5 { font-size: 1.2rem; } small, .text_small { font-size: 0.833rem; } label { display: block; } button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; max-width: 100%; } input { outline: 0; } label { text-align: left; font-weight: 700; } select { text-align: left; border: var(--default-border); padding: 0.5em; outline: 0; } input[type=text], input[type=email], input[type=number], input[type=password], select[multiple=multiple], textarea { display: block; text-align: left; color: var(--fg-color); border: var(--default-border); padding: 0.5rem; outline: 0; } input:focus, textarea:focus { border-color: var(--yellow-color); } select[multiple=multiple] { height: 125px; } input[type=checkbox] { width: 1em; vertical-align: text-top; } textarea { width: 100%; height: 6.25rem; line-height: 1.45; } ::-webkit-input-placeholder { font-style: oblique; } ::-moz-input-placeholder { font-style: oblique; } ::-ms-input-placeholder { font-style: oblique; } .action-button, input[type=submit], button { font-family: inherit; font-weight: bold; font-size: 1rem; color: var(--fg-color); text-decoration: none; text-transform: lowercase; font-variant: small-caps; background-color: var(--yellow-color); padding: 0.25rem 1rem; border-radius: 0.2rem; border: none; cursor: pointer; } .action-button:hover { background-color: var(--yellow-alt-color); } .action-button--large { font-size: 2rem; } form input, form select { width: 100%; box-sizing: border-box; } figure { margin: 0; padding: 0; box-sizing: border-box; } img { box-sizing: border-box; } .product__item { display: grid; grid-template-columns: 2fr 1fr; gap: 0 2rem; } .product__list-item button { grid-column: 1/3; align-self: end; } .product__image { /*object-fit: cover;*/ max-width: 100%; } .product__form { display: grid; grid-template-columns: 1fr 3fr; gap: 1rem; } .product__form input[type=submit] { grid-column: 2; justify-self: end; } .site__logo { text-decoration: none; } .site__header div, .site__header nav { display: flex; justify-content: space-between; align-items: baseline; } nav a { text-transform: lowercase; font-variant: small-caps; font-weight: bold; text-decoration: none; } nav { margin-bottom: 4rem; } .site__copyright { text-align: center; } .keep_calm { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; } .keep_calm__img { max-width: 250px; } .site__cart { display: flex; align-items: center; background-color: var(--yellow-color); padding: 0.25rem 1rem; text-decoration: none; border-radius: 0.2rem; color: var(--fg-color); cursor: pointer; } .cart__icon { width: 2rem; height: 2rem; } .cart__length { font-size: 1.5rem; font-weight: bold; font-family: 'Eczar'; } .cart__item { display: grid; grid-template-columns: 1fr 5fr; gap: 1rem; padding: 2rem 0; border-bottom: 0.05rem solid var(--gray-color); } .cart__total_price { text-align: right; font-size: 1.5rem; } .cart__total { display: flex; align-items: center; justify-content: flex-end; } .item__figure img { vertical-align: middle; } .product__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8rem; } .product__list-item { text-decoration: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; } .product__list-item form { grid-column: 1/3; } .product__list-item figure { margin: 0; padding: 0; } .order__shipping { margin-bottom: 3rem; } .order__total { margin: 3rem 0; text-align: right; } .order__details { /*margin: 3rem 0;*/ } footer { margin: 4rem 0 0; box-sizing: border-box; border-top: var(--default-border); padding: 2rem 0; } .object__header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; } .object__list, .object__panel { background-color: white; border-radius: 0.5rem; margin-bottom: 2rem; } .object__item { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding: 1rem; border-bottom: 0.05rem solid var(--gray-color); text-decoration: none; align-items: center; } .panel__item:last-child, .object__item:last-child { border-bottom: unset; border-radius: 0 0 0.5rem 0.5rem; } .object__item:hover { background-color: var(--bg-alt-color); } .object__item--header { font-weight: bold; background-color: var(--bg-alt-color); border-radius: 0.5rem 0.5rem 0 0; } .panel__item { padding: 1rem; border-bottom: 0.05rem solid var(--gray-color); text-decoration: none; } .product__detail { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; } .user__emails { margin-bottom: 4rem; } ._form_1 div { text-align: left !important; } ._form_1 div form { margin: 1rem 0 !important; padding: 0 !important; }