@font-face {
  font-family: 'Lato';
  /* Name your font */
  src: url('../fonts/Lato-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  text-align: center;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

a {
  text-decoration: none;
  color: Black;
}

a:visited {
  text-decoration: none;
  color: Black;
}

/* new code */

.post-container {
  width: 80%;
  margin: 0 auto;
  flex-wrap: wrap;
  /* Wrap the items to next line if they exceed container width */
  border: 2px solid #000;
  /* Black border, adjust as needed */
  padding: 20px;
  /* Padding around the buttons */
  background-color: rgba(255, 255, 255, 0.4);
  /* Transparent background */
  border-radius: 10px;
  /* Rounded corners for the container */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  /* Emboss effect */
}

.post-container:hover {
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  /* Emboss effect */
}

/*
.custom-cursor-filip {
  cursor: url('../images/Filip.ico') 32 32, pointer;
}
*/

.footer-container {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  /* width: 80%; */
  display: inline-block;
  /* width will be the text length */
  margin: 0 auto;
  flex-wrap: wrap;
  /* Wrap the items to next line if they exceed container width */
  border: 2px solid #000;
  /* Black border, adjust as needed */
  padding: 20px;
  /* Padding around the buttons */
  background-color: rgba(255, 255, 255, 0.4);
  /* Transparent background */
  border-radius: 10px;
  /* Rounded corners for the container */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  /* Emboss effect */
}

.footer-container:hover {
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  /* Emboss effect */
}

/* UNUSED!!! Container for the code block */
pre {
  background-color: #000000;
  /* Dark background for the code block */
  color: #d8dee9;
  /* Light text color */
  padding: 8px;
  /* Padding inside the code block */
  border-radius: 8px;
  /* Rounded corners */
  overflow-x: auto;
  /* Horizontal scrolling if needed */
  font-family: 'Courier New', Courier, monospace;
  /* Monospaced font for code */
  font-size: 14px;
  /* Font size */
  line-height: 1.5;
  /* Line height */
}

/* UNUSED!!! Style for the code text */
code {
  background-color: transparent;
  /* Transparent background to inherit from <pre> */
  color: inherit;
  /* Inherit color from <pre> */
  padding: 0;
  /* No extra padding */
  font-family: inherit;
  /* Inherit font-family from <pre> */
}

img {
  max-width: 100%;
  height: auto;
  /* Maintain aspect ratio */
}

/* Style for the links */
.link {
  font-weight: bold;
  /* Make text bold */
  color: black;
  /* Default color */
}

.link:hover {
  color: grey;
  /* Change color on hover */
}

/* Floating cube button style */
.floating-cube {
  position: fixed;
  left: 10px;
  height: 50px;
  z-index: 9999;
  cursor: pointer;
  width: 40px;
  margin: 0 auto;
  flex-wrap: wrap;
  border: 2px solid #000;
  padding: 8px 10px 3px 10px;
  /* top right bottom left */
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.floating-cube:hover {
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}