/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

:root {
        --color-fondo-nav: #BB93B6;
        --color-fondo-hover: #8B6A95;
        --color-fondo-submenu: #BB93B6;
        --color-texto: white;
         --color-borde-submenu: #BB93B6;
} /* verde #31661E y amarillo #EFB62B lila #E0C9D9*/ 

html{
    background-color: #f1e8e9;
    background-image: url("./images/bg.gif");
    background-repeat: repeat;
    background-size: 12%;
    cursor: url("./images/cow.png"), default;
    cursor: url("./images/cow.png"), pointer;
    height: auto; 
    width: 100%; 
    margin: 0;
}

.link:hover { 
    cursor:url("./images/cow.png"), auto; 
}

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: auto;
    width: 60%;
    background-color: #f1e8e9;
    font-family: "Averia Sans Libre", serif;
    font-weight: 300;
    font-style: normal;
}

header{
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: #f1e8e9;
}

h1 {
    margin: 1%; 
    text-align: center; 
    color: #aa80c5;
}


img {
    max-width: 100%;
    height: auto;
    border: none;
}

p a {
    color: #31661E;
}

mark {
    background-color: #9bb9a9;
}

.img-post {
    max-width: 40%;
    margin: 6px;
    float: right;
}

.body {
    align-items: center;
    overflow: auto;
}

details {
    background-color: #F5EEEF;
    border: solid 2px #e8ce8e;
    padding: 20px;
    margin: 15px;
    border-radius: 10px;
    width: 120vh;
}

summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 28px;
    color: #8b6a95;
}

.favsong {
    float: right;
    padding: 10px;
    margin: 6px;
}

#home {
    max-width: 100%;
    height: auto;
    border: none;
}

#aguwus {
    max-width: 60%;
    height: auto;
    border: none;
}

header > a {
    max-width: 38%;
}

#encabezado {
    max-width: 62%;
}

#botones {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    max-width: 100%;
}
/* home */
#actualizaciones {
    max-width: 30%;
}

#welcome {
    max-width: 60%;
    align-items: center;
}

#inicio {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
}

#inicio > section {
    margin: 0.5%;
}

#nuevo {
    height: 20vh;
    overflow-y: scroll;
}

#biografia {
    width: 60%;
    margin: 1%;
}

#retrato {
    width: auto;
    height: min-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cajon {
    display: flex;
    flex-direction: column;
    width: 40%;
    align-items: stretch;
    justify-content: space-evenly;
}

#sobremi {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: stretch;
}

#next {
    max-width: 55%;
    height: min-content;
}

#recs {
    max-width: auto;
}

#google > section {
    max-width: 43%; 
    max-height: 40vh;
    overflow-y: auto;
    margin: 2%;
}

#google {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#smokebert {
  display: flex;
  margin: auto;
  max-height: 30%;
  max-width: 30%;
}

div.scroll-container {
  background-color: #faf6f7;
  overflow: auto;
  white-space: nowrap;
  padding: 10px;
}

div.scroll-container img {
  padding: 10px;
}

.spoiler{
    background-color: #e1ddde;
    color: transparent;
    user-select: none;
}

.spoiler:hover{
    background-color: inherit;
    color: inherit;
}

main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

section {
    background-color: #faf6f7;
    border: solid 2px #EFB62B;
    padding: 10px;
    margin: 2%;
}

.barra {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 25px;
    font-family: "Averia Sans Libre", serif;
    font-weight: 300;
    font-style: italic;
}

.barra > span {
    font-size: 18px;
}

.selected {
    background-color: var(--color-fondo-hover);
}

nav, table, section, li {
    border-radius: 10px;
    font-family: "Averia Sans Libre", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
}

table {
    margin: 10px;
}

table, th, td {
  border: 1px; 
  border-radius: 10px;
  border-color: #EFB62B;
}

td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    width: 33%;
    vertical-align:baseline;
}
 
th {
    background-color: #E0C9D9;
    padding: 8px;
    border: 1px solid #ddd;
    width: 33%;
    text-align: center;    
}

nav {
    background-color: var(--color-fondo-nav);
    padding: 10px;
}

 nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center; 
    justify-content: space-between;
}

nav a {
    padding: 5px;
    text-decoration: none;
    color: var(--color-texto);
    border-radius: 10px;
    display: block;
}

nav > ul > li{
    position: relative;
    text-decoration: none;
    color: var(--color-texto);
    padding: 10px 15px;
    display: block;
}

nav a:hover {
    background-color: var(--color-fondo-hover);
}

nav ul ul {
    display: none;
    position: absolute;
    background-color: var(--color-fondo-submenu);
    list-style: none;
    margin: 0;
    padding: 0;
    top: 100%;
    left: 0;
    border: 1px solid var(--color-borde-submenu);
}

nav ul > li:hover > ul {
    display: block;
}

nav ul ul li {
    width: 200px; /* Ajusta el ancho del submenú */
}

nav ul ul a {
    color: var(--color-texto);
    padding: 10px 15px;
    display: block;
}

nav ul ul a:hover {
    background-color: var(--color-fondo-hover);
}

footer a {
    color: #31661E;
}

/* -------------------------------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------------------------------- */

/*@media (max-width: 1630px) {
body {
    width: 80%;                      
}

nav, table, section, li {
    font-size: 16px;
}

}

/* CSS Code for devices < 800px */
/*
@media (max-width: 800px) {
html{
    background-size: 30%;

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: auto;
    width: 100%;
    background-color: #f1e8e9;
    font-family: "Averia Sans Libre", serif;
    font-weight: 300;
    font-style: normal;
    min-height: 100vh;
}

header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #f1e8e9;
}

h1 {
    margin: 20px; 
    text-align: center; 
    color: #aa80c5;
}


img {
    max-width: 100%;
    height: auto;
    border: none;
}

p a {
    color: #31661E;
}

.img-post {
    max-width: 300px;
    float: right;
    margin: 6px;
}

.favsong {
    float: right;
    padding: 10px;
    margin: 6px;
}

#home {
    max-width: 25vw;
    height: auto;
    border: none;
}

#nuevo {
  max-width: 100%;
  overflow-y: auto;
}

#inicio {
  max-height: fit-content;
  display: flex;
 flex-direction: column;
}


#aguwus {
    max-width: 10vh;
    height: auto;
    border: none;
}

#actualizaciones {
    max-width: 100%;
    height: fit-content;
}

#maki {
    max-width: 200px;
    height: auto;
    margin: 10px;
}

#biografia {
    width: 100%;
}

#retrato {
    width: 100%;
    height: min-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#next {
    width: 100%;
    max-width:100%;
    height: min-content;
}

#recs {
    max-width: 100%;
}

#google > section {
    width: 100%;
    max-width: 100%;
    max-height: 40vh;
    overflow-y: auto;
}

#google {
  display: flex;
  flex-direction: row;
  justify-content: left;
}

.spoiler{
    background-color: gray;
    color: transparent;
    user-select: none;
}

.spoiler:hover{
    background-color: inherit;
    color: inherit;
}

main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

section {
    background-color: #f0f0f0;
    border: solid 2px #EFB62B;
    padding: 10px;
    margin: 20px;
}

.barra {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.barra-title {
    font-size: 25px;
    font-family: "Averia Sans Libre", serif;
    font-weight: 300;
    font-style: italic;
}

.selected {
    background-color: var(--color-fondo-hover);
}

nav, table, section, li {
    border-radius: 10px;
    font-family: "Averia Sans Libre", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
}

table {
    margin: 0px;
}

table, th, td {
  border: 1px; 
  border-radius: 10px;
  border-color: #EFB62B;
}

td {
    border: 1px solid #ddd;
    padding: 2px;
    text-align: left;
    width: 33%;
    vertical-align:baseline;
}
 
th {
    background-color: #E0C9D9;
    padding: 0px;
    border: 1px solid #ddd;
    width: 33%;
    text-align: center;    
}
td>ul{
  padding-inline-start:16px;
}

nav {
    background-color: var(--color-fondo-nav);
    padding: 2px;
}

 nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center; 
}

nav a {
    padding: 2px 6px;
    text-decoration: none;
    color: var(--color-texto);
    border-radius: 10px;
    display: block;
}

nav > ul > li{
    position: relative;
    text-decoration: none;
    color: var(--color-texto);
    padding: 2px 6px;
    display: block;
}

nav a:hover {
    background-color: var(--color-fondo-hover);
}

nav ul ul {
    display: none;
    position: absolute;
    background-color: var(--color-fondo-submenu);
    list-style: none;
    margin: 0;
    padding: 0;
    top: 100%;
    left: 0;
    border: 1px solid var(--color-borde-submenu);
}

nav ul > li:hover > ul {
    display: block;
}

nav ul ul li {
    width: 200px; 
}

nav ul ul a {
    color: var(--color-texto);
    padding: 10px 15px;
    display: block;
}

nav ul ul a:hover {
    background-color: var(--color-fondo-hover);
}

footer a {
    color: #31661E;
}

*/


