@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
body {
  background-color: antiquewhite;
  margin: 0;
  text-align: center;
}



.tabs {
  border-bottom:5px solid peru;
  width: 60%;
  margin-right: auto;
  margin-top: 20px;
  margin-left: 20px;
  margin-bottom: 50px;
}

.tab {
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
  list-style-type: none;
  border: 2px solid peru;
  border-bottom: none;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.tab:hover {
  list-style-type: none;
  border-bottom: none;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
}

.tab.active {
  background-color: white;
  padding-left: 60px;
  padding-right: 60px;
  list-style-type: none;
  border-bottom: none;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
}

.title-font {
  font-size: 40px;
}

.page-title {
  text-align: center;
  color: peru;
  padding-top: 20px;
  padding-bottom: 20px;
}

.page-btn {
  width: 250px;
  height: 70px;
  font-size: 25px;
  border-radius: 20px;
  border: none;
  background-color: peru;
  color: white;
  margin-top: 42px;
  margin-bottom: 60px;
  margin: auto;
  bottom: 0;
  right: 0;
  left: 0;
  margin-left: 0 auto;
  margin-right: 0 auto;

}

.page-btn:hover {
  background-color: #cc8f52;
  cursor: pointer;
}

section {
  background-color: burlywood;
  height: 100px;
  display: flex;
  padding: 20px;
  color: white;
  align-items: center;
}

.account {
  background-color: peru;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;/*;*/
}

.account-detail {
  background-color: rgba(153, 100, 47, 0.5);
  width: 200px;
  height: 490px;
  position: absolute;
  right: 0;
  color: white;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  z-index: 1;
}

.account-item {
  margin-top: 10px;
  font-size: 20px;
}

.items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.items div {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

.item {
  background-color: peru;
  width: 140px;
  height: 140px;
  margin: 30px;
  border-radius: 30px;
  text-align: center;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  font-size: 40px;
  color: white;
}

.menu {
  background-color: burlywood;
  width: 100%;
  height: 85px;
  bottom: 0;
  position: absolute;
  overflow: visible;
}

.home {
  background-color: peru;
  color: white;
  text-align: center;
  border-radius: 50px;
  width: 85px;
  height: 85px;
  display: flex;
  margin: 0 auto;
  justify-content: space-evenly;
  border: none;
  align-items: stretch;
  margin-bottom: 20px;
  transform: translateX(-50%);
  bottom: 0px;
  position: absolute;
  flex-wrap: wrap;
}

@media screen and (max-width: 480px) {
  section .title-font {
      flex-direction: column;
  }
}

@media screen and (max-width: 800px) {
  .items div div {
      width: 115px;
      height: 115px;
      font-size: 35px;
  }
}

.tabs {
  display: flex;
}

.tabs.sp {
  display: none;
}

@media screen and (max-width: 700px) {
  .items div div {
      flex-direction: column;
      align-items: center;
  }

  .items div {
      width: 50%;
  }

  .tabs {
    display: none;
  }

  .tabs.sp {
    display: flex;
    margin-right: 20px;
  }

  .tab {
    padding-left: 10px;
    padding-right: 10px;
  }
  .tab.active {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.item:hover {
  cursor: pointer;
  background-color: #cc8f52;
}

.account:hover {
  cursor: pointer;
  background-color: #cc8f52;
}

.menu-btn:hover {
  cursor: pointer;
  background-color: #cc8f52;
}

.close-btn {
  justify-content: flex-start;
  width: 100%;
  margin-left: 20px;
  text-align: left;
}

.account-menu .open {
  display: none;
}

.open {
  display: flex;
  overflow: hidden;
}

.not-open {
  display: none;
}

.back2 {
  display: none;
}

.stamp-list {
  width: 0px;
  margin: auto;
  display: grid;
  grid-template: 1fr 1fr  / 1fr 1fr 1fr 1fr;
  justify-content: center;
  padding: 10px;
  margin-bottom: 20px;
}

@media screen and (max-width: 900px) {
  .stamp-list {
      margin: auto;
      display: grid;
      grid-template: 1fr 1fr / 1fr 1fr 1fr 1fr;
      justify-items: center;
      padding: 10px;
      margin-bottom: 40px;
  }
}


.stamp {
  border: 5px peru solid;
  border-radius: 5px;
  padding: 5px;
  margin: 5px;
  width: 120px;
}

.breakfasts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 60%;
  margin: auto;
}

.breakfast {
  width: 150px;
  height: 150px;
  border-radius: 30px;
  background-image: url(https://thumb.photo-ac.com/cb/cb3dc0e8c7dce192680930778614c388_w.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-clip: padding-box;
  background-origin: padding-box;
  background-position: center;
  margin: 15px;
}

.news {
  display: flex;
  margin: auto;
  justify-content: center;
}

.news-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 20px;
}

.line {
  border: none;
  background-color: peru;
  border-width: 1px;
  border-top: double;
  border-color: peru;
  width: 900px;
}

.page-buttons {
  display: flex;
}

/*.ranking {
  display: flex;
  margin: auto;
  justify-content: space-around;
  align-items: center;
  width: 35%;
}

.ranking-line {
  width: 40%;
  border: none;
  background-color: peru;
  border-width: 1px;
  border-top: double;
  border-color: peru;
}*/

.line-2 {
  border-top: 5px dashed peru;
  width: 50%;
}

.new-breakfast {
  margin-top: 20px;
  display: block;
  margin-right: 20px;
  text-decoration: none;
}

.breakfast_show_dt {
  display: flex;
  justify-content: center;
  margin: auto;
  margin-top: 20px;
}

.breakfast_show_sp {
  display: flex;
  justify-content: center;
  margin: auto;
  margin-top: 20px;

  display: none;
}

.text {
  background-color: white;
  width: 500px;
  margin-left: 20px;
  border-radius: 20px;
  height: 550px;
  overflow: auto;
}

.text span {
  font-size: 24px;
}

.breakfast_photo {
  width: 350px;
  height: 350px;
  object-fit: cover;
}

.material-symbols-outlined.md-40 {
  font-size: 40px;
}

.reaction {
  background-color: white;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.reactions .reaction {
  margin-right: 20px;
}

.reactions div:nth-child(3n+3) {
  margin-right: 0px;
}

.reactions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.reaction_icon_clicked {
  font-variation-settings:
  'FILL' 1
}

.reaction_back_clicked {
  background-color: peru;
  color: white;
}

.breakfast_title {
  display: flex;
}

.breakfast_title h1 {
  margin-left: auto;
  margin-right: auto;
}

.buttons {
  position: absolute;
  right: 0px;
  display: flex;
  flex-direction: column;
  margin-right: 10px;
}

.edit {
  width: 120px;
  height: 40px;
  margin-bottom: 15px;
  background-color: rgb(51, 199, 28);
  border: none;
  border-radius: 5px;
}

.destroy {
  width: 120px;
  height: 40px;
  background-color: rgb(255, 55, 0);
  border: none;
  border-radius: 5px;
}

.button {
  width: 180px;
  height: 50px;
  background-color: peru;
  border: none;
  border-radius: 5px;
  font-size: 24px;
  color: white;
  margin-top: 30px;
  margin-bottom: 30px;
}

.button-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button_icon {
  margin-right: 5px;
}

.breakfast_items {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.breakfast-user-img {
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 20px;
}

.breakfast-user {
  margin-right: auto;
  display: flex;
  align-items: center;
}

.breakfast_user_name {
  font-size: 24px;
  display: flex;
  align-items: center;
}

.comment_dialog {
  position: absolute;
  margin: auto;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background-color: white;
  opacity: 0.9;
  border: peru 2px solid;
  border-radius: 20px;
  padding: 20px;

  display: none;
}

.comment_dialog.open {
  display: flex;
}

.close_comment {
  width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    margin-top: -3%;
    margin-right: -3%;
    cursor: pointer;
    position: fixed;
    align-items: center;
}

.close_btn {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-top: -9%;
  margin-right: -9%;
  cursor: pointer;
}

.font-32 {
  font-size: 32px;
}

.dialog_title {
  margin-right: auto;
  margin-left: 15px;
}

.share_dialog {
  position: absolute;
  margin: auto;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background-color: white;
  opacity: 0.9;
  border: peru 2px solid;
  border-radius: 20px;
  padding: 20px;

  display: none;
}

.share_dialog_sp {
  position: fixed;
  margin: auto;
  width: 80%;
  height: 80%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background-color: white;
  opacity: 0.9;
  border: peru 2px solid;
  border-radius: 20px;
  padding: 20px;

  display: none;
}

.share_dialog.open {
  display: flex;
}

.share_dialog_sp.open {
  display: flex;
}

.close_share {
  width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    margin-top: -3%;
    margin-right: -3%;
    cursor: pointer;
    position: fixed;
    align-items: center;
}

.close_share_sp {
  width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    margin-top: -45px;
    margin-right: -45px;
    cursor: pointer;
    position: fixed;
    align-items: center;
}

.contributor_menu_dialog {
  position: absolute;
  margin: auto;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background-color: white;
  opacity: 0.9;
  border: peru 2px solid;
  border-radius: 20px;
  padding: 20px;

  display: none;
}

.contributor_menu_dialog.open {
  display: flex;
}

.close_contributor_menu {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-top: -9%;
  margin-right: -9%;
  cursor: pointer;
}

.page-button {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  text-decoration: none;
  margin-left: auto;
}

.form {
  display: grid;
  grid-template: auto auto auto / auto auto;
  place-content: center;
  width: 100%;
}


.breakfast_input {
  margin-right: auto;
  display: flex;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.breakfast_label {
  margin-right: auto;
  display: flex;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.breakfast_summary {
  width: 400px;
}

.breakfast_description {
  width: 400px;
  height: 600px;
}

.breakfast_description.breakfast_label {
  display: flex;
  align-items: flex-start;
}

.font-24 {
  font-size: 24px;
}

.page-button_back-btn {
  width: 250px;
  height: 100px;
  margin-right: auto;
  margin-left: 20px;
}

.material-symbols-outlined {
  user-select: none;
}

#breakfasts {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.breakfasts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.breakfast-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  display: flex;
  justify-content: flex-start;
}

.breakfast-item {
  display: flex;
  width: 180px;
  height: 180px;
  margin: 10px;
  background-image: url(/background-image-url);
  background-size: cover;
  background-position: center;
}

@media (max-width: 1000px) {
  .breakfast-container {
    max-width: calc((180px + 20px) * 4);
  }
}

@media (max-width: 800px) {
  .breakfast-container {
    max-width: calc((180px + 20px) * 3);
  }
}
.top-text {
  padding: 20px;
}

@media (max-width: 600px) {
  .top_btn {
    width: 90px !important;
    height: 90px !important;
    font-size: 16px !important;
  }
  .top_btns {
    height: 15vh !important;
  }
  .top_btn.stamp {
    width: 150px !important;
    height: 100px !important;
  }
  .breakfast-container {
    max-width: calc((180px + 20px) * 2);
  }
  .top-text {
    font-size: 16px !important;
    padding: 20px;
  }
}

.login_br {
  display: none;
}

@media (max-width: 400px) {
  .breakfast-list-item {
    width: 100px;
    height: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .breakfast-container {
    max-width: calc((100px + 20px) * 2);
  }

  .text-4xl {
    font-size: 1.5rem;
  }

  .page-button {
    font-size: 16px;
    width: 130px;
    height: 40px;
    margin-bottom: 0px;
  }

  .back1 {
    display: none;
  }
  .back2 {
    display: flex;
  }

  .login_br {
    display: flex;
  }
}

.user-icon {
  width: 40px;
}

.icon_sp {
  display: none;
}
.icon {
  display: flex;
}

@media (max-width: 330px) {
  .user-icon {
    width: 30px;
  }
  .account {
    width: 50px;
    height: 50px;
  }
}
@media screen and (max-width: 660px) {
  .icon_sp {
    display: flex;
    width: 110px;
  }
  .icon {
    display: none;
  }
}

@media (max-width: 770px) {
  .form {
    grid-template: auto auto auto auto auto / 80%;
    margin: auto;
  }

  .input {
    width: 300px;
  }

  .summary-label {
    margin-bottom: .5rem;
  }

  .summary-label-div {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media (max-width: 470px) {
  .label-text {
    font-size: 18px;
  }

  .summary-label {
    display: flex;
  }

  .input {
    width: 100%;
  }
}

.label-text {
  display: flex;
}

.input {
  margin-right: auto;
}

.sp.reactions {
  justify-content: left;
  margin-bottom: 20px;
}

.sp.breakfast_photo {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  object-fit: cover;
}

.sp.buttons {
  position: static;
}

.sp.text {
  width: 80%;
  margin: auto;
}

.sp.breakfast-user {
  margin-left: 20px;
}

.sp.reactions {
  margin-left: 20px;
}

@media (max-width: 1150px) {

}

.menu-links {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.sp.edit {
  background: none;
  color: black;
}
.sp.edit a div {
  color: black;
}

.sp.destroy {
  background: none;
  color: black;
}
.sp.destroy div {
  color: black;
}

/*.contributor_menu_dialog {
  position: absolute;
  margin: auto;
  width: 400px;
  height: 250px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background-color: white;
  opacity: 0.9;
  border: peru 2px solid;
  border-radius: 20px;
  padding: 20px;

  display: none;
}

.close_contributor_menu {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-top: -9%;
  margin-right: -9%;
  cursor: pointer;
}*/

.contributor_menu_dialog {
  position: absolute;
  margin: auto;
  width: 400px;
  height: 250px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background-color: white;
  opacity: 0.9;
  border: peru 2px solid;
  border-radius: 20px;
  padding: 20px;

  display: none;
}

.close_contributor_menu {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-top: -9%;
  margin-right: -9%;
  cursor: pointer;
}

@media (max-width: 930px) {
  .breakfast_show_sp {
    display: flex;
  }

  .breakfast_show_dt {
    display: none;
  }
}

.notice {
  display: flex;
  align-items: center;
  background-color: peru;
  color: white;
  opacity: 0.8;
  height: auto;
  border-radius: 10px;
  margin: 10px;
  padding: 10px;
}

.notice .check_icon {
  margin-right: 10px;
}

.notice .cancel {
  margin-left: auto;
}

#more_btn {
  cursor: pointer;
}

.logout {
  background: none;
  border-color: white;
}

.login-btn {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
}

.user-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: peru;
  margin: auto;
  padding: 10px;
  width: 120px;
  border-radius: 5px;
  color: white;
  margin-top: 20px;
  margin-bottom: 20px;
  cursor: pointer;
}

.field {
  margin-top: 10px;
}

.or {
  background-color: peru;
  display: flex;
  height: 2px;
  align-items: center;
  justify-content: center;
  margin: 30px;
  width: 40%;
  margin-left: auto;
  margin-right: auto;
}

.or span {
  background-color: antiquewhite;
  width: 70px;
  color: peru;
}

.link {
  color: cornflowerblue;
  text-decoration: underline;
}

.back {
  font-size: 28px;
  display: flex;
  align-items: center;
  padding: 15px;
  color: peru;
  cursor: pointer;
}

.back .material-symbols-outlined {
  font-size: 36px;
}

.ranking {
  counter-reset: rank;
  flex-direction: column;
  font-size: 28px;
}

.ranking div {
  grid-auto-flow: column;
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: center;
  height: 60px;
  align-items: center;
}

.ranking div span {
  font-family: 'Arial';
  text-align: left;
  display: flex;
  width: 150px;
  justify-content: space-evenly
}

.ranking div::before {
  font-family: 'Arial';
  counter-increment: rank;
  content: counter(rank) "位";
  display: flex;
  justify-content: center;
  width: 100px;
}


.form-items {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px;
}

.form-items span {
  margin-left: 10px;
  font-size: 24px;
}

.command_button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ranking_button {
  background-color: rgb(118, 118, 255);
  color: white;
  padding: 5px;
  height: 40px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.burger {
  background-image: url(/assets/burger_close-20b3f91ec08571fddc643f99efb8a6fe623dd0d501bdc37f9b5c63221b24170e.svg);
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-size: 50px;
  cursor: pointer;
}

.active_detail {
  background-image: url(/assets/burger_open.svg);
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-size: 50px;
}

.menus {
  display: flex;
}
.burger {
  display: none;
}

@media screen and (max-width: 520px) {
  .menus {
    display: none;
  }
  .burger {
    display: flex;
  }
  .login-btn.sp {
    display: none;
  }
}

@media screen and (max-width: 550px) {
  .stamp-list {
    grid-template: 1fr 1fr 1fr 1fr / 1fr 1fr;
  }
}

.detail {
  position: absolute;
  left: 0;
  background-color: peru;
  opacity: 0.8;
  padding: 10px;
  width: 180px;
  height: 100vh;
  display: none;
  align-content: center;
  justify-content: flex-start;
  top: 0;
  flex-direction: column;
  align-items: center;
  user-select: none;
}

.active_icon {
  display: none;
}

.active_syl_detail {
  display: flex;
}

.body_overflow {
  overflow: hidden;
}

@media screen and (max-width: 720px) {
  .login-btn.sp {
    width: 88px;
    height: 60px;
  }
}

@media screen and (max-width: 380px) {
  .sp.breakfast_photo {
    width: 250px;
    height: 250px;
    margin-top: 20px;
  }
  .sp.breakfast-user {
    margin-left: 0px;
  }

  .top_btns {
    flex-direction: column-reverse;
  }

  .tabs {
    width: 88%;
    margin-bottom: 15px;
  }
}

.new_btn.sp {
  display: none;
}

.new_btn {
  display: flex;
}

@media screen and (max-width: 570px) {
  .new_btn {
    display: none;
    width: 140px;
    height: 70px;
  }
  .new_btn.sp {
    display: flex;
  }
}

@media screen and (max-width: 510px) {
  .ranking_button {
    font-size: 14px;
    height: 30px;
    width: 70px;
    margin: 10px;
  }
  .ranking {
    font-size: 20px;
  }
}

@media screen and (max-width: 490px) {
  .form-items {
    flex-direction: column;
    width: 82%;
    margin: auto;
  }
  .form-items div {
    margin: 10px;
    margin-right: auto;
  }
  .form-items span {
    font-size: 18px;
    margin-top: auto;
    margin-bottom: auto;
  }
}

.time_br {
  display: none;
}

@media screen and (max-width: 380px) {
  .time_br {
    display: flex;
  }
}

.completed_person {
  margin-right: 5px;
}

.top_btn {
  width: 150px;
  height: 150px;
  background-color: peru;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  border-radius: 25px;
}

.top_btns {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 20vh;
  flex-direction: row;
}

.top_btn.stamp {
  width: 150px;
  height: 100px;
  font-size: 20px;
  margin-left: auto;
  margin-right: 20px;
}
/*
 * 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.
 *


 */
