html{

    max-height:100vh;
    overflow:auto;

}

/*
#backgroundLayer  {
            background-image: url(../rugback.jpg);
            background-size: cover;
            
            background-attachment: fixed;
            
            overflow:auto;
        }


.body-background {
    width: 100%;
    height: 100%;
    background-image: url(../rugback.jpg);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: opacity 0.2s ease-in-out;
    opacity: 0;
}

.body-visible {
    opacity: 1 !important;
}
*/
.background-parent {
    position: relative;
    z-index: 0;
     
}

.body-background {
    width: 100%;
    height: 100%;
    position: absolute; /* Positioned absolutely within `backgroundParent` */
    top: 0;
    left: 0;
    transition: opacity 2s ease-in-out;
    opacity: 0; /* Start invisible */
    background-size: cover;
    background-position: center;
    z-index: -2; /* Behind the content */
    
}

/* Initially, one layer is visible */
#backgroundLayer1 {
    opacity: 1;
    background-image: url(../rugback.jpg);
    animation: mymove 10s linear infinite;   
}
#mmmmmenunav{
    opacity: 1;
    background-image: url(../rugback.jpg);
    animation: mymove 10s linear infinite;   
}
@keyframes mymove {
    0% { background-position: 0 0; } 
    50% {background-position: 0px -22px;}
    100% { background-position: 0 0; }
}

#backgroundLayer3{
     width:100%;
     height:100%;
     z-index:-1;
     opacity:.0.1;
     
    
}

.backdrop-filter {
    height: 100vh;
    backdrop-filter: brightness(60%);
     
}

.content-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}



.overflow-auto{
    overflow:auto;
    max-height:85vh !important;
   }

.transparent-back{
background-color:white ;
}



#tableDiv {
    
    flex:1;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}
#tableDiv::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}

.helvetica-bold {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: bold;
}

#textarea{

    background-color:rgba(255,255,255,1);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
     
}

.has-background-half-transparent{

background-color:rgba(255,255,255,0.5);
}

.rounded-corners {
  border-radius: 6px; /* Angoli arrotondati di 10 pixel */
}

.merriweather-regular {
  font-family: "Merriweather", serif;
  font-weight: 400;
  font-style: italic;
}

.lora{
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.navbar-menu {
    justify-content: center;
}

.navbar-center .navbar-item {
    margin-right: .5rem; /* Adjust the spacing between the items as needed */
    margin-left: .5rem; /* Adjust the spacing between the items as needed */
}
#mainTitle {
  width: 7rem;
  height: 4rem;
}

/* Adjusting the size for smaller screens */
@media (max-width: 640px) { /* 640px is a common breakpoint for smartphones */
  #mainTitle {
    width: 5rem; /* Reduce the width */
    height: 3rem; /* Reduce the height */
  }

  .lord-icon {
    width: 40px; /* Smaller icon size */
    height: 3rem; /* Reduce the height */
  }
}
.newsreader-font {
  font-family: "Newsreader", serif;
  font-optical-sizing: auto;
  
  font-style: normal;
}

.type-in{
animation:typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
    overflow:hidden;
    

}
/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange; }
}
.type {

  font-family: monospace;
  color:#0000;
  background:
    linear-gradient(-90deg, #2e0101 5px,#0000 0) 10px 0,
    linear-gradient(#2e0101 0 0) 0 0;
  background-size:calc(var(--n)*1ch) 200%;
  -webkit-background-clip:padding-box,text;
  background-clip:padding-box,text;
  background-repeat:no-repeat; 
  animation: 
    b .7s infinite steps(1),   
    t calc(var(--n)*.01s) steps(var(--n)) forwards;
}
@keyframes t{
  from {background-size:0 200%}
}
@keyframes b{
  50% {background-position:0 -100%,0 0}
}

/* Fullscreen Styles for Navbar */
.navbar-expanded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    //z-index: 1000; /* Ensure it overlays other content */
    padding: 2rem;
    flex-wrap: wrap;
}

.section-visible {
    display: block !important;
}

.section-hidden {
    display: none !important;
}

