/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    font-family: inherit;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow: hidden;
    box-sizing: border-box;
}

@media only screen and (max-width: 75em) {
    html {
        font-size: 59%;
    }
}

@media only screen and (max-width: 56.25em) {
    html {
        font-size: 56%;
    }
}

@media only screen and (min-width: 112.5em) {
    html {
        font-size: 65%;
    }
}

@media only screen and (max-width: 600px) {
    html {
        font-size: 40%;
    }
}

body {
    overflow-x: hidden;
    font-family: sans-serif;
    font-family: 'Source Sans Pro', sans-serif;
}

.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.navbar {
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.logo {
    width: 100px;
}

.main_content {
    color: #fafafa;
    position: absolute;
    top: 25%;
    height: 100%;
    width: 100%;
}

.image-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.image-container img {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    object-fit: contain;
}

@media only screen and (max-width: 600px) {
    .image-container img {
        transform: translate(-50%, -50%) scale(1.0);
    }
}

.search_container {
    margin: 0;
    padding: 20px;
    background: transparent;
    display: flex;
    position: relative;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    align-content: center;
    margin-bottom: 20px;
}

.box {
    position: relative;
}

.input {
    padding: 20px;
    width: auto;
    background: none;
    border: 3px solid #ffffff;
    border-radius: 30px;
    box-sizing: border-box;
    font-size: 26px;
    color: #ffffff;
    outline: none;
    transition: .5s;
}

.box:hover input {
    background: transparent;
    border-radius: 10px;
}

.box button {
    margin-left: 5px;
}

.take_button {
    color: #fff;
    background-color: transparent;
    border: 3px solid #fff;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    outline: none;
    margin-top: 20px;
}

.take_button:hover {
    background-color: #ff5722;
}

.restaurants {
    display: flex;
    flex-direction: row;
    background: transparent;
    padding: 20px;
    border-radius: 20px;
    justify-content: center;
    align-items: stretch;
    width: auto;
    gap: 20px;
}

.choice_container {
    display: flex;
    flex-direction: row;
    position: relative;
    width: min(42rem, 42vw);
    min-height: 38rem;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(20px) saturate(120%);
}

.restaurant_info {
    display: flex;
    flex-direction: row;
    position: relative;
    width: min(50rem, 50vw);
    min-height: 38rem;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(20px) saturate(120%);
}

.restaurant_list,
.info_list {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding-right: 6px;
}

.restaurant_list::-webkit-scrollbar,
.info_list::-webkit-scrollbar {
    width: 8px;
}

.restaurant_list::-webkit-scrollbar-thumb,
.info_list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
}

.restaurant_option_button {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-align: left;
    font-size: 1.8rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.restaurant_option_button:hover,
.restaurant_option_button.active {
    background: rgba(255, 87, 34, 0.25);
    border-color: #ff5722;
    transform: translateY(-1px);
}

.message_item,
.info_item {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.7rem;
    line-height: 1.4;
}

.message_item {
    display: flex;
    align-items: center;
    min-height: 70px;
}

.info_label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.info_link {
    color: #ffffff;
    word-break: break-word;
}

@media only screen and (max-width: 900px) {
    .main_content {
        top: 18%;
    }

    .restaurants {
        flex-direction: column;
        align-items: center;
    }

    .choice_container,
    .restaurant_info {
        width: min(92vw, 54rem);
    }
}