body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: black;
}

#front {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}


.first{
    background-color:rgba(21, 21, 21, 0.907) ;
    display: flex;
    padding-top: 20px;
    padding-bottom: 10px;
    height: 100%;
    width: 100%;
    justify-content:center;
    align-items: center;
}

.brand{
    margin-right: 15%;
}

.search{
    margin-right: 15%;
    margin-left: 10%;
}

#login, #signup{
    background-color: rgb(14, 13, 13);
    color: rgba(255, 255, 255, 0.838);
}

.second{
    color: rgba(241, 52, 0, 0.841);
    background-color: rgba(21, 21, 21, 0.907);
    padding-top: 10px;
    font-size:x-small;
    padding-bottom: 0px;
    display: flex;
    justify-content:left;
    align-items: center;
}

.dining{
    margin-left: 10%;
}

.delivery, .nightlife{
    margin-left: 50px;
}

.third {
    background-color: black;
    display: flex;
    justify-content:center;
}


.searching{
    background-color: rgba(0, 0, 0, 0.993);
    color: white;
    padding: 10px;
    width: 100%;
}

button {
    background-color: rgba(29, 28, 28);
    color: grey;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 10%;
    border: 1px solid grey;
}

.but:hover, input:hover{
    transform: scale(1.05);
    color: rgba(255, 255, 255, 0.827);
    border: 1px solid white;
    background-color: black;
}

/* Restaurant Cards Container */
#root {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

/* Individual Restaurant Card */
.card {
    width: 300px;
    color: rgba(255, 255, 255, 0.856);
    background-color: rgb(44, 42, 42);
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

/* Card Image */
.card img {
    position: static;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.images{
    position: relative;
}

.off {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(211, 61, 1, 0.885);
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 12px;
}


/* Card Content */
.card-content {
    padding: 15px;
}

/* Restaurant Name and Rating */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.card-header .rating {
    background-color: rgb(255, 255, 255, 0.856);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    color: black;
}

/* Food Type and Price */
.card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 10px;
}

/* Location and Distance */
.card-location {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
}


#filterPopup {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.filterOption {
    margin: 10px 0;
}

button {
    padding: 8px 16px;
    margin: 10px;
    cursor: pointer;
}


.hidden {
    display: none;
}