h1,h2,h3,h4,h5,h6{
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}
p{
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  line-height: 1.5em;
  font-size: 18px;
}

.wrapper{
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 30px;
}

.text-center{
  text-align: center;
}

a{
  text-decoration: none;
  font-family: 'Lato', sans-serif;
}

.btn{
  background: #F5D549;
  text-decoration: none;
  color: #39404D;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 1em 2em;
  transition: 200ms ease-in-out;
}

.btn:hover{
  background: #E6BF1E;
}

/* Navbar og Intro section */
#intro-section, #subheader{
  background: linear-gradient(to bottom, rgba(15, 72, 128, 0.75),rgba(15, 72, 128, 0.75)), url(../img/intro.jpg);
  background-size: cover;
  background-position: center;
  color: white;
}

.navbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2em 0;
}

.navbar ion-icon{
  font-size: 2em;
}

.nav{
  display: none;
  list-style-type: none;
}

.active::after{
content: '';
width: 1.5em;
margin: 1px auto 0;
height: 2px;
background-color: #F5D549;
display: block;
}


.nav li{
  margin: 0 1.5em;
}

.nav-link{
  color: white;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
}
.nav-link:hover{
  opacity: 0.75;
}

.logo{
  color: white;
  font-weight: 900;
}

.intro{
  padding: 3em 0 10em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sub-title{
  padding-bottom: 3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro h1, .sub-title h1{
  font-size: 48px;
  font-weight: 900;
}
.intro p{
  font-size: 18px;
  margin-bottom: 2em;
}

/* Om section */
#om-section{
  padding: 3em 0;
  color:#39404D;
}

#om-section .wrapper{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

#om-section > .wrapper > div > img{
  max-height: 250px;
  width: auto;
  margin-top: 2em;
}

/* Event section (arrangementer) */
#event-section{
  background:
  linear-gradient(to bottom, rgba(15, 72, 128, 0.75),
  rgba(15, 72, 128, 0.75)),
  url(../img/event.jpg);
  background-position: center;
  background-size: cover;
  color: white;
  padding: 3em 30px 5em;
  text-align: center;
}

.events{
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 0px;
  margin: 2em auto 0;
  max-width: 1200px;
}

article{
  position: relative;
  border: 5px solid white;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0.5em;
  min-height: 250px;
  transition: 200ms ease-in-out;
  cursor: pointer;
}

article:nth-last-of-type(1){
  border-bottom: 5px solid white;
}

article:hover{
  background: rgba(255, 255, 255, 0.25);
}

.dato{
  text-align: right;
}

.dato h3, .dato h4{
  margin: 0;
}


.dato h3{
  font-size:5em;
}

.dato h4{
  margin-top: -5px;
  margin-right: 10px;
  text-transform: uppercase;
}

.event-navn{
  display: flex;
  align-items: flex-end;
  text-transform: uppercase;
}

.event-navn h3 {
  margin: 0 0 0.5em;
}

.event-navn h3 span{
  font-size: 0.75em;
  font-style: italic;
  text-transform: none;
}

/* Nyheds section */
#nyhed-section{
  padding: 3em 0;
}

.nyheder{
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  max-width: 978px;
  margin: 4em  auto 0;
}

.nyhed{
  max-width: 300px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
  margin-bottom: 2.5em;
}
.nyhed-info{
  padding: 0 1.5em 1.5em;
}

.nyhed-info p{
  font-size: 16px;
}

.nyhed-info a{
  text-transform: uppercase;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #0F4880;
}

/* Tilmeldings section */
#tilmeld-section{
  padding: 3em 0 5em;
  background:#EFEFEF;
}

#tilmeld-section > div > div{
  display: flex;
  flex-direction: column-reverse;
  text-align: center;
  align-items: center;
}

#tilmeld-section form {
  margin: 1.25em 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

#tilmeld-section p {
  padding-left: 2em;
}

#tilmeld-section form > input{
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  font-family: 'Lato', sans-serif;
}


/* content og kontakt (bruges på undersider) */
#content{
  padding: 3em 0;
  color: #39404D;
}

#kontakt{
  padding: 3em 0;
  color: #39404D;
}

#kontakt .wrapper{
  display: flex;
  flex-direction: column-reverse;
}

#kontakt svg{
  margin-top: 2px;
}

.k-info h2{
  text-transform: uppercase;
  font-size: 2em;
  font-weight: 900;
}

.k-info p{
  font-weight: 400;
}

.k-info a{
  color:#0F4880;
  text-decoration: none;
}

.map iframe{
  width: 400px;
  height: 300px;
}

#content li{
  font-size: 15px;
  font-family: 'Roboto';
  font-weight: 300;
  margin-bottom: 1em;
}

#content p{
  font-size: 16px;
}

#content i{
  font-size: 13px;
}

/* Footer */
#footer{
  background: #39404D;
  padding: 1em 0 2em;
  color: white;
}

#footer p{
  font-size: 16px;
}

#footer .wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#footer ul{
  list-style-type: none;
  padding-left: 0;
}
#footer li {
  margin-bottom: 1em;
}

#footer ul > li > a{
  color: #F5D549;
}


.some ion-icon{
  font-size: 32px;
  margin: 10px;
}


@media screen and (min-width: 768px) {
	/* Alt der ændres i tablet stående fra mobil */
}

@media screen and (min-width: 992px) {
.intro p{
  width: 50%;
}

.nav{
  display: flex;
}

.navbar ion-icon{
  display: none;
}

#om-section .wrapper{
    flex-direction: row;
    text-align: left;
  }
.om-tekst{
  width: 55%
}
.om-img{
  width: 40%;
}

.events{
grid-template-columns: repeat(4, 1fr);
}

article{

  border: 5px solid white;
  border-right: none;
  border-bottom: 5px solid white;
}

article:nth-last-of-type(1){
  border-right: 5px solid white;
}

.nyheder{
  flex-direction: row;
}

#tilmeld-section > div > div {
    flex-direction: row;
}

#tilmeld-section > div > div > p{
  text-align: left;
}

#footer .wrapper{
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
}

#footer .some{
  align-items: center;
}

#kontakt .wrapper{
  flex-direction: row;
}

.k-info{
  padding: 3em;
}

.map iframe{
  width: 600px;
  height: 450px;
}

}

@media screen and (min-width: 1200px) {
  .intro{
    text-align: left;
    align-items: flex-start;
  }

  .intro p{
    width: 41%;
  }



}
