@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

.material-symbols-sharp {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
}

/* ===== GLOBAL RESET ===== */
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== BODY ===== */
body{
    background: linear-gradient(to right ,#F3CA88, #ED7D3A);
    min-height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
}

/* ===== MAIN BODY ===== */
.main-body{
    background-color: white;
    height: 90vh;
    width: 90vw;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===== HEADER ===== */
.header{
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    border-bottom: 2px solid #ED7D3A;
    background-color: #F9F5F2;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* ===== HEADER PART 1 ===== */
.part-1{
    display: flex;
    align-items: center;
    font-family: "Dancing Script", cursive;
    font-size: 24px;
    font-weight: 700;
}

.logo{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    background: linear-gradient(to right ,#F3CA88, #ED7D3A);
    padding: 8px 12px;
    border-radius: 25px;
}

.app-name{
    margin-left: 10px;
    color: #141414;
    font-weight: bold;
}

/* ===== HEADER PART 2 ===== */
.part-2{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-input{
    width: 40%;
    height: 45px;
    border-radius: 25px;
    border: none;
    padding: 0 15px;
    font-size: 16px;
    outline: none;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    color: #ED7D3A;
}

.user-input::placeholder{
    color: #bbb;
}

.recipe-search{
    height: 45px;
    width: 45px;
    border-radius: 50%;
    border: none;
    margin-left: 10px;
    background: linear-gradient(to right ,#F3CA88, #ED7D3A);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* ===== HEADER PART 3 ===== */
.part-3{
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
}

.point-1,
.point-2{
    display: flex;
    align-items: center;
    cursor: pointer;
}

.point-1 span,
.point-2 span{
    color: #ED7D3A;
}

/* ===== MAIN CONTENT ===== */
.main-content{
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* ===== RECIPES BAR ===== */
.recipes-bar{
    width: 35%;
    height: 100%;
    overflow-y: auto;
    padding: 10px;
}

/* ===== FULL RECIPE ===== */
.full-recipe{
    width: 65%;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    background-color: #F9F5F2;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 426px) {

    body{
        align-items: flex-start;
    }

    .main-body{
        height: auto;
        width: 95vw;
    }

    .header{
        flex-direction: column;
        height: auto;
        gap: 10px;
        padding: 10px;
    }

    .part-3{
        display: none;
    }

    .part-2{
        width: 100%;
    }

    .user-input{
        width: 80%;
    }

    .main-content{
        flex-direction: column;
    }

    .recipes-bar,
    .full-recipe{
        width: 100%;
        height: auto;
    }
}
