2025-01-01 04:23:18 +00:00

174 lines
2.7 KiB
CSS

/* Style each tag in an html */
/* describe to chatgpt what you want, good at css, or css reference */
/* font: sans-serif for headers, serif for paragraphs, mono for whatever */
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
}
html,
body {
height: 100%;
}
body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
input,
button,
textarea,
select {
font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
#root,
#__next {
isolation: isolate;
}
.parent {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 20px;
grid-row-gap: 20px;
}
.div1 {
grid-area: 1/1/2/3;
}
.div1 body {
margin: 0;
font-family: "Montserrat", serif;
background-color: #020122;
}
.div1 .container {
padding: 20px;
}
.div1 .intro {
text-align: left;
margin-bottom: 50px;
}
.div1 .intro h1 {
font-size: 2rem;
margin-bottom: 10px;
color: #ddbdd5;
font-family: "Lora", serif;
}
.div1 .intro p {
font-size: 1.1rem;
margin-bottom: 20px;
color: #f7ebec;
font-family: "Montserrat", serif;
}
.div1 .intro .read-more {
background-color: #ddbdd5;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1rem;
}
.div1 .intro .read-more:hover {
background-color: #443850;
}
.div2 {
grid-area: 1/3/2/4;
}
.div2 .intro h5 {
font-size: 2rem;
margin-bottom: 10px;
color: #f7ebec;
font-family: "Lora", serif;
}
.div2 .intro p {
font-size: 1.1rem;
margin-bottom: 20px;
color: #020122;
font-family: "Montserrat", serif;
}
.div2 .parent {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 20px;
grid-row-gap: 20px;
}
.div2 .div1 {
grid-area: 1/1/2/2;
}
.div2 .div2 {
grid-area: 1/2/2/3;
}
.div2 .div3 {
grid-area: 1/3/2/4;
}
.div2 .div4 {
grid-area: 2/1/3/2;
}
.div2 .div5 {
grid-area: 2/2/3/3;
}
.div2 .div6 {
grid-area: 2/3/3/4;
}
.div2 .feature {
background-color: #ddbdd5;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
text-align: center;
}
.div2 .feature h3 {
font-size: 1.5rem;
margin-bottom: 10px;
color: #6e8387;
}
.div2 .feature p {
font-size: 1rem;
margin-bottom: 20px;
color: #f7ebec;
}
.div2 .feature .more {
background-color: #ddbdd5;
color: #fff;
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 0.9rem;
}
.div2 .feature .more:hover {
background-color: #443850;
}
/*# sourceMappingURL=index.css.map */