body {
  box-sizing: border-box;
  cursor: url(https://i.imgur.com/7k4w8JS.png), auto;
  background-image: url(https://i.imgur.com/sZ8LaBV.jpg),
    linear-gradient(90deg, #ffb5d1, #b5deff);
  background-position: center;
  background-size: 100% 100%;
  background-attachment: fixed;
  padding: 3px;
  font-size: 2.7vmin;
  width: 100vw;
  height: 100vh;
  display: grid;
  padding: 50px;
  font-family: "Quicksand", sans-serif;
  color: #ffffff;
  grid-template-rows: 70px 5fr;
  grid-template-areas:
    "nav"
    "main";
  overflow-x: hidden;
}

nav {
  grid-area: nav;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 30px 0 40px;
}

nav > a {
  margin: 20px;
  text-decoration: none;
  padding: 10px;
  border-radius: 5px;
  color: #ff80ab;
  background-color: #fff;
}

.login {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 34px;
  background-color: #fff;
}

.login img,
.heart {
  height: 30px;
  width: 30px;
  background-clip: text;
  color: #ff80ab;
}

main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

h1 {
  margin-bottom: 60px;
  font-family: "Sacramento", cursive;
}

h2.gradient-text {
  font-family: "Sacramento", cursive;
  font-size: 50px;
  background: linear-gradient(45deg, #f9e39f, #c1864f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#collection,
.confection-table,
.comment-table,
#new-form,
#add-comment-form,
#add-kind-form {
  text-decoration: none;
  color: #ffffff;
  font-size: medium;
}

#new-form input[type="submit"] {
  grid-column: span 2;
  width: 10rem;
  margin: center;
  background-color: #ffb5d1;
  color: #ffffff;
}

#new-form,
#add-comment-form,
#add-kind-form,
#show-page {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(2, minmax(auto, 30rem));
}

#new-form *,
#add-comment-form *,
#add-kind-form * {
  font-size: 20px;
  padding: 5px;
  border-radius: 5px;
}

#list td:nth-child(2),
#list td:nth-child(3) {
  min-width: 100px;
}

.comment-user,
.comment-user img {
  justify-content: center;
  align-items: center;
}

.comment-user img {
  height: 75px;
  width: 75px;
  border-radius: 50%;
}

#confection-item,
h3,
a {
  display: flex;
  justify-content: center;
  align-items: center;
}

h3 {
  font-family: "Dancing Script", cursive;
  color: #ff80ab;
  font-size: 30px;
}

a {
  font-family: "Amatic SC", cursive;
  color: #b19cd9;
  font-weight: bold;
  font-size: 25px;
}

#show-page div:nth-child(even) {
  font-weight: bold;
}

.footer {
  background-color: #b0e2ff;
  color: #fff;
  padding: 2px;
  text-align: center;
}

button {
  background-color: #ffc0cb;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
}

img {
  display: block;
  margin-right: auto;
  margin-left: auto;
  width: 63%;
  border-radius: 10px;
}

.pie {
  height: 60px;
  width: 75px;
  background-clip: text;
  color: #ff80ab;
}

.collection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 20px;
  background-color: #f2f2f2;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.confection-image-container,
.confection-image-container img {
  width: 150px;
  height: 150px;
  overflow: hidden;
  object-fit: cover;
}
