@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

canvas {
  max-width: 100%;
}

/* styles for recipe grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 100%;
}

.square {
  aspect-ratio: 1 / 1;
}

.grid-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* styles for beta */
/* TODO: merge with recipe-text possibly to create form text */
.issue-description {
  margin-top: 3%;
  margin-bottom: 3%;
  font-family: inherit;
  width: 100%;
  height: 3%;
}

.issue-description-div {
  font-weight: bold;
}

.issue-text {
  margin-bottom: 3%;
  font-family: inherit;
  width: 100%;
}

.issue {
  border-style: solid;
  border-width: thin;
  margin-bottom: 3%;
  font-family: inherit;
  padding: 2%;
}

/* Styles for recipe feed card */
.recipe-container {
  position: relative;
  z-index:1;
}

.recipe-container::before{
  content:'';
  position:absolute;
  background: linear-gradient(0deg, #000000a4 25%, #ffffff00 50%);
  width:100%;
  height:100%;
  z-index:2;
}

.small-recipe-info {
  z-index: 3;
  position: absolute;
  font-weight: bold;
  max-width: 100%;
  max-height: 100%;
  bottom: 3%;
  left: 3%;
}

.feed-interaction {
  z-index: 3;
  position: absolute;
  font-size: x-large;
  font-weight: bold;
  max-width: 100%;
  max-height: 100%;
  bottom: 5%;
  right: 5%;
}

.recipe-info {
  z-index: 3;
  position: absolute;
  font-size: x-large;
  font-weight: bold;
  max-width: 90%;
  max-height: 100%;
  bottom: 3%;
  left: 3%;
}

/* general styles */
body {
  background-color: #353836;
  color: #fefdf8;
  font-family: "Poppins", sans-serif;
  margin: 0;
}

.container-div {
  margin: 3%;
}

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

img {
  max-height: 100%;
  max-width: 100%;
}

.styled-btn {
  border-style: solid;
  display: block;
  width: fit-content;
  background-color: inherit;
  color: inherit;
  border-color: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  border-width: thin;
}

.bordered-div {
  padding: 10px;
  border-style: solid;
  border-width: thin;
  margin-top: 3%;
  display: inline-block;
}

.spaced-div {
  display: flex;
  justify-content: space-between;
}

.inline-block {
  display: inline-block;
}

.padded-div {
  padding-left: 3%;
  padding-right: 5%;
}

.padded {
  padding-left: 3%;
  padding-left: 3%;
}

.styled-link {
  text-decoration: none;
}

a {
  color: inherit;
}

/* Styles for create */

#add-ingredient {
  margin-top: 4%;
  margin-bottom: 3%;
  border-radius: 16px;
  border-style: solid;
  display: block;
  width: fit-content;
  padding: 0 1.5%;
  border-width: medium;
}

.delete-btn-div {
  border-radius: 16px;
  border-style: solid;
  margin-left: 1%;
  padding: 0% 1%;
  float: right;
  border-width: medium;
}

.ingredient-text {
  flex: 1;
}

.ingredient-form-text {
  width: 100%;
  height: 100%;
  font-family: inherit;
}

.ingredient-input {
  margin-top: 3%;
  width: 100%;
  display: flex;
}

.prep-time-num-input {
  width: 10%;
  margin-left: 1%;
}

.recipe-title {
  margin-top: 3%;
  margin-bottom: 3%;
  font-family: inherit;
  width: 100%;
  height: 3%;
}

.recipe-text {
  margin-bottom: 3%;
  font-family: inherit;
  width: 100%;
}

#submit-recipe {
  margin-top: 4%;
  margin-bottom: 3%;
  border-radius: 16px;
  border-style: solid;
  display: block;
  width: fit-content;
  padding: 0 1.5%;
  background-color: inherit;
  color: inherit;
  border-color: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  border-width: medium;
}

/* Styles for Nav */
nav {
  background-color: #191a19;
}

.nav-div {
  display: inline-block;
  font-weight: bold;
  margin: 2%;
}

.nav-link {
  text-decoration: none;
}

/* Styles for recipe card */
.recipe-card {
  border-style: solid;
  border-width: thin;
  padding: 0 3%;
  margin-bottom: 3%;
}

/* styles for allauth that should be refactored somehow */
#allauth-container {
  margin: 8px;
}

/* Styles for review */
.review-img-div {
  max-width: 50%;
  float: left;
  margin-right: 5%;
}

.review-container {
  overflow: hidden;
}

.review-details {
  padding-top: 2%;
}

@media only screen and (max-width: 600px) {}