@font-face {
    font-family:corbel;
    src: url(fonts/CORBEL.TTF);
}

@font-face {
    font-family:corbel-light;
    src: url(fonts/corbeli.ttf);
}

@font-face {
    font-family: vogue-light;
    src: url(fonts/vogue-avant-garde-light.otf);
}

@font-face {
    font-family: vogue-book;
    src: url(fonts/vogue-avant-garde-book.otf);
}

@font-face {
    font-family: vogue-bold;
    src: url(fonts/vogue-avant-garde-bold.otf);
}

@font-face {
    font-family: vogue-medium;
    src: url(fonts/vogue-avant-garde-medium.otf)
}

.header {
    background-color: black; 
    color: white; 
    padding: 0.625rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  
  a{
    text-decoration: none;
    color: inherit;
  }
  .navbar {
    position: relative;
    top: 6.2rem;
    z-index: 999; /* Ensure it's on top of other elements */
    background-color: #333; /* Ensure the navbar has a visible background */
    color: white;
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex; /* Horizontal navigation */
    justify-content: space-around;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.625rem 1.25rem;
}

  .search-container {
    flex-basis: 15%; 
  }
  
  .logo-container {
    flex-basis: 70%; 
    text-align: center;
    width: 1rem; 
    height: auto;
  }
  
  .logo-image {
    width: 20rem; 
    height: auto; 
    padding-right: 1rem;
  }

  .loop-image{
    width: 2rem; 
    height: auto;
    padding-left: 1.5rem;
  }
  
  .auth-links {
    font-weight: 400;
    flex-basis: 15%;
    text-align: right;
    padding-right: 1.5rem;
  }
  
  .auth-links a {
    font-family: vogue-book;
    font-weight: 500;
    margin-left: 0.6rem;
    color: white; 
    text-decoration: none;
  }
  
  .search-bar {
    display: none;
  }

body{
    display: block;
    margin: 0%;
}

.separator {
    margin: 1.2rem;
    color: white; 
  }

   /* NAVBAR CSS */

   header .logo {
    font-weight: bolder;
    font-size: 5rem;
    color: #333;
}


.navbar{
    font-family: vogue-light;
    font-weight: 100;
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    margin-bottom: 3rem;
    box-shadow: 0.1rem 0.1rem #c8bfbf; 
    
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding-left: 8rem;
}

.navbar ul li {
    position: relative;
    margin: 0 8rem;

}

.navbar ul li ul {
    position: absolute;
    top: 100%; /* Position the dropdown directly below the parent */
    left: 0; /* Align with the left edge of the parent li */
    width: 15rem;
    background: #fff;
    display: none; /* Hidden by default */
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.navbar ul li a {
    text-decoration: none;
    font-size: 1.4rem;
    padding: 0.1rem;
    color: #333;
    display: block;
}

.navbar ul li a:hover {
    background: #918080;
    color: #fff;
}

header .navbar ul li ul {
    position: absolute;
    left: 0;
    width: 13rem;
    background: #ffffff;
    display: none;
    padding: 0.3rem;
}

header .navbar ul li ul li {
    width: 100%;
    border-top: 0.1rem solid rgba(0,0,0,0.1);
    margin: 0.5rem;
}

header .navbar ul li ul li ul {
    left: 13rem;
    top:0;
}


header .navbar ul li:focus-within > ul,
header .navbar ul li:hover > ul {
    display: block;
}

#menu-bar {
    display: none;
}

header label {
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    display: none;
}
/*PARAGRAPHS*/

p{
    font-family: vogue-light;
}

#p1{
    text-align: center;
}
 h1{
        font-size: 2rem;
        font-family: vogue-book;
        text-align: center;
    }

h2{
    font-family: vogue-book;
    font-weight: 400;
    text-align: center;
}

h3{
        font-size: large;
        font-family: vogue-book;
        text-decoration: none;
    }

@media(max-width:61.938rem){


    header {
        padding: 2rem;
    }
    
    header label {
        display: block;
    }

.navbar{
        position: absolute;
        top: 100%;
        left:0;
        right:0;
        background: #fff;
        border-top: 0.1rem solid rgba(0,0,0,0.1);
        display: none;
    }

.navbar ul li {
        width: 100%;
    }

.navbar ul li ul {
        position: relative;
        width: 100%;
    }

.navbar ul li ul li {
        background: #eee;
    }

.navbar ul li ul li ul {
        width: 100%;
        left:0;
    }

    #menu-bar:checked ~ .navbar {
        display: block;
    }

}

 /* Grid */
 .grid-containers {
    display: grid;
    grid-template-columns: repeat(25, 1fr);
    grid-template-rows: repeat(29, 1fr);
    grid-column-gap: 4rem;
    grid-row-gap: 0.5rem;
    width: 150rem;
    height: 155rem;
    }
    
    .medium-billede1 { grid-area: 2 / 2 / 6 / 6; }
    .medium-billede1-text { grid-area: 6 / 2 / 13 / 6; }
    .medium-billede2 { grid-area: 9 / 2 / 13 / 6; }
    .medium-billede2-text { grid-area: 13 / 2 / 25 / 6; }
    .stort-billede { grid-area: 2 / 6 / 14 / 15; }
    .stort-billede-text { grid-area: 14 / 7 / 29 / 14; }
    .lillebillede-text1 { grid-area: 2 / 15 / 5 / 18; 
    text-decoration: none;
    color: black;
    }
    .lillebillede-text2 { grid-area: 4 / 15 / 9 / 18; }
    .lillebillede-text3 { grid-area: 6 / 15 / 13 / 18; }
    .lillebillede-text4 { grid-area: 8 / 15 / 17 / 18; }
    .lillebillede-text5 { grid-area: 10 / 15 / 21 / 18; }
    .lillebillede-text6 { grid-area: 12 / 15 / 25 / 18; }
    .lillebillede1 { grid-area: 2 / 18 / 4 / 20; }
    .lillebillede2 { grid-area: 4 / 18 / 6 / 20; }
    .lillebillede3 { grid-area: 6 / 18 / 8 / 20; }
    .lillebillede4 { grid-area: 8 / 18 / 10 / 20; }
    .lillebillede5 { grid-area: 10 / 18 / 12 / 20; }
    .lillebillede6 { grid-area: 12 / 18 / 14 / 20; }

    .lytmere {grid-area: 18 / 4 / 19/ 17 ; 
    background-color:  white;
    background-image: url(images/podcasts.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    }

    .carousel-container {grid-area: 27 / 2 / 21 /20 ;
    background-image: url(images/pictureee.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    }

    .carousel-container2 {
        width: 90rem;
        padding-left: 15rem;
        }

.main-img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            overflow: hidden;
        }



.must-read{
        margin-top: 10rem;
    }

.button1{
background-color: black;
color: white;
margin-left: 58rem;
margin-top: 2rem;
box-shadow: none;
border: none;

}
aside{
    width: 40rem;
    padding-left: 40rem;
    margin-bottom: 5rem;
    }

    .footer {
        display: grid;
        grid-template-columns: 2fr repeat(2, 1fr);
        grid-template-rows: 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        background-color: black;
        }
        
        .logo1 { grid-area: 1 / 1 / 2 / 2;
        margin: 3rem;

        }
        .mereom { grid-area: 1 / 2 / 2 / 3; }
        .kontakt { grid-area: 1 / 3 / 2 / 4; }

.footer p{
    color: white;
}




/* ARTIKEL CSS*/
.artikel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(9, 1fr);
    grid-column-gap: 5rem;
    grid-row-gap: 0px;
    width: 118rem;
    }
    
    .text { grid-area: 1 / 1 / 6 / 4; 
    margin-top: 15rem;
    }
    .foto { grid-area: 1 / 4 / 3 / 6;
    padding-right: 15rem;
    margin-top: 10rem;
    }
    .artikel { grid-area: 3 / 2 / 16 / 5;
    margin-left: 7rem;
    margin-top: 15rem;
    padding-bottom: 7rem;
}
    .afspiller { grid-area: 3 / 1 / 8 / 5;}

.a-photo{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}

#a-p{
    text-align: center;
    color:#918080;
    font-weight: 600;
    letter-spacing: 0.3rem;
}

#a-p2{
    text-align: center;
    font-family: vogue-book;
    color:#c8bfbf;
    font-weight: 300;
    font-size: 1.3rem;
    letter-spacing: 0.3rem;
}

#a-h1{
font-family: vogue-light;
font-size: 3.5rem;
letter-spacing: 0.5rem;
}

#a-h2{
font-size: 2rem;
letter-spacing: 0.5rem;
}

.afspilleren{
text-align: center;
background-image: url(images/tegnebræt.jpg);
background-position: center;
margin-top: 7rem;
border-radius: 1.5rem;
}

#p-ar{
    font-family: corbel;
    font-weight: 100;
    font-size: 1.3rem;
    line-height: 2.2rem;
    letter-spacing: 0.02rem;
}

#h2-ar{
    text-align: left;
    font-family: vogue-bold;
    font-weight: 600;
    letter-spacing: 0.2rem;
    margin-bottom: 3rem;
}

#h3-ar{
    text-align: left;
    font-family: vogue-book;
    font-weight: 800;
    letter-spacing: 0.2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

/* TOP10 CSS */

.podcast{
    margin-left:10rem ;
    margin-right: 10rem;
}
.podcast1 {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 10rem;
    align-content: stretch;
    flex-wrap: wrap;
}
.podcast1 p{
text-align: right;
   font-size: 1.2rem;
   margin-right: 1rem;
}

.podcast3{
    text-align: center;
    font-size: 1.2rem;
    margin-top:3rem ;
    margin-bottom: 12rem;
    }

.h2-por{
    text-align: right;
    font-family: vogue-book;
    font-size: 2.3rem;
    margin-right: 1rem;
}

.h2-pol{
    text-align: left;
    font-family: vogue-book;
    font-size: 2.3rem;
    margin-left: -2rem;
}

.podcast1 img{
    width: 20rem;
    margin: 0;
    box-shadow: 0.2rem 0.2rem #333;
    }

.podcast2 {
    display: flex;
    justify-content: space-around;
    flex-direction: row-reverse;
    align-items: flex-start;
    margin-top: 10rem;
    align-content: stretch;
    flex-wrap: wrap;
    }

.podcast2 p{
    text-align: left;
    font-size: 1.2rem;
    margin-left: -2rem;
    }

.podcast2 img{
 width: 20rem;
 box-shadow: 0.2rem 0.2rem #333;
}

.intro-podcast img{
    width: 35rem;
    margin-top: 7rem;
    margin-left: 10rem;
}

.intro-podcast {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    align-items: center;
    margin-left: 12rem;
}

/* Texts justering*/
.p-i1{
    text-align: center;
    margin-bottom: -3.5rem;
    margin-top: 4rem;
    color: #918080;
    font-family: vogue-medium;
}

.h1-i{
text-align: center;
font-size: 4rem;
font-family: vogue-light;
letter-spacing: 0.5rem;
}

.h2-i{
text-align: center;  
font-size: 2.5rem;
margin-top:  -3.5rem;
letter-spacing: 0.5rem;
font-family: vogue-book;
}

.h3-i{
text-align: center;
font-size: 1.5rem;
letter-spacing: 0.3rem;
font-family: vogue-light;
}

.h3-ii{
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.3rem;
    font-family: vogue-light;
    margin-top: 8rem;
    }

.p-i2{
    text-align: center;
    margin-bottom: -1.5rem;
    margin-top: 2rem;
    color: #918080;
    font-family: vogue-medium;
}

.lydfil{
    text-align: center;
    background-color: #918080;
    background-position: center;
    margin-top: 10rem;
    border-radius: 1.5rem;
    
}

.tier-list{
    margin-bottom: 10rem;
}