body {
    background-color: #ffefd5;
    font-family: "Bebas Neue", sans-serif;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 750px;
    margin: 30px auto;
    background-color: #fffaf0;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

h1 {
    color: navy;
    border-bottom: 2px solid navy;
    padding-bottom: 8px;
}

h2 {
    color: darkblue;
    margin-top: 30px;
}

p {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 15px;
}

a {
    color: #1a5276;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: navy;
    text-decoration: underline;
}

img {
    max-width: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.poster-card {
    position: relative;
    display: inline-block;
    margin: 0 14px;
    border-radius: 8px;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffefd5;
}

.poster-card img {
    max-width: 250px;
    border-radius: 8px;
    display: block;
    backface-visibility: hidden;
}

.alt-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 10px;
    font-size: 13px;
    text-align: center;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.poster-card:hover {
    transform: scale(1.2);
    z-index: 100;
}

.poster-card:hover .alt-text {
    transform: translateY(0);
    transition-delay: 0s;
}

footer, hr + p {
    margin-top: 40px;
    font-size: 0.85rem;
    color: #666;
    border-top: 1px solid #e8dbcc;
    padding-top: 15px;
}

.music {
    max-width: 1000px;
    max-height: max-content;
}

.profile {
    max-width: 500px;
    max-height: 750px;
}

.table {
    border: 3px;
    border-style: solid;
    border-radius: 5px;
    border-spacing: 4px;
}

.intable {
    border: 3px;
    border-style: solid;
    border-radius: 3px;
    border-spacing: 1px;
    text-align: center;
}

input, textarea, select {
    border-radius: 4px;
    padding: 4px;
    margin: 0 0 7px 0;
}

label {
    display: inline-block;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

button {
    background-color: #4a90e2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background-color: #357abd;
}

.textlabel {
    display: block;
}

.radio-look {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #555;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    background-color: #fff;
    margin-right: 3px;
}

.radio-look:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    background-color: #007bff;
    border-radius: 50%;
}

.main-nav {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    width: fit-content;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 2px 0 0 0;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: start;
}

.main-nav a {
    text-decoration: none;
    color: #1a5276;
    font-weight: 500;
    font-family: system-ui, sans-serif;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.main-nav a:hover {
    color: navy;
    background-color: #f0f4f8;
}

.song-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #18181b;
    padding: 10px;
    border-radius: 10px;
    width: 300px;
    cursor: pointer;
    color: #fff;
    font-family: sans-serif;
    margin-bottom: 12px;
}

.song-card audio {
    display: none;
}

.thumbnail-container {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.2s;
}

.song-card:hover .play-overlay {
    opacity: 1;
}

.song-info h3 {
    font-size: 14px;
    margin: 0 0 4px 0;
}

.song-info p {
    font-size: 12px;
    color: #a1a1aa;
    margin: 0;
}

.song-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.play-toggle:checked ~ .thumbnail-container .play-overlay .icon-path {
    d: path("M9,16h2V8H9v8Zm4,0h2V8H13v8Zm-1,6q-2.07,0-3.9-0.79q-1.82-0.79-3.17-2.14Q3.58,17.73 2.79,15.9T2,12Q2,9.92 2.79,8.1Q3.58,6.27 4.93,4.93Q6.28,3.57 8.1,2.79Q9.93,2 12,2t3.9,0.79t3.17,2.14q1.35,1.35 2.14,3.17Q22,9.92 22,12t-0.79,3.9t-2.14,3.17q-1.35,1.35-3.17,2.14T12,22Zm0-2q3.35,0 5.68-2.32T20,12T17.68,6.32T12,4T6.33,6.32T4,12t2.33,5.68T12,20Zm0-8Z");
}

.play-toggle:checked ~ .thumbnail-container .play-overlay {
    opacity: 1;
}

.after-poster {
    padding-top: 20px;
}

/*EJERCICIO 2*/
.titulo-seccion {
    color: navy;
    font-size: large;
}

.destacado {
    background-color: rgb(255, 217, 155);
    font-weight: bold;
}

.texto-secundario {
    color: gray;
    font-size: smaller;
}