html, body {
  margin: 0;
  min-height: 100%;
}

body {
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100dvh;
}

main {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#skalvi {
    width: clamp(220px, 55%, 600px);
    display: block;
    height: auto;
}

#knapp {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    background-color: rgb(253 135 56);
    width: 300px;
    padding: 10px 0;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    color: white;
}

#knapp:hover {
    background-color: rgb(173, 99, 50);
}

#knapptekst {
    margin: 0;
}

#hidden {
    margin: 0;
    max-width: 90%;
    text-align: center;
    font-size: clamp(24px, 7vw, 56px);
    font-family: 'Courier New', Courier, monospace;
    color: white;
}

.info {
    display: grid;
    place-items: center;
}

.info > * {
    grid-area: 1 / 1;
}

.juksboks {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

.juks {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    color: white;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 10px 10px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

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

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

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

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

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