html {
  scroll-behavior: smooth;
}

.wrapper {
  display: flex;
  width: auto;
}

.username {
  color: blueviolet;
}

a:link {
  text-decoration: none;
}

.mynavbar {
  padding: 1em;
}

.flex-nowrap  {
  white-space: nowrap;
}

/* for card image */
.listing-img  {
  width: 15em;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.2s;
}

#post_title {
  font-family: 'Passion One', sans-serif;
  font-size: 72px;
	background: linear-gradient(to right, #14c1dc 0%, #180363 100%);
  background-clip:content-box;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.new_post_block {
  display: none;
  /* other styles */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}


.feed {
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 5px;
  margin-bottom: 10px;
}

.profile_dp {
  display:flex;
  flex-direction: row-reverse;
}

/* mobile */
@media(max-width: 1000px){
  .hide{
    visibility: hidden;
    display: none;
  }

  #post_title {
    font-size: 48px;
  }

  .feed {
    margin-left: 15px;
    margin-right: 15px;
  }

  #post_caption {
    margin-left: auto;
    margin-right: auto;
  }

  .profile_dp {
    order: -1;
  }
}

/*
.listing-img:hover {
  transform: scale(1.1);
}
*/

.delete_product_btn {
  /* Start the shake animation and make the animation last for 0.5 seconds */
  animation: shake 0.15s;

  /* When the animation is finished, start again */
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: rotate(5deg); }
  100% { transform: rotate(-5deg); }
}


.card {
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-2px);
}

#scrollable-div {
  animation: scroll 10s linear infinite alternate;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

/*For loading spinner from uiverse.io*/
.spinner {
  width: 1em;
  height: 1em;
  position: relative;
  margin: 1em;
  cursor: not-allowed;
  border-radius: 50%;
  border: 1px solid #444;
  box-shadow: -10px -10px 10px #6359f8, 0px -10px 10px 0px #9c32e2, 10px -10px 10px #f36896, 10px 0 10px #ff0b0b, 10px 10px 10px 0px#ff5500, 0 10px 10px 0px #ff9500, -10px 10px 10px 0px #ffb700;
  animation: rot55 0.7s linear infinite;
}

.spinnerin {
  border: 1px solid #444;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes rot55 {
  10% {
    transform: rotate(90deg);
  }
  20% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(30deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* For yt video on landing */
.responsiveIframe{
  margin:0;
  position:relative;
  padding:0;
  padding-bottom:calc(56.25%);
}

/*Horizontal rule*/
.hr-text {
  line-height: 1em;
  position: relative;
  outline: 0;
  border: 0;
  color: black;
  text-align: center;
  height: 1.5em;
  opacity: .5;
}

.hr-text:before {
  content: '';
  background: linear-gradient(to right, transparent, #818078, transparent);
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}

.hr-text:after {
  content: attr(data-content);
  position: relative;
  display: inline-block;
  color: black;
  padding: 0 .5em;
  line-height: 1.5em;
  color: #818078;
  background-color: #fcfcfa;
}

.lato {
  font-family: 'Lato', sans-serif;
}

.poppins {
  font-family: 'Poppins', sans-serif;
}

.animated-button {
  animation: colorChange 5s infinite;
  border: none;
}

@keyframes colorChange {
  0% {
      background-color: #3498db;
      border-color: #3498db;
  }
  33.3% {
      background-color: #9b59b6;
      border-color: #9b59b6;
  }
  66.6% {
      background-color: #e74c3c;
      border-color: #e74c3c;
  }
  100% {
      background-color: #3498db;
      border-color: #3498db;
  }
}

/* Optional hover effect */
.animated-button:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* sign in with google */
.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}
/* End of sign in with google */