2025-01-02 22:43:50 -05:00
|
|
|
:root {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background-color: hsl(30, 38%, 92%);
|
2025-01-04 11:12:59 -05:00
|
|
|
font-size: 16px;
|
|
|
|
--padding-content: 0 1.5rem;
|
2025-01-02 22:43:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 100vh;
|
|
|
|
font-family: "Montserrat", serif;
|
|
|
|
}
|
2025-01-04 11:12:59 -05:00
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
}
|
2025-01-02 22:43:50 -05:00
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 2.5em 2em 0 2em;
|
2025-01-04 11:12:59 -05:00
|
|
|
max-width: 600px;
|
2025-01-02 22:43:50 -05:00
|
|
|
}
|
|
|
|
.content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2025-01-04 11:12:59 -05:00
|
|
|
justify-content: space-around;
|
2025-01-02 22:43:50 -05:00
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
border-radius: 0 0 0.5em 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content h3,
|
|
|
|
p {
|
|
|
|
color: hsl(228, 12%, 48%);
|
2025-01-04 11:12:59 -05:00
|
|
|
font-size: 1rem;
|
|
|
|
padding: var(--padding-content);
|
2025-01-02 22:43:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.content h3 {
|
|
|
|
letter-spacing: 0.2em;
|
2025-01-04 11:12:59 -05:00
|
|
|
padding: 0 1.2em;
|
2025-01-02 22:43:50 -05:00
|
|
|
}
|
|
|
|
.content p {
|
|
|
|
line-height: 1.6em;
|
|
|
|
text-align: left;
|
|
|
|
font-weight: 500;
|
2025-01-04 11:12:59 -05:00
|
|
|
font-size: 1.2rem;
|
2025-01-02 22:43:50 -05:00
|
|
|
word-wrap: break-word;
|
2025-01-04 11:12:59 -05:00
|
|
|
padding: var(--padding-content);
|
2025-01-02 22:43:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.content h1 {
|
2025-01-04 11:12:59 -05:00
|
|
|
font-size: 2rem;
|
2025-01-02 22:43:50 -05:00
|
|
|
font-weight: 700;
|
|
|
|
font-family: "Fraunces", serif;
|
|
|
|
margin: 0;
|
2025-01-04 11:12:59 -05:00
|
|
|
padding: 0 0.6em;
|
2025-01-02 22:43:50 -05:00
|
|
|
}
|
|
|
|
.hero-img {
|
|
|
|
border-radius: 0.5em 0.5em 0 0;
|
2025-01-03 17:59:38 -05:00
|
|
|
max-width: 100%;
|
2025-01-04 11:12:59 -05:00
|
|
|
}
|
|
|
|
.img-container {
|
|
|
|
align-self: center;
|
2025-01-02 22:43:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.price {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 20px;
|
2025-01-04 11:12:59 -05:00
|
|
|
padding: var(--padding-content);
|
2025-01-02 22:43:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.price h2,
|
|
|
|
span {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.price h2 {
|
2025-01-04 11:12:59 -05:00
|
|
|
font-size: 2rem;
|
2025-01-02 22:43:50 -05:00
|
|
|
font-family: "Fraunces", serif;
|
|
|
|
color: hsl(158, 36%, 37%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.price span {
|
2025-01-04 11:12:59 -05:00
|
|
|
font-size: 1.2rem;
|
2025-01-02 22:43:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
2025-01-04 11:12:59 -05:00
|
|
|
margin: 1.725em;
|
2025-01-02 22:43:50 -05:00
|
|
|
padding: 0.8em;
|
2025-01-04 11:12:59 -05:00
|
|
|
font-size: 1rem;
|
2025-01-02 22:43:50 -05:00
|
|
|
font-family: "Montserrat", serif;
|
|
|
|
font-weight: 700;
|
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
background-color: hsl(158, 36%, 37%);
|
|
|
|
border-radius: 0.5em;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attribution {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: end;
|
|
|
|
align-self: center;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.material-symbols-outlined {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2025-01-03 17:59:38 -05:00
|
|
|
@media only screen and (min-width: 800px) {
|
2025-01-02 22:43:50 -05:00
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
2025-01-03 17:59:38 -05:00
|
|
|
align-self: center;
|
2025-01-04 11:12:59 -05:00
|
|
|
/*max-width: 600px;*/
|
|
|
|
}
|
|
|
|
|
|
|
|
.container > * {
|
|
|
|
flex: 1;
|
2025-01-02 22:43:50 -05:00
|
|
|
}
|
|
|
|
.content {
|
2025-01-03 17:59:38 -05:00
|
|
|
border-radius: 0 0.5em 0.5em 0;
|
|
|
|
}
|
|
|
|
.hero-img {
|
|
|
|
border-radius: 0.5rem 0 0 0.5em;
|
|
|
|
object-fit: cover;
|
2025-01-02 22:43:50 -05:00
|
|
|
}
|
2025-01-04 11:12:59 -05:00
|
|
|
.content p {
|
|
|
|
line-height: 1em;
|
|
|
|
}
|
2025-01-02 22:43:50 -05:00
|
|
|
}
|