/* app/assets/stylesheets/custom.css */

body {
  background-color: #f9f9f9;
}

.navbar-custom {
  background-color: #81c784;
}

.nav-link {
  font-weight: 500;
}

.card-meal {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

footer {
  border-top: 1px solid #ddd;
}

.alert {
  border-radius: 10px;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* 投稿カードの丸みと影 */
.food-card {
  border-radius: 15px;
  box-shadow: 0 6px 12px rgb(0 0 0 / 0.1);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease;
}
.food-card:hover {
  transform: translateY(-5px);
}

/* 画像のアスペクト比固定 */
.food-card-img {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid #eee;
}
