html{
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>journal theme</title>
 
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Love+Ya+Like+A+Sister&display=swap" rel="stylesheet">
 
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Karla&display=swap" rel="stylesheet">
 
<style>
 
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
 
body{
background-image: url('https://i.pinimg.com/originals/ae/5f/45/ae5f4530fc45074f9b347202171808ad.gif');
background-color: #1f1539;
margin: 7%;
font-family: 'Karla', sans-serif;
font-size: 20px;
color: #E6CBD6;
}
 
.sidebg{
background-image: url('https://i.imgur.com/WWd5ZJ1.png');
background-repeat: repeat-y;
background-position: top right;
width: 200px;
height: 100%;
position: fixed;
top: 0;
left: 0;
border: 3px solid #AEC891;
}
 
.side{
background-color: #3E5220;
width: 176px;
height: 100%;
padding: 1rem 0.5rem 1rem 1rem;
text-align: justify;
font-size: 20px;
display: flex;
flex-direction: column;
gap: 1rem;
border: 3px;
}
 
.avatar{
width: 90%;
opacity: 0.9;
border: 3px solid #AEC891;
}
 
.desc{
padding: 0.5rem;
}
 
.sideheaders{
font-family: 'Love Ya Like A Sister', serif;
font-weight: normal;
font-size: 18px;
}
 
.side ul{
padding-left: 2.5rem;
}
 
.side li{
list-style: none;
  background-image: url('list-img.gif');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 20px 20px;
  padding-left: 20px;
  font-size: 16px;
  margin-bottom: 8px;
}

 
.container{
display: flex;
flex-direction: column;
margin-left: 200px;
}
 
.headerwrapper{
display: flex;
flex-direction: row;
justify-content: space-between;
}
 
.title{
font-family: aespa;
src: url(https://dl.dropbox.com/s/gy2yvbau2ieeeng/aespa_Regular.ttf);
font-weight: normal;
color: #470A68;
font-size: 46px;
align-self: middle;
margin-left: 26rem;
}
 
.headerimg{
width: 160px;
margin-right: 0rem;
margin-bottom: 0rem;
position: relative;
z-index: 1;

}
 
.boxgap{
display: flex;
flex-direction: column;
gap: 1rem;
}
 
.box{
display: flex;
flex-direction: column;
background-color: #9077A0;
border: 3px solid #6B5370;
width: 800px;
  min-height: 150px;
  padding: 25px;
  gap: 1.5rem;  
  margin-left: 150px;
}

/* CONTENEDOR DE LA IMAGEN Y LA FECHA */
.post-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;           /* Ocupa el ancho disponible para centrar */
}

/* AQUÍ CONTROLÁS EL TAMAÑO DE LAS FOTOS */
.post-img {
  border: 3px solid #6B5370;
  
  /* CAMBIA ESTOS VALORES PARA ACHICAR O AGRANDAR LAS FOTOS */
  width: 426px;          /* Ancho de la foto (podés usar px o % ejemplo: 60%) */
  max-width: 100%;       /* Evita que la foto se salga de la caja en pantallas chicas */
  height: 500px;          /* Mantiene la proporción de la foto para que no se deforme */
  
  border-radius: 4px;    /* Un toque sutil redondeado, opcional */
}

/* LA FECHA ABAJO DE LA FOTO */
.date {
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
}
 
/* EL TEXTO DEL POST ABAJO DE TODO */
.post-text {
  padding: 0 1rem;
  text-align: center;    /* Centra el texto. Si lo querés alineado a la izquierda cambialo a "left" */
  width: 100%;
  max-width: 600px;      /* Limita el ancho del texto para que sea más cómodo de leer */
  line-height: 1.5;
  margin-left: 105px;
}
 
.icon{
border: 2px solid #6B5370;
width: 90px;
}
 
.right{
padding: 1rem;
}
 
a{
color: #E6CBD6;
text-decoration: none;
}
 
a:visited{
color: #E6CBD6;
}
 
a:hover{
font-weight: bold;
}
 
a:active{
font-style: italic;
font-weight: normal;
}
 
 
 
::-webkit-scrollbar{
width: 8px; 
}
 
::-webkit-scrollbar-track{
background-color: #bace89;
}
 
::-webkit-scrollbar-thumb{
background-color: #768163;
}
 
#credit{
font-size: 12px;
position: fixed;
bottom: 0;
right: 0;
}
 
@media(max-width:760px){
body{
margin: 0;
padding: 1rem;
}
.sidebg{
background-image: none;
position: relative;
top: 0;
margin-bottom: 1rem;
width: 100%;
height: auto;
}
.side{
height: auto;
width: 100%;
text-align: center;
padding: 1rem;
}
.desc{
font-size: 16px;
}
.side ul{
padding: 0;
}
.side li{
display: list-item;
list-style-position: inside;
margin-left: 4px;

}
.avatar{
width: 50%;
margin: 0 auto;
}
.container{
margin: 0;
}
.headerimg{
width: 180px;
}
.title{
font-size: 36px;
margin: 0;
}
}
 
</style>
 
</head>