body {
  font-family: sans-serif;
  font-size: 16px;
}
p {
  line-height: 1.5;
}

header {
  max-width: 1400px;
  margin: 0 auto;
  height: auto;
  background-position: center;
  background-size: cover;
  position: relative;
}
header, section {
  text-align: center;
}
section {
  margin-top: 1rem;
}

.header-content {
  z-index: 1;
  position: absolute;
  width: 100%;
  top: 75px;
  left: 0;
  right: 0;
  margin: 0 auto;
  margin-bottom: 100px;
  background: rgb(255,255,255, 0.4);
  border-radius: 15px;
  height: auto;
}

header h1 {
  margin-top: 5rem;
  font-size: 6rem;
  color: #fff;
}

nav ul {
  display: inline-block;
  margin: 1rem 0;
}

nav li {
  display: inline;
  margin: 0 0.8rem;
  font-size: 24px;

}

nav a {
  color: #295ba7;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.logo  {
  
}


/*video as background; container element makes it responsive */
.video-bg {
  position: relative;
  width: auto;
  min-width: 100%;
  min-height: 100%;
  background-size: cover;
}

video {
  display: block;
}
/* disable video (e.g. in a media query) by setting .video-container to display: none; as appropriate */
.video-container {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  z-index: -100;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
}

/* popup (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 50px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  margin-top: 0;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: transparent;
  border-radius: 0px;
  margin: auto;
  margin-top: 0;
  padding: 20px;
  width: 100%;
  height: auto;
  z-index: 1;
}

.modal-content h2{
  color: #295ba7;
  padding-top: 20px;
  text-align: center;
}

.modal2 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 175px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content2 {
  background-color: rgb(255,255,255);
  border-radius: 15px;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 720px;
  height: 500px;
  z-index: 1;
}

.modal-content2 h2{
  color: #295ba7;
  padding-top: 20px;
  text-align: center;
}

.modal3 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 175px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content3 {
  background-color: rgb(255,255,255);
  border-radius: 15px;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 720px;
  height: 500px;
  z-index: 1;
}

.modal-content3 h2{
  color: #295ba7;
  padding-top: 20px;
  text-align: center;
}
.modal4 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 175px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content4 {
  background-color: rgb(255,255,255);
  border-radius: 15px;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 720px;
  height: 500px;
  z-index: 1;
}

.modal-content4 h2{
  color: #295ba7;
  padding-top: 20px;
  text-align: center;
  margin: auto;
}



/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.close2 {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.close3 {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close3:hover,
.close3:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.close4 {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close4:hover,
.close4:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* submission formið */
input {
  background-color: rgba(255,255,255, 0);
}

::placeholder {
  color: darkslategrey;
}

.submission-form {
  max-width: 600px;
  margin: 2rem auto;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  border-radius: 5px;
}
.submission-form label {
  display: block;
  padding: 1rem 0 0.25rem;
  font-size: 14px;
  text-align: center;
}
.submission-form input, .submission-form textarea {
  display: block;
  width: 50%;
  border: 2px solid #295ba7;
  padding: 0.5rem;
  font-size: 18px;
  border-radius: 5px;
  margin: auto;
}
#submit {
  border: none;
  padding: 0.5rem;
  color: #295ba7;
  margin: auto;
  margin-top: 40px;
  font-size: 30px;
  width: auto;
  cursor: pointer;
    transition: 0.3s;
}
#submit:hover {
  opacity: 0.6;
}

.kort {
  margin: auto;
}

h2 {
  color: #295ba7;
}

.skraning {
  margin-top: 0;
}