*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background-image: url("imagenes/patron.jpeg");
  background-repeat: repeat;
  background-size: 30px 30px;
  font-family: "MS PGothic", arial, sans-serif;
  cursor: url(imagenes/cursor/IMG_4137.GIF), auto;
  }

#container {
  max-width: 100%;
  width: 740px;
  margin: 30px auto 150px auto;
  padding: 5px;
  display: grid;
  grid-template-columns: 180px 1fr 175px;
  grid-template-rows: 110px auto auto 220px 180px auto auto;
  gap: 7px;
  box-sizing: border-box;
}

.vacio {
  grid-column: 1 / 4;
  grid-row: 1 /2;
  }
  
.header {
  grid-column: 1 / 4;
  grid-row: 2 / 3;
  background-image: url("imagenes/IMG_4123.GIF");
  width: auto;
  height: 190px;
  border: 2.5px solid rgba(211, 201, 225, 1);
  border-radius: 20px;
  background-repeat: no-repeat;
  background-size: cover;
}

.icon {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

.pfp {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
}
  
.pfp img {
  width: 190px;
  height: auto;
  object-fit: cover;
  filter: drop-shadow(0 8px 12px rgba(30,0,0,0.4));
}

.pfp h1 {
  margin: 0;
  border: 0;
  padding: 0 0 0 0;
  font-size: 54px;
  font-family: "arial narrow", "arial";
  color: orange;
  -webkit-text-stroke: 1px rgba(215, 20, 130, 0.3);
  text-shadow: 0 0 18px white;
}

.pfp p {
  width: 277px;
  height: 25px;
  margin: 0;
  border: 0;
  padding: 0 6px 0 6px;
  font-size: 17px;
  background-color: rgba(255, 100, 210, 0.55);
  border-radius: 5px;
  color: white;
  text-shadow: 0 0 0.02em gray;
} 

.banner {
  grid-column: 1 / 4;
  grid-row: 3 / 4;
  margin: 2px;
  padding: 1px;
  border-width:6px;
  border-style:solid;
  border-image: url("imagenes/biscuit.gif") 7 fill round;
  display: flex;
  justify-content: center;
}

.banner p {
  color: #b57e5f;
  margin: 0;
  padding: 0 0 2px 0;
  font-size: 13.5px;
  text-shadow: 0 0 3px rgba(255,255,255,0.5);
  border: none;
  }
  
.caja1 {
  grid-column: 1 / 2;
  grid-row: 4 / 5;
  background-color: #ac84d7;
  display: flex;
  justify-content: center;
  flex-direction: column;
  border: 2.5px ridge #c8acf0;
  border-radius: 10px;
}

.perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.perfil img {
  width: 140px;
  height: 140px;
  margin: 2px;
  border-width:8px;
  border-style:solid;
  border-image: url("imagenes/marco.png") 8 fill round;
}

.usuario {
  display: flex;
  align-content: center;
  padding: 4px 5px 3px 5px;
}

.usuario img {
  width: 18px;
  height: 18px;
  border-style: none;
  margin: 0;
}
  
.usuario h3 {
 font-size: 20px;
 color: white;
 font-weight: bold;
 text-shadow: 0 0 3px rgba(255,255,255,0.5);
 margin: 0;
 padding: 0 0 0 5px;
}

.perfil p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #d3c9e1;
}
  
.caja2 {
  grid-column: 1 / 2;
  grid-row: 5 / 7;
  border: 4px dotted #71bf72;
  border-radius: 10px;
  background-color: #98c9cc;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.contenido2 {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
}

.contenido2 img {
  filter: drop-shadow(0 4px 8px rgba(30,0,0,0.4));
  padding: 5px 0;
  margin: -2px;
  width: 175px;
}

.contenido2 h2 {
  margin: 0;
  padding: 0 15px;
  font-style: italic;
  color: white;
  text-shadow: 0 0 3px rgba(0,0,0,0.4);
}

.contenido2 ul {
  list-style-type: lower-roman;
  padding: 0;
  margin: 8px 0 12px 0;
  font-size: 15px;
  color: #5170ff;
  padding-left: 0;
}

.contenido2 li {
  margin-bottom: 1px;
  padding-left: 8px;
}

.caja2 a {
  color: #5170ff;
  font-weight: 500;
}

.calendario {
  width: 100%;
  grid-column: 3 / 4;
  grid-row: 4 / 5;
  display: flex;
  justify-content: center; 
  align-items: center;
}

.calendario iframe {
  overflow: hidden;
  width: 173px;
  height: 211px;
  background-color: #fbe;
  padding: 0;
  border: 0;
  display: flex;
  justify-content: center; 
  align-items: center;
  }

.caja3 {
  grid-column: 3 / 4;
  grid-row: 5 / 6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.iii img {
  filter: drop-shadow(0 2px 4px rgba(30,0,0,0.4));
  padding: 0;
  width: 187px;
  margin: -8px -5px 5px -1px;
}

#reloj {
  width: 150px;
  font-family: "arial narrow", "arial";
  font-style: italic;
  font-size: 22px;
  font-weight: bold;
  color: #f4f8ff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  padding: 5px 4px;
  margin: 0 15px;
  background: linear-gradient(to bottom, #d8ecff 0%, #b7d3ee 40%, #8fb5db 70%, #6f9dcb 100%);
  border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: 50px;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.9), inset 0 -3px 6px rgba(0,0,0,0.2), 0 3px 6px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}

.caja-brillo {
  background: #ffd6ec;
  width: 150px;
  padding: 5px 10px 2px 10px;
  margin: 10px;
  border: 2px dotted orange;
  border-radius: 20px;
  box-shadow: 0 0 12px #ffb3e6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.caja-brillo button {
  background: #feb5dc;
  border: 1.5px dotted #ff2cae;
  color: #ff2cae;
  padding: 4px 6px;
  margin: 0;
  border-radius: 35px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 13px;
  font-style: italic;
  font-weight: bold;
  white-space: nowrap;
}

.caja-brillo button:hover {
  transform: scale(1.05);
  background: #ff6fbf;
  color: pink;
}

#estrellas-contenedor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.estrella {
  position: absolute;
  font-size: 20px;
  animation: flotar 2s ease-out forwards;
  color: hotpink;
}

@keyframes flotar {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-80px) scale(1.6);
  }
}

.caja-brillo p {
 padding: 2px;
 margin: 1px;
 color: #ff2cae;
 font-size: 13px;
}

.caja4 {
  grid-column: 3 / 4;
  grid-row: 6 / 7;
  width: 100%;
}

.caja4 img {
  filter: drop-shadow(0 2px 4px rgba(30,0,0,0.4));
  width: 170px;
  padding: 0;
  margin: 3px 0;
  display: block;
}

.centro {
  grid-column: 2 / 3;
  grid-row: 4 / 6;
  background-color: #fbb2d9;
  border: 3px dotted #ff2cae;
  border-radius: 10px;
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
}

.titulo {
  display: flex;
  align-content: center;
  align-items: center;
  padding: 3px;
  margin: 0 0 3px 0;
}

.titulo img {
  height: 60px;
  padding: 0;
  margin: 0;
}

.titulo h2 {
  color: white;
  text-shadow: 0 0 3px rgba(0,0,0,0.4);
  padding: 0 0 0 8px;
  margin: 0;
  font-style: italic;
}

.texto {
  display: flex;
  flex-direction: column;
}

.texto p {
  color: #ff2cae;
  font-size: 14px;
  line-height: 1.2em;
  padding-bottom: 0.5em;
  margin: 5px;
  text-align: justify;
}

.footer {
  grid-column: 2 / 3;
  grid-row: 6 / 7;
  position: relative;
  display: inline-block;
}

.footer img {
  display: block;
  width: 100%;
}

.footer p {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-66%, -50%);
  width: 230px;
  color: chocolate;
}

::selection {
  color: red;
  background-color: #fbb2d9;
}













