@font-face {
  font-family: 'Comforta';
  src: url('fonts/comforta.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'bp-dots';
  src: url('fonts/bp-dots-minus.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'pirulen';
  src: url('fonts/pirulen.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
/* sopra, font personalizzati */

@font-face {
  font-family: 'webhosting';
  src: url('fonts/webhosting.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'fs-pixel';
  src: url('fonts/fs-pixel-sans-unicode-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Elite';
  src: url('fonts/specialelite.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  width: 100%;
background-color:gray;
}


#three-columns {
  flex: 1; 
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  gap: 10px;
  margin: 10px auto;
}



#header a{
  word-spacing: 10px;
 font-family: 'webhosting';
 font-size:25px;
  text-decoration: none;
  text-shadow: 0 0 5px white;
color:white;
border-radius: 20px 20px 10px 10px;
  margin:10px;
  text-align: center;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgb(190,189,182);
 box-shadow: inset 0 -5px 10px rgba(94,91,78,0.5), inset 0 5px 10px rgba(255,255,255,0.5), 0 5px 5px rgba(255,255,255,0.3),0 -5px 10px rgba(94,91,78,0.3);
 transition: box-shadow 0.4s ease-in-out, text-shadow 0.4s ease-in-out, color 0.4s ease-in-out;
}



#header a:hover{
  word-spacing: 10px;
  font-family: 'webhosting';
  font-size:25px;
  text-decoration: none;
  box-shadow: inset 0 0 10px rgba(94,91,78,0.8),inset 0 0 0 rgba(0,0,0,0), 0 5px 5px rgba(255,255,255,0.3),0 -5px 10px rgba(94,91,78,0.3);
  color: white;
  text-shadow: 0 0 5px white;
}






 


#left-column,
#central,
#right-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  
  border-radius: 20px;
  
background-color: rgb(190,189,182);
border: 1px solid rgb(190,189,182);
box-shadow: inset 0 -5px 10px rgba(94,91,78,0.5), inset 0 5px 10px rgba(255,255,255,0.5), 0 0 10px rgba(94,91,78,0.5);
}


#left-column,
#right-column {
  min-width:250px;
  max-width: 250px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#navigation{
  border-radius: 20px 20px 10px 10px;
  font-family: 'webhosting';
  font-size:10px;
  margin:10px;
  padding:2.5px;
  background-color: rgb(190,189,182);
border: 1px solid rgb(190,189,182);
box-shadow: inset 0 0 10px rgba(94,91,78,0.5), 0 5px 10px rgba(255,255,255,0.5), 0 -5px 10px rgba(94,91,78,0.5);
}

#navigation h2{
  font-family: 'webhosting';
  font-size:13px;
  margin:5px;
  color:white; 
 text-shadow: 0 0 5px white;
  
}


#updates{
 border-radius: 20px 20px 10px 10px;
  
  margin: 10px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  height: 330px;
  
  border: 1px solid rgb(190,189,182);
  box-shadow: inset 0 0 10px rgba(94,91,78,0.5), 0 5px 10px rgba(255,255,255,0.5), 0 -5px 10px rgba(94,91,78,0.5);
}

#updates h2{
  font-family: 'webhosting';
  font-size:13px;
  margin:5px;
  color:white; 
 text-shadow: 0 0 5px white;

}

#news-box{
 background-color:rgb(240,240,240);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;                
  overflow-y: auto;
  padding:10px;
  margin-top:5px;
  
  border: 1px solid rgb(190,189,182);
box-shadow: inset 0 0 10px rgba(94,91,78,0.5), 0 5px 10px rgba(255,255,255,0.5), 0 -5px 10px rgba(94,91,78,0.5);
}

#news-box p{
  padding:8px;
  padding-top:5px;
  word-spacing: 2px;
   font-family: 'webhosting', arial;
  font-size:8px;
  border-radius: 10px 10px 10px 0;
   border: 1px solid lightgrey;
   background-color:rgb(240,240,240);
   box-shadow: inset 0 -5px 10px rgba(103,103,103,0.5), inset 0 5px 10px rgba(255,255,255,0.5), 0 5px 5px rgba(103,103,103,0.3);

}

#mood{
 border-radius: 10px 10px 10px 10px;
  
  margin: 10px;
  gap: 5px;
  padding: 5px;
justify-content: space-between;
  display: flex;
  flex-direction: column;
  
  min-height: 62px;
  
  border: 1px solid rgb(190,189,182);
  box-shadow: inset 0 0 10px rgba(94,91,78,0.5), 0 5px 10px rgba(255,255,255,0.5), 0 -5px 10px rgba(94,91,78,0.5);
}

#mood h2{
  font-family: 'webhosting';
  font-size:13px;
  margin:5px;
  flex: 1;
  color:white; 
 text-shadow: 0 0 5px white;
}


#imood{
  border-radius: 10px;
  display: flex;
   justify-content: center;
  align-items: center;
  flex-direction: column;
 
  padding:10px;
  
  margin-top: auto;
  background-color: rgb(190,189,182);
  border: 1px solid rgb(190,189,182);
box-shadow: inset 0 -5px 10px rgba(94,91,78,0.5), inset 0 5px 10px rgba(255,255,255,0.5), 0 5px 5px rgba(255,255,255,0.3),0 -5px 10px rgba(94,91,78,0.3);
transition: box-shadow 0.4s ease-in-out;
}


#imood:hover{
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  margin-top: auto;
  padding:10px;
  background-color: rgb(190,189,182);
  border: 1px solid rgb(190,189,182);
  box-shadow: inset 0 0 10px rgba(94,91,78,0.8),inset 0 0 0 rgba(0,0,0,0), 0 5px 5px rgba(255,255,255,0.3),0 -5px 10px rgba(94,91,78,0.3);
}




#stats{
 border-radius: 10px 10px 20px 20px;
  
  margin: 10px;
  
  padding: 5px;
  
  display: flex;
  flex-direction: column;
  height: 100%;
  
  border: 1px solid rgb(190,189,182);
  box-shadow: inset 0 0 10px rgba(94,91,78,0.5), 0 5px 10px rgba(255,255,255,0.5), 0 -5px 10px rgba(94,91,78,0.5);
}

#stats h2{
  font-family: 'webhosting';
  font-size:13px;
  margin:5px;
  color:white; 
 text-shadow: 0 0 5px white;
}

#visitors{
  border-radius: 10px 10px 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;                
  padding:5px;
  margin-top:5px;
  
  background-color: rgb(190,189,182);
  border: 1px solid rgb(190,189,182);
box-shadow: inset 0 -5px 10px rgba(94,91,78,0.5), inset 0 5px 10px rgba(255,255,255,0.5), 0 5px 5px rgba(255,255,255,0.3),0 -5px 10px rgba(94,91,78,0.3);
transition: box-shadow 0.4s ease-in-out;
}

#visits{
  font-family: 'webhosting';
  font-size:8px;
   color:white; 
 text-shadow: 0 0 5px white;
}

#online{
  font-family: 'webhosting';
  font-size:8px;
   color:white; 
 text-shadow: 0 0 5px white;
}


#central-text{
  border-radius: 10px 10px 20px 20px;
  background-color:blue;
  margin:10px;
  padding:10px;
  padding-bottom:22px;
  
  border: 1px solid rgb(190,189,182);
  box-shadow: inset 0 0 10px rgba(94,91,78,0.8), 0 5px 10px rgba(255,255,255,0.8), 0 -5px 10px rgba(94,91,78,0.8);
}


#central-text p{
  color:white;
  font-size:19px;
  line-height:22px;
 
  margin:5px;
  letter-spacing: 2px; word-spacing: 5px;
}

#central-text #sub-titles{
  display: inline-block;
  color:white;
  font-size:19px;
  line-height:22px;
 border: 1px solid white;
  padding:5px;
  letter-spacing: 2px; word-spacing: 5px;
}
  
#note{
  border-radius: 10px;
  background-color:blue;
  margin:10px;
  padding:10px;
  border: 1px solid rgb(190,189,182);
  box-shadow: inset 0 0 10px rgba(94,91,78,0.8), 0 5px 10px rgba(255,255,255,0.8), 0 -5px 10px rgba(94,91,78,0.8);
}

#note p{
  color:white;
  font-size:20px;
  line-height:22px;
  margin:10px;
  letter-spacing: 2px; word-spacing: 5px;
}

#website-info{
  border-radius: 10px;
  background-color:blue;
  margin:10px;
  padding:10px;
  border: 1px solid rgb(190,189,182);
  box-shadow: inset 0 0 10px rgba(94,91,78,0.8), 0 5px 10px rgba(255,255,255,0.8), 0 -5px 10px rgba(94,91,78,0.8);
}

#website-info p{
  color:white;
  font-size:20px;
  line-height:22px;
  margin:10px;
  letter-spacing: 2px; word-spacing: 5px;
}
  



#left-column h2{
  text-align: center;
}



#list{
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#list a{
  
  font-family: 'webhosting';
  font-size:8px;
text-shadow: 0 0 2px grey;
  border-radius: 10px;
 color:dimgrey; 
 text-decoration: none;
  padding:10px;
  padding-left:0px;
  padding-right:0px;
  margin:5px;
  background-color: rgb(190,189,182);
border: 1px solid rgb(190,189,182);
box-shadow: inset 0 -5px 10px rgba(94,91,78,0.5), inset 0 5px 10px rgba(255,255,255,0.5), 0 5px 5px rgba(255,255,255,0.3),0 -5px 10px rgba(94,91,78,0.3);
transition: box-shadow 0.4s ease-in-out, text-shadow 0.4s ease-in-out, color 0.4s ease-in-out;

}

#list a:visited{
  font-family: 'webhosting';
  font-size:8px;
  text-shadow: 0 0 2px grey;
  color:dimgrey; 
  text-decoration: none;
}

#list a:hover{
  
  font-family: 'webhosting';
  font-size:8px;
  border-radius: 10px;
 color:white; 
 text-shadow: 0 0 5px white;
  text-decoration: none;
  padding:10px;
  padding-left:0px;
  padding-right:0px;
  margin:5px;
  background-color: rgb(190,189,182);
border: 1px solid rgb(190,189,182);
  box-shadow: inset 0 0 10px rgba(94,91,78,0.8),inset 0 0 0 rgba(0,0,0,0), 0 5px 5px rgba(255,255,255,0.3),0 -5px 10px rgba(94,91,78,0.3);
}




#last{
  border-radius: 10px 10px 10px 10px;
  
  margin:10px;
  
  padding:2.5px;
  background-color: rgb(190,189,182);
border: 1px solid rgb(190,189,182);
box-shadow: inset 0 0 10px rgba(94,91,78,0.5), 0 5px 10px rgba(255,255,255,0.5), 0 -5px 10px rgba(94,91,78,0.5);
}

#last-modified{
  word-spacing: 5px;
  font-family: 'webhosting';
  font-size:9px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;       
  margin:2px;
  padding:5px;
  color:white; 
 text-shadow: 0 0 5px white;
  background-color: rgb(190,189,182);
  border: 1px solid rgb(190,189,182);
box-shadow: inset 0 -5px 10px rgba(94,91,78,0.5), inset 0 5px 10px rgba(255,255,255,0.5), 0 5px 5px rgba(255,255,255,0.3),0 -5px 10px rgba(94,91,78,0.3);

}

#last h2{
  font-family: 'webhosting';
  font-size:13px;
  margin:5px;
  color:white; 
 text-shadow: 0 0 5px white;
}


#email{
  
  margin:5px;
  margin-top:4px;
  margin-bottom:4px;
  padding:5px;

}

#email-me a{
  font-family: 'webhosting';
  font-size:8px;
  text-shadow: 0 0 2px grey;
color:dimgrey; 
 
  text-decoration: none;
 border-radius: 10px 10px 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;                
   padding:5px;
  margin:3px;
  background-color: rgb(190,189,182);
  border: 1px solid rgb(190,189,182);
box-shadow: inset 0 -5px 10px rgba(94,91,78,0.5), inset 0 5px 10px rgba(255,255,255,0.5), 0 5px 5px rgba(255,255,255,0.5),0 -5px 10px rgba(94,91,78,0.5);
transition: box-shadow 0.4s ease-in-out, text-shadow 0.4s ease-in-out, color 0.4s ease-in-out;
}

#email-me a:hover{
   color:white; 
 text-shadow: 0 0 5px white;
  text-decoration: none;
  border-radius: 10px 10px 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;                
  padding:5px;
  margin:3px;
  background-color: rgb(190,189,182);
  border: 1px solid rgb(190,189,182);
  box-shadow: inset 0 0 10px rgba(94,91,78,0.8),inset 0 0 0 rgba(0,0,0,0), 0 5px 5px rgba(255,255,255,0.5),0 -5px 10px rgba(94,91,78,0.5);
}


#email-me a:visited{
   color:black; 
  text-decoration: none;
}

#right-column h2{
text-align: center;
}

#central {
  
  max-width: 800px;
  flex: 2;
}

header, footer {
  width: 100%;
  text-align: center;
}

/*grazie a chat gpt per il codice sottostante*/

/* Responsive: colonne diventano verticali */
@media screen and (max-width: 900px) {
  #three-columns {
    flex-direction: column;
    width: 95%;
  }

  #left-column,
  #central,
  #right-column {
    max-width: 100%;
    margin-bottom: 10px;
    height: 100%
  }
}


/*stile barra di scorrimento*/
/*FireFox*/
#news-box {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.5) rgba(255,255,255,0.1);
}
/*Chrome, Safari, Edge*/
#news-box::-webkit-scrollbar {
  width: 8px;
}

#news-box::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

#news-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}



