* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: inherit;
  font-family: inherit;
}

html {
  background: rgb(255, 14, 86) 100%;
}
body {
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: radial-gradient(
    circle,
    rgb(255, 155, 185) 0%,
    rgb(255, 14, 86) 100%
  );
  min-height: 100vh;
}

main {
  padding-top: 2rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.buttons {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.button {
  font-size: 1rem;
  padding: 0.6rem 1rem 0.6rem;
  outline: 0;
  border: 2px solid white;
  cursor: pointer;
  transition: 0.3s;
}

h1,
h2 {
  text-align: center;
}

h1 {
  font-size: 2rem;
  text-overflow: ellipsis;
  width: 100%;
  overflow: hidden;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
