* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
body {
    background-color: #f7f5f2;
}
section {
    padding: 80px 400px;
}
h2 {
    background-color: black;
    width: fit-content;
    color: white;
    text-align: center;
    font-weight: 500;
    padding: 5px;
    margin: 0 auto 100px;
    font-size: 20px;
    word-spacing: 5px;
}
/* start nav */
nav ul{
    background-color: black;
    display: flex;
    justify-content: space-around;
    position: fixed;
    width: 100%;
    padding: 18px;
    z-index: 999;
    top: 0;
    left: 0;
}
nav ul li {
    list-style: none;
}
nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 14px;
}
nav ul li a:hover {
    color: black;
    background-color: white;
}
/* start header */
header {
    background: url(images/coffeehouse.jpg) no-repeat;
    background-size: cover;
    height: 520px;
    width: 100%;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
header .text {
    text-align: center;
}
header .text .main {
    font-size: 100px;
    color: white;
}
header .time {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    color: white;
}
.tm {
    background-color: black;
    padding: 5px;
}
/* start about */
.about p {
    word-spacing: 5px;
    letter-spacing: 2px;
    color: rgba(0, 0, 0, 0.743);
    margin-bottom: 30px;
}
.about .txt {
    background-color: #f1f1f1;
    padding: 10px;
    border-left: 5px solid #cccccc;
}
.about img {
    width: 100%;
    margin-bottom: 10px;
    padding-top: 20px;
}
.opening span,
.address span {
    font-weight: bold;
}
/* start menu */
.menu img {
    width: 100%;
}
/* start find us */
.findus p {
    margin-bottom: 15px;
    font-size: 18px;
}
.findus img {
    width: 100%;
    margin-bottom: 10px;
}
.findus .txt .fly span {
    background-color: black;
    color: white;
    padding: 5px;
    word-spacing: 5px;
}
.findus .txt .fly {
    line-height: 30px;
    color: rgba(0, 0, 0, 0.743);
    margin-bottom: 30px;
}
.findus .txt .reserve span {
    font-weight: bold ;
}
.findus input {
    display: block;
    width: 100%;
    height: 50px;
    margin-bottom: 15px;
}
.findus input::placeholder {
    padding-left: 10px;
}
.findus button {
    background-color: black;
    color: white;
    font-size: 15px;
    padding: 13px;
    width: 100%;
}
/* start footer */
footer {
    text-align: center;
    background-color: #f1f1f1;
    padding: 10px;
}
footer a {
    color: black;
}
footer a:hover {
    color: green;
}

/* ---------------------------------- */
/* ✅ Media Queries */
/* ---------------------------------- */

/* small*/
@media (max-width: 480px) {
    section {
        padding: 40px 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    nav ul li a {
        font-size: 14px;
        padding: 8px 10px;
    }

    header .text .main {
        font-size: 40px;
    }

    h2 {
        font-size: 16px;
        margin-bottom: 50px;
    }

    .findus p {
        font-size: 14px;
    }
}

/* big screen*/
@media (max-width: 768px) {
    section {
        padding: 50px 30px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    nav ul li a {
        font-size: 16px;
        padding: 10px;
    }

    header .text .main {
        font-size: 60px;
    }

    .findus input {
        height: 40px;
    }

    .findus button {
        font-size: 14px;
    }
}
