/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.nav-item {
    display: inline-block;
    transition: 0.2s;

}

.nav-item:hover {
    transform: scale(1.15);
}

a:hover {
    cursor: url("images/VinylpladeMINI.png") 16 16, pointer;
}

.btn:hover,
.case:hover {
    transform: scale(1.05);
}

.footer a:hover {
    transform: translateY(-5px);  /* “hopper op” */
    cursor: url("images/VinylpladeMINI.png") 16 16, pointer;
}

.footer a:hover::after {
    width: 100%;
}

.footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.case:hover .play {
    transform: translateX(0);  /* glider ind */
    opacity: 1;
}


/* BASE */
body {
    font-family: "Helvetica Neue", sans-serif;
    background: #0b0b0b;
    color: rgb(255, 251, 255);
}

/* HEADER */
header {
    text-align: center;
    padding: 40px 20px 10px;
    font-size: 40px;
    letter-spacing: 2px;
}

/* NAVBAR */
nav {
    background: #06486a;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}


nav div {
    text-align: center;
    font-size: 16px;
}

.nav-item {
    text-decoration: none;
    color: white;
}

nav img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* HERO */
.hero {
    padding: 20px;

}

.hero h1 {
    margin-bottom: 15px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 200px;
    font-size: 20px;
}

.hero img {
    width: 100%;
    border-radius: 10px;
    margin-right: 250px;
    order: -1;
}

/* BUTTONS */
.buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn {
    background: #06486a;
    padding: 15px 60px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-size: large;
}

/* SECTIONS */
.section {
    padding: 20px;
}

.section h2 {
    margin-bottom: 15px;
}

/* CASE CARD */
.case-grid {
    display: grid;
    gap: 15px;
}

.case {
    display: flex;
    background: #06486a;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.play {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    width: 160px;
    margin-left: auto;
    font-size: large;
    transform: translateX(40px);  /* starter ude til højre */
    opacity: 0;                  /* skjult */
    transition: 0.5s ease;

}


.case img {
    width: 40%;
    object-fit: cover;
}

.case-content {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.case-title {
    font-size: xx-large;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.play {
    text-align: center;
    margin-top: 10px;
}



/* FOOTER */
footer {
    text-align: center;
    padding: 30px 10px;
    font-size: 14px;
}

footer a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}

footer img {
    width: 25px;
}

/* DESKTOP */
@media (min-width: 992px) {

    header {
        font-size: 60px;
    }

    .hero-content {
        flex-direction: row;
        align-items: center;
    }

    .hero-text {
        flex: 1;
    }

    .hero img {
        width: 300px;
        order: 0;

    }

    .case-grid {
        grid-template-columns: 1fr 1fr;
    }
}