.Top-nav {
  position: sticky;
  top: 0;
  height: auto;
  width: 100%;
  padding-inline: min(2vw, 30px);
  padding-block: min(3vw, 12px);
  z-index: 9;
}

.Top-nav > .Wrap-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.Top-nav > .Wrap-1 * {
  display: flex;
  justify-content: center;
  align-items: center;
}

.Top-nav > .Wrap-1 > .Links {
  gap: 32px;
}

.Top-nav > .Wrap-1 > .Links > .Logo {
  gap: 8px;
}

.Top-nav > .Wrap-1 > .Links > .Logo > svg {
  width: 42px;
  height: 42px;
  fill: rgb(219, 37, 36);
}

.Top-nav > .Wrap-1 > .Links > .Logo > strong {
  display: none;
  font-size: Large;
}

.Top-nav > .Wrap-1 > .Links > .Logo > .Name-1 {
  display: none;
}

.Top-nav > .Wrap-1 > .Links > .Logo > .Name-2 {
  display: block;
}

@media (max-width:500px) {

  .Top-nav > .Wrap-1 > .Links > .Logo > .Name-2 {
    display: none;
  }
  
  .Top-nav > .Wrap-1 > .Links > .Logo > .Name-1 {
    display: block;
  }

}

.Top-nav > .Wrap-1 > .Links > nav {
  display: flex;
  gap: 26px;
}

.Top-nav > .Wrap-1 > .Links > nav > * {
  display: none;
  font-size: small;
}

.Top-nav > .Wrap-1 > .Links > nav > *:nth-child(-n+3) {
  display: inline-block;
}

@media (max-width:760px) {
  
  .Top-nav > .Wrap-1 > .Links > nav {
    display: flex;
    gap: 14px;
  }
  
  .Top-nav > .Wrap-1 > .Links > nav > * {
    display: none;
    font-size: small;
  }
  
  .Top-nav > .Wrap-1 > .Links > nav > *:nth-child(-n+2) {
    display: inline-block;
  }
  
}

@media (max-width:660px) {
  
  .Top-nav > .Wrap-1 > .Links {
    gap: 0;
  }
  
  .Top-nav > .Wrap-1 > .Links > nav {
    display: none;
  }
  
}

.Top-nav > .Wrap-1 > .Functions {
  gap: 12px;
}

.Top-nav > .Wrap-1 > .Functions > * {
  display: none;
}

.Top-nav > .Wrap-1 > .Functions > *:nth-child(1) {
  display: block;
}

.Top-nav > .Wrap-1 > .Functions > *:nth-child(2) {
  display: inline-block;
  padding: 7px min(3vw, 24px);
  font-weight: 800;
  border-radius: 4px;
  background: rgb(219, 37, 36);
}

.Top-nav  > .Wrap-1 > .Functions > *:nth-child(1) {
  display: block;
}

.Top-nav > .Wrap-1 > .Functions > .Tesla-price {
  padding: 8px 8px;
  font-weight: 500;
  color: rgb(219, 37, 36);
  border-radius: 4px;
  background: rgba(203, 33, 33, 16%);
}

.Top-nav > .Wrap-1 > .Functions > button {
  border: none;
}

.Top-nav > .Wrap-1 > .Functions > *:nth-child(4) {
  display: block;
}

/* --- Top nav 2 --- */

.Top-nav2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  height: auto;
  width: 100%;
  padding-inline: min(2vw, 30px);
  padding-block: min(3vw, 12px);
  z-index: 9;
}

.Top-nav2 > .Logo {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 8px;
}

.Top-nav2 > .Logo > svg {
  width: 42px;
  height: 42px;
  fill: rgb(219, 37, 36);
}

.Top-nav2 .Logo > strong {
  font-size: Large;
}

.Top-nav2 > .Functions {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 12px;
}

.Top-nav2 > .Functions > .Deposit {
  display: none;
}

.Top-nav2 > .Functions > .User {
  display: none;
}

@media (max-width:420px) {
 
  .Top-nav2 > .Functions > .Deposit {
    display: none;
  }
  
  .Top-nav2 > .Functions > .User {
    display: none;
  }
  
}

.Top-nav2 > .Functions > .Bell {
  position: relative;
  display: inline-block;
  padding: 7px 12px;
  font-weight: 800;
  border-radius: 4px;
  background: rgba(203, 33, 33, 16%);
}

.Top-nav2 > .Functions > .Bell > span {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 14%;
  right: 14%;
  height: 12px;
  width: 12px;
  font-size: 9px;
  border-radius: 100rem;
  outline: black solid 2.50px; 
  z-index: 2;
  background: rgb(219, 37, 36); 
}

.Top-nav2 > .Functions > .Bell > svg {

}

.Top-nav2 > .Functions > button {
  border: none;
}

/* --- Side nav -- */

aside {
  display: none;
}

aside > .Close-nav {
  position: fixed;
  display: none;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(46, 46, 46, 50%);
  z-index: 10;
  animation-name: NavClose;
  animation-duration: 1s;
  animation-iteration-count: 1;
}

@keyframes NavClose {
  
  0% {
    background: transparent;
  }
  
  100% {
    background: rgba(46, 46, 46, 50%);
  }
  
} 

aside > nav {
  position: fixed;
  display: none;
  top: 0;
  left: -0;
  height: 100%;
  width: 300px;
  padding: 16px 12px;
  flex-direction: column;
  justify-content: left;
  gap: 18px;
  overflow: auto;
  z-index: 11;
  animation-name: SlidNav;
  animation-duration: 600ms;
  animation-iteration-count: 1;
}

@keyframes SlidNav {
  
  0% {
    left: -100%;
  }
  
  100% {
    left: -0;
  }
  
} 

aside > nav > hr {
  margin-block: 0 0;
  margin-bottom: 18px;
}

aside > nav .Head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-inline: 12px;
}

aside > nav > .Head > svg:nth-child(1) {
  height: 48px;
  width: 48px;
  fill: rgb(219, 37, 36);
}

aside > nav > .Head > svg:nth-child(2) {
  height: 22px;
  width: 22px;
}

aside > nav > .User-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding-block: 18px;
  border-radius: 6px;
  background: rgb(14, 20, 34);
}

aside > nav > .User-info > svg {
  height: 64px;
  width: 64px;
  padding: 6px;
  fill: rgb(110, 116, 130);
  border-radius: 100rem;
  background: black;
}

aside > nav > .User-info > div > span {

}

aside > nav > .User-info > div > span:nth-child(1) {
  font-size: large;
  color: rgb(110, 116, 130);
  font-weight: 800;
}

aside > nav > .User-info > div > span:nth-child(2) {
  text-align: center;
  font-size: small;
  border-radius: 4px;
  color: rgb(140, 0, 0);
}

aside > nav > .User-info > div {
  display: flex;
  flex-direction: column;
  justify-content: left;
  gap: 6px;
}

aside > nav > ul {
  display: flex;
  flex-direction: column;
  justify-content: left;
  gap: 6px;
  height: auto;
  width: 100%;
  padding: 0 8px;
  list-style-type: none;
  margin: 0 0;
}

aside > nav > ul > li {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 12px;
  border-radius: 6px;
}

aside > nav > ul > li > a {
  display: inline-block;
}

aside > nav > .Sign-in {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}

aside > nav > .Sign-in > a {
  height: auto;
  width: 96%;
  padding-block: 17px;
  font-size: large;
  text-align: center;
  border-radius: 6px;
 }

aside > nav > .Sign-in > a:nth-child(1) {
  font-weight: 800;
  background: rgb(219, 37, 36);
}

aside > nav > .Sign-in > a:nth-child(2) {
  font-weight: 800;
  color: black;
  background: white;
}

/* --- Footer --- */

footer {
  height: auto;
  width: 100%;
  padding-block-start: min(12%, 80px);
  padding-block-end: min(6%, 60px);
  margin-top: min(12%, 80px);
  background: rgb(14, 20, 34);
}

footer * {
 background: transparent; 
}

footer > hr {
 margin-block: min(8%, 40px);
}

footer > section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 36px;
  height: auto;
  width: 100%;
}

@media (max-width:620px) {

  footer > section {
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 36px;
    height: auto;
    width: 100%;
  }
  
}

footer > section > .Wrap-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  height: auto;
  width: 100%;
}

footer > section > .Wrap-1 > .Head {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 14px;
}

footer > section > .Wrap-1 > .Head > svg {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 38px;
  width: 38px;
  padding: 7px;
  fill: white;
  border-radius: 6px;
  background: rgb(219, 37, 36);
}

footer > section > .Wrap-1 > .Head > span {
  font-size: 20px;
  font-weight: 800;
}

footer > section > .Wrap-1 > p {
  width: 96%;
  max-width: 620px;
  color: rgb(156, 162, 174);
  line-height: 22px;
}

footer > section > .Wrap-1 > .Socials {
  display: flex;
  justify-content: left;
  gap: 22px;
}

footer > section > .Wrap-1 > .Socials > svg {
  height: 38px;
  width: 38px;
  padding: 10px;
  border-radius: 6px;
  fill: rgb(156 162, 174);
  background: rgb(32, 41, 56);
}

footer > section > .Wrap-2 {
  display: flex;
  justify-content: space-between;
  height: auto;
  width: 100%;
  max-width: 460px;
}

footer > section > .Wrap-2 * {

}

footer > section > .Wrap-2 > div {
  display: flex;
  flex-direction: column;
  justify-content: top;
  gap: 18px;
  width: 50%;
}

footer > section > .Wrap-2 > .Quick-links {
  
}

footer > section > .Wrap-2 > .Quick-links > h3 {
  margin: 0 0;
}

footer > section > .Wrap-2 > .Quick-links > a {
  color: rgb(156, 162, 174);
}

footer > section > .Wrap-2 > .Support {
  
}

footer > section > .Wrap-2 > .Support > h3 {
  margin: 0 0;
}

footer > section > .Wrap-2 > .Support > a {
  color: rgb(156, 162, 174);
}

footer > p {
  color: rgb(156, 162, 174);
  line-height: 22px;
  text-align: center;
  width: 92%;
  max-width: 560px;
  margin: auto;
}
