*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}


body{
    font-family:'Poppins', sans-serif;
    background:#f4f4f4;
    color:#333;
    line-height:1.8;
}

nav {
    h2 {
        display: inline;
    }
    ul {
        display: inline;
        margin-left: 20px;
    }
    li {
        display: inline;
    }
    a {
        display: inline-block;
        text-decoration: none;
        color: white;
        background-color:#e0a2bc;
;
        padding: 10px;
        margin: 10px;
    }
}

/* ---------- HEADER ---------- */

header{
    height:70vh;
    background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url("love-dont-cost-a-thing-2003.jpg") center/cover no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:20px;
}

.header-content h1{
    font-size:60px;
    margin-bottom:15px;
}

.header-content p{
    font-size:22px;
    margin-bottom:30px;
}

.btn{
    display:inline-block;
    text-decoration:none;
    background:#e0a2bc;
    color:white;
    padding:14px 30px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    background:#e0a2bc;
    transform:translateY(-3px);
}

/* ---------- MAIN ---------- */

main{
    width:85%;
    max-width:1100px;
    margin:50px auto;
}

.hero{
    text-align:center;
    margin-bottom:40px;
}

.hero img{
    width:280px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.3);
}

.card{
    background:white;
    margin-bottom:35px;
    padding:35px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.card h2{
    color:#e0a2bc;
    margin-bottom:18px;
    font-size:30px;
}

.card p{
    margin-bottom:18px;
}

.card ul{
    padding-left:20px;
}

.card li{
    margin-bottom:12px;
}

/* ---------- RATING ---------- */

.rating{
    text-align:center;
}

.rating h3{
    font-size:42px;
    color:ghostwhite;
    margin:15px 0;
}

/* ---------- FOOTER ---------- */

footer{
    background:#222;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:40px;
}

/* ---------- MOBILE ---------- */

@media(max-width:768px){

.header-content h1{
    font-size:40px;
}

.header-content p{
    font-size:18px;
}

.card{
    padding:25px;
}

.hero img{
    width:220px;
}

}


@media (prefers-reduced-motion: reduce) {
    .carousel-item {
        transition: transform 600ms ease-in-out !important;
    }
}