body {
  margin: 0;
}
.gdpr{
display: inline-block;
width: 80%;
padding-top: 100px;
margin-left: 10%;
color: grey;
}
.searchresult {
  z-index: 1001;
}

.black_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 1001;
  opacity: 0.8;
}

.white_content {
display: none;
position: fixed;
top: 150px;
left: auto;
width: 350px;
height: 300px;
padding: 16px;
border: 16px solid rgba(162, 206, 198, 0.5);
background-color: white;
z-index: 1002;
overflow: auto;
}

.w100 {
  width: 100%;
  display: block;
  height: auto;
}

.regler {
  /*border: 1px solid black;  Added solid to specify border style */
  color: black;
}

.tavlingar {
  font-size: 24px;
  font-weight: 700;
  margin: 10px;
  text-align: center;
  display: block; /* Changed to block to center text */
}

.list, .swish {
  display: block; /* Changed from float to block for better stacking */
  margin: 10px;
  text-align: center;
}

.anmalan_tavlingslista {
  font-family: sans-serif;
  width: 100%;
  background-color: #efefef;
  padding: 22px;
  box-sizing: border-box;
  margin-top: 16px;
}

.anmalan {
  display: inline-block;
  width: 100%; /* Added to make it responsive */
}

.search-box {
  width: 100%; /* Changed to 100% for responsiveness */
  position: relative;
  display: inline-block;
  font-size: 14px;
  box-sizing: border-box; /* Added to prevent overflow */
}

.search-box input[type="text"] {
  width: 100%; /* Changed to 100% for responsiveness */
  height: 32px;
  padding: 5px 10px;
  border: 1px solid #CCCCCC;
  font-size: 14px;
}

.result {
  position: absolute;
  z-index: 999;
  top: 100%;
  left: 0;
  background: white;
  border-color: black;
  border-radius: 1px;
}

.result p {
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #CCCCCC;
  border-top: none;
  cursor: pointer;
}

.result p:hover {
  background: #f2f2f2;
}

.bullet li::before {
  content: "•"; 
  color: black;
}

.content {
  min-width: 0; /* Changed to 0 to avoid horizontal scrolling */
  width: 100%; /* Adjusted width to 100% */
  padding: 50px 10px 40px; /* Added padding to the sides */
  box-sizing: border-box; /* Added to prevent overflow */
}

.form {
  background: grey;
  padding: 20px;
  width: 100%; /* Adjusted width to 100% */
  box-sizing: border-box; /* Added to prevent overflow */
  height: auto;
}

.description {
  width: 100%; /* Adjusted width to 100% */
  padding: 20px;
  box-sizing: border-box; /* Added to prevent overflow */
  text-overflow: ellipsis;
}

.header {
  padding: 20px; /* Added padding to center content */
  text-align: center; /* Added to center content */
}

.header a {
    text-decoration: none;
 }

.header h1 {
  font-size: 2em; /* Adjusted font size to em units */
  font-weight: 700;
  margin: 10px 0; /* Adjusted margin for better spacing */
  color: black;
  font-family: 'Archivo Black', sans-serif, 'Montserrat Alternates', sans-serif;
}

.header img {
  display: block; /* Changed to block for better alignment */
  margin: 20px auto; /* Adjusted margin for better alignment */
  width: 150px;
  border-radius: 15px;
  background-color: white;
}

.box {
  width: 100%; /* Adjusted width to 100% */
  padding: 0 10px; /* Added padding to the sides */
  box-sizing: border-box; /* Added to prevent overflow */
}

@media only screen and (min-width: 768px) {
  .content {
    width: 80%;
    margin: auto;
  }
  
  .header h1 {
    font-size: 44px; 
  }

  .box {
    width: 820px;
    margin: auto;
    padding: 0;
  }
}

