body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.music-player {
    align-self: flex-end;
    justify-self: flex-end;
    flex: 1;
    margin: 10px;
    margin-bottom: -30px;
    margin-top: 25px;
}

.btn {
    background-color: transparent !important;
    color: gray;
    font-size: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.5s;
    margin-top: -12px;
}

.btn-image {
    width: 15px;
}

.controls {
    display: flex;
    justify-content: flex-end;

}

.slidecontainer {
    justify-content: flex-end;
    align-self: center;
}

.slidecontainer:nth-child(1) {
    accent-color: #fff;
}

.btn:hover{
    color: black;
    transform: scale(1.25);
}

.playing{
    text-align: center;
    font-size: 15px;
    margin-bottom: -2px;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin: 0 10px;
}

header nav ul li a, header nav ul li button {
    color: #fff;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.hero {
    padding: 2rem;
    text-align: center;
    background: #e4f1fe;
    color: #333;
}

.games, .resources {
    padding: 2rem;
    text-align: center;
    background: #f4f4f4;
}

.games .game-item, .resources .resource-item {
    background: #fff;
    padding: 1rem;
    margin: 1rem auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    border-radius: 8px;
}

.games .game-item h3, .resources .resource-item h3 {
    margin: 0 0 10px 0;
}

.games .game-item button, .resources .resource-item button {
    padding: 10px 20px;
    background: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.games .game-item button:hover, .resources .resource-item button:hover {
    background: #555;
}



/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.tab {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.tab button {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: background-color 0.3s;
    font-size: 17px;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
}

.tabcontent.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-btn, .signup-btn {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.login-btn:hover, .signup-btn:hover {
    background-color: #555;
}
