/* body {
    font-size: 16px;
    min-width: 700px;
}

input[type='text'],
input[type='number'],
textarea {
  font-size: 16px;
}

.recipesList {

}

.recipesList > .recipesListItem {
    margin: 5px;
    padding: 5px;
    width: 600px;
    border: 1px solid #000;
}

.recipesList > .recipesListItem > .title {
    font-weight: bold;
}

.recipesList > .recipesListItem > .description {
    
}

.recipesList > .recipesListItem > .source {
    
}

.recipesList > .recipesListItem > .date {
    
}
*/
form > input[type="text"], form > input[type="password"], form > textarea {
    font-size: 16px;
    width: 350px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.navbar {
    background-color: #F55;
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
}
.logo a {
    color: white;
    text-decoration: none;
}

.nav-links {
    list-style-type: none;
    display: flex;
    text-align: right;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}

.hamburger {
    display: none;
    font-size: 2em;
    cursor: pointer;
    text-align: right;
}

.grid-container {
    display: grid;
    gap: 20px;
    padding: 20px;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    flex: 1;
    align-content: start; /* Ensure top alignment */
}

.card {
    background-color: #f4f4f4;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.card .title {
    margin-bottom: 10px;
    font-size: 20px;
}

.card .date {
    margin-top: 5px;
    font-size: 14px;
}


.card img {
    max-width: 100%;
    height: auto;
}

header {
    /* flex: 1; */
}
main {
    flex: 1;
    margin: 20px;
    align-content: start; /* Ensure top alignment */
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: right;

    }

    .nav-links li {
        margin-bottom: 5px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
}
