@media (min-width: 1400px) {
    main,
    header,
    #main-navbar {
      padding-left: 240px!important;
    }
}

.table > thead > tr > th {
    border-bottom-width: 2px!important;
}
.table > :not(:last-child) > :last-child > * {
    border-bottom-color: inherit;
}

body{
    background-color: #000000;
}

.divider:after,
.divider:before {
content: "";
flex: 1;
height: 1px;
background: #2d2d2d;
}
.h-custom {
height: calc(100% - 73px);
}
@media (max-width: 450px) {
.h-custom {
height: 100%;
}
}







.sidenav{
backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.35) !important;
    position: fixed!important;
    top: 0!important;
    height: calc(100vh - 60px)!important;
    margin-top: 30px;
    margin-bottom: 30px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    overflow-y: scroll; /* Rendi lo scorrimento verticale */

}

.sidenav-item{
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    margin: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.sidenav-item:hover, .sidenav-item:active, ripple-surface-primary{
    background-color: rgba(255, 255, 255, 0.65);
    border-radius: 15px;
    margin: 10px;
}
.collapse{
    padding-bottom: 5px;
}

body{
    background-image: linear-gradient(60deg, #3d3393 0%, #2b76b9 37%, #2cacd1 65%, #35eb93 100%);
    backdrop-filter: blur(5px);
    height:100%;
    background-attachment: fixed!important; /* Imposta lo sfondo fisso */

}




.card{
    background-color: rgba(255, 255, 255, 0.6) !important;
    border-radius: 15px!important;

}

.navbar{
    box-shadow:none!important;
}

.btn{
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2) !important;
    border-radius:15px!important;
}


.bulb-blink {
    animation: blink 1s infinite alternate;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}
.animazione-divertente {
    animation: explode 0.5s linear;
    transform-origin: center;
    color: red;

}

@keyframes explode {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}


#gameboard {
    display: flex;
    flex-wrap: wrap;
    width: 300px;
    height: 300px;
    margin: auto;
    border: 2px solid black;
    box-sizing: border-box;
}
.square {
    width: 98px;
    height: 98px;
    border: 1px solid black;
    box-sizing: border-box;
    font-size: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.earthquake {
    position: relative;
    animation: shake 0.5s linear 100;
}

@keyframes shake {
    0% {transform: translate(0, 0) rotate(0);}
    2% {transform: translate(-2px, -2px) rotate(-1deg);}
    4% {transform: translate(2px, -2px) rotate(1deg);}
    6% {transform: translate(-2px, 0px) rotate(0deg);}
    8% {transform: translate(2px, 2px) rotate(1deg);}
    10% {transform: translate(-2px, 2px) rotate(-1deg);}
    12% {transform: translate(0, 0) rotate(0);}
    100% {transform: translate(0, 0) rotate(0);}
}






