* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "TASA Explorer", sans-serif;
}

body {
    background-color: var(--main-background);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/*first section*/
.first {
    margin: 10rem 15%;
    width: 70%;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

#mandjeleeg {
    font-size: 1.5rem;
    color: var(--col-2);
    align-self: center;
}

.first_items {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.first_item {
    background-color: var(--col-2);
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

#first_item_data {
    background-color: var(--col-2);
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.first_item span {
    display: flex;
    flex-direction: column;
}

.first_item img {
    height: 4rem;
    border-radius: 0.5rem;
}

.first_item h3 {
    color: var(--main-text);
    font-size: 1.5rem;
}

.first_item p {
    color: var(--main-text);
    font-size: 1rem;
    margin-top: 0.5rem;
}

#first_item_delete {
    cursor: pointer;
    border-radius: 0.5rem;
    border: none;
    background-color: #ff4d4d;
    height: 4rem;
    padding: 1rem;
    color: var(--main-text);
    transition: all 0.3s ease;
}

#first_item_delete:hover {
    background-color: #ff1515;
    transition: all 0.3s ease;
}

.first_right {
    border-radius: 1rem;
    border: var(--col-2) 2px solid;
    padding: 1rem;
    width: 35%;
    color: var(--main-text);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.first_right h2 {
    font-size: 1.5rem;
}

.first_right h3 {
    font-size: 1.2rem;
}

.first_right p {
    font-size: 1rem;
    color: var(--col-3);
    margin-top: -0.7rem;
}

#date_pickers {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
}

input {
    color-scheme: dark;
}

.first_right input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
    background-color: var(--col-2);
    color: var(--main-text);
}

#start_date, #end_date {
    width: calc(50% - 0.5rem);
}

.first_right button {
    margin-top: 2rem;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
    background-color: var(--col-2);
    color: var(--main-text);
    transition: all 0.3s ease;
}

.first_right button:hover {
    background-color: var(--col-3);
    transition: all 0.3s ease;
    cursor: pointer;
}

#first_login {
    display: none;
    margin-top: 0;
}

#date_error, #checkout_error {
    color: #b34949;
    font-size: 0.9rem;
    display: none;
}

@media (max-width: 768px) {
    .first {
        margin: 2rem 2%;
        width: 96%;
        flex-direction: column;
    }

    .first_items {
        width: 100%;
    }

    .first_item {
        flex-direction: column;
        align-items: flex-start;
    }

    #first_item_data {
        flex-direction: row;
        align-items: flex-start;
    }

    .first_item h3 {
        font-size: 1rem;
    }

    .first_item p {
        font-size: 0.8rem;
    }

    #first_item_delete {
        height: 100%;
    }

    .first_right {
        width: 100%;
    }
}