@charset "utf-8";

/* ====================================================================
   1. STILI BASE E STRUTTURA GLOBALE
   ==================================================================== */
html, body {
    background-color: #11191f !important;
    color: #fff !important;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: Arial, sans-serif;
    text-align: left;
}

body, caption, th { text-align: left; }
*, blockquote, body, dd, div, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, html, input, li, ol, p, pre, ul { margin: 0; padding: 0; }
body, header, section { background-color: #11191f; }
h1, h2 { font-style: normal; }
address, caption, cite, code, h1, h2, h3, h4, h5, h6, pre, th { font-size: 1em; font-weight: 400; font-style: normal; }
h3, p { font-size: 1.1em; }
ol, ul { list-style: none; }
fieldset, img { border: 0; }

header { 
    position: relative; 
    width: 100%; 
    height: auto; 
    margin: 0 auto; 
}

section { 
    padding: 1.5em; 
    clear: both; 
    background-color: #11191f; 
}

.container {
    height: auto !important;
    margin: 0 auto;
    overflow: hidden;
}

h1 { font-weight: 700; color: red; font-size: 2em; padding-bottom: .3em; }
h2, h3, p { font-weight: 400; color: #ccc; }
p { padding-bottom: .5em; line-height: 1.2; }
a { color: #ccc; text-decoration: none; }
a:hover { color: red; text-decoration: underline; }


/* ====================================================================
   2. STILI SPECIFICI PER ARCHIVIO.PHP
   ==================================================================== */
.archivio-container { 
    width: 90%; 
    max-width: 1000px; 
    margin: 20px auto; 
    text-align: left; 
}

.categoria-blocco { 
    margin-bottom: 30px; 
    background: #222; 
    padding: 20px; 
    border-radius: 6px; 
    border: 1px solid #444; 
}

.categoria-blocco h2 { 
    color: #ffcc00; 
    font-family: 'Oswald', sans-serif; 
    margin-top: 0; 
    border-bottom: 1px solid #444; 
    padding-bottom: 8px; 
}

.archivio-lista { 
    list-style-type: none; 
    padding: 0; 
    margin: 0; 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 10px; 
}

.archivio-lista li a { 
    color: #fff; 
    text-decoration: none; 
    display: block; 
    padding: 6px 8px; 
    background: #1a1a1a; 
    border-radius: 4px; 
    transition: background 0.2s, color 0.2s; 
}

.archivio-lista li a:hover { 
    background: #ffcc00; 
    color: #000; 
}


/* ====================================================================
   3. MEDIA QUERY (Posizionamento logo e testo identico a contatti)
   ==================================================================== */

/* --- Smartphone (0px - 480px) --- */
@media only screen and (min-width: 0px) and (max-width: 480px) {
    h2, h3 { color: #ccc; }
    .logo, .testo_logo { position: absolute; left: 15%; z-index: 10; }
    #menuDemo, h3 { text-align: left; }
    body { font: .85em/1.35 Arial, "sans-serif"; letter-spacing: .06em; }
    .testo_logo, h3 { font-family: Arial; }
    #menuDemo { position: fixed; left: 2%; top: 3vw; z-index: 999999990; }
    h1 { font-size: 1.5em; padding-bottom: .3em; }
    h2 { font-size: 1.2em; }
    h3 { font-weight: 400; font-size: 1.3em; padding-bottom: .4em; }
    ul { list-style: circle; }
    p { font-size: 1.2em; }
    .logo { width: 40%; top: 8vw; }
    .testo_logo { font-size: 5vw; top: 26vw; color: #fff; text-shadow: -2px 0 #000, 0 2px #000, 2px 0 #000, 0 -2px #000; }
}

/* --- Tablet verticali (481px - 800px) --- */
@media only screen and (min-width: 481px) and (max-width: 800px) {
    #menuDemo, h3 { text-align: left; }
    .logo, .testo_logo { position: absolute; }
    body { font: .8em/1.25 Arial, "sans-serif"; letter-spacing: .06em; }
    #menuDemo { position: fixed; left: 2%; top: 3vw; z-index: 999999990; }
    h1 { font-size: 1.5em; padding-bottom: .3em; }
    h2 { font-size: 2vw; }
    h3 { font-family: Arial; color: #ccc; font-weight: 400; font-size: 1.4em; padding-bottom: .4em; }
    ul { list-style: circle; }
    .container { max-width: 100%; min-width: 481px; }
    .logo { width: 28%; top: 6vw; left: 13%; z-index: 10; }
    .testo_logo { font-size: 3.8vw; top: 10vw; right: 5vw; z-index: 10; font-family: Arial; color: #fff; text-shadow: -2px 0 #000, 0 2px #000, 2px 0 #000, 0 -2px #000; }
}

/* --- Tablet orizzontali e Laptop (801px - 1280px) --- */
@media only screen and (min-width: 801px) and (max-width: 1280px) {
    .testo_logo { position: absolute; z-index: 10; color: #fff; text-shadow: -2px 0 #000, 0 2px #000, 2px 0 #000, 0 -2px #000; }
    #menuDemo, h3 { text-align: left; }
    body { font: 15px/1.25 Arial, "sans-serif"; letter-spacing: .07em; }
    h1 { font-size: 2em; }
    .testo_logo, h3 { font-family: Arial; }
    #menuDemo { position: fixed; left: 2%; top: 3vw; z-index: 999999990; }
    .container { max-width: 100%; min-width: 801px; }
    h1 { padding-bottom: .3em; }
    h2 { font-size: 1.1em; }
    h3 { color: #ccc; font-weight: 400; font-size: 1.2em; padding-bottom: .4em; }
    ul { list-style: circle; }
    .logo { position: absolute; width: 30%; top: .3vw; left: 9%; z-index: 10; }
    .testo_logo { font-size: 4vw; top: 5vw; right: 4vw; }
}

/* --- Desktop (oltre 1281px) --- */
@media only screen and (min-width: 1281px) {
    #menuDemo, h3 { text-align: left; }
    .testo_logo { position: absolute; z-index: 10; color: #fff; text-shadow: -2px 0 #000, 0 2px #000, 2px 0 #000, 0 -2px #000; }
    body { font-family: 16px/1.8 Arial; letter-spacing: .08em; }
    .testo_logo, h3 { font-family: Arial; }
    #menuDemo { position: fixed; left: 2%; top: 2%; z-index: 999999990; }
    .container { max-width: 100%; min-width: 1281px; }
    h1 { font-size: 2em; padding-bottom: .3em; }
    h2, p { font-size: 1em; }
    h3 { color: #ccc; font-weight: 400; font-size: 1.3em; padding-bottom: .4em; }
    ul { list-style: circle; }
    .logo { position: absolute; width: 30%; top: .5vw; left: 8%; z-index: 10; }
    .testo_logo { font-size: 3vw; top: 6vw; right: 5vw; }
}