body{
    box-sizing: border-box;
    margin: 0;
}

.Ride{
    width: 90%;
    margin: 40px auto;
}

.Ride>*{
    font-family: sans-serif;
}

.Ride__head{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.Ride__logo{
    margin: 0 auto;
    width: 40%;
    display: flex;
    justify-content: space-between;
    align-items:center;
    flex-direction: column;
}

.Ride__logo>div:first-child{
    width: 100%;
    margin: 0 auto;
}

.Ride__logo>div:first-child>img{
    width: 70%;
}

.Ride__logo>div:last-child{
    width: 100%;
    border-radius: 20px;
    padding: 20px 20px;
    border: 2px solid black;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

.Ride__logo>div:last-child>div{
    align-self: flex-end;
}

.Ride__logo>div:last-child>h4{
    font-size: 25px;
    margin: 0;
    margin-bottom: 20px;
}

.Ride__logo>div:last-child>p{
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 5px;
}

.Ride__logo>div:last-child>div>p{
    font-size: 18px;
    margin: 0;
    margin-top: 20px;
}

.Ride__infoFactura{
    width: 50%;
    border-radius: 20px;
    padding: 20px 20px;
    border: 2px solid black;
    display: flex;
    justify-content: space-between;
    align-items:flex-end;
    flex-direction: column;
}

.Ride__infoFactura>h2{
    font-size: 34px;
    margin: 0;
}

.Ride__infoFactura>p{
    font-size: 22px;
    margin: 0;
}

.Ride__infoFactura--marginTag{
    margin-bottom: 100px !important;
}

.Ride__infoFactura--marginText{
    margin-bottom: 25px !important;
}

.Ride__client{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 40px;
}

.Ride__client>label{
    width: 100%;
    font-size: 20px;
    margin-bottom: 10px;
}

.Ride__itemsHead{
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 10% 20% 30% 10% 10% 10% 10%;
    border: 2px solid black;
    margin-top: 40px;
}

.Ride__itemsHead>label{
    text-align: center;
    font-size: 20px;
    height: 100%;
    padding: 20px 0;
    box-sizing: border-box;
    border-right: 2px solid black;
}

.Ride__itemsHead>label:last-child{
    border-right: none;
}

.Ride__itemsContent{
    width: 100%;
}

.Ride__itemsItem{
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 10% 20% 30% 10% 10% 10% 10%;
    border-left: 2px solid black;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
}

.Ride__itemsItem>label{
    text-align: center;
    box-sizing: border-box;
    font-size: 18px;
    padding: 10px 0;
    border-right: 2px solid black;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Ride__itemsItem>label:last-child{
    border-right: none;
}

.Ride__itemsItem>label:nth-child(2),.Ride__itemsItem>label:nth-child(3){
    text-align: left;
    padding-left: 10px;
}

.Ride__footer{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.Ride__adicional{
    width: 40%;
}

.Ride__info,.Ride__waypay{
    width: 100%;
    border: 2px solid black;
}

.Ride__info>p{
    border-bottom: 2px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    height: 40px;
}

.Ride__info>div{
    box-sizing: border-box;
    padding: 0 10px;
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.Ride__waypay{
    margin-top: 10px;
}

.Ride__waypay>div{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding: 0 10px;
    box-sizing: border-box;
}

.Ride__waypay>div:first-child{
    border-bottom: 2px solid black;
}

.Ride__totals{
    width: 60%;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.Ride__totals>div{
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.Ride__totals>div>label{
    font-size: 20px;
}