@import url('https://fonts.googleapis.com/css2?family=Grenze:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Grenze", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

header {
    background-color: white;
    border: 2px solid #33333362;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    padding: 1.5rem 1rem;
    z-index: 100;
}

nav ul {
    display: flex;
    list-style-type: none;
    justify-content: end;
    align-items: center;
}

nav ul li {
    padding: 0 2%;
    font-size: clamp(0.75rem, 1.75vw, 1.25rem);
}

nav ul li:first-child {
    margin-right: auto;
}

a {
    text-decoration: none;
    color: black;
}

a:hover,
a:focus {
    text-decoration: underline;
}

a:active {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.homelink {
    font-size: 2rem;
}

.graybackground {
    background-color: #f4f4f4;
}

img {
    user-select: none;
}

.hero {
    display: grid;
    grid-auto-columns: 2fr 1fr;
    grid-auto-rows: auto;
    justify-items: center;
    align-items: center;
    padding: 8rem 2rem;
    background-image: url(../img/carti-publicate.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    gap: 1em;
    grid-template-areas:
        "hero-left hero-right";

}

@media(max-width: 976px) {
    .hero {
        grid-template-areas:
            "hero-left"
            "hero-right";
    }
}

.hero-item {
    border-radius: 2rem;
    color: rgb(0, 0, 0);
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 2rem);

}

div.hero-item {
    padding: 2%;
    border-top: 1px solid rgba(255, 255, 255, 0.192);
    border-right: 1px solid rgba(255, 255, 255, 0.192);
    background-color: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(10px);
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

.img-hero-item {
    display: block;
    width: 100%;
    border-radius: 2rem;
    border: 1px solid #33333362;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h1 {
    padding-bottom: 0.5rem;
    font-size: clamp(2rem, 7vw, 4.5rem);
    text-align: center;
}


article li {
    border-bottom: 1px solid #33333362;
    padding: 1rem;
    list-style-type: none;
}

article li:last-child {
    border-bottom: none;
}


article.remove-padding h3 {
    font-size: 1.5rem;
    border-radius: 2rem 2rem 0 0;
    border-bottom: 1px solid #33333362;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0;
    padding: 1rem 0.5rem;
    background: whitesmoke;
}


.article-title {
    font-size: 1.25rem;
    position: sticky;
    top: 85px;
    text-align: center;
    padding: 1.5rem 3rem;
    background-color: white;
    border: 1px solid #33333362;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    z-index: 10;
}



footer {
    font-family: 'Times New Roman', Times, serif;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    padding: 3rem;
    border: 1px solid #33333362;
    text-align: center;
}

.remove-padding {
    padding: 0;
}

.layout {
    columns: 600px;
}

.layout-item {
    border-radius: 2rem;
    display: inline-block;
    width: 100%;
    margin: 1em 0;
    text-align: center;
    border: 1px solid #33333362;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #e2e2e2;
}

.artworks {
    width: 100%;
    border: 1px solid #33333362;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 1em 0;
}

.anchor-link-adjust {
    scroll-margin-top: 85px;
}

.glow {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

table tr td {
    padding: 0.25rem 0.75rem;
    text-align: left;
}