body {
    line-height: 1.5;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    color: goldenrod;
}

h2 {
    line-height: 1.6;
    margin: 0 0 1rem;
}

.logo {
    padding: 0.75rem;
}

.btn-header {
    border: 1px solid #000;
    padding: 1rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 2rem;
}

.btn-header:hover {
    background-color: black;
}

.btn-header.active {
    background-color: black;
    color: gold;
}

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

.hero-img {
    width: 100%;
    max-height: 20rem;
    object-fit: cover;
    object-position: 50% 80%;
}

.item-info {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background-color: #cfc09c;
}

.title {
    font-size: 22px;
    font-weight: bold;
    border-right: 1px solid #000;
    padding: 0 1rem;
}

.about {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 2rem auto;
    gap: 2rem;
}

.about-text p {
    max-width: 50ch;
}

.about-img {
    display: flex;
    flex-direction: column;
}

.about-img img {
    border-radius: 12px;
}

.gallery {
    margin: 0 auto 3rem;
    text-align: center;
    width: 80%;
}

.gallery h3 {
    font-size: 22px;
    font-weight: normal;
}

.gallery .hr {
    margin: 1rem 0;
    border: 1px solid rgb(253, 242, 181);
    border-radius: 10px;
}

.gallery div {
    display: flex;
    width: 100%;
    margin: 0 auto 3rem;
    justify-content: space-around;
}

.gallery div img {
    height: 256px;
    border-radius: 12px;
}

footer {
    display: flex;
    justify-content: space-between;
    margin: 1rem;
}

.affiliates {
    display: flex;
    gap: 1rem;
}

.affiliates ul {
    list-style-type: none;
}

.social-icon {
    height: 32px;
}

.top {
    display: flex;
    width: 75ch;
    flex-direction: column;
    margin: 4rem auto;
}

.gallery-2 {
    width: 100%;
    text-align: center;
    margin: 0 auto 3rem;
}

.gallery-2 h3 {
    font-size: 22px;
    font-weight: bold;
}

.gallery-2 .hr {
    margin: 1rem 0;
    border: 1px solid rgb(253, 242, 181);
    border-radius: 10px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin: 3rem auto;
    justify-content: space-evenly;
    align-items: center;
}

.card {
    width: 256px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.card img {
    width: 200px;
    height: 250px;
    object-fit: contain;
}

.card h3 {
    line-height: 1.7;
}

.card p {
    margin: 0.5rem 0;
}

.form {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
}

.form label {
    font-size: 22px;
    margin-right: 1rem;
}

.form input,
.form textarea {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid;
}

.form button {
    width: 200px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
}

.ring-sizing-chart {
    text-align: center;
    margin: 3rem;
}

.ring-sizing-chart h3 {
    margin: 2rem;
}

.ring-sizing-chart td,
.ring-sizing-chart th,
.ring-sizing-chart tr {
    max-width: 500px;
    margin: auto;
    border: 1px solid rgb(169, 162, 162);
}

.ring-sizing-chart tr :nth-child(even) {
    background-color: #f2f2f2;
    text-align: center;
}

.ring-sizing-chart tr:hover {
    background-color: #ddd;
}

.ring-sizing-chart th {
    max-width: 100%;
    text-align: center;
    padding: 10rem;
    margin-left: auto;
    background-color: #f2f2f2;
}