*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-rendering: geometricPrecision;
}

.container {
  width: min(100% - 5%, 560px);
  margin-inline: auto;
  padding: 4rem 2rem;
  min-height: 100vh;

  display: flex;
  flex-flow: column;
  justify-content: space-between;
  text-align: center;
}

.container > * {
  min-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Bebas Neue', cursive;
  font-weight: 500;
  line-height: 1 !important;
}

h1 {
  font-size: 6rem;
  font-weight: 400;
}
h2 {
  font-size: 4.8rem;
  font-weight: 400;
}
h3 {
  font-size: 3.8rem;
  font-weight: 400;
}
h4 {
  font-size: 2.8rem;
  font-weight: 400;
}

h2 {
  font-size: 3rem;
}

p {
  font-size: 1.5rem;
}
body {
  background: linear-gradient(0deg, #ed6b43, #ed6b43), #ed6b43;
  font-family: 'Roboto', sans-serif;
  color: #fff;
  background-repeat: no-repeat;
  background-position: left 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-size: 60%;
  line-height: 1.6;
  max-width: 768px;
  margin-inline: auto;
}

body.single-post {
  background-color: #e0f1f5;
  color: #252525;
  font-size: 1.6rem;
  min-width: 100%;
  background-size: 0%;
  line-height: 1.7;
}

body.single-post ul {
  display: inline-block;
}

body.single-post h1 {
  margin-block-end: 30px;
}

body.single-post h2 {
  margin-block-end: 20px;
}

body.single-post h3 {
  margin-block-end: 20px;
}

body.single-post div {
  margin-block-end: 20px;
}

@media (max-height: 590px) {
  body {
    background-size: 40%;
  }
}
@media (min-width: 600px) {
  body {
    background-size: 0%;
  }
}

html {
  font-size: 62.5%;
}

a,
a:active,
a:hover {
  font: inherit;
  color: inherit;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.title_404 {
  font-size: 32rem;
}

.outer_404 {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
}

.text_404 {
  font-size: 5rem;
}

.header_img {
  max-width: 220px;

  height: auto;
}

.prize-header {
  position: relative;
  min-height: 18rem;
  min-width: 100%;
  background-image: url('../assets/img/Watch_speedbingo2.svg');
  background-repeat: no-repeat;
  background-size: 90%;
  background-position: center bottom;
}

@media (min-width: 455px) {
  .prize-header {
    min-height: 24rem;
  }
}

@media (min-width: 768px) {
  .prize-header {
    min-height: 34rem;
  }
}

/* 
.prize-header:after {
  content: 'Vinn elsparkcykel och andra fina priser!';
  position: absolute;
  bottom: 30%;
  right: 30px;
  font-size: 2rem;
  width: 19rem;
}

.kickbike_img {
  position: absolute;
  bottom: 15px;
  left: 20px;
  width: 170px;
} */

button,
form,
input {
  font: inherit;
}

.start-outer {
  display: flex;

  flex-flow: column;
}

.start-outer p {
  font-size: 1.5rem;
}

.start-wrapper {
  text-align: center;
  padding: 5rem;
  min-height: 100%;
  flex-grow: 1;
  flex-basis: 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
  flex-grow: 1;
  min-height: 15rem;
}

.button-container {
  padding-top: 5rem;
}

.btn-standard {
  background-color: #ed6b43;
  border: 2px solid black;
  outline: none;
  padding: 1.5rem 3rem;
  width: fit-content;
  font-size: 2rem;
  text-transform: uppercase;
  border-radius: 35px;
  font-weight: 700;
  color: black;
}

.wpcf7-submit {
  background-color: transparent;
  border: 2px solid white;
  outline: none;
  padding: 1.5rem 3rem;
  width: fit-content;
  font-size: 2rem;
  text-transform: uppercase;
  border-radius: 35px;
  font-weight: 700;
  color: #fff;
  margin-top: 2rem;
}

.register_outer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
  width: min(100% - 5%, 280px);
  margin-inline: auto;
}

.register_outer form input[type='text'],
.register_outer form input[type='email'],
.register_outer form input[type='number'] {
  max-width: 280px;
  min-width: 100%;
  min-height: 3.5rem;
  border: none;
  padding: 0rem 1rem;
}

.form-container {
  /* max-width: 320px; */
}

.form-container > * {
  /* max-width: 100px; */
}

.register_outer form > p {
  margin: 20px 0px;
}
.register_outer label {
  color: #000;
  font-size: 1.5rem;
}

.register_outer form p:has(input[type='submit']) {
  text-align: center;
}

.register_heading_wrap {
  text-align: center;
  display: flex;
  flex-flow: column;
}

.points_count {
  font-weight: 100;
  color: black;
}

.register_finished_overlay {
  min-width: 100%;
  min-height: 100%;
  position: fixed;
  background: #ed6b43;
  top: 0;
  left: 0;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-105%);
  display: none;
  flex-flow: column;
  transition: 0.35s ease-in-out;
}

.register_finished_overlay > * {
  flex-grow: 1;
}

.overlay_top {
  max-height: 4rem;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0rem 2rem;
}

.register_finished_overlay h2 {
  font-size: 3.5rem;
}

.register_finished_overlay_content {
  padding: 0rem 4rem;
  margin-bottom: 5rem;
}

.register_finished_overlay p {
  margin-top: 15px;
}

.ov_content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.close_tab_icon {
  width: 24px;
  aspect-ratio: 1/1;
  height: auto;
  object-fit: contain;
}

.non_mobile_access {
  min-width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ed6b43;
  color: #000;
  text-align: center;
}

header.personalhandbok {
  height: 90px;
  background-color: #e0f1f5;
  display: flex;
  min-width: 100%;
  position: relative;
}

.personalhandbok .header-inner {
  width: min(100% - 5%, 560px);
  margin-inline: auto;
  height: 15rem;
  padding: 0rem 2rem;
  display: flex;
  justify-content: flex-end;
}

.pbook-logo {
  width: 15rem;
  object-fit: contain;
}

footer {
  margin-top: 4rem;
}

footer img {
  width: 9rem !important;
}
