
html {
    font-family: Helvetica;
    min-height: 100dvh;
  }
  
  body {
    margin: 0;
    min-height: 100vh;
    background-image: url(images/charger.webp);
    background-position: center center, left bottom, 0 0;
    background-repeat: no-repeat, repeat-x, no-repeat;
    background-attachment: fixed, scroll, fixed;
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 10px;
  }
  
  .wrapper {
    display: grid;
    max-width: 768px;
    border-radius: 20px;
    background: #2d4e63;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  header {
    height: 72px;
    border-radius: 10px;
    border: 2px solid rgb(49, 50, 85);
    margin: 20px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
  }
  
  header h1 {
    flex: 1 1 auto;
    margin: 0;
    color: #a90505;
    line-height: 2;
    text-align: center;
    letter-spacing: 4px;
    background: linear-gradient(to bottom, #aeaadc 0%, #4f3a89 100%);
    border-radius: 10px;
  }
  section {
    margin: 10px;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 4px 4px rgba(1, 137, 235, 0.443);
    background: linear-gradient(to bottom, #817de8 0%, #022898 100%); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  h2 {
    margin: 15px 0 10px;
    text-align: center;
    color: #fff;
  }
  
  p {
    margin: 10px 0;
    line-height: 1.8;
    max-width: 80ch;
    color:#fff;
  }
  
  img {
    width: 100%;
  }
  
  footer {
    display: flex;
    gap: 5px;
    margin: 0 15px 10px;
  }
  
  footer a {
    color: white;
    text-decoration: none;
    line-height: 2;
  }
  
  footer a:first-child {
    margin-right: auto;
  }
  
  footer a[href^="javascript"] {
    position: relative;
    color: #000;
    background-color: #fff1f1;
    border-radius: 3px;
    padding: 0 10px;
  }
  /*phone style */
  @media (min-width: 0px) {
    .wrapper {
      margin: 20px auto;
    }
  
    .callout{
      margin: 20px auto;
    }
    .content-wrapper {
      display: flex;
      align-items: flex-start;
    }
  
    .content-wrapper p {
      flex: 2;
    }
  
    header {
      height: 400px;
      background: url(images/logo.webp) no-repeat center center / cover;
    }
  
    header h1 {
      font-size: 2.75em;
      line-height: 2;
      align-self: flex-end;
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
  }
  .nav-main-menu-toggle {
    display: flex;
  }
  
    }
  /* Tablet styles */
  @media (min-width: 768px) {
    .wrapper {
      margin: 20px auto;
    }

    .callout{
      margin: 20px auto;
    }
    .content-wrapper {
      display: flex;
      align-items: flex-start;
    }
  
    .content-wrapper p {
      flex: 2;
    }
  
    header {
      height: 400px;
      background: url(images/logo.webp) no-repeat center center / cover;
    }
  
    header h1 {
      font-size: 2.75em;
      line-height: 2;
      align-self: flex-end;
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
  }
  
    }
  
  /* Desktop styles */
  @media (min-width: 1024px) {
    
      }
  .btn {
    background-color: rgb(83, 150, 221);
    border: none;
    color: rgb(0, 0, 0);
    padding: 1px 12px;
    font-size: 16px;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: RoyalBlue;
  }
  /* Button Model S */
  .btn-model-s {
    all: unset;
    width: 120px;
    height: 40px;
    font-size: 16px;
    background: transparent;
    border: none;
    position: relative;
    color: #f0f0f0;
    cursor: pointer;
    z-index: 1;
    padding: 10px 20px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  .button-small {
    padding: 5px 10px;
    font-size: 12px;
  }
  
  .button-large {
    padding: 15px 30px;
    font-size: 20px;
  }
  .btn-model-s::after,
  .btn-model-s::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -99999;
    transition: all .4s;
  }
  
  .btn-model-s::before {
    transform: translate(0%, 0%);
    width: 100%;
    height: 100%;
    background: #28282d;
    border-radius: 10px;
  }
  
  .btn-model-s:after {
    transform: translate(10px, 10px);
    width: 45px;
    height: 45px;
    background: #007bff96; /* Change color to match Model S */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50px;
  }
  
  .btn-model-s:hover::before {
    transform: translate(5%, 20%);
    width: 110%;
    height: 110%;
  }
  
  .btn-model-s:hover::after {
    border-radius: 10px;
    transform: translate(0, 0);
    width: 100%;
    height: 100%;
  }
  
  .btn-model-s:active::after {
    transition: 0s;
    transform: translate(0, 5%);
  }
  
  /* Button Model 3 */
  .btn-model-3 {
    --color: #0bf8cd;
    --color2: rgb(0, 0, 0);
    padding: 0.8em 1.75em;
    margin: 10px;
    background-color: grey;
    border-radius: 6px;
    border: 1px solid var(--color);
    transition: .5s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    font-weight: 300;
    font-family: 'helvetica', sans-serif;
    text-transform: uppercase;
  }
  
  .btn-model-3::after,
  .btn-model-3::before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    transform: skew(90deg) translate(-50%, -50%);
    position: absolute;
    inset: 50%;
    left: 25%;
    z-index: -1;
    transition: .5s ease-out;
    background-color: var(--color);
  }
  
  .btn-model-3::before {
    top: -50%;
    left: -25%;
    transform: skew(90deg) rotate(180deg) translate(-50%, -50%);
  }
  
  .btn-model-3:hover::before {
    transform: skew(45deg) rotate(180deg) translate(-50%, -50%);
  }
  
  .btn-model-3:hover::after {
    transform: skew(45deg) translate(-50%, -50%);
  }
  
  .btn-model-3:hover {
    color: var(--color2);
  }
   
  .btn-model-3:active {
    filter: brightness(.7);
    transform: scale(.98);
  }
  
  /* Button Model Y */
  .btn-model-y {
    display: inline-block;
    background-color: #50575e; 
    color: white;
    text-align: center;
    margin: 10px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    transition-duration: 0.4s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  }
  
  .btn-model-y:hover {
    background-color: #35ded8; 
    color: black;
  }
  
  .btn-model-y:active {
    background-color: #004080; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
  }
  
  
  /* Button Model X */
  .btn-model-x {
    margin: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 3px;
    background: #DCFFFC;
    text-transform: uppercase;
    color: #088178;
    transition: all 1000ms;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    outline: 2px solid #088178;
  }
  
  .btn-model-x:hover {
    color: #DCFFFC;
    transform: scale(1);
    outline: 2px solid #088178;
    box-shadow: 4px 5px 17px -4px #088178;
  }
  
  .btn-model-x::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #088178;
    transform: skewX(30deg);
    z-index: -1;
    transition: width 1000ms;
  }
  
  .btn-model-x-warning {
    background-color: #b61818;
    color: #DCFFFC;
    outline: 2px solid #801717;
  }
  
  .btn-model-x-warning:hover {
    color: #DCFFFC;
    outline: 2px solid #b61818;
    box-shadow: 4px 5px 17px -4px #b61818;
  }
  
  .btn-model-x-warning::before {
    background-color: #801717;
  }
  
  .btn-model-x:hover::before {
    width: 250%;
  }
  
  .btn-model-x:active {
    transform: scale(0.9);
  }
  html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

.callout {
    font-family: sans-serif;
      margin: 20px auto;
    display: grid;
    max-width: 768px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    padding: 12px;
}

.callout-heading {
    color: white;
    font-size: 3em;
    text-transform: uppercase;
    margin: 0 0 32px;
}

.callout-intro {
  text-align: center;
    color: white;
    font-size: 1.5em;
    margin: 0 0 16px;
}

.subscribe-newsletter {
    --color-white-20: hsla(0, 0%, 100%, 0.20);
    --color-white-40: hsla(0, 0%, 100%, 0.40);
    --color-white-60: hsla(0, 0%, 100%, 0.60);
    --color-white-80: hsla(0, 0%, 100%, 0.80);
    --color-black-20: hsla(0, 0%, 0%, 0.20);
    --color-black-40: hsla(0, 0%, 0%, 0.40);
    --color-black-60: hsla(0, 0%, 0%, 0.60);
    --color-black-80: hsla(0, 0%, 0%, 0.80);
    --color-button-dark: hsla(266, 47%, 30%, 1.00);
    --color-button-light: hsla(54, 86%, 58%, 1.00);
    --z-index: -1;
}

.subscribe-newsletter {
    transition: all 1s ease-in;
    background: var(--color-white-20);
    border-radius: .5em;
}

.subscribe-newsletter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
}

.subscribe-newsletter fieldset {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
}

.subscribe-newsletter fieldset:first-child {
    flex: 1 1 auto;
}

.subscribe-newsletter fieldset:last-child::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("/images/loader-circles-spin.svg") no-repeat center;
    z-index: var(--z-index, -1);
}

.subscribe-newsletter input:not([type="radio"]):not([type="checkbox"]) {
    -webkit-appearance: none;
    border: none;
    border-radius: 0;
}

.subscribe-newsletter input {
    position: relative;
    font-family: inherit;
    font-size: 1.2em;
    line-height: 2.4;
    letter-spacing: 0.05em;
    padding: 0 .5em;
    margin: 0;
    color: var(--color-button-dark);
}

.subscribe-newsletter input[type=email] {
    background: var(--color-white-60);
}

.subscribe-newsletter input[type=email]:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--color-button-dark);
}

.subscribe-newsletter input::placeholder {
    position: relative;
    color: var(--color-button-dark);
    opacity: .4
}

.subscribe-newsletter input::placeholder {
    transition: 2s cubic-bezier(1, 1.65, 0.35, 1.32), opacity .25s ease;
}

.subscribe-newsletter input:focus::placeholder {
    transform: translateX(100%);
    transition: transform 1s cubic-bezier(0.15, 0.69, 0.7, -0.42), opacity 2s ease;
    opacity: 0
}

.subscribe-newsletter input[type=submit],
.subscribe-newsletter input[type=submit]:invalid {
    background: var(--color-button-dark);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 1em;
    transition: all 1s .5s ease-in;
    transform-origin: right center;
    transform: scale(1);
    box-shadow: 0 0 0px 0px var(--color-black-60);
}

.subscribe-newsletter:valid input[type=submit] {
    color: var(--color-button-dark);
    background: var(--color-button-light);
    transform: scale(1);
    box-shadow: -2px 2px 4px var(--color-black-60), -2px -2px 4px var(--color-black-60);
}

.subscribe-newsletter fieldset input[type=submit]:disabled {
    background: var(--color-white-80);
    color: black;
    transform: scale(1);
    box-shadow: 0 0 0px 0px var(--color-black-60);
}

.subscribe-newsletter label {
    color: var(--color-white-80);
    line-height: 1.625em;
    padding: 0 .5em;
}

.subscribe-newsletter.sending {
    background: var(--color-white-60);
}

.subscribe-newsletter.received {
    background: var(--color-white-20);
}

.subscribe-newsletter .subscribe-newsletter-message-error {
    background: var(--color-button-dark);
}

.subscribe-newsletter .subscribe-newsletter-message-success {
    background: var(--color-white-80);
    color: var(--color-button-dark);
    font-size: 1.6em;
    flex: 1;
    text-align: center;
}
.nav-main-menu-toggle svg * {
  transform-box: fill-box;
}
.menu__box {
  display: block;
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  background-color: #ECEFF1;
  box-shadow: 2px 2px 6px rgba(145, 36, 36, 0.4);
  transition-duration: .25s;
}

.menu__item {
  display: block;
  padding: 12px 24px;
  background-color: #50575e;
  color: #4384c6;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition-duration: .25s;
  border-bottom: 1px solid #ccc;
}

.menu__item:hover {
  background-color: #c7ddef; 
}
