.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 80%;
    margin: auto;
}
.image-box {
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background-color: #4154AE; /* Specific shade of blue */
    width: 300px; /* Fixed width for rectangle shape */
    height: 200px; /* Fixed height for rectangle shape */
}
.image-box img {
    height: 50%;
    object-fit: cover; /* Ensures image covers the box while maintaining aspect ratio */
    transition: transform 0.2s;
}
.image-box img:hover {
    transform: scale(1.05);
}

.image-box a {
    font-size: 16px;
    color: white;
    text-align: center;
}



body {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
}

form{
    margin: 0 auto;
    padding: 5%;
}

input {
    padding: 10px;
    font-size:20;
}

.background-color1 {
    background-color: #242424;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}

.error {
    background-color: #ffba26;
    border-color: #ffba26;
    border-radius: 24px;
    width: 75%;
    padding-top: 2%;
    padding-bottom: 2%;
    text-align: center;
}

.login-primary {
    margin: auto;
    margin-top: 2%;
    padding-top: 20px;
    background-color: #f5f8fa;
    opacity: 0.9;
    border-radius: 24px;
    width: 600px;
    min-height: 300px;
}

.login-body {
    margin: auto;
    padding-top: 20px;
}

.logo{
    margin: auto;
    max-width: 600px;
    max-height: 400px;
}

.knapper {
	padding: 20px;
}

.infoboks {
    margin: auto;
    border: #ced4da;
    background-color: #ced4da;
    background: #ced4da;
    min-width: 30%;
    max-width: 60%;
    padding-bottom: 3%;
    min-height: 10%;
    border-radius: 30px;
    position: relative;
}

.infobokstitel {
    color: #007bff;
    font-size: x-large;
    font-weight: bolder;
    margin-top: 2%;
}

.infobokstitel2 {
    color: #007bff;
    font-size:large;
    font-weight: bolder;
    margin-top: 2%;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    margin-top: 2%;
    padding: 2.5%;
    width: 95%;
}

.navbar {
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    overflow: hidden;
    background-color: #333;
}

.navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* Dropdown */
.dropdown {
    float: left;
    overflow: hidden;
}
  
.dropdown .dropbtn {
    font-size: 16px;  
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}
  
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
  
.dropdown-content a:hover {
    background-color: #ddd;
}
  
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change background on mouse-over */
.navbar a:hover {
    background: #ddd;
    color: black;
}

/* Bootstrap css */

label {
	display: inline-block;
	margin-bottom: .5rem;
}

.form-control {
	display: block;
	width: 60%;
    margin-left: auto;
    margin-right: auto;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

button, input {
	overflow: visible;
}

.btn {
	display: inline-block;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: .25rem;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-primary {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}

.btn:not(:disabled):not(.disabled) {
	cursor: pointer;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    margin-top: 2%;
    padding: 2.5%;
    width: 95%;
}
  
td, th {
    border: 1px solid #242424;
    text-align: left;
    padding: 8px;
}
  
tr:nth-child(even) {
    background-color: #7a7a7a;
}

a.disabled {
    pointer-events: none;
}