

html {
  overflow-y: scroll;
}




body {
  margin: 0;
  padding: 0 10px 0 10px;
  font-family: Arial, sans-serif;
    background-color: #ffffff;
	position: relative;
}
#header img {
  border: none;
  border-radius: 0;
  
}

#header{
	
  text-align: center;
margin:0;
  padding:  0;
}
	
	.min-text{
		margin:0;
		width:auto;
		color:#000000;
	}

.min-text2{
		margin:0;
		width:auto;
		color:#000000;
		font-size:18px;
	}

/* Layout för centerbox,box1-4 */





#boxrad {
  display: flex;
  justify-content: space-between; 
  align-items: flex-start;
  max-width: 1200px;
  margin:20px 0 60px 0;
  padding: 0 20px;
}

#box1, #box2, #box3, #box4 {
  width: 300px;
  height: 300px;
  border-radius: 10px;
  text-align: center;
  padding: 0;
  box-sizing: border-box;
  color:#000000;
}
 


 #sid4{
  text-align:center;
  margin:0;

  }


ul {
  display:flex;
  list-style-type: none;    
  padding-left: 0;          
}


li{
  margin-right: 1px;  
  width:110px;
  }

 .lankar {
  margin:12px;
  padding:6px;
  border:1px outset #000000;
  text-align:center;
}

li p{
text-align:center;
margin-top:0;
}



p a {
	color: #000000;
	text-decoration: underline;
}



.lankar a  {
text-decoration:none;
  color: #000000;
}



img {
  border-radius: 10px;
  border: 3px ridge #ff0000;
}


p{
	color:#000000;
	font-size:16px;
}

.dropdown-container {
  position: relative;
  display: flex;
  justify-content: flex-start;  /* Justera så att knappen är till höger på dator */
  margin: 10px 45px;
}


.dropbtn {
  background-color: #ff0000;
  color: #ffffff;
  padding: 10px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  margin:0;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0; /* flyttar dropdown-innehållet till vänster */
  background-color: #ff0000;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 6px;
}

.dropdown-content a {
  color: #ffffff;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ffffff;
  border-radius: 6px;
  color:#ff0000;
}

.show {
  display: block;
}




.dropdown:hover .dropdown-content {
  display: block;
}


#kolrad {
  display: flex;
  flex-direction: row;        /* Viktigt! Radvis placering */
  justify-content: center;    /* Centrera horisontellt */
  align-items: flex-start;    /* Valfritt: justerar höjdmässig anpassning */
  gap: 20px;                  /* Valfritt: mellanrum mellan kolumner */
  width: 60%;                /* Eller max-width: 1000px */
  margin: 0 auto;
  flex-wrap: wrap;            /* Bryter rad på små skärmar */
}


.bild-rad {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}






.bild-rad-två {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}




#kol1{
 width:48%;
margin:0 0 20px 0;
  height:auto;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  color:#000000;
 border:3px ridge #ff0000;
}


#kol2{
	width:48%;
	margin:0 0 20px 0;
  height:auto;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  color:#000000;
 border:3px ridge #ff0000;
}



#kol3{
	width:48%;
	margin:0 0 40px 0;
  height:auto;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  color:#000000;
 border:3px ridge #ff0000;
}


@media screen and (max-width:600px) {
	
	 
  html, body {
    overflow-x: hidden;
  }
	

  .dropdown-container {
    justify-content: flex-start;  /* Flytta menyknappen till vänster på mobil */
    margin-left: 0;            /* Justera vänstermarginalen om det behövs */
  }
  
  
  #boxrad {
    flex-direction: column;
    align-items: center;
	
  }
  

  #box1, #box2, #box3, #box4 {
    width: 90%;
    height: auto;
    margin-bottom:20px;
  }

.dropbtn {
	margin:0;
}

#sid4{
margin:0;

}
img {
  max-width: 98%;
  height: auto;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
}


  .bild-rad-två {
    flex-direction: column;
    align-items: center;
  }
}





#kolrad{
flex-direction:column;
align-items:center;
width:100%;

}

#kol1,
#kol2,
#kol3{
  width:90%; 
  margin-bottom:20px; 
}