:root {

    /* clr = color */
    --clr-bg: #f5f5f5;
    --clr-text: #413F45;
    --clr-hr: #BD1622;
    --clr-acc: #E6DCBF;

    /* ff = font family */
    --ff-family: 'Raleway', Helvetica, sans-serif;

    /* fs = font size */
    --fs-h1: 2.5rem;
    --fs-h2: 2rem;
    --fs-body: 1.5rem;

    /* ls = letter spacing */
    --ls-generel: .05rem;

    /* lh = line height */
    --lh-generel: 1.3rem
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: var(--ls-general);
    line-height: var(--lh-generel);
    color: var(--clr-text);
    text-decoration: none;
    font-family: var(--ff-family);
}

body {
    background-color: var(--clr-bg);
}


/* ---------- HEADER + NAVBAR START ------------ */

/* Gammel header start */

/* .logo-img {
    height: 65px;
  }
  
  .top-nav{
    display: grid;
    grid-template-columns: repeat(5, 150px);
    justify-content: space-around;
    align-items: center;
    grid-gap: 10px;
    height: 100px;
    text-align:center;
    font-family: "raleway", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .top-nav a{
    padding-top: 10px;
    transition: 0.4s;
    text-decoration: none;
    text-align:center;
    width: 100px;
  }
  
  .navbar {
    color: #413f45;
    padding: 16px;
    font-size: 16px;
    border: none;
  }
  
  .button:hover {
    background-color: #e6dcbf;
    border-radius: 35px;
    cursor: pointer;
  }
  
  
  .button {
      color: #413f45;
      padding: 0 8px;
      font-size: 16px;
      height: 50px;
      border: none;
      background-color:#f5f5f5 ;
      font-family: "raleway", sans-serif;
      font-weight: 400;
      font-style: normal;
  } */

  /* Gammel header end */

  /* Ny header start */

  .top-nav {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    height: 80px;
  }
  
  .logo-wrapper,
  .logo-wrapper a,
  .login-wrapper,
  .login-wrapper a {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .logo-img {
    width: 65px;
  }
  
  .login-icon {
    width: 40px;
    padding: 5px 10px;
  }
  
  .nav-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  
  .nav-link {
    padding: 5px 8px;
  }
  
  .nav-link:hover,
  .login-icon:hover {
    background-color: var(--clr-acc);
    border-radius: 35px;
  }

  /* Ny header end */
  
  div[data-hero-wrapper] {
    filter: opacity(50%);
  }
  
  img[data-hero-img] {
    width: 100%;
  }
  
/* ---------- HEADER + NAVBAR END ------------ */



/* --------------------- MAIN START ------------------------ */


.title-btn-filter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}


.btn-wrapper, .search-wrapper {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    width: 75%;
}

input[data-search] {
    border-radius: 20px;
    border: none;
    height: 2rem;
    width: 200px;
    box-shadow: 0 3px 6px var(--clr-text);
}


div[data-filter-btn] {
    width: 200px;
    padding: 5px 20px;
    border-radius: 35px;
    background-color: var(--clr-text);
    color: var(--clr-bg);
    margin: 10px auto;
    font-size: 20px;
    box-shadow: 0px 3px 6px var(--clr-text);
    text-align: center;
}

div[data-filter-btn]:hover {
 cursor: pointer;
}

/* .active {
    
} */

.user-cards {
    width: 75%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 300px);
    gap: 2.5rem;
    margin-top: 1rem;
    margin: 5rem auto;
}

.card {
    background-color: white;
    border-radius: 20px;
    background-size: 500px;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 3px 6px var(--clr-text);
    transition: 1s ease;
}

.card:hover {
    transform: scale(1.01);
}

div[data-opskrift-card-filter] {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.7);
    border-radius: 20px;
    transition: 1s ease;
}

div[data-opskrift-card-filter]:hover {
    background-color: rgba(255,255,255,.5)
}

div[data-opskrift-card-text-btn-wrapper] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2[data-opskrift-card-header] {
    text-align: center;
    height: 3.5rem;
}

div[data-opskrift-card-btn] {
    width: 150px;
    padding: 5px 20px;
    border-radius: 35px;
    background-color: #413F45;
    color: white;
    font-size: 20px;
    box-shadow: 0 3px 6px var(--clr-text);
}

div[data-opskrift-card-btn]:hover {
    cursor: pointer;
}

.hide {
    display: none;
}

/* ---- OVERLAYS START ---- */

.overlay {
    position: fixed;
    width: 100%;
    /* height: 100%; */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    overflow: scroll;
}

/* #overlayramen {
    position: fixed;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px #ccc;
    z-index: 9999;
    display: none;
    width: 90%;
    max-width: 90%;
    max-height: 100%;
    overflow-y: auto;
    border-radius: 35px;
} */

.opskrift-wrapper {
    position: absolute;
    margin: 100px;
    background-color: #ffffff;
    border-radius: 35px;
}

.ramen {
    row-gap: 3rem;
    margin: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: 
    'overskrift overskrift overskrift'
    'ingredienser billede billede'
    'fremgang fremgang fremgang';
}

.tilbage img {
    width: 8%;
    float: left;
    margin-left: -120px;
    margin-top: -10px;
}

.overskrift {
    text-align: center;
    grid-area: overskrift;
}

.overskrift h1 {
    font-size: 30px;
    margin-bottom: 20px;
    /* margin-top: -70px; */
}

.overskrift p {
    line-height: 24px;
}

aside[data-img-antal] {
    grid-area: billede;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.ingredienser {
    grid-area: ingredienser;
}

.ingredienser h3 {
    font-size: 27px;
}

 .ingredienser h6 {
    font-size: 17px;
    margin-top: 12px;
 }

 .ingredienser li{
    list-style-type: none;
    margin-left: 10px;
    padding-top: 6px;
 }

/* aside {
    width: 70%;
    padding-left: 15px;
    margin-left: 15px;
    float: right;
} */

aside h6 {
    float: right;
    font-size: 17px;
}

#ramen-kylling {
    width: 90%;
    border: solid lightgrey 1px;
    /* float: right; */
    border-radius: 20px;
}

.fremgang {
    grid-area: fremgang;
}

.fremgang h3 {
    font-size: 27px;
}

.fremgang p {
    line-height: 30px;
    margin-top: 10px;
}


/* ---- OVERLAYS END ---- */



/* -------------------------- MAIN END ------------------------ */









/* ------------- HR START -------------- */

hr[data-hr] {
    border: 2px solid var(--clr-hr);
    width: 90%;
    margin: 30px auto;
}

/* ------------- HR START -------------- */


/* ------------- FOOTER START -------------- */

footer {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 300px));
    justify-content: space-between;
    grid-template-areas: 
    "contact . bowl"
    ". copyright .";
}

.contact-footer {
    grid-area: contact;
    margin-left: 15%;
}

.bowl-footer {
    grid-area: bowl;
    justify-self: end;
    margin-right: 15%;
}

.copy-footer {
    grid-area: copyright;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 15px 0;
}

img[data-contact-icon] {
    width: 35px;
}

img[data-footer-bowl] {
    width: 150px;
    /* transform: rotate(20deg); */
}

/* --------- FOOTER END -------------- */