* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f2f2f2;
}

header {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.sub-header {
    background-color: #f2f2f2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 4px 4px;
}

.sub-header-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 10px;
    font-size: 0.9rem;
    color: #555;
}

.sub-header-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: #ccc;
}

.sub-header img {
    margin-right: 6px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 {
    font-size: 2.2rem;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.flight-card {
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.flight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.6rem;
    color: #333;
}

.flight-number {
    font-size: 14px;
    color: #777;
}

.flight-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.flight-info-item {
    flex: 1;
    min-width: 100px;
}

.flight-info-item:not(:last-child) {
    margin-right: 8px;
}

h3 {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 4px;
}

p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 4px;
}

.flight-details {
    font-size: 0.9rem;
    color: #777;
}

.flight-details p:not(:last-child) {
    margin-bottom: 4px;
}

.flight-details strong {
    font-size: 1.1rem;
    color: #555;
}

.choose-button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.choose-button {
    background-color: #6801FF;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.choose-button:hover {
    background-color: #00CED1;
}


@media (max-width: 768px) {
    .sub-header {
        flex-wrap: wrap;
    }

    .sub-header-item {
        flex: 1 0 50%;
        text-align: center;
        padding: 10px 0;
    }

    .sub-header-item:nth-child(odd)::after {
        display: none;
    }

    .sub-header-item:nth-child(2)::after {
        display: none;
    }

    .sub-header-item:nth-child(4)::after {
        display: block;
    }

    .sub-header-item span {
        font-size: 0.8rem;
    }
}

