@import url('https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Cursive:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    font-family: "inter", sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

header {
    padding: 20px 40px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

li {
    text-decoration: none;
    color: aliceblue;
}

a {
    background-color: aliceblue;
    color: black;
    text-decoration: none;
    height: fit-content;
    padding: 20px 40px;
}

.logo {
    height: fit-content;
    font-weight: 800;
    border: 1px solid rgb(244, 244, 244);
    width: fit-content;
    color: rgb(244, 244, 244);
    padding: 10px;
}

body {
    background-color: rgb(23, 23, 23);
}

.hero {
    height: 500px;
    background-image: url('./images/luxury-car.png');
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.hero * {
    color: aliceblue;
}

h1 {
    border-top: 1px solid rgba(240, 248, 255, 0.29);
    padding-top: 24px;
}

.intro {
    padding: 40px;
    display: flex;
    height: 100%;
    width: 100%;
}

.intro img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    overflow: hidden;
    margin: auto 0;
}

.intro .text {
    min-width: 50%;
    height: fit-content;
}

h2 {
    color: aliceblue;
}

.intro p {
    max-width: 600px;
    text-wrap-style: balance;
    color: aliceblue;
    padding: 16px 0;
    margin-bottom: 40px;
}

.tile{
    width: 250px;
    border: 1px solid rgba(72, 72, 72, 0.367);
    background-color: rgb(31, 31, 31);
    border-radius: 8px;
    padding: 24px;
}

.tile * {
    color: aliceblue;
}

.tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.book {
    padding: 40px;
    background-color: black;
    text-align: center;
}

.book p,
.pricing p {
    color: aliceblue;
    margin: 20px 0;
}

form {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    max-width: 700px;
    gap: 16px;
}

form .names {
    display: flex;
    gap: 16px;
}

form .names input {
    width: 100%;
}

form input {
    height: 48px;
    padding-left: 16px;
    background-color: rgb(21, 21, 21);
    border: 1px solid rgb(54, 54, 54);
    color: aliceblue;
}

form textarea {
    height: 200px;
    padding: 16px;
    background-color: rgb(21, 21, 21);
    border: 1px solid rgb(54, 54, 54);
    resize: none;
}

form button {
    height: 48px;
    font-weight: 800;
    font-size: 1.2rem;
}

.return-btn{
    position: fixed;
    background-color: rgb(235, 201, 114);
    color: black;
    padding: 20px;
    width: 100%;
    text-align: center;
    max-width: 400px;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 8px;
    font-weight: 400;
    font-style: italic;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 30px black;
    z-index: 999;
}

.pricing {
    padding: 40px;
}

.pricing * {
    color: aliceblue;
}

.plan {
    padding: 40px;
    background-color: rgb(29, 29, 29);
    border: 1px solid rgb(36, 36, 36);
    max-width: 360px;
    min-width: 360px;
}

.plan h3 {
    font-size: 1rem;
    position: relative;
}

.plan h3::after {
    content: "";
    width: 100%;
    height: 1px;
    background: aliceblue;
    position: absolute;
    bottom: -12px;
    left: 0;
}

.plan-pricing {
    display: flex;
    align-items: baseline;
    margin: 20px 0;
}

.price-main {
    font-size: 3rem;
    font-weight: 800;
}

.price-sub {
    font-weight: 800;
}

.plan ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan ul li {
    opacity: .5;
    font-size: .8rem;
}

.plan button {
    color: black;
    font-size: 1.2rem;
    font-weight: 800;
    width: 100%;
    height: 48px;
    margin-top: 40px;
}

.plans {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.plan:nth-of-type(1) ul li:nth-of-type(n+6) {
    text-decoration: line-through;
    opacity: .2;
}

.plan:nth-of-type(2) ul li:nth-of-type(n+9) {
    text-decoration: line-through;
    opacity: .2;
}

.plan:nth-of-type(2) {
    background-color: rgb(43, 43, 43);
}

.plan:nth-of-type(3) {
    background-color: rgb(70, 60, 43);
}

@media (min-width: 1001px) {
    .plan {
        scale: 1;
    }
}

@media (max-width: 1000px) {
    .intro {
        flex-direction: column;
    }

    .tiles {
        justify-content: center;
        margin-bottom: 40px;
    }

    .tile {
        width: 100%;
    }

    .plans {
        gap: 8px;
        margin: 0;
        padding: 0;
        justify-content: center;
    }

}

@media (max-width: 800px) {
    ul {
        display: none;
    }
}

@media (max-width: 500px) {
    .plan {
        width: 320px;
        min-width: 320px;
        max-width: 320px;
        margin: 0;
        height: fit-content;
    }

    .logo {
        font-weight: 800;
        border: 1px solid rgb(244, 244, 244);
        width: fit-content;
        color: rgb(244, 244, 244);
        padding: 4px;
        scale: .7;
    }

    header {
        padding: 0;
        justify-content: center;
        align-items: center;
    }
}