

@font-face {
    font-family: 'Playfair';
    src: url('/static/fonts/PlayfairDisplay-Regular.ttf') format('woff');
}

/* @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
 */



h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair'; /* Replace with your custom font name */
}

/* honeypot! */
.url-field-wrapper {
    position: absolute; 
    left: -9999px;
}

/* buttons in the forms */
.button-forms-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    
}

/* CSS for the fade-in animation */
@keyframes fadeFromRight {
    from {
      opacity: 0;
      transform: translateX(3%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Apply the animation to the element */
  #etalon-picture-inside {
    animation: fadeFromRight 0.5s ease-in-out; /* Adjust timing and easing as needed */
  }

/* Alert fade-out animation */
@keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }

  .alert-fade-out {
    animation: fadeOut 0.5s ease-out forwards;
  }

/* Override Django admin dashboard content width */
body.dashboard #content {
    width: auto !important;
    max-width: none !important;
}

/* Shared layout styles */
html {
    height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    z-index: 1030;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.top-nav .brand {
    font-weight: bold;
    color: #0d6efd;
    font-size: 1.2rem;
}

.header-logo {
    height: 50px;
    margin: 5px 10px;
}

.top-nav .user-info {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.main-content-with-nav {
    margin-top: 60px;
    padding-top: 20px;
    flex: 1 0 auto;
}

@media (max-width: 768px) {
    .header-logo {
        height: 35px;
    }
}