/* Apply Roboto font to the entire page */
body {
    font-family: 'Roboto Mono', sans-serif;
    margin: 100px;
    display: block;
    background-color: #11151a;
    color: white;
}

td {
    /* display: table-column; */
    /* justify-content: space-between; */
}

.container-intro {
    display: flex;
    justify-content: center;
}

.container {
    width: 65%;
    max-width: 800px; /* Maximum width of the table */
    margin: 0 auto; /* Automatically adjust margins for horizontal centering */
}

h1 {
    font-size: 36pt;
    text-align: center;
    margin-bottom: 5px;
}
.update {
    text-align: center;
    margin-bottom: 100px;
    font-size: 9pt;
    color: #4A4A4D;
}

h2 {
    font-size: 28pt;  
    text-align: center;
    margin-bottom: 100px;
}

table {
    /* width: 70%; */
    border-collapse: collapse; /* Ensures the borders are collapsed */
    border-radius: 8px; /* Rounded corners for the table */
    overflow: hidden; /* Ensures the borders are clipped at corners */
    /* margin-top: 20px; */
    margin: auto;
}

/* Container for image and text */
.image-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* flex-direction: column; */
    /* display: inline-block; */
    /* background-color: rgba(255, 255, 255, 0.05); */
    padding: 50px;
    border-radius: 10px;
    /* max-width: 800px; */
    /* width: 80%; */
    margin-bottom: 120px;
}

/* Image styling */
.image-container img {
    /* display: flex; */
    width: 450px; 
    /* height: auto; */
    border-radius: 5px;
    margin-right: 20px; 
    /* margin-bottom: 10px; */
    /* vertical-align: top; */
    text-align: center;
}

/* Text content styling */
.text-content {
    /* flex: 1; */
    /* height: 100%; */
    /* display: block; */
    justify-content: center;
    /* vertical-align: top; */
    /* display: grid; */
    /* align-items: start; */
    /* display: flex; align-items: flex-start; */
    /* width: 90%; */
    text-align: center;
    margin-bottom: -30px;
}

/* Paragraphs */
.text-content p {
    /* margin: 5px 0; */
    font-size: 16px;
    /* vertical-align: top; */
}

.artist-song {
    /* display: flex;
    justify-content: space-between; */
}
.artist-name {
    font-size: 24pt;
    font-weight: 500;
    /* margin-bottom: 10px; */
    /* margin-left: 10px; */
    /* flex: 1; */
}
.song-name {
    font-style: italic;
    margin-bottom: 15px;
    margin-left: 3px;
    font-size: 18pt;
    font-weight: 5;
}
.score {
    /* margin-bottom: -60px; */
}

.stat-row {
    display: flex;
    justify-content: right;
}

.attribute-key {
    color: #4A4A4D;
    display: flex;
}

.attribute-section-title {
    font-size: 14pt;
    color: #FF446B;
    font-weight: 500;
    text-align: right;
}

.stats {
    margin-bottom: 20px;
    text-align: right;
    font-size: 13px;
}

.musica {
    margin-bottom: 20px;
    text-align: right;
    font-size: 13px;
}

.esibizione {
    margin-bottom: 20px;
    text-align: right;
    font-size: 13px;
}

.lyric_eval {
    margin-bottom: 20px;
    text-align: right;
    font-size: 13px;
}



.intro {
    text-align: center;
    width: 60%;
    display: flex;
    margin-bottom: 80px;
}

.info-icon {
    cursor: pointer;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5); /* Optional, for better readability */
    padding: 10px;
    display: none; /* Initially hidden */
  }
  
  .info-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
  }
  
  .info-icon:hover {
    background-color: rgba(255, 255, 255, 1);
  }

  .ai-score {
    font-size: 22px; 
    color: #f1a414; 
    justify-content: center;
  }


@media (max-width: 1200px) {
    .ai-score {
        font-size: 22px; 
        color: #f1a414; 
        justify-content: center;
        margin-bottom: 80px;
      }
    .container {
        /* width: 98%; */
        /* padding: 15px; */
        
    }
    li {
        font-size: 16px;
        padding: 12px;
    }

    h1 {
        /* margin: -2%; */
        /* width: 110%; */
        font-size: 24pt;
        text-align: center;
        /* margin-bottom: 80px; */
    }
    .update {
        text-align: center;
        margin-bottom: 40px;
        font-size: 9pt;
        color: #4A4A4D;
    }
    .intro {
        text-align: center;
        display: flex;
    }
    h2 {
        font-size: 20pt; 
        margin-bottom: 80px;
    }
    .rank {
        font-size: 18pt;
        margin-bottom: 20px;
    }

    body {
        /* font-family: 'Roboto Mono', sans-serif; */
        /* margin: 100px; */
        /* display: flex; */
        /* background-color: #11151a; */
        /* color: white; */
        width: 90%;
        margin: 5%;
        text-align: center;
    }

    .image-container {
        display: grid;
        align-items: center;
        padding: 5px;
        /* display: inline-block; */
        /* background-color: rgba(255, 255, 255, 0.05); */
        /* padding: 50px; */
        /* border-radius: 10px; */
        /* max-width: 800px; */
        /* width: 80%; */
        /* margin-bottom: 50px; */
        /* flex-direction: column; */
        margin-bottom: 150px;
    }
    .image {
        order: 5;
    }
    .artist-name {
        /* flex: 1; */
        order: 1;
    }

    .image-container img {
        /* display: flex; */
        width: 100%; 
        /* height: auto; */
        border-radius: 5px;
        margin-right: 20px; 
    }

    .intro {
        margin-bottom: 60px;
        width: 95%;
    }

    .score {
        margin-bottom: -60px;
    }

    .stats {
        margin-bottom: 10px;
        font-size: 8pt;
        text-align: center;
    }

    .lyric_eval {
        margin-bottom: 10px;
        font-size: 8pt;
        /* text-align: center; */
    }

    .all-stats {
        /* text-align: center; */
    }

    .musica {
        /* text-align: left; */
    }
    .stat-row {
        display: flex;
        justify-content: space-between;
    }
    .attribute-section-title {
        font-size: 14pt;
        color: #FF446B;
        font-weight: 500;
        text-align: center;
    }
    .attribute-key {
        /* color: #4A4A4D; */
        /* display: inline-block; */
        /* text-align: left; */
        justify-content: left;
        font-size: 9pt;
    }
    .attribute-val {
        /* color: #4A4A4D; */
        /* display: inline-block; */
        /* text-align: left; */
        justify-content: right;
    }

    .esibizione {
        /* text-align: center; */
    }

    .score {
        margin-bottom: 10px;
    }

    
}
