* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background-color: white;
    font-family: Arial, Helvetica, sans-serif;
    color: #545454;
    margin-left: 10%;
    margin-right: 10%;
}

img{
    max-width: 100%;
    padding: 10px;
    margin: 0%;
}

header {
    background: #3B7BA0;
    color: white;
    font-size: 2rem;
    align-items: center;
    padding: 5px;
	@media (max-width: 992px) {
  		margin-left: -10%;
      	margin-right: -10%;
  	}
}

footer {
    background: #3B7BA0;
    color: white;
    font-size: 2rem;
    padding: 5px;
    margin-top: 35px;
    @media (max-width: 992px) {
  		margin-left: -10%;
      	margin-right: -10%;
  	}  
}

section {
    width: 100%;
    padding: 5% 7%;
    
    margin: 10px 0 0 0;
    max-width: none;
    background-repeat:no-repeat;
    background-size: 100% 100%;
    background-image: url("../img/archway-beige.jpg");
}

main{
    display: flex;
    flex-direction: column;
}

p {
    font-size: 1rem;
    padding-left: 35px;
}

label {
    font-weight: bold;
    text-align: right;
}

input[type=submit] {
  background-color: #c25252;
  border: none;
  color: white;
  padding: 10px 18px;
  text-decoration: none;
  cursor: pointer;
}

input[type=text] {
    width: 100%;
    max-width: 500px;

}

textarea {
    width: 100%;
    max-width: 500px;
}


form {
    background-color: beige;
    padding: 20px;
    @media (min-width: 992px) {
        margin-left: 25%;
        margin-right: 25%;
    }
}

.tilmeld  {
  margin-left: 35px;
  margin-bottom: 10px;
  @media (min-width: 992px) {
        margin-top: 35%;
    }
}

.logo {
    margin-left: 20px;
    text-align: left;
    height: 20%;
    width: 20%;
    @media (min-width: 992px) {
        height: 10%;
        width: 10%;
    }
}

.logo-icon-text {
    float: right;
    font-size: 25px;
    margin-top: 8px;
}

.logo-icon {
    float: right;
    color: white;
    padding-right: 35px;
    font-size: 45px !important;
  	@media (max-width: 550px) {
        padding-right: 0px;
    }
  
}

.logotekst {
    padding-left: 5px;
    margin: 0px;
    margin-bottom: 5px;;
}

.center-tekst {
    text-align: center;
}

.sub-tekst {
    text-align: center;
    height: 37px;
}

.sub-tekst-left {
     margin-right: 0px;
    @media (min-width: 992px) {
        margin-right: 10px;
    }
}

.sub-tekst-right {
   margin-left: 0px;
    @media (min-width: 992px) {
        margin-left: 10px;
    }
}

.sektion {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
    margin-right: 0;
    margin-left: 0;

    @media (min-width: 992px) {
        flex-direction: row;
    }
}


.ikon {
    background-color: white;
    width: 300px;
    height: 350px;
    object-fit: contain;

    @media (max-width: 1024px) {
        margin-bottom: 50px;
    }

}

.container {
  position: relative;
  text-align: center;
  color: white;
  padding: 10px;
}

.centered {
  color:  #3a3838;
  position: absolute;
  bottom: -2px;
  @media (max-width: 1024px) {
     bottom: 45px;
  }
  left: 50%;
  transform: translate(-50%, -50%);
}

.highlights-sektion {
    display: flex;
    flex-direction: column;
    margin-right: 0;
    margin-left: 0;
    @media (min-width: 992px) {
        flex-direction: row;
    }
}

.highlights-container {
    position: relative;
    text-align: center;
    color:  #3a3838;
    text-decoration: none;
    width: 100%;
}

.highlights-left {
    width: 100%;
    height: 300px;
    object-fit: cover;
    padding-left: 0;
    margin-left: 0;
    padding: 10px 0px 0px 0px;
    @media (min-width: 992px) {
        padding: 10px 10px 0px 0px;
        height: 450px;
    }
}

.highlights-right {
    width: 100%;
    height: 300px;
    object-fit: cover;
    padding-right: 0;
    margin-right: 0;
    padding: 10px 0px 0px 0px;
    @media (min-width: 992px) {
        padding: 10px 0px 0px 10px;
        height: 450px;
    }
}

.banner {
    color: white;
    background-color: #c25252;
    position: relative;
    margin: 0;
    top: -5px;
    text-align: left;
    padding-left: 35px;
    padding-top: 35px;
    padding-bottom: 35px;
}

.banner-right {
    margin-left: 0px;
    @media (min-width: 992px) {
        margin-left: 10px;
    }
}

.banner-left {
    margin-right: 0px;
    @media (min-width: 992px) {
        margin-right: 10px;
    }
}

.banner-icons {
    float: right;
    padding-right: 35px;
}

.flex-sektion {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: start;
    flex-direction: column;
    @media (min-width: 992px) {
        flex-direction: row;
    }
}

.top-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    padding: 0px;
}

.hold {
    border: solid;
    border-width: thin;
    margin-bottom: 10px;
}

.hold-tid {
    width:80%;
}

.search-bar {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-bottom: 35px;
  justify-content: center;
  align-items: center;
}

.search {
  width: 100%;
  height: 2.8rem;
  background: white;
  outline: none;
  border: none;
  border-radius: 1.625rem;
  padding: 0 3.5rem 0 1.5rem;
  font-size: 1rem;
}

.search-button {
  width: 3.5rem;
  height: 2.8rem;
  margin-left: -3.5rem;
  background: none;
  border: none;
  outline: none;
}

.search-button:hover {
  cursor: pointer;
}

nav {
  margin:0 auto;
  width:100%;
  height:auto;
  display:inline-block;
}

nav ul {
  margin:0;
  padding:0;
  list-style-type:none;
  display:inline-block;
}

nav ul li {
  position:relative;
  margin:0 20px 0 0;
  display:inline-block;
}

nav ul li a {
  padding:15px;
  display:inline-block;
  color:white;
  text-decoration:none;
}

nav ul li a:hover {
  opacity:0.5;
}

nav ul li ul {
  display:none;
  position:absolute;
  right:0;
  background:#3B7BA0;
  margin-top: 40px;
  z-index: 2;
  font-size: 1rem;
  width: 300%;
}

nav ul li ul li {
  width:100%;
  border-bottom:1px solid rgba(255,255,255,.3);
}

nav ul li:hover ul {
  display:block;
}