/*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;
}

h3 {
    color: #000033;
    font-size: 1.6rem;
    cursor: default;
}

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

h1 {
  cursor: default;
}

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

/*=======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 {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 800px;
}

/*=======FILTER==================================*/
#opskrift-liste {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    justify-content: center;
  }
  
  .opskriftCard {
    display: none;
    margin: 2em;
  }

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

  .opskriftCard p, .btn-fav {
    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;
  }

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

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

  .btn-fav:hover {
    color: #cc4e4a;
  }
  
  .full {
    color: #cc4e4a;
    display: none;
  }

  .show {
    display: block;
  }
  
 
  .btn {
    background: #b62e2e;
    border: none;
    padding: 7px 20px;
    font-size: 1.3rem;
    border-radius: 15px;
    color: #fff7f9;
    margin-top: 1.6em;
    cursor: pointer;
  }
  
  .btn:hover {
    opacity: 0.8;
  }

  .btn.active {
    background-color: #000033;
    color: #fff7f9;
  }

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

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

.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: #000033;
}