body {
  padding-top: 56px;
}

.left-aligned {
  margin-left: auto;
}

.bg-dark {
  background-color: #343a40 !important;
}

@font-face {
  font-family: 'Noto Serif VF';
  src: url('https://static.igem.wiki/teams/5998/fonts/notoserif-variablefont-wdth-wght.woff2') format('woff2'),
       url('https://static.igem.wiki/teams/5998/fonts/notoserif-variablefont-wdth-wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal; 
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif VF';
  src: url('https://static.igem.wiki/teams/5998/fonts/notoserif-italic-variablefont-wdth-wght.woff2') format('woff2'),
       url('https://static.igem.wiki/teams/5998/fonts/notoserif-italic-variablefont-wdth-wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Bitter VF';
  src: 
       url('https://static.igem.wiki/teams/5998/fonts/bitter-variablefont-wght.ttf') format('truetype');
  font-weight: 100 900;   /* variable axis */
  font-style: normal;
  font-display: swap;
}

/* Bitter – Variable (Italic axis) */
@font-face {
  font-family: 'Bitter VF';
  src: 
       url('https://static.igem.wiki/teams/5998/fonts/bitter-italic-variablefont-wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat VF';
  src: 
       url('https://static.igem.wiki/teams/5998/fonts/montserrat-variablefont-wght.ttf') format('truetype');
  font-weight: 100 900;   /* variable axis */
  font-style: normal;
  font-display: swap;
}

/* Montserrat – Variable Italic */
@font-face {
  font-family: 'Montserrat VF';
  src: 
       url('https://static.igem.wiki/teams/5998/fonts/montserrat-italic-variablefont-wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}






canvas {
  /*  background: #fa7268; */
  background: #2d2d88;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* γεμίζει χωρίς παραμόρφωση */
  pointer-events:none;
  /* να μη “πιάνει” κλικ/hover */
  transform: translateZ(50);
}


/* CALLOUT */
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: .25rem;
  border-radius: .25rem
}

.bd-callout h4 {
  margin-bottom: 1.25rem
}

.bd-callout p:last-child {
  margin-bottom: 0
}

.bd-callout code {
  border-radius: .25rem
}

.bd-callout+.bd-callout {
  margin-top: -.25rem
}

.bd-callout-info {
  border-left-color: #5bc0de
}

.bd-callout-warning {
  border-left-color: #f0ad4e
}

.bd-callout-danger {
  border-left-color: #d9534f
}

/* Βελτιωμένο Footer CSS - 3 Στήλες */

/* Βελτιωμένο Footer CSS - 3 Στήλες */
.site-footer {
    background: #fa7268;
    color: #ffffff;
    padding: 50px 0 30px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    font-family: 'Noto Serif VF';
}

.foot-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.foot-main-section {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 40px !important;
    align-items: flex-start !important;
    margin-bottom: 40px !important;
}

/* 1η Στήλη - Team Info (Απλοποιημένη) */
.team-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.team-logo {
    width: 130px;
    height: 130px;
    background: #090839;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.3);
}

.team-logo img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

/* Social Media κάτω από το logo */
.social-info h4 {
    margin: 0;
    font-size: 0; /* Κρύβει τον τίτλο */
    height: 0;
}

.social-media {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icon img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
}

/* 2η Στήλη - Contact */
.contact-col {
    text-align: center;
}

.contact-col h4 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Bitter VF';
}

.contact-col p {
    margin: 12px 0;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255,255,255,0.95);
}

.contact-col a {
    color: inherit;
    text-decoration: none;
}

.contact-col a:hover {
    text-decoration: underline;
}

.inline-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 8px;
}

/* 3η Στήλη - Sponsors (Καθαρό slider) */
.sponsors-col {
    overflow: hidden;
}

.sponsors-section {
    width: 100%;
}

.sponsors-slider {
    width: 100%;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.sponsors-track {
    display: flex;
    gap: 15px;
    animation: slideSponsors 80s linear infinite;

     width: calc(200% + 30px);
}

.sponsor-logo {
    flex: 0 0 120px;
    height: 90px;
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Smooth infinite scroll animation */
@keyframes slideSponsors {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Copyright Section */
.foot-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 25px;
    text-align: center;
}

.foot-bottom p {
    margin: 8px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.foot-bottom a {
    color: #ffffff;
    text-decoration: underline;
}

.foot-bottom a:hover {
    color: rgba(255,255,255,0.8);
}

.sponsors-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  font-family: 'Bitter VF';
}

/* Λίγο μεγαλύτερο πλαίσιο για κάθε λογότυπο */
.sponsor-logo {
  flex: 0 0 140px;   /* από 120px -> 140px */
  height: 110px;     /* από 90px -> 110px */
  padding: 10px;     /* από 8px -> 10px */
}

/* Responsive tweak ώστε να μη “σπάει” στα μικρά */
@media (max-width: 768px) {
  .sponsor-logo {
    flex: 0 0 100px;  /* από 80 -> 100 για να φαίνονται λίγο πιο άνετα */
    height: 75px;     /* από 60 -> 75 */
    padding: 8px;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
    .foot-main-section {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 20px;
    }
    
    .sponsor-logo {
        width: 80px;
        height: 60px;
    }
    
    .social-icon img {
        width: 30px;
        height: 30px;
    }
}