* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'custom';
  src: url('edding.ttf') format('truetype');
  font-weight: 400; /* Define the range of weights */
  font-style: normal;
}

@font-face {
  font-family: 'custom';
  src: url('edding.ttf') format('truetype');
  font-weight: 400; /* Define the range of weights */
  font-style: italic;
}

#content.mw-body {
  font-family: 'custom', serif;
  font-size: 12pt;
}

#content.mw-body .italic-text {
  font-style: italic;
}

@font-face {
  font-family: 'custom';
  src: url('bold.ttf') format('truetype');
  font-weight: 900; /* Define the range of weights */
  font-style: oblique;
}

#content.mw-body {
  font-family: 'custom', serif;
  font-size: 12pt;
}

#content.mw-body .oblique-text {
  font-style: oblique;
}

body {
  margin: 0;
  padding: 30px;
  background-image: url("site images/bg.png");
  font-family: "custom", monospace;
  font-size: 20px;
  color: #3f5873;
}

b {color:#305869;}
i {color:#7696A6;}

a {
  color: #305869;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 780px;
  margin: auto;
  background: #f4f8fd;
  border: 1px solid #b8cbe0;
 position: relative;
}

.topbar {
  background: #d4e1f0;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #b8cbe0;
}

.site-name {
  font-size: 24px;
  letter-spacing: 1px;
}

.links a {
  color: #4a6a8a;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}


.main-nav {
  background: #eef4fb;
  border-bottom: 1px solid #b8cbe0;
  padding: 6px 15px;
  display: flex;
  gap: 16px;
  font-size: 19px;
}

.main-nav a {
  color: #4a6a8a;
  text-decoration: none;
}

.main-nav a:hover {
  text-decoration: underline;
}

.main {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.sidebar {
  width: 220px;
}

.profile-pic {
  height: 180px;
  border: 1px solid #b8cbe0;
  margin-bottom: 15px;
}

.box {
  background: #eef4fb;
  border: 1px solid #b8cbe0;
  padding: 10px;
  margin-bottom: 15px;
}

.side-title {
  background: #fff;
  padding: 2px 0 2px 10px;
  margin-bottom: 5px;
  font-size: 20px;
}

.content {
  flex: 1;
  overflow-y: scroll;
  max-height: 600px;
}

.content-title {
  background: #d4e1f0;
  padding: 2px 0 2px 10px;
  margin-bottom: 5px;
  font-size: 20px;
}

.footer {
  background: #eef4fb;
  border-top: 1px solid #b8cbe0;
  padding: 8px;
  text-align: center;
  font-size: 16px;
  color: #5f7fa3;
}

body * ::-webkit-scrollbar {
width:7px;
height:10px;
}
/* Track */
body * ::-webkit-scrollbar-track {
background:#f4f8fd;
}
/* Handle */
body * ::-webkit-scrollbar-thumb {
background: #d4e1f0;
}

.grid-gallery {
  --size: 100px;
  display: grid;
  grid-template-columns: repeat(4, var(--size));
  grid-auto-rows: var(--size);
  gap: 10px;
  place-items: start center;
  margin-bottom: var(--size);
  margin-left: 20px;
}

.grid-gallery img:nth-child(5n - 1) { 
  grid-column: 2 / span 2 
}


@media (max-width: 812px) {
  .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;
  }
  
}

@media (max-width: 588px) {

  .grid-gallery {
  grid-template-columns: repeat(3, var(--size));
}
  
}

@media (max-width: 480px) {

  .grid-gallery {
  grid-template-columns: repeat(2, var(--size));
}
  
}

@media (max-width: 368px) {

  .grid-gallery {
  grid-template-columns: repeat(1, var(--size));
}
  
}

.right_header {
    color: #fff;
 display: inline-block;
  position: absolute;
  right: 0;
}

.left_header {
  display: inline-block;
  position: absolute;
  left: 0;
}



