body {
font-family: "Playfair Display", serif;
margin: 0;
}
section {
    max-width: 100%;
    margin: 0 auto;
    padding: 100px;
}
.grid {
    display: grid;
    gap: 64px;
}
.grid-2-columns {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    max-width: 100%;
    gap: 0;
}
.grid-2-columns img {
    width: 100%;
    height: 100%;
    display: block;
    min-height: 500px;
    object-fit: cover;
}
.grid-2-columns > div:last-child {
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.grid-3-columns-with-first-narrow {
    grid-template-columns: 1fr 2fr 2fr;
}
.grid-3-columns {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}
.grid-3-columns:has(.card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px; /* adjust to taste */
    margin: 0 auto;
}

.text-box {
    margin-bottom: 16px;
}

section.secondary {
    background: linear-gradient(360deg, rgba(3, 5, 4, 0.9) 0%, rgba(2, 4, 3, 0.7) 51.55%, rgba(11, 6, 32, 0.6) 100%), url('../images/nicki-secondary.jpg');
}
.text-center {
    text-align: center;
}
.learn-more-btn {
    display: inline-block;
    width: fit-content;
    margin-top: 16px;
    border-radius: 100px;
    padding: 16px 32px;
    background-color: #885DF1;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
header {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
max-width: 1512px;
height: 1100px;
box-sizing: border-box;
background-image:
linear-gradient(rgba(0, 0, 0, 0.6),rgba(0, 0, 0, 8)),
url('../images/nicki-background.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center 5%; 
padding: 285px 383px;
}
header h1 {
font-weight: 700;
font-size: 64px;
line-height: 1;
text-align: center;
letter-spacing: 0%;
color: white;
margin: 30px 0;
}
header h2 {
font-weight: 400;
font-size: 40px;
line-height: 1.5;
letter-spacing: 0%;
text-align:center;
color: white;
width: 795px;
max-width: 100%;
opacity: 1;
}
header h3 {
font-weight: 900;
font-size: 24px;
line-height: 1.5;
text-align: center;
letter-spacing: 5px;
color: white;
margin: 0;
}
header a {
display: inline-block;
margin-top: 32px;
border-radius: 100px;
padding: 16px 32px;
background-color: #885DF1;
color: white;
font-weight: 600;
font-size: 14px;
line-height: 1.5;
letter-spacing: 0px;
text-align: center;
text-decoration: none;
}

main {
    background-color: white;
}
main h2 {
    font-weight: 700;
    font-style: Bold;
    font-size: 48px;
    line-height: 1.5;
    letter-spacing: 5px;
    margin: 0;
}
main h3 {
    display: inline-block;
    background-color: #DCF3FB;   
    color: #3FA9D9;              
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 16px;
    width: fit-content;
    margin-bottom: 24px;
}
.card {
    background: rgba(238, 235, 248, 1);
    border-radius: 15px;
    overflow: hidden;
}
.card > *:not(.video-thumb) {
    padding-left: 24px;
    padding-right: 24px;
}
.card h4 {
    padding-top: 24px;
}
.card .btn {
    margin: 24px;
    margin-top: 0;
}
.video-thumb {
    position: relative;
}
.video-thumb img {
    width: 100%;
    display: block;
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.play-btn:hover {
    background-color: rgba(0,0,0,0.7);
}
.btn {
    display: block;
    color: white;
    background-color: rgba(136, 93, 241, 1);
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 32px;
    text-decoration: none;
    text-align: center;
}
main h4 {
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0%;
}
main h5 {
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0%;
}
main p {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0px;
    opacity: 0.7;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.last-section {
    background-color: rgba(30, 27, 44, 1);
}

footer {
    background-image: linear-gradient(rgba(2,4,3,0.9),rgba(2,4,3,0.9)),url('../images/nicki-footer.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}
footer h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0%;
}
footer p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    opacity: 0.7;
}
footer ul {
    padding: 0;
}
footer li {
    list-style: none;
    margin: 0;
    padding: 0;
}
footer a {
    color: white;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    opacity: 0.7;
    text-decoration: none;
}


@media (max-width: 960px) {
header {
padding: 60px 0;
}
header h1 {
font-size: 32px;
}
header h2 {
font-size: 20px;
}
header h3 {
font-size: 12px;
}
.grid {
    grid-template-columns: 1fr;
    gap: 32px;
}
section {
    padding: 30px;
}
}