/* Smykke galleri */

section#galleri-header {
    max-width: 1500px;
    margin: 7em auto 0;
    padding: 7em 145px;
}

section#galleri-header h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: #212529;
    margin-top: 0;
    text-align: center;
}

section#galleri-header hr {
    border-color: #212529;
    margin: 1em auto 6em;
}

section#galleri-header p {
    width: 68%;
    margin: 1.5em auto 0;
    font-size: 1.2rem;
    color: #212529;
}


/* Smykke katagorier */

section#galleri-cat {
    max-width: 1500px;
    margin: 0 auto;
    padding: 7em 145px 0;
    background-color: #212529;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

section#galleri-cat article {
    position: relative;
    width: 338px;
    height: 450px;
    border-radius: .6em;
    margin-bottom: 5em;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

section#galleri-cat article>a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    z-index: 100;
    cursor: pointer;
}

section#galleri-cat article img {
    position: absolute;
    width: 100%;
    height: auto;
    border-radius: .6em;
}

section#galleri-cat article svg {
    border-radius: .6em;
}

section#galleri-cat article section {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: absolute;
    bottom: 20px;
    z-index: 10;
}

section#galleri-cat article section h3 {
    color: #D3AC2B;
    font-size: 1.7rem;
    margin: 0;
    text-align: center;
}

section#galleri-cat article section div {
    position: relative;
}

section#galleri-cat article section div img {
    position: absolute;
    width: 60px;
    height: auto;
    top: -75px;
    left: 45px;
}

section#galleri-cat article section a {
    text-decoration: none;
    color: #EAEAEA;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #d3ac2bab;
    border: 2px solid transparent;
    border-radius: .4em;
    padding: 0.3em 1.1em;
    position: relative;
}

section#galleri-cat article section a:hover {
    background-color: transparent;
    border-color: #D3AC2B;
    color: #EAEAEA;
}

@media screen and (max-width: 1024px) {
    /* Galleri-header */
    section#galleri-header {
        padding: 7em 6em;
    }
    /* Galleri-category */
    section#galleri-cat {
        padding: 7em 6em 0;
    }
    section#galleri-cat>a article section h3 {
        font-size: 1.1rem;
    }
    section#galleri-cat article section a {
        font-size: 1rem;
        padding: 0.5em 1em;
    }
    section#galleri-cat article section div img {
        position: absolute;
        width: 50px;
        height: auto;
        top: -66px;
        left: 40px;
    }
}

@media screen and (max-width: 900px) {
    /* Galleri-header */
    section#galleri-header {
        padding: 7em 3em;
    }
    /* Galleri-category */
    section#galleri-cat {
        padding: 7em 1.5em 0;
    }
}

@media screen and (max-width: 440px) {
    section#galleri-header {
        padding: 7em 1em;
    }
    section#galleri-header h1 {
        font-size: 3rem;
    }
    section#galleri-cat article {
        height: 381px;
    }
    section#galleri-header hr {
        text-align: center;
    }
    section#galleri-header p {
        width: 100%;
    }
}

@media screen and (max-width: 320px) {
    section#galleri-header h1 {
        font-size: 2.3rem;
    }
    section#galleri-cat article {
        height: 381px;
    }
    section#galleri-cat article section h3 {
        font-size: 1.5rem;
    }
}