<style>
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 30px;
  background: #F6E6F0;
  font-family: 'Times New Roman', Times, serif;
  font-size: 18px;
  color: #522C3A; 
}

b {color:#380B0B;}
i {color:#8C5E6A;}

a {
  color: #940404;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #F6E6F0;
}

::-webkit-scrollbar-thumb {
  background: #ECC7DA; 
  border: 2px solid #F6E6F0;
}

::-webkit-scrollbar-thumb:hover {
  background: #D46E7C;
}

.container {
  max-width: 780px;
  margin: auto;
  background: #FDF4F9;
  border: 1px solid #E0B8D3;
}

.topbar {
  background: #F0D4E7;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E0B8D3;
}

.site-name {
  font-size: 24px;
  letter-spacing: 1px;
}

.links a {
  color: #8A4A70;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}


.main-nav {
  background: #FBEEF6;
  border-bottom: 1px solid #E0B8D3;
  padding: 6px 15px;
  display: flex;
  gap: 16px;
  font-size: 19px;
}

.main-nav a {
  color: #8A4A70;
  text-decoration: none;
}

.main-nav a:hover {
  text-decoration: underline;
}

.main {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.sidebar {
  width: 220px;
}

.profile-pic {
  height: 180px;
  background: #ECC7DA url(https://images.unsplash.com/photo-1700681297539-62ed3eadf19f?q=80&w=2671&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D)
    center / cover;
  border: 1px solid #E0B8D3;
  margin-bottom: 15px;
}

.box {
  background: #FBEEF6;
  border: 1px solid #E0B8D3;
  padding: 10px;
  margin-bottom: 15px;
}

.side-title {
  background: #fff;
  padding: 2px 0 2px 10px;
  margin-bottom: 5px;
  font-size: 20px;
  border-left: 5px solid #D46E7C;
}

.content {
  flex: 1;
}

.content-title {
  background: #F0D4E7;
  padding: 2px 0 2px 10px;
  margin-bottom: 5px;
  font-size: 20px;
  border-left: 5px solid #D46E7C;
}

.footer {
  background: #FBEEF6;
  border-top: 1px solid #E0B8D3;
  padding: 8px;
  text-align: center;
  font-size: 16px;
  color: #A35F89;
}


@media (max-width: 768px) {
  .main {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  
  .main-nav {
    flex-direction: column;
    gap: 8px; 
    align-items: center;    

  }

  
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  
  .links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
}

  </style>