
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 {
  display: flex;
  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;
}

@media (min-width: 48rem) {
  .wrapper {
    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;
  }
}
