/*Farver
Rød: #b62e2e
Lys rød: #cc4e4a
Blå: #000033
Off-White: #fff7f9 rgb(255, 247, 249)

Font: 
font-family: 'Montserrat', sans-serif;
*/

* {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #fff7f9;
}

/*=======FÆLLES==================================*/

p {
  color: #000033;
  cursor: default;
}

h1 {
  cursor: default;
  font-size: 2.5rem;
  text-align: center;
  padding-bottom: 1em;
  color: #000033;
}

h3 {
  color: #000033;
  font-size: 1em;
  text-align: center;
  margin-bottom: 10px;
  font-weight: normal;
}

h2 {
  font-size: 2em;
  text-align: center;
  margin-bottom: 2em;
  cursor: default;
  color: #000033;
}

h4 {
  color: #fff7f9;
  font-weight: lighter;
  font-size: 1.2rem;
  padding-bottom: 0.8em;
  cursor: default;
  font-weight: 500;
}

a {
  text-decoration: none;
  cursor: pointer;
}

/*=======PRELOADER==================================*/

#preloader {
  background: #fff7f9 url(../img/loading.gif) no-repeat center;
  background-size: 30%;
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 100;
}

/*=======HEADER==================================*/

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1;
    background: #fff7f9;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#logo img {
    width: 90px;
    padding: 10px;
}

.icon {
    height: 35px;
}

.nav-list {
    list-style: none;
    padding-right: 20px;
}

.nav-list li {
    display: inline;
    padding: 0 10px;
    
}

#text-nav .nav-list li a {
    text-decoration: none;
    color: #000033;
    font-size: 1.4rem;
    font-weight: 500;
}

.nav-list li a:hover {
    opacity: 0.6;
}

/*=================MAIN========================*/

main {
  min-height: 800px;
}

/*=================FAVORITTER========================*/

.start p {
    text-align: center;
    font-size: 1em;
    margin-bottom: 1em;
}

  .opskriftCard {
    margin-left: 13em;
    margin-top: 1.5em;
  }

  .opskriftCard img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
  }

  .opskriftCard p, .opskriftCard button {
    position: absolute;
  }

  .opskriftCard p {
    background: rgb(255, 247, 249, 0.7);
    font-size: 1.8rem;
    width: 300px;
    text-align: center;
    margin-top: 2.6em;
    padding: 0.2em 0;
    cursor: pointer;
    color: black;
  }

  .btn-fav {
    background: transparent;
    border: none;
    color: #cc4e4a;
    margin: 11.5em 0 0 19em;
    cursor: pointer;
  }

  .btn-fav i {
    font-size: 2.5rem;
  }

  .btn-fav:hover {
    color: #fff7f9;
  }

  .bg-wrap {
    background-image: url(../img/bg-blå.png);
    background-size: cover;
    width: auto;
    background-position: top;
    background-repeat: no-repeat;
  }

/*=======FOOTER==================================*/
footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 1.6em 4em;
}

.footer-content {
    display: flex;
    flex-direction: column;
    color: white;
}

.footer-content a {
    text-decoration: none;
    color: #fff7f9;
    padding-bottom: 0.5em;
}

.footer-content p {
    color: #fff7f9;
    padding-bottom: 0.5em;
}

.some {
    font-size: 1.8rem;
    margin-right: 0.5em;
}

.some:hover {
  color: #b62e2e;
}