body {
  font-size: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: black;
  max-width: 500px;
  margin: 0 auto; /* Center the content horizontally */
}

/* form fyrirspurn */
  .form-container {
  padding : 5px;
    display: flex;
    flex-direction: column;
    
    text-align: center;
    border: 1px solid white;
    border-radius: 15px;
    box-shadow: 0 15 20px rgba(255, 255, 255, 0.5);
	width: 90%; 
    margin-top:50px;
    margin-bottom:5px;
  	}
  .form-container label,
  .form-container input,
  .form-container textarea,
  .form-container button {
    font-size: 15px;
    font-weight: bold;
  }

  .form-container button {
    border: none;
    border-radius: 10px;
    height: 30px;
    width: 50%;
    background-color: orange;
    box-shadow: 0 4px 10px orange;
    color: black;
    cursor: pointer;
	margin: 5px 0; /* 5px top and bottom margin */
    padding: 5px; /* 5px top and bottom padding */
  }

  .form-container button:hover {
    background-color: white;
	box-shadow: 0 4px 10px white;
  }   

/* titill á síðum */
.title-text {
  color: #D09E59; /* Color is #D09E59 */
  margin-top: 70px; /* Space on top is 10px */
  text-align: center;
}
.title-text2 {
  color: #D09E59; /* Color is #D09E59 */
  font-weight:bold;
  padding:15px;   
}
.header-login-index {
	position: absolute; 
	top: 0; 
	width: 500px; 
	text-align:right;
	padding-right: 10px;
	color: white; 
    box-shadow: 0 0 5px #D09E59;
 } 
	
 /* Set the default font color for the anchor element to yellow */
.header-login-index a {
    color: #D09E59;
    text-decoration: none; /* Remove default underline for links */
 }
/* Change the font color to orange on hover */
.header-login-index a:hover {
    color: white;
 }		
 
.box {
  width: 350px;
  background-color: black;
  border: 2px solid white;
  border-radius: 25px;
  box-shadow: 0 0 10px white;
  padding: 15px;
  color: white;
  position: relative;
  transition: box-shadow 0.3s ease; /* Smooth transition for the hover effect */
}

.box:hover {
  box-shadow: 0 0 30px white; /* Increase shadow size on hover */
}
.box-link {
  text-decoration: none; /* Remove the underline */
}

.box-link:hover .box {
  cursor: pointer; /* Change the cursor to a hand pointer on hover */
}

/* Add this rule if any text inside the box still has an underline */
.box-link * {
  text-decoration: none !important; /* Override any inherited styles */
}
.image-container {
  width: 100%; /* Set the width according to the size of your image */
  height:100%;
  border-radius: 25px;
  overflow: hidden;
  margin-bottom: 15px;
}

.image-container img {
  width: 100%;

}

h2 {
  font-size: 24px; /* Bold size for h2 */
  margin: 15px 0;
  font-weight: bold;
}

.text-box {
  font-size: 15px;
  line-height: 1.5;
}
	.logo-login {
 	    position: absolute; /* or fixed, depending on the desired behavior */
        top: 12%;
    }
    .logo-login img {
      width: 80px;
    }
     
   @media (max-width: 768px) {
    .logo-login img {
        width: 80px; /* or any size that fits your mobile design */
       }
    } 
/* mobile phone*/
 @media (max-width: 767px) {
   body {
    padding: 0;
    margin: 0;
   }
.header-login-index {
	position: absolute; 
	top: 0; 
	width: 95%; 
	text-align:right;
	padding-right: 10px;
	color: white; 
    box-shadow: 0 0 5px #D09E59;
   }
}     
