@charset "UTF-8";

.image{
  background:url('images/backimage2.jpg');
  transition: .7s;
  background-repeat: no-repeat;
  background-size: cover;
  background-color:rgba(255,255,255,0.3);
background-blend-mode:lighten;
  }

.view {
  display: none;
}

img{
  max-width: 100%;
}

.form-control{
  opacity: 0.7;
}

#login h1{
font-size: 7rem;
font-weight: 700;
color: black;
}

h2{
  color:midnightblue;
  font-weight: 400;
}

.title-wrapper{
  margin-bottom: 50px;
  text-align: center;
}

#loading {
  display: block;
  position: relative;
  height: 100vh;
}

.initial-loading-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -23px;
  font-size: 46px;
  animation: spin 2s linear infinite;
}

/* 回転するアニメーション */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

#login {
  padding-top: 51px;
}

#login__help {
  display: none;
}

#cook-template {
  display: none;
}

.clearfix::after {
  content: "";
  clear: both;
  display: block;
}

#header {
  display: flex;
  max-width: 1200px;
  height: 60px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  background-color: white;
}

#logo {
  display: inline-block;
}

.add-button {
  text-decoration: none;
  color: #28a745;
  font-size: 18px;
}
.add-button:hover {
  text-decoration: none;
  color: #1f8737;
}
.add-button:focus {
  text-decoration: none;
}

#cover {
  color: white;
  height: 300px;
  max-width: 100%;
  background-color: black;
  background-image: url("./images/cover.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column nowrap;
}

#cover__title {
  font-size: 36px;
  letter-spacing: 10px;
}

#main {
  max-width: 1200px;
  margin: 0 auto;
}

#cook-list {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cook-item {
  width: 270px;
  margin: 15px;
  background-color: white;
  border: solid 1px #ddd;
}

.cook-item::after {
  display: block;
  content:"";
  width: 270px;
  background-color: white;
  border: solid 1px #ddd;
  }


.cook-item__image-wrapper {
  width: 270px;
  height: 270px;
  padding: 10px;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.cook-item__image {
  max-height: 250px;
  max-width: 250px;
  vertical-align: middle;
}

.cook-item__detail {
  padding: 10px;
  background-color: #fafafa;
  border-top: solid 1px #ddd;
}

.cook-item__title,.cook-item__kcal,.cook-item__price {
  margin: 0 auto;
  height: 28px;
  border-bottom:0.5px solid lightgray;
  overflow: hidden;
}

.cook-item__time {
  margin: 0 auto;
  height: 36px;
  overflow: hidden;
  border-bottom:0.5px solid lightgray;
}

.cook-item__delete-wrapper {
  margin-top: 5px;
  text-align: right;
}

.cook-item__delete {
  color: #dc3545;
  background-color: transparent;
  border-color: #dc3545;
}
.cook-item__delete:hover {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}
.cook-item__delete:focus {
  outline-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

#cover__title{
  font-size:100px;
  color:aliceblue;
}

#add-cook__help {
  display: none;
}

.custom-file-label::after {
  content: "参照";
}

@media screen and (max-width:1280px){
header{
  width: 100%;
}

.image{
  background:url('images/backimage4.jpg');
  transition: .7s;
  background-size: cover;
  background-color:rgba(255,255,255,0.4);
background-blend-mode:lighten;
}

}
