* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}
body {
    height: 100vh;
    background-image: url(tree.jpg);
}
#doc_content {
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;

}
section {
    height: calc(50% - 5px);
    border-radius: 20px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex: calc(33% - 20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#tiempo {
    flex-grow: 1;
    flex-basis: 50vh;
    padding: 20px;
    flex-direction: column;
}

#tiempo h1 {
    font-family: Arial, sans-serif;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.ldt {
    position: relative;
    width: 300px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 10px;
    border-width: 4px;
    border-color: #000000;
    border-style: solid;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
}

.ldt:hover {
    transform: scale(1.2); /* Incrementa el tamaño en 50% */
    box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.3);
}

.exptiempo {
    transition: transform 0s ease;
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    object-fit: contain;
    z-index: 1000;
    border-radius: 0px;
    border-width: 0px;
    border-style: none;
}

.exptiempo:hover {
    transform: scale(1); /* Incrementa el tamaño en 50% */
    box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.3);
}

.exptiempo-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

#trailer {
    flex-grow: 100;
    flex-basis: 50vh;
    padding: 10px;
}

#trailer video{
    height: 100%;
    border-radius: 20px;
    box-shadow: 0px 0px 30px rgba(0, 0, 0);
}

#investigacion {
    flex-grow: 1;
    flex-basis: 50vh;
    padding: 20px;
}

#investigacion img {
    width: 100%;
    filter: invert(1);
}

#recursos {
    flex-grow: 20;
    padding: 10px;
    justify-content: space-around;
}

.exp{
    border-radius: 20px;
    height: 100%;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.exp-title {
    opacity: 1;
    writing-mode: vertical-rl;
    text-align: center;
    transform: rotate(180deg);
    transition: background 0.5s ease, letter-spacing 0.5s ease;
    letter-spacing: normal;  
}

.exp-title:hover {
    background: rgba(255, 255, 255, 0.2); /* Fondo más claro al hover */
    letter-spacing: 4px;
}

.exp-content {
    padding: 20px;
    text-align: left;
    top: 0px;
    opacity: 0;
    visibility: hidden;
    display: none;
}

.exp-exit {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 60px;
    height: 60px;
    z-index: 2;
}

label {
    display: block;
}

.expanded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: default;
    overflow: auto;
    align-items: start;
}

.exp-title {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.expanded .exp-title {
    opacity: 0;
    display: none;
}

.expanded .exp-content {
    opacity: 1;
    visibility: visible;
    display: block;
}

#relacionados {
    flex-grow: 1;
    display: block;
    overflow: auto;
    text-align: left;
    padding: 20px;
}

#relacionados > h1 {
    text-align: center;
}

/*gpt*/
#relacionados h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
}

#relacionados h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

#relacionados ol {
    list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 20px;
}

#relacionados li {
    margin-bottom: 10px;
    padding: 10px;
    border-left: 3px solid #ccc;
    backdrop-filter: blur(0px);
    border-radius: 4px;
    transition: backdrop-filter 0.5s ease, border-color 0.3s ease;
}

#relacionados li:hover {
    backdrop-filter: blur(30px);
    border-color: #999;
}

#relacionados a {
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

#relacionados a:hover {
    color: #007BFF;
}

#relacionados strong {
    font-weight: bold;
}

.exp-exit {
    float: right;
    border: none;
    background-color: #ff3b3b; /* Botón rojo para cerrar */
    color: white;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s, background-color 0.2s;
}

.exp-exit:hover {
    width: 70px;
    height: 70px;
    background-color: #ff6969; /* Hover más claro */
}

h1, h2, h3 {
    margin: 10px 0;
    font-family: 'Arial', sans-serif;
    color: white;
}

.quest-doc {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid white;
    border-radius: 5px;
}

.quest-doc h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 20px;
    text-decoration: underline;
}

.quest-doc ol {
    list-style: decimal;
    padding-left: 20px;
}

.quest-doc label {
    display: block;
    margin: 5px 0;
    font-size: 14px;
    cursor: pointer;
}

.quest-doc input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.quest-doc button {
    margin-top: 15px;
    background-color: #007BFF; /* Botón azul para enviar */
    border: none;
    color: white;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.quest-doc button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.exp-content h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Destaca el título */
}

.exp-content ol {
    list-style: decimal;
    margin-left: 20px;
    padding-left: 0;
}

.exp-content ol li {
    margin-bottom: 15px;
    font-size: 1.2em;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* Suaviza las letras */
    transition: all 0.3s ease-in-out;
}

.exp-content li:hover {
    transform: scale(1.02);
}

.exp-content ol li::marker {
    color: #bb86fc    ; /* Resalta los números con un tono vibrante */
    font-size: 1.5em;
}

#investigacion {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#investigacion a {
    text-decoration: none;
    color: white;
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, background 0.3s;
}

#investigacion img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

#investigacion a:hover img {
    transform: scale(1.1); /* Efecto zoom al pasar el mouse */
}

#investigacion a:hover {
    background: rgba(255, 255, 255, 0.2); /* Fondo más claro al hover */
    padding: 10px;
    border-radius: 10px;
    transform: scale(1.05); /* Efecto de agrandamiento */
}

#investigacion p {
    margin: 0;
    font-weight: bold;
}

