body {
    font-family: 'Lexend', sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #393232;
    background-color: #f7f7f7;
}

header {
    background-color: #343a40;
    padding: 20px 0;
}

header h1 {
    color: #f8f9fa;
    margin-left: 15px;
}

nav .nav-link {
    color: #f8f9fa;
    margin: 0 10px;
    transition: color 0.3s;
}

nav .nav-link:hover {
    color: #adb5bd;
}

main {
    padding: 40px 0;
}

.card-list {
    width: 90%;
    max-width: 400px;
}

.card {
    background-color: #FFF;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 20px 50px 0 rgba(0, 0, 0, .1);
    border-radius: 15px;
    overflow: hidden;
    padding: 1.25rem;
    position: relative;
    transition: .15s ease-in;
}

.card:hover, .card:focus-within {
    box-shadow: 0 0 0 2px #16C79A, 0 10px 60px 0 rgba(0, 0, 0, .1);
    transform: translatey(-5px);
}

.card-image {
    border-radius: 10px;
    overflow: hidden;
}

.card-header {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header a {
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1.25;
    padding-right: 1rem;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.icon-button {
    border: 0;
    background-color: #fff;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    transition: .25s ease;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 3px 8px 0 rgba(0, 0, 0, .15);
    z-index: 1;
    cursor: pointer;
    color: #565656;
}

.icon-button svg {
    width: 1em;
    height: 1em;
}

.icon-button:hover, .icon-button:focus {
    background-color: #EC4646;
    color: #FFF;
}

.card-footer {
    margin-top: 1.25rem;
    border-top: 1px solid #ddd;
    padding-top: 1.25rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.card-meta {
    display: flex;
    align-items: center;
    color: #787878;
}

.card-meta:first-child:after {
    display: block;
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: currentcolor;
    margin-left: .75rem;
    margin-right: .75rem;
}

.card-meta svg {
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    margin-right: .25em;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 5px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 20px;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.info-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.info-group p {
    margin: 0;
}

.info-group .label {
    font-weight: bold;
    color: #666;
}

.info-group .value {
    color: #333;
}

.btn-group {
    display: flex;
    justify-content: space-between;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    border-radius: 20px;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.card-container {
    margin-top: 20px;
}

.departure-info, .arrival-info {
    display: flex;
    align-items: center;
}

.city-badge {
    margin-left: 10px;
}

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.airline-logo {
    height: 30px;
    margin-left: 10px;
}

.modal-content {
    min-height: 55em !important;
}

.modal-content {
    border-radius: 15px;
}

.modal-body {
    padding: 20px;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.card img {
    width: 100%;
    height: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.info-group {
    margin-bottom: 0.75rem;
}

.btn-group {
    margin-top: auto;
}

.btn-primary, .btn-secondary {
    border-radius: 20px;
    margin-right: 10px;
}

@media (min-width: 992px) {
    .modal-dialog {
        max-width: 80%;
    }
}

footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
}

.modal-content .card {
    height: auto!important;
    margin-left: 1em;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 50em!important;
        margin: 1.75rem auto;
    }
}