/* di seguito i selettori di stile per ogni elemento di pagina*/

/*------CONTENITORE----------------------------------------------------------------------------*/
body {
    background-image: url("sfondo.png");
    background-color: rgb(255, 255, 235); /* colore sfondo nella'area non coperta dall'immagine*/
    background-size: 1600px 800px;
    background-repeat: no-repeat; /* Impedisce la ripetizione dell'immagine */
    background-attachment: fixed; /* Fa sì che lo sfondo non scorra con il contenuto */
 
    margin: 0px;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/*---------fascia alta per nascondere testo in scorrimento-----------------------------------------------*/
#margine_top {
    z-index: +1;
    position: fixed;
    top: 0px;
    left: 460px;
    width:810px;
    height:40px;
    background-color: #3d8585;
}
#margine_bottom {
    z-index: +1;
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 20px;
    background-color: rgb(255, 255, 235);
}

/*---------logo in alto a sinistra nella testata-----------------------------------------------*/
#logo_sito {
    position: fixed;
    top: 30px;
    left: 40px;
}

/*--------------scritta in alto a destra nella testata----------------------------------*/
#pensiero {
    z-index: +1;
    position: fixed; 
    top: 24px;
    right: 60px;
    font-family: Courier;
    font-style: italic;
    font-size: 110%;
    font-weight: normal;
    color: #FFFFEB;
}


/*---------contenitore corpo pagina---------------------------------------------------*/
#pagina {
    position: absolute;
    top: 160px;
    left: 440px;
    margin-right: 100px;
    text-align: justify;
    overflow: auto; /*se testo straborda la pagina viene gestino con una scroll bar*/
}


/*-----tipologia di lista e colore numeri nel menu centrale delle pagine indice------------------*/
.lista {
    list-style-type: decimal-leading-zero;
    color: #3d8585;
}

/*--------MENU VERTICALE--------------------------------------------------------------------------*/
#box_menu{
    top: 200px;
    left: 20px;
    position: fixed; 
}
/*righe del menu*/
.riga_menu{
    position: relative;
    display: flex;
    margin-bottom: 20px;
    opacity: 0.5;
}
/*linea colorata a lato icone*/
.barra_colorata{
    position: relative;
    width:200px;
    height:40px;
}
.icona {
    position: relative;
    left: -196px;
    width: 50px; 
    height: 40px; /* Imposta un'altezza specifica */
}
.voce_menu{
    position: relative;
    left: -180px;
    margin-top: 11px;
    font-family: Courier, ;
    color: black;
    font-size: 100%;
    font-weight: normal;
}
.color_menu_1{
   background-color: #FFFFEB;
}
.color_menu_2{
    background-color: rgba(0, 255, 255, 1);
}
.color_menu_3{
    background-color: rgba(0, 255, 0, 1);
}
.color_menu_4{
    background-color: rgba(255, 255, 0, 1);
}
.color_menu_5{
    background-color: rgba(255, 177, 0, 1);
}
.color_menu_6{
    background-color: rgba(255, 0, 0, 1);
}


/*----------------STILE FONTS------------------------------------------------------------------------*/

/*------stile indici-----------------------*/
h3 {
  color: #3d8585;
  font-family: Georgia, Times New Roman;
  font-size: 140%;
  font-weight: normal;
}

h4 {
  color: #3d8585;
  font-family: Georgia, Times New Roman;
  font-size: 120%;
  font-weight: normal;
  line-height: 0.6;
}

/*------stile testo homepage----------------*/
p {
  color: #3d8585;
  font-family: Georgia, Times New Roman;
  font-size:100;
}


/*------STILI DEI LINK---------------------------------------------------------------------------/
/*---menu di sinistra-----------*/
.link_menu:link, .link_menu:visited{
  color: black;
  text-decoration: none;
}
.link_menu:hover{
  color: black; /* Colore dei link al passaggio del mouse */
  text-decoration: none;
  opacity: 1;
  font-size: 106%;
  font-weight: 700;
}

/*---indici tematici----------------*/
.indice:link, .indice:visited{
  color: #3d8585;
  text-decoration: none;
}
.indice:hover{
  color: red;
  text-decoration: none;
}





