.sunrise-video-container {
  display: grid;
}

.sunrise-video-container {
  display: grid;
  height: 100vh;
}

.sunrise-video {
  grid-area: 1/1;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sunrise-text {
  grid-area: 1/1;
  color: white;
  width: 80%;
  margin: 0 auto;
  padding-top: 70%;
}

#flashing-text {
  font-size: 2rem;
  animation-name: pulse;
  animation-duration: 7s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

#flashing-text:after {
  content: '';
  animation-name: spin;
  animation-duration: 7s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.homepage .first-section {
  flex-direction: column;
  margin-top: 70px;
}
.homepage h1 {
  margin-top: 2rem;
}
.homepage .second-section img {
  width: 100%;
}
.homepage .second-section .center-image {
  margin: 2rem 0;
}
.homepage .third-section {
  height: 60vh;
}
.homepage #user_user_time_zone {
  color: black;
}

@media screen and (min-width: 1440px) {
  .sunrise-text {
    width: 60%;
    padding-top: 25%;
  }
  .homepage .first-section {
    margin-top: 7rem;
    margin-bottom: 0;
    flex-direction: row;
  }
  .homepage .first-section .text-part {
    margin-left: 2rem;
  }
  .homepage .second-section {
    margin: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}
@keyframes pulse {
  0% {
    color: transparent;
  }
  10% {
    color: transparent;
  }
  30% {
    color: white;
    opacity: 1;
  }
  50% {
    opacity: 0;
    color: transparent;
  }
  60% {
    color: transparent;
  }
  80% {
    color: white;
    opacity: 1;
  }
  100% {
    color: transparent;
  }
}
@keyframes spin {
  0% {
    content: 'When the sun comes up';
  }
  100% {
    content: 'the price goes down.';
  }
}
@keyframes nightFall {
  0% {
    background: var(--night-blue);
  }
  5% {
    background: var(--color-light-gray-background);
  }
  40% {
    background: var(--color-light-gray-background);
  }
  85% {
    background: var(--night-blue);
  }
}
@keyframes sunRise {
  from {
    transform: rotate(0deg) translateX(-300%);
  }
  to {
    transform: rotate(225deg) translateX(-330%);
  }
}
.town {
  position: absolute;
  left: 20px;
}

.night-sky {
  width: 777px;
  height: 381px;
  background: var(--night-blue);
  position: relative;
  animation: nightFall 5s ease-in infinite;
  animation-fill-mode: both;
  border-radius: 60% 40% 100% 0%/81% 100% 0% 19%;
}

.sun {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--red);
  animation: sunRise 5s ease infinite;
  animation-delay: 0.5s;
  animation-fill-mode: both;
  position: absolute;
  top: 170px;
  left: 346px;
  transform: translateX(-200px);
}

@media screen and (max-width: 768px) {
  .town {
    width: 100%;
    bottom: -1px;
    left: 0px;
  }
  .night-sky {
    width: 100%;
  }
  .sun {
    width: 55px;
    height: 55px;
  }
}
@media screen and (max-width: 768px) and (min-width: 400px) {
  .night-sky {
    height: 275px;
  }
  .sun {
    width: 30px;
    height: 30px;
    top: 120px;
    left: 200px;
    transform: translateX(0px);
  }
}
@media screen and (max-width: 400px) {
  .night-sky {
    height: 200px;
  }
  .sun {
    width: 25px;
    height: 25px;
    top: 90px;
    left: 150px;
    transform: translateX(0px);
  }
}
.inner-container {
  padding: 15px 20px;
  border-style: solid;
  border-color: var(--color-accent);
  border-width: 1px;
  border-radius: 5px;
  margin: 4px 10px 10px 10px;
  background-color: var(--color-body-background);
  box-shadow: 0 0px 1px var(--box-shadow-color-2);
}
.inner-container h2 {
  margin-top: 0px;
}
.inner-container p {
  font-family: 'Gotham-Medium';
}
.inner-container {
  max-height: 400px;
}

.price-save-banner {
  background-color: var(--light-green);
}

.price-banner-style {
  width: 100vw;
  position: fixed;
  transition: all ease 1.5s;
  pointer-events: none;
  z-index: 150;
  opacity: 1;
  height: 50px;
  top: 0;
}
.price-banner-style p {
  padding-top: 1rem;
}

.flash-active {
  transform: translateY(70px);
  opacity: 1;
}

#price-tesla-banner {
  background-color: var(--red);
}

#price-alert-text {
  text-align: center;
  color: white;
  margin: 15px;
}

.relative {
  position: relative;
}

.line-range-holder {
  z-index: 1;
  height: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.linecount {
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line-holder {
  display: flex;
  align-items: flex-end;
}

.graphSetup {
  opacity: 0;
  height: 0;
}

#line {
  border-top: solid var(--green) 4px;
  transition: all ease 1s;
  z-index: 1;
}

#price-slider {
  position: relative;
  width: 20px;
  z-index: 15;
  writing-mode: vertical-lr; /* Vertical layout */
  direction: rtl; /* Right-to-left direction */
}

input[type='range'][orient='vertical'] {
  width: 2px;
  height: 381px;
  z-index: 15;
  writing-mode: vertical-lr; /* Vertical layout */
  direction: rtl; /* Right-to-left direction */
}

#price_bid {
  color: var(--color-accent);
  font-weight: 900;
  font-size: 18px;
}

.card-title {
  font-weight: bold;
}

.show-card {
  border-style: solid;
  border-color: var(--color-accent);
  border-width: 1px;
  border-radius: 5px;
}

.show__bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.show__bottom-chart {
  grid-column: span 2;
  position: relative;
}
.show__bottom-bid-levels {
  border: 2px solid var(--color-accent);
  border-radius: 5px;
  background-color: var(--color-body-background);
  margin: 1rem;
}
.show__bottom-bid-levels h3,
.show__bottom-bid-levels h4 {
  margin: 1rem 1rem 1rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1rem;
  justify-content: flex-end;
}
.show__bottom-bid-levels h4#text,
.show__bottom-bid-levels h4 span {
  border-bottom: 2px solid var(--color-text-dark);
}
.show__bottom-bid-levels h3.current__price {
  transform: scale(1.2);
  color: var(--green);
}

.show__bottom__wrapper {
  background: var(--white);
  border: 1px solid var(--color-text-light);
  margin-bottom: 1rem;
  border-radius: 5px;
}

.device-description__active {
  border-radius: 3px;
  box-shadow: 0 0 0 0px var(--color-text-light);
  opacity: 0.7;
}

.device-description__disabled {
  border-radius: 3px;
  box-shadow: 0 0 0 0px var(--color-text-light);
  opacity: 0.7;
}

.mobile-settings-menu .dropdown-menu {
  background-color: var(--color-menu-background);
  color: var(--color-text-black) !important;
}
.mobile-settings-menu .dropdown-item.active {
  background-color: var(--color-menu-background);
  color: var(--color-text-black);
  font-weight: 600;
}

.profile__content-wrapper {
  min-height: 80vh;
  box-shadow: 0px 1px 2px var(--box-shadow-color-1);
  background: white;
  border-radius: 5px;
  padding: 1.5rem;
  overflow-y: auto;
  margin-top: 1rem;
}
.profile .account-form input:not([type='submit']),
.profile .account-form select {
  width: 100%;
  box-shadow: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-accent);
  color: var(--color-text-black);
}
.profile .account-form input:not([type='submit']):focus,
.profile .account-form select:focus {
  outline: var(--color-accent) auto 4px;
}
.profile .account-form .user_agreed_to_marketing_mail .form-check {
  display: flex;
  align-items: flex-start;
}
.profile .account-form .form-check-input.is-valid:checked {
  background-color: var(--bs-primary) !important;
}
.profile .account-form input[type='checkbox'] {
  position: relative;
  margin-right: 1rem;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-accent);
}
.profile__plan h4 {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-accent);
}
.profile__plan-form {
  margin: 2rem 0 0 0;
}
.profile__plan-form h4 {
  width: 40%;
}
.profile__plan form {
  margin-top: 2rem;
}
.profile__plan input[type='submit'] {
  padding: 0.5rem 0;
  font-weight: 600;
}
.profile .profile__item a {
  cursor: pointer;
  transition: all 0.4s ease;
}
.profile .profile__item a:hover {
  color: var(--color-accent);
}
.profile .profile__item--disabled a {
  cursor: not-allowed;
  color: var(--color-text-light);
}
.profile .profile__item--disabled a:hover {
  color: var(--color-text-light);
}
.profile__tabs {
  width: 100%;
  box-shadow: 0px 1px 2px var(--box-shadow-color-1);
  background: white;
  border-radius: 5px;
  padding: 2rem;
  margin-top: 1rem;
}
.profile__tabs a {
  text-decoration: none;
  color: black;
  line-height: 2rem;
}
.profile__tabs-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.profile__tabs-wrapper > .profile__item:not(:last-child) {
  margin-bottom: 16px;
}
.profile .tab-active {
  border-bottom: 3px solid var(--color-accent);
}
.profile .active__content {
  display: block !important;
}
.profile input[type='submit'],
.profile select {
  width: 100%;
}

@media screen and (min-width: 992px) {
  .profile__content-wrapper {
    padding: 3rem;
  }
  .profile input:not([type='submit']) {
    width: 65%;
  }
  .profile input[type='submit'] {
    width: unset;
  }
}
.about-container {
  box-shadow: 0px 1px 8px var(--box-shadow-color-1);
  background: var(--color-body-background);
  border-radius: 5px;
  margin: 1rem auto;
  padding: 2rem;
}
.about-container h1 {
  margin-top: 0px;
  letter-spacing: -0.02em;
  font-size: 28px;
}
.about-container p {
  font-size: 15px;
  line-height: 1.5;
}
.about-container .bold-font {
  font-family: 'Gotham-Medium';
}

.wavy-background {
  background-image: url("/assets/wave2-16afc78b.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}
