<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Styling Odd Rows with Advanced CSS</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="table-container ">
        <h1 class="table-title">Spotify Wrapped 2024</h1>
        <table class="container1">
            <thead>
                <tr>
                    <th>SONG</th>
                    <th>ARTIST</th>
                    <th>Minutes Listened</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>Until I Found You</td>
                    <td>Stephen Sanchez</td>
                    <td class="completed">1,230</td>
                </tr>
                <tr>
                    <td>Facedown</td>
                    <td>Red Jumpsuit Apparatus</td>
                    <td class="in-progress">165</td>
                </tr><tr>
                    <td>The Only Exeption</td>
                    <td>Paramore</td>
                    <td class="planning-stage">25</td>
                </tr>
            </tbody>
        </table>
		
    </div>
	
	<div class="table-container ">
        
        <table class="container2">
            <thead>
                <tr>
                    <th>Rank</th>
                    <th>ARTIST</th>
                    <th>PLAYED</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>1 </td>
                    <td>BINI</td>
                    <td class="completed">99999+</td>
                </tr>
                <tr>
                    <td>2</td>
                    <td>Linken Park</td>
                    <td class="in-progress">1502</td>
                </tr><tr>
                    <td>3</td>
                    <td>PSHS-CRC CHOIR</td>
                    <td class="planning-stage">34</td>
                </tr>
            </tbody>
        </table>
		
    </div>
</body>

<style>
/* General styling */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f9f9f9;
    color: #333;
}


.table-container {
    max-width: 600px;
    text-align: center;
	margin:auto;
}


.table-title {
    background-color: green;
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 40px;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

 th {
    background-color: #000000;
	color:white;
}

tbody tr{
	color:white;
	background-color:#4ac776;
}


.container1 tr:nth-child(odd) {
    background-color: #146542;
    transition: background-color 0.3s, color 0.3s;
}

tbody tr:hover {
    transform:scale(1.2);
	
}

.completed {
    color: lime;
    font-weight: bold;
}

.in-progress {
    color: orange;
    font-weight: bold;
}

.planning-stage {
    color: blue;
    font-weight: bold;
}

.container2{
margin-top: 20px;

}

.container2 tr:nth-child(even){
	background-color: #146542;
    transition: background-color 0.3s, color 0.3s;
}
</style>
</html>
