
* {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}   

body {
    background-color: rgb(34, 30, 30);
    background-image: url("media/freccia-uds-bg.png");
    background-repeat: repeat;
    background-size: 70px 70px;
    animation: movebg 12s infinite linear;
    padding: 0;
    margin: 0;
}

#barleft {
    width: 5px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: red;
    z-index: 10;
}

#barright {
    width: 5px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background-color: red;
    z-index: 10;
}

#titlebar {
    position: static;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0);
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    max-height: 150px;
}

#titlebar > img {
    max-height: 140px;
    image-rendering:auto;
    height: 100px;
}

div:has(> #documenti) {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#documenti {
    width: 300px;
    background-color: rgba(236, 170, 190, 0.253);
    padding: 10px;
    border-radius: 10px;
    margin: 20px;
}

#documenti > p {
    font-size: 1.3rem;
    font-style: italic;
    width: 100%;
}

#documenti > * {
    margin: 10;
    margin-left: 0;
    margin-top: 0;
    display: block;
    width: 300px;
}

#documenti > a {
    margin-top: 5px;
}

#maincon {
    display: flex;
    flex-wrap: wrap;
    image-rendering: pixelated;
    justify-content: center;
    width: 100vw;
    min-height: 100vh;
    background-image: url("media/bg-patter-uds.png");
    background-repeat:repeat-y;
    background-position: center;
    position: static;
    align-items:flex-start;
    top:0
}

#mapcon {
    display: flex;
    image-rendering: auto;
    justify-content: center;
    position: relative;
    width: 100%;
}

#map {
    width: 70%;
}

#mapcon > div {
    position:absolute;
    transition: 1s;
    scale: 0.9;
}

#mapcon > div > p {
    background-color: rgba(255, 255, 255, 0.433);
    color: gray;
    font-style: italic;
    font-size: 0.7rem;
    margin: 2px;
}

#mapcon > div > a {
    background-color: rgb(0, 0, 0);
    text-align: center;
    transition: 1s;
    font-size: 0.9rem;
    scale: 1;
    color: rgb(255, 82, 82);
    padding: 3px;
    height: fit-content;
    font-weight: bolder;
    text-decoration: none;
}

#mapcon > div > a:hover {
    transition: 1s;
    color: rgb(255, 0, 0);
}

#mapcon > div:hover {
    transition: 1s;
    scale: 1.2;
}

#map-teramo {
    left: 33%;
    top: 18%;
}

#map-pescara {
    left: 39%;
    top: 31%;
}

#map-aquila {
    left: 23%;
    top: 42%;
}

#map-chieti {
    left: 52%;
    top: 43%;
}

#map-lanciano {
    left: 52%;
    top: 58%;
}

.aggiornat {
    font-size: 1.2rem;
}

#maincon > * {
    max-width: min(750px, 100vw);
}

.menu {
    display: flex;
    justify-content: space-between;
    margin-left: 120px;
    margin-right: 120px;
}

#inchiesta > p {
    font-family: "Kanit", sans-serif;
    color: black;
    margin: 20px;
    padding: 10px;
    padding-top: 4px;
    line-height: 100%;
    background-color: rgba(0, 0, 0, 0.219);
    font-size: 3.2rem;
    font-weight: 800;
    text-align: left;
}

#inchiesta > p > a {
    color: rgb(59, 3, 3)
}

#pre-header-con {
    display: flex;
    align-content: space-between;
    justify-content: space-between;
    width: 100%;
}

#pre-header {
    margin: 0px;
    margin-left: 8px;
    margin-right: 8px;
    font-size: 0.6rem;
    line-height: 100%;
    color:rgb(175, 175, 175);
    font-style: italic;
    text-align: left;
}

#footer {
    margin: 20px;
    font-size: 0.6rem;
    line-height: 100%;
    color:rgb(175, 175, 175);
    font-style: italic;
}

#footer > a {
    font-size: 0.6rem;
    line-height: 100%;
    color:rgb(175, 175, 175);
    font-style: italic;
}

p {
    font-family: "Rubik", sans-serif;
    font-size: 1.05rem;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    margin: 10px;
    color: rgb(17, 16, 16);
  }

@keyframes movebg {
    from {
        background-position: 0;
    }
    to {
        background-position: -700px -45px;
    }
}
  