@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500&display=swap');
:root {
  --primary400: #1D4B87;
  --primary300: #2564B0;
  --primary200: #5891D8;
  --primary100: #C5D9F2;
  --primary50: #E5EDF9;

  --black: #0E0E0E;
  --gray300: #424242;
  --gray200: #B5B5B5;
  --gray100: #E6E6E6;
  --gray50: #F7F7F7;
  --white: #FFFFFF;

  --bgwhite: #FAFAFA;

  --yellow: #F5C724;
  --green100: #299427;
  --red100: #C21414;
  --red50: #FCDFDF;
}
* {
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--bgwhite);
}

/* text colors */
.prim400 {
  color: var(--primary400);
}
.prim300 {
  color: var(--primary300);
}
.prim200 {
  color: var(--primary200);
}
.prim100 {
  color: var(--primary100);
}
.prim50 {
  color: var(--primary50);
}
.grey300 {
  color: var(--gray300);
}
.grey200 {
  color: var(--gray200);
}
.grey100 {
  color: var(--gray100);
}
.grey50 {
  color: var(--gray50);
}
.yellow {
  color: var(--yellow);
}
.green {
  color: var(--green100);
}
.red100 {
  color: var(--red100);
}
.red50 {
  color: var(--red50);
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 30px;
}
a.link {
  font-weight: 500;
  line-height: 19px;
  letter-spacing: 0em;
  text-align: center;
  text-decoration: none;
  color: var(--black);
}
a.link:hover {
  color: var(--primary300);
}
a.link:active {
  color: var(--gray300);
}

.bttn-primary {
  border: solid var(--primary300) 1px;
  border-radius: 50px;
  background: var(--primary300);
  color: var(--white);
  font-weight: 500;
  padding: 12px 24px;
  text-decoration: none;
  line-height: 19.36px;
}
.bttn-primary:hover {
  border: solid var(--primary200) 1px;
  background: var(--primary200);
  color: var(--white);
}
.bttn-primary:active {
  border: solid var(--primary400) 1px;
  background: var(--primary400); 
  color: var(--white);
}

.bttn-secondary {
  border: solid var(--primary300) 1px;
  border-radius: 50px;
  color: var(--primary300);
  font-weight: 500;
  padding: 12px 24px;
  text-decoration: none;
  line-height: 19.36px;
}
.bttn-secondary:hover {
  border: solid var(--primary200) 1px;
  color: var(--primary200);
}
.bttn-secondary:active {
  border: solid var(--primary400) 1px;
  color: var(--primary400); 
}

.bttn-tertiary {
  color: var(--primary300);
  font-weight: 500;
  text-decoration: none;
  line-height: 19.36px;
}
.bttn-tertiary:hover {
  color: var(--primary200);
}
.bttn-tertiary:active {
  color: var(--primary400);
}

label {
  line-height: 17px;
  letter-spacing: 0em;
  text-align: left;
  display: block;
  margin: 5px 0px;
}

input {
  width: Fixed (360px);
  height: Fixed (43px);
  padding: 8px 12px;
  border-radius: 8px;
  border: solid 0.5px var(--gray200);
  background-color: var(--gray50);
  color: var(--gray300);
  font-size: 16px;
  gap: 8px;
}
input:focus {
  border: solid 1px var(--primary300);
  color: var(--black);
  outline: none;
}

textarea {
  width: Fixed (360px);
  height: Fixed (170px);
  padding: 8px 12px;
  border-radius: 8px;
  border: solid 0.5px var(--gray200);
  background-color: var(--gray50);
  color: var(--gray300);
  font-size: 16px;
  gap: 8px;
}
textarea:focus {
  border: solid 1px var(--primary300);
  color: var(--black);
  outline: none;
}

.input-bdr-gray {
  border-radius: 12px;
  border: solid var(--gray200) 1px;
}

.bdr-gray {
  border-radius: 12px;
  border: solid var(--gray200) 1px;
}

.bg-gray {
  background-color: var(--gray200);
}
.bg-gray-100 {
  background-color: var(--gray100);
}

.landing {
  background: url("../../images/hero-background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 400px;
  padding: 0;
  z-index: -1;
  overflow: hidden;
  position: relative;
}
.overlay {
  background: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px 20px;
  /* overflow: hidden; */
  color: var(--white);
  text-align: center;
}
.overlay input {
  width: 300px;
  height: 50px;
  border-radius: 50px;
  padding: 8px 12px;
}

.red-50 {
  border: solid 2px #DAAFAF;
  border-radius: 8px;
  background-color: var(--red50);
}
.red-50 {
  border: solid 2px #DAAFAF;
  border-radius: 8px;
  background-color: var(--red50);
}
.blue-50 {
  border: solid 2px #AFB0DA;
  border-radius: 8px;
  background-color: #E3E4F2;
}
.green-50 {
  border: solid 2px #B5DAAF;
  border-radius: 8px;
  background-color: #E5F2E3;
}
.purple-50 {
  border: solid 2px #C9AFDA;
  border-radius: 8px;
  background-color: #ECE3F2;
}
.blue-50-2 {
  border: solid 2px #AFD7DA;
  border-radius: 8px;
  background-color: #E3F1F2;
}
.brown-50 {
  border: solid 2px #DAD1AF;
  border-radius: 8px;
  background-color: #F2EFE3;
}

.adbox {
  border: dashed #424242 2px;
  background-color: #F7F7F7;
}
.adbox-small {
  max-width: 250px;
  height: 80px;
}
.adbox-square {
  width: 100%;
  height: 200px;
}

.review-reels {
  height: 140px;
  padding: 10px;
  overflow: scroll;
}
.big-reel {
  width: 100%;
}
.small-reel {
  width: 100%;
}
.category-head {
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}
.category {
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

div.search-bar {
  border-radius: 100px;
  border: solid var(--gray200) 1px;
  padding: 0px 12px;
  background-color: var(--gray50);
}
div.search-bar input {
  padding: 8px;
  border: none;
  color: var(--gray300);
  background: transparent;
}
i {
  font-size: 18px;
}
div.search-bar i {
  font-size: 15px;
  color: var(--gray300);
}

@keyframes blinker {
  from {opacity: 1;}
  to {opacity: 0;}
}
/* h1, h2, h3, h4, h5, h6, b {
  color: #2564B0;
} */
.button {
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 10px;
}
.button-primary{
  border-color: #2564B0;
  background: #2564B0;
  color: #ffffff;
}

.content-box {
  border: solid 1px #eee;
  background-color: white;
  /* padding: 15px; */
  box-shadow: 1px 1px 4px #dfdfdf;
  border-radius: 8px;
}
textarea {
  max-height: 120px;
}
.btn-primary, .bg-primary {
  border-color: #2564B0;
  background-color: #2564B0;
  color: white;
}
.btn-outline-primary {
  background-color: white;
  border-color: #2564B0;
  color: #2564B0;
}
.btn-outline-primary:hover {
  background-color: #2564B0;
  border-color: #2564B0;
  color: white;
}
.text-primary {
  color: #2564B0;
}
.blink {
  text-decoration: blink;
  animation-name: blinker;
  animation-duration: 0.6s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
}
.bi-search {
  display: none;
}
.login input, .signup input {
  margin: 10px 0 20px;
}
nav {
  display: flex;
  color: #2564B0;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  margin: 0 0 20px 0;
}
nav ul {
  list-style-type: none;
  display: flex;
  justify-content: space-between;
}
nav ul li {
  margin: 0 10px;
}
nav a {
  text-decoration: none;
}
.navbar-brand img {
  height: 30px;
}
.dropdown .nav-link img {
  width: 30px;
  height: 30px;
  color: #2564B0;
  border-radius: 15px;
}
.content {
  width: 800px;
  margin: 20px auto;
  padding: 0 20px;
}
.navbar-nav {
  background: #888;
}
#nav-search-replacable-content {
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.3);
}

.review-body {
  /* max-height: 100px; */
  overflow: hidden;
}

/* Product Styles */
.product {
  height: fit-content;
}
.product-details {
  display: flex;
  justify-content: left;
}
.product-image {
  margin-right: 20px;
}
.product-image img {
  width: 100px;
  height: 120px;
}
/* .preview {
  display: flex;
  flex-direction: row;
  justify-content: left;
  overflow-x: scroll;
} */
.preview ol {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  justify-content: left;
  overflow-x: auto;
}
.preview ol li {
  display: inline-block;
  margin: 0 10px;
}
.image-preview-box {
  z-index: 1;
}
.image-preview-box img {
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 160px;
}
.review-images {
  display: grid;
  height: 200px;
  z-index: 1;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-template-rows: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.three-images>.rev-image:nth-child(1) {
  grid-row: span 2;
}
/*.rev-image {
  display: inline-block;
  margin: 3px;
} */
.rev-image img {
  width: 100%;
  height: 100%; 
  object-fit: cover;
}
.carousel-item img {
  width: auto;
  max-height: 350px;
  margin: auto;
}

.stats {
  margin: 20px 0;
}
label {
  margin-top: 10px;
  display: block;
}
input[type="text"] {
  padding: 5px;
  border-radius: 3px;
}
/* input[type="text"]:focus-within {
  border: solid 1.3px #0275d8;
  padding: 5px;
  border-radius: 5px;
} */

/* Profile Styles */
.profile-card {
  border-radius: 10px;
  height: fit-content;
}
.cover-photo {
  height: 150px;
  background-color: #B5B5B5;
}
.profile-pic {
  position: relative;
  height: 50px;
  top: -40px;
}
.profile-pic img {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: solid white 4px;
}
.profile-pic-label {
  position: relative;
  left: 100px;
  top: -50px;
  z-index: 5;
}
.edit-profile-pic {
  position: relative;
  height: 120px;
}
.edit-profile-pic img {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: solid white 4px;
}

.followings img {
  display: block;
  width: 30px;
  margin: 0 auto;
}
.trending-reviews, .hot-reviews {
  height: 350px;
  margin-bottom: 30px;
}

/* Voting Buttons Styles */
.vote button {
  border: none;
  background: none;
  padding: 3px 12px;
  border-radius: 10px;
}
.vote button.upvote:hover {
  background: rgba(115, 152, 233, 0.3);
}
.vote button.downvote:hover {
  background: rgba(233, 115, 121, 0.3);
}

/* Comment Buttons Styles */
.vote a.comment-button {
  border: none;
  background: none;
  padding: 3px 12px;
  border-radius: 10px;
}
.vote a.comment-button:hover {
  background: rgba(115, 152, 233, 0.3);
}

/* Comment Form stlyes */
.comment-form textarea {
  margin-top: 10px;
  height: 90px;
  width: 100%;
  padding: 5px;
  overflow-y: auto;
}
.comment-form label {
  display: none;
}

/* Review Card Styles */
.review-user-image img {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  margin-right: 10px;
}
.policy-body {
  list-style-type: none;
}
@media screen and (min-width: 500px) {
  body {
    background: #F8F7F7;
    font-size: 1.1em;
  }
  .landing {
    background-size: cover;
    height: 300px;
  }
  .overlay input {
    width: 500px;
  }

  .overly {
    padding: 80px;
  }
  a.land-butt {
    top: 85px;
  }

  .review-images {
    height: 280px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-template-rows: repeat(auto-fit, minmax(120px, 1fr));
  }

}

@media screen and (min-width: 880px) {
  * {
    line-height: 22.4px;
    font-weight: 400;
  }

  nav {
    padding: 0 0 0 40px;
  }
  .bi-search {
    display: inline-block;
  }
  .landing {
    background-size: cover;
    height: 450px;
  }
  .overly {
    padding: 120px;
  }
  a.land-butt {
    top: 120px;
  }
  .adbox-small {
    max-width: 360px;
  }
  .big-reel {
    width: 60%;
  }
  .small-reel {
    width: 40%;
  }
  .review-images {
    height: 350px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    grid-template-rows: repeat(auto-fit, minmax(150px, 1fr));

  }
  .carousel-item img {
    max-height: 400px;
  }
}

@media screen and (min-width: 1000px) {

  .review-images {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* grid-template-rows: repeat(auto-fit, minmax(150px, 1fr)); */
  }
}