* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing:antialiased;
    -moz-webkit-font-smoothing: grayscale;
}

:root {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

body {
    background-color: #121214;
    height: 100vh;
    display: grid;
    place-content: center;
}

.flex {
    display: flex;
}

.container {
    flex-direction: column;
    gap: 96px;
    padding: 24px 56px;
    border-radius: 40px;
    background-color: white;
    max-width: 795px;
}

.drag {
    width: 168px;
    height: 18px;
    background: #e5d8ea;
    margin-inline: auto;
    border-radius: 999px;
}

.header h1 {
    font-size: 35px;
    line-height: 48px;
    color: #372d38;
}

.header h1 span {
    color: gray;
}

.header p {
    font-size: 20px;
    line-height: 30px;
    color: #372d38;
}

.body {
    justify-content: space-between;
    align-items: center;
}

/* .body .left {
    align-items: center;
    justify-content: center;
} */

.driver {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.driver .avatar img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 10px;
}

.stars {
    align-items: center;
    justify-content: center;
    color: #f8f8fc;
    background: #372d38;
    border-radius: 999px;
    width: 100px;
    height: 32px;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    margin-top: -32px;
}

.name {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: #372d38;
    margin-top: 6px;
}

.car-img {
    margin-left: -50px;
}

.plate {
    font-weight: 700;
    font-size: 38px;
    line-height: 50px;
    color: #372d38;
}

.model {
    font-weight: 500;
    font-size: 14px;
    line-height: 28px;
    color: #372d38;
}

.footer {
    gap: 32px;
    align-items: center;
}

.box {
    background-color: #f5edf7;
    border-radius: 24px;
    height: 64px;
    flex: 3;
    align-items: center;
    padding: 0 32px;
}

.box label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border-width: 0;
    white-space: nowrap;
}

.box input {
    width: 100%;
    border: 0;
    background-color: transparent;
    font-weight: 500;
    font-size: 15px;
    color: #372d38;
}

.box input:focus {
    outline: 0;
}

.box:focus-within {
    outline: 1px solid black;
}

.footer .ph-fill {
    font-size: 30px;
}


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

    .left, .right {
        min-width: auto;
    }
}