@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


header {
    background-color: aqua;
    display: flex;
    padding: 0 20px;
    height: 75px;
    align-items: center;
}

header figure img {
    height: 70px;

}

header nav {
    flex: 1;
}

header nav ul {
    display: flex;
    justify-content: space-evenly;
}


header nav ul li {
    list-style: none;
}

header nav ul li a {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
}

.active_link {
    color: blue;
    font-weight: bold;
}


main {
    background-color: burlywood;
    min-height: calc(100vh - 75px - 40px);
    padding: 20px;
    font-family: Arial, Helvetica, sans-serif;

}

h1,
h2 {
    text-align: center;
    padding: 5px 0 20px 0;
}

.section_wrapper {
    display: flex;
    gap: 20px;
}

section h3 {
    margin-top: 15px;
}

.section_img,
.section_wrapper figure {
    width: 200px;
}

p {
    padding: 10px 0;
    font-family: Arial, Helvetica, sans-serif;

}

footer {
    background-color: lightgray;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-family: Arial, Helvetica, sans-serif;
}

/* ============== Featured Recipe(Print) ============ */

button {
    width: 100%;
    padding: 10px;
    font-size: 25px;
    border: none;
    border-radius: 10px;
    transition: 0.5s;
}

button:hover {
    background-color: blue;
    color: white;
}

@media print {

    header,
    footer,
    img,
    button {
        display: none;
    }

    .content {
        width: 100%;
        float: none;
        display: block;
    }

    .container {
        display: block;
    }

    .text {
        margin: 0;
        padding: 0;
    }
}

/* ============= FORM ============= */
#booking_form {
    width: 1000px;
    margin: 30px auto;
    box-shadow: 1px 1px 15px black;
    padding: 20px;
    border-radius: 20px;
}

#booking_form legend {
    text-align: center;
}

#booking_form fieldset {
    border: 3px solid white;
    border-radius: 20px;
}

.input_group {
    margin: 15px 0;
    padding: 0px 15px;
    display: flex;
    gap: 20px;
}

 .input_group input { 
    padding: 3px;
    display: flexbox;
}

.input_group textarea {
    padding: 3px;
    flex: 1;
    resize: vertical;
}

#terms {
    margin: 12px 9px;
}

#submit_btn {
    width: 100%;
    padding: 10px;
    font-size: 25px;
    border: none;
    border-radius: 10px;
    transition: 0.5s;

}

#submit_btn:hover {
    background-color: blue;
    color: white;
}

/* ==============================Q&A=========================== */

table {
    border-collapse: collapse;
}

th {
    border: 2px solid;
    width: 600px;
    padding: 10px;
    text-align: center;
    font-size: 15px;
    transition: 0.5s;
}

td {
    border: 2px solid;
    width: 600px;
    padding: 10px;
    text-align: left;
    transition: 0.5s;
}


@media screen and (max-width: 600px) {

    .section_wrapper {
        display: block;
    }

    .section_img,
    .section_wrapper figure {
        width: 100%;
    }

    .section_wrapper img {
        max-width: 100%;
        height: auto;
    }

    #booking_form {
        width: 100%;
        margin: 20px auto;
        padding: 15px;
    }

    .input_group {
        display: block;
        margin: 15px 0;
        padding: 0 5px;
    }

    .input_group input,
    .input_group textarea,
    .input_group select {
        width: 100%;
        box-sizing: border-box;
    }

    #submit_btn {
        width: 100%;
        font-size: 20px;
    }


}