body {
    background: url(img/bg-leggero.jpg);
    /* background-color: blue; */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Montserrat leggero (38 KB invece di 385 KB): lettere italiane e occidentali, tutti gli spessori */
@font-face {
    font-family: 'Montserrat';
    src: url(font/montserrat-latin.woff2) format('woff2');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* NAVBAR */
.header {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    background-color: #242424;
    position: fixed;
    height: 80px!important;
    overflow: hidden;
    z-index: 10;
}

.main {
    margin: 0 auto;
    display: block;
    height: 100%;
    margin-top: 60px;
}

.mainInner{
    display: table;
    height: 100%;
    width: 100%;
    text-align: center;
}

.mainInner div{
    display:table-cell;
    vertical-align: middle;
    font-size: 3em;
    font-weight: bold;
    letter-spacing: 1.25px;
}

#sidebarMenu {
    height: 100%;
    position: fixed;
    left: 0;
    width: 300px;
    margin-top: 80px;
    transform: translateX(-300px);
    transition: transform 250ms ease-in-out;
    background: #242424;
}

.sidebarMenuInner{
    margin: 0;
    padding: 0;
    color: #fff;
    text-align: center;
    margin-top: 100px;
}

.sidebarMenuInner li{
    list-style: none;
    color: #f5f5f5;
    font-weight: 400;
    padding-left: 30px; padding-right: 20px;
    padding-top: 36px; padding-bottom: 36px;
    cursor: pointer;
    transition: 0.2s all ease-in-out;
}

.sidebarMenuInner li:hover {
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    transform: translateX(10px);
}

.sidebarMenuInner .propic-li:hover {
    background: unset;
    transform: translateX(0px);
}

.sidebarMenuActive {
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
}


.sidebarMenuInner li span {
    display: block;
    font-size: 14px;
    color: #cbcbcb;
    font-weight: 300;
}

.sidebarMenuInner li a {
    color: #f5f5f5;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
}

input[type="checkbox"]:checked ~ #sidebarMenu {
    transform: translateX(0);
}

input[type=checkbox] {
    transition: all 0.3s;
    box-sizing: border-box;
}

.sidebarIconToggle {
    transition: all 0.3s;
    box-sizing: border-box;
    cursor: pointer;
    position: absolute;
    z-index: 99;
    height: 100%;
    width: 100%;
    top: 32px;
    left: 30px;
    height: 22px;
    width: 22px;
}

.spinner {
    transition: all 0.3s;
    box-sizing: border-box;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #fff;
}

.horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}

.diagonal.part-1 {
    position: relative;
    transition: all 0.3s;
    box-sizing: border-box;
    float: left;
}

.diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}

input[type=checkbox]:checked ~ .sidebarIconToggle > .horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    opacity: 0;
}

input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(135deg);
    margin-top: 8px;
}

input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(-135deg);
    margin-top: -9px;
}

.navbar-logo {
    height: 150px;
    position: absolute;
    z-index: 99;
    top: -32px;
    right: -60px;
    filter: opacity(0.2);
}

.propic {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    height: 80px; width: 80px;
    float: left;
}

.user-name {
    margin-left: 15px;
    font-family: 'GraphikBold';
}

i {
    font-size: 1.4em;
    margin-right: 10px;
}

.copy-container {
    height: 100%;
    align-content: flex-end;
}

.copy-text {
    color: #cbcbcb;
    padding-left: 30px;
}

#openSidebarMenu {
    display: none;
}

/* FINE NAVBAR */

* {font-family: 'Montserrat';}
h1,h2,h3,h4,h5,h6 {font-family: 'Montserrat'; letter-spacing: 0.5px;}

.home-container {
    /* height: 100vh; */
    padding-top: 100px;
}

h1 {
    font-size: 2.8em;
    line-height: 50px;
    letter-spacing: -2px;
    font-weight: 700;
}

.logo {
    height: 80px;
    margin-top: 1.4em;
    margin-bottom: 1.4em;
}

.footer-text {
    padding-bottom: 3em;
    letter-spacing: -0.1px;
    text-align: center;
    font-size: 0.9em;
}

.karaoke-form {
    font-size: 1.1em;
}

label {
    margin-left: 0.5em;
    color: #fff;
}

.karaoke-input {
    margin: 0.5em;
    padding: 1em 2em;
    border-radius: 30px;
    margin-bottom: 1.6em;
}

.karaoke-submit {
    margin: 1em auto;
    text-align: center;
    background: #242424;
    /* background: linear-gradient(60deg, #00ead9 0%, #ffa303 100%); */
    border-radius: 30px;
    padding: 1.2em 3.2em;
    width: 60%;
    color: white !important;
    font-weight: 700;
}

a, a:hover, a:active, a:focus {
    text-decoration: none;
    text-transform: none;
    color: black;
}

#banner {
    position: fixed;
    bottom: 0;
}

#banner img {
    width: 100%;
}


/* ADMIN */

.grid {display: grid;}

input {border: 0!important;}

.table-text {
    vertical-align: middle;
}

.refresh-button {
    width: 100%;
    margin: 1em auto;
    padding: 1em 2em;
}

.settings-button {
    width: 100%;
    margin: 1em auto auto;
    padding: 1em;
    background-color: #3a4eaa;
}

.settings-button a {
    color: #fff;
}

.swal2-actions button {
    width: 150px;
}

.yes-no-button {
    margin: 0.5em;
    width: 200px;
    min-height: 50px;
    padding: 0;
}

@media (min-width: 767px) {
    .action-button {
        padding: 1em 2em;
        margin: 0.5em;
        min-height: 50px;
    }

    .swal2-actions button {
        width: 170px;
    }
}

.icon {
    filter: invert(1);
    height: 20px;
}

.label-impostazioni {
    padding: 1.2em 0em 0.4em 0em;
    color: white;
}

.input-impostazioni {
    padding: 1.2em 2em 1.2em 2em;
}


/*  HELP */

/* Stile generale per i tasti radio personalizzati */
.custom-radio {
    display: none; /* Nascondi l'input radio predefinito */
}

/* Stile del contenitore dei tasti radio personalizzati */
.radio-button {
    display: inline-block;
    width: 100%;
    background-color: #4317865a;
    text-align: center;
    cursor: pointer;
    margin-top: 10px;
    margin-left: 0;
    padding: 20px;
    border: 3px solid #661cd65a;
    border-radius: 50px;
}

/* Stile quando l'input radio è selezionato */
.custom-radio:checked + .radio-button {
    background-color: #3498db;
    color: #fff;
    border: 3px solid #2980b9;
}

.help-canzone {
    font-weight: 600;
}

.help-cantante {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8em;
}

.table-song-card {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
}

.table-song-card tr td {
    padding: 16px;
}

.table-song-card tr td:nth-child(2) {
    width: 70%;
}

.name {
    font-weight: 700;
    font-size: 1.2em;
}

.social-name {
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8em;
    margin-bottom: 10px;
}

.table-swiped {
    transform: translateX(-50px); /* Sposta la tabella di 50px verso sinistra */
    transition: transform 0.2s ease-in-out;
}

#btnTutorial {
    display: inline-block;
    position: relative;
    z-index: 99;
    height: 36px; width: 36px;
    border-radius: 50%;
    color: #661cd65a;
    background-color: white;
    text-align: center;
    font-style: normal;
    font-weight: 600;
}

/* MODAL */
.modal {
    display: block;
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 300px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
  }

  .modal img {
    height: 100px;
    margin: 0 auto;
  }
  
  /* Modal Content */
  .modal-content {
    background-color: #242424;
    margin: auto;
    padding: 40px;
    width: 60%;
    border: none;
    color: #ffffff;
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    color: #ffffff;
    float: right;
    right: 40px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
 
  @media (max-width: 767px) {
 
    .modal {
       padding-top: 50px;
    }
 
    .modal-content {
     padding: 35px;
     width: 90%;
     margin-bottom: 80px;
    }
  }

.custom-radio {
    display: flex;
    flex-direction: row;
}

.circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4317865a;
    border: 3px solid #661cd65a;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    text-align: center;
    padding-top: 4%;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked + .circle {
    background-color: #3498db;
    border: 3px solid #3498db;
}

.swal-input {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
}

.delete-button {
    border-radius: 15px;
    height: 30px;
    width: 30px;
    text-align: center;
    color: white;
    line-height: 28px;
}