/* colours */
:root {
  --primary: #e7e7e7;
  --secondary: #e7e7e7;
  --title: #ffcc05;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f5;
}

/* layout styles */
nav {
  background: var(--primary) !important;
  border-bottom: 10px solid var(--secondary);
}
nav a {
  text-transform: uppercase;
  color: var(--title);
}
nav a span {
  font-weight: bold;
}
nav .sidenav-trigger {
  margin: 0;
}

/* image styles */
.images {
  margin-top: 20px;
}
.card-panel.image {
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0px 1px 3px rgba(90, 90, 90, 0.1);
  display: grid;
  grid-template-columns: 2fr 6fr 1fr;
  grid-template-areas: "image details delete";
  position: relative;
}

form .material-icons {
  position: absolute;
  right: 0;
  font-size: 20px;
  opacity: 0.5;
  color: gray;
  bottom: 8px;
}

.search-btn {
  position: absolute;
  right: 0;
  font-size: 14px;
  color: #fff;
  background: #ffcc05 !important;
  border: none;
  bottom: 15px;
}

.images h4 {
  color: #585858;
}
.image img {
  grid-area: image;
  max-width: 70px;
  max-height: 70px !important;
}
.image-details {
  grid-area: details;
  margin-top: 6px;
  margin-left: 2px;
}
.image-delete {
  grid-area: delete;
  position: absolute;
  bottom: 0px;
  right: 0px;
  opacity: 0.5;
  color: gray;
}
.image-delete i {
  font-size: 18px;
}
.img_title {
  font-weight: bold;
}
.img_tags {
  font-size: 0.8em;
}

.store-name {
  font-size: 0.7em;
  font-weight: bold;
}

.typing-anime {
  width: 22ch;
  animation: typing 2s steps(22), blink 0.5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  font-family: monospace;
  font-size: 18px;
  text-align: center;
  align-items: center;
}

@keyframes typing {
  from {
    width: 0;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
/* Results Typing  */
.typing-anime2 {
  width: 43ch;
  animation: typing 2s steps(22), blink 0.5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  font-family: monospace;
  font-size: 11px;
  text-align: center;
  align-items: center;
}

@keyframes typing {
  from {
    width: 0;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* form-styles */
.add-btn {
  background: var(--title) !important;
  margin-top: 10px;
  margin-bottom: 20px;
}
.add-btn:hover {
  background: #585858 !important;
}

input {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}
.side-form button {
  background: var(--title);
  box-shadow: 1px 1px 3px rgba(90, 90, 90, 0.2);
}
form .input-field {
  margin-top: 30px;
}

.side-add:hover {
  background: #585858 !important;
}

.upBTN {
  margin-bottom: 30px !important;
}

.images h4 {
  color: #585858;
}

.load-more {
  background: #ffcc05 !important;
  text-transform: capitalize !important;
}

nav span i {
  cursor: pointer;
}

form {
  margin-top: 30px;
  width: 80%;
  max-width: 300px;
  position: relative;
}
input {
  border: none;
  border-bottom: 2px solid rgba(128, 128, 128, 0.479);
  font-size: 20px;
  width: 100%;
  outline: none;
  color: gray;
  background-color: transparent;
}
input::placeholder {
  opacity: 0.5;
  color: gray;
  font-family: "Montserrat";
}
form .material-icons {
  position: absolute;
  right: 0;
  font-size: 20px;
  opacity: 0.5;
  color: gray;
}

.header {
  top: 1px;
}

.header form {
  width: 320px;
  align-content: center;
}

#alert {
  padding: 20px;
  background-color: #f44336; /* Red */
  color: white;
  margin-bottom: 15px;
}

.nav i {
  cursor: pointer;
}

.page-btn {
  background: #ffcc05;
  margin-right: 2px;
  font-size: 11px;
  text-transform: capitalize !important;
}

.page-btn:hover {
  background: #585858;
}

.page-btn:active {
  background: #ffcc05 !important;
}

.goTo-btn {
  background: #ffcc05;
}

@media (max-width: 600px) {
  .image-details {
    grid-area: details;
    margin-top: 6px;
    margin-left: 10px;
  }
}

.strategy-img img {
  display: inline-block;
  max-width: 320px;
  max-height: 320px;
}

.image-div {
  align-items: center;
  text-align: center;
}
