/* --- Import the Catppuccin palette --- */
/* You can use any CDN (choose one) */

/* via jsDelivr */
@import url('https://cdn.jsdelivr.net/npm/@catppuccin/palette/css/catppuccin.css');


/* --- Example usage --- */
body {
  background-color: var(--ctp-mocha-base);
  color: var(--ctp-mocha-text);
  text-align: center;
  padding: 50px;
  font-family: 'Lexend', sans-serif;

}

a {
  color: var(--ctp-mocha-rosewater);
  transition: color 0.2s ease;
  text-decoration: none;
}

a:hover {
  color: var(--ctp-mocha-teal);
  text-decoration: underline;
}

/* A styled box using different flavors */
.my-div {
  color:        var(--ctp-mocha-text);
  background:   rgba(var(--ctp-macchiato-base-rgb) / 0.9);
  border:       3px solid hsla(var(--ctp-frappe-red-hsl) / 0.75);
  border-radius: 12px;
  padding: 20px;
  display: inline-block;
  width: 300px;
  box-shadow: 0 0 20px rgba(var(--ctp-mocha-crust-rgb) / 0.4);
  font-family: 'Lexend', sans-serif;
}

.subtext {
  font-size: 0.85rem; /* smaller than <p> */
  color: var(--ctp-mocha-subtext1);
  display: block;
  margin: 1px 0 6px;
  font-family: 'Lexend', sans-serif;
}
.subtext a {
  color: var(--ctp-mocha-rosewater);
  text-decoration: none;
  margin: 1px 0 6px;
  font-size: 0.85rem; /* smaller than <p> */
  transition: color 0.2s ease;
}
.subtext a:hover {
  color: var(--ctp-mocha-teal);
  text-decoration: underline;
}
.pixelated {
  image-rendering: auto;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  image-rendering: -webkit-optimize-contrast;
}


h4 {
  font-size: 1rem;
  margin: 4px 0 2px; /* very tight spacing */
  font-weight: 600;
}

/* Links section */
.links {
  margin-top: 15px;
  max-width: 50ch;
  margin: 0 auto; 
}

.links a {
  color: var(--ctp-mocha-rosewater);
  text-decoration: none;
  margin: 0 8px;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.links a:hover {
  color: var(--ctp-mocha-teal);
  text-decoration: underline;
}








/*  88x31 */


.buttons {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 8px;
    max-width: 40ch;
    justify-content: center;      /* center buttons */
    align-items: center;
    margin: 0 auto;              /* center container on page */
}


.buttons .pixelated {
  width: 88px;
  height: 31px;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
}

/* Mobile screens */
@media (max-width: 480px) {
    .buttons {
        width: 100%;
        gap: 4px !important;
        padding: 2px !important;        
    }
}


/* Contacts */

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    max-width: 40ch;
    margin: 0 auto;

}

.social-icons a img{
    width: 32px !important;
    height: 32px !important;
  }
  
  
.longscrollable {
  overflow-x: auto;
  white-space: nowrap;
  max-width: 100%;
  padding: 10px;
  width: 100px;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
}