html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100vh;
    font-family: sans-serif;
    color: white;
}
body.body-invididual header {
    background-color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    padding: 10px;
    position: fixed; 
    top: 0;
    left: 0;
    width: 10%;
    z-index: 10;
    border-radius: 10px;
}
body.body-invididual header a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

body.body-invididual header a img {
    width: 30px;
    height: auto;
    margin-right: 5px;
}

body.body-invididual header a h3 {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin: 0;
    font-size: 1.2em;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    width: 90%; 
    max-width: 1200px; 
    padding: 20px; 
    box-sizing: border-box; 
}
main#Contraseña {
    width: 28%;
}

.dashboard-grid > h1 {
    grid-column: 1 / -1; 
    text-align: center;
    margin-bottom: 20px;
}
section {
    background-color: rgba(0, 0, 0, 0.6); 
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    color: white; 
}
.clock-section { 
    padding: 0;
    margin-bottom: 0;
    align-self: start;
}

.reloj-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: auto;
    height: auto;
    padding: 1em;
    border-radius: 10px;
}
#reloj-container .date, .time, .phrases {
    padding: 2%;
}
.date {
    margin-bottom: 1em;
}

.phrases {
    font-size: 1.5em;
    text-align: center;
    margin-top: 1em;
}


.weather-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 320px;
    height: auto;
    padding: 1em;
    border-radius: 10px;
   
}
.current-weather {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 300px;
    height: auto;
    padding: 1px;
    padding-right:11px;
    padding-left: 12px;
    border-radius: 10px;
    margin-left: 2px;
}
.current-weather h2 {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 70px;
    margin-right: 240px;
}
.current-data{
    display: flex;
}
.current-degrees img {
    width: 5em;
    height: 5em;
    margin-right: 21em;
    margin-top: 10px;
}
.current-degrees p {
    padding: 0.5em;
    margin-right: 21em;
    text-align: center;
}
.weather-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 10em;
    height: auto;
    padding: 1em;
    margin-top: 10px;
    margin-left: -290px;
}
.hourly-forecast-container{
    display: flex; 
    overflow-x: scroll;
    width: 100%;
    height: 10em;
    align-items: center;
}
.hourly-forecast {
    text-align: center;
    margin-top: 1em;
    width: 5em;
    padding: 0.5em;
}
.hourly-forecast .time {
    text-align: center;
    margin-top: 1em;
    width: 6em;
    border: none;;
}

body.body-invididual .weather-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 1em;
    border-radius: 10px;
    box-sizing: border-box;
}

body.body-invididual .current-weather-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1em;
}

body.body-invididual .current-weather-container > .current-weather {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: auto;
    height: auto;
    padding: 1em;
    border-radius: 10px;
    text-align: center;
}

body.body-invididual .current-weather-container h2 {
    margin-right: 0;
    margin-bottom: 0.5em;
}

body.body-invididual .current-weather-container .current-data {
    display: flex;
    align-items: center;
}

body.body-invididual .current-weather-container .current-degrees img {
    width: 4em;
    height: 4em;
    margin-right: 0.5em;
    margin-top: 0;
}

body.body-invididual .current-weather-container .current-degrees p {
    padding: 0;
    margin-right: 0;
    text-align: left;
    font-size: 1.5em;
}

body.body-invididual .current-weather-container .weather-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5em;
    margin-left: 0;
    text-align: center;
}

body.body-invididual .hourly-forecast-container {
    width: 100%;
    overflow-x: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(80px, 1fr);
    align-items: center;
    padding: 1em 0;
}

body.body-invididual .hourly-forecast-container > .hourly-forecast {
    text-align: center;
    margin: 0 1em;
    padding: 0.5em;
    min-width: 80px;
}
body.body-individual .hourly-forecast {
    text-align: center;
    padding: 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0; 
}

body.body-invididual .hourly-forecast-container .time {
    text-align: center;
    margin-top: 0.5em;
    width: auto;
    border: none;
    font-size: 0.9em;
}
body.body-individual .hourly-forecast img {
    width: 2.5em;
}

.password-section {
    padding: 0;
    margin-bottom: 0;
    align-self: start;
}
body.body-individual .hourly-forecast .temp {
    font-size: 1em;
}

.password-container {
    display: flex;
    flex-direction: column;
    align-items: center; 
    width: auto; 
    max-width: 300px; 
    padding: 20px; 
    border-radius: 10px;
}

#password-title {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 5px;
}
.password-input {
    display: flex;
    justify-content:space-between;
    align-items: center;
    text-align: center;
    flex-direction: column;
    margin-top: 10px;
}
.password-input input {
    width: 35px;
    text-align: center;
    padding: 5px;
    margin-bottom: 20px;
    margin-top: -3px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 85px;
    height: auto;
    background-color: #2e2a2a;
    padding: 6px;
    border-radius: 10px;
    color:#fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.display-password {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 1em;
    border-radius: 10px;
    color:#fff;
    
}
.new-password {
    margin-bottom: 12px;
}
.password-display{
    margin-bottom: 12px;

}
.recommendation {
    margin-bottom: 12px;
}



.links-section {
    padding: 0;
    margin-bottom: 0;
    align-self: start;
    width: 428px;
    margin-top: 50px;
}
.links-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 25em;
    height: auto;
    padding: 1em;
    border-radius: 10px;
}
body.body-invididual .links-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 1em
}
#dashboard-grid-links {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 100px); 
}
.storage-btn {
    width: 85px;
    height: auto;
    background-color: #2e2a2a;
    padding: 6px;
    border-radius: 10px;
    color:#fff;
    font-weight: bold;
    margin-bottom: 10px;
}
#input .escribe-url {
    width: 9em;
    padding: 5px;
    margin-bottom: 13px;
    margin-top: -3px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}
#input .escribe-nombre {
    width: 10em;
    padding: 5px;
    margin-bottom: 13px;
    margin-top: -3px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}
#links-container .title {
    margin-bottom: 10px;
}

.reloj-container {
    position: relative; 
  }
  .reloj-container a.expand-icon {
    position: absolute;
    top: 10px;
    right: 10px;
}
  .reloj-container a.expand-icon img {
    width: 25px; 
    height: auto; 
    filter: invert(100%);
  }
  
  .weather-container a.expand-icon img {
    width: 25px; 
    height: auto; 
    filter: invert(100%);
    margin-left: 290px;
  }

  .password-container a.expand-icon img {
    width: 25px; 
    height: auto; 
    filter: invert(100%);
    margin-left: 10px;
    margin-top: -3px;
  }

  .links-container a.expand-icon img {
    width: 16px; 
    height: auto; 
    filter: invert(100%);
    margin-left: 122px;
    margin-bottom: -19px;
  }

  


  footer{
  background-color: rgba(0, 0, 0, 0.6); 
  border-radius: 5px; 
  bottom: 0; 
  left: 0; 
  right: 90%; 
  position: absolute;
}
footer nav a img {
    filter: invert(100%);
}

