2025-07-03 17:18:12 +02:00

90 lines
1.3 KiB
CSS

* {
box-sizing: border-box;
}
body {
margin: 0;
height: 100vh;
padding-left: auto;
padding-right: auto;
background-color: pink;
display: flex;
align-items: center;
justify-content: center;
background: url("bg.svg") center center/auto repeat, linear-gradient(
to bottom, transparent, pink
);
}
.search-grid {
margin-top: -10em;
width: 40em;
height: 30em;
display: grid;
gap: 5em;
grid-template-rows: 10em 4em;
}
.search {
grid-row: 2;
grid-column: 1 / span 2;
}
.search-logo {
grid-row: 1;
height: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
color: black;
}
@media (min-height: 700px){
.search-grid {
margin-top: 0;
}
}
.store-cards {
display: flex;
flex-direction: row;
justify-content: space-around;
gap: 1em;
}
.card {
background-color: rgba(255, 255, 255, .5);
width: 10em;
display: flex;
flex-direction: column;
align-items: center;
color: black;
gap: 1em;
padding: 1em;
}
.card-image {
width: 100%;
aspect-ratio: 1/1;
}
.search-logo img {
height: 100%;
}
.grid-item {
background-color: lightblue;
padding: 1em;
border-radius: .5em;
}