ul.menu {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: rgb(116, 10, 22);
  font-size: 2em;
  font-family: courier;
}
ul.menu li {
  list-style: none;
}
ul.menu li a {
  display: block;
  padding: 0px;
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  font-family: 'Alex Brush';
  text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue; 
  text-align: center;
}
ul.menu li a:hover, ul.menu li a:active {
  background-color: white;
  color: rgb(116, 10, 22);
  border: 2px solid gray;
  opacity: 0.8;
  text-decoration: underline;
}
 
@media (max-width: 500px) {
  ul.menu {
	position:relative;
    flex-direction: column;
    align-items: center;
 }
  ul.menu li a {
    width: 100%;
    padding:0px;
	font-size: 0.8em;
  }
}	
.mycon {
display: -webkit-flex; 
align-items: stretch;
display:flex;
gap:0px;
flex-wrap: wrap;
justify-content:space-between;
}
.mycont {
display: -webkit-flex; 
align-items: stretch;
display:flex;
gap:5px;
flex-wrap: wrap;
justify-content:space-between;
}
.mycont-5>div {
width:20%;
}
.mycont-4>div {
flex: 1 1 calc(25% - 10px); /* 4 στήλες με ευελιξία */
min-width: 150px; /* Για αποφυγή υπερβολικά μικρών κουτιών */
/*width: calc(33.33% - 10px); */
display: flex;
flex-direction: column; 
}
.mycont-3>div {
flex: 1 1 calc(33.33% - 10px); /* 3 στήλες με ευελιξία */
min-width: 200px; /* Για αποφυγή υπερβολικά μικρών κουτιών */
/*width: calc(33.33% - 10px); */
display: flex;
flex-direction: column; 
}
.mycont-2>div {
flex: 1 1 calc(50% - 10px); /* 2 στήλες με ευελιξία */
min-width: 200px; /* Για αποφυγή υπερβολικά μικρών κουτιών */
/*width: calc(33.33% - 10px); */
display: flex;
flex-direction: column; 
}
.mycont-1 > div {
  flex: 1 1 calc(100%);
 max-width:100%;
 display: flex;
flex-direction: column; 
}
@media (max-width: 720px) {
  .mycont > div {
    flex: 1 1 calc(50% - 10px); /* 2 στήλες */
  }
}

@media (max-width: 500px) {
  .mycont > div {
    flex: 1 1 100%; /* 1 στήλη */
  }
}
.swr {
  position: relative;
  z-index: 1; /* Εξασφάλισε ότι είναι μπροστά */
  display: flex;
  justify-content: center; /* Στοίχιση στο κέντρο */
  align-items: center;
  max-width: 100%; /* Για αποφυγή υπέρβασης πλάτους */
  padding: 5px;
  overflow-x: hidden; /* Αποφυγή οριζόντιας κύλισης */
  background-color: #f4f4f4; /* Προαιρετικό χρώμα φόντου */
  box-sizing: border-box; /* Συμπερίληψη padding */
 }

.swr .nn {
  display: flex;
  flex-direction: row; /* Στοιχεία σε σειρά */
  align-items: center;
  justify-content: flex-start;
  gap: 10px; /* Κενό ανάμεσα στα στοιχεία */
  width: 100%; /* Κάλυψη όλου του πλάτους */
}

.swr .search-container {
 flex: 1;
  margin: 0 auto; /* Κεντρική στοίχιση και αποφυγή υπέρβασης */
  max-width: 100%; /* Για αποφυγή υπέρβασης πλάτους */
}

@media (max-width: 500px) {
  .swr .nn {
    flex-direction: column; /* Κάθετη στοίχιση */
    gap: 10px; /* Επαρκές κενό */
    align-items: center; /* Στοίχιση στο κέντρο */
  }

  .swr .search-container {
    width: 90%; /* Κάλυψη πλήρους πλάτους */
    margin: 0; /* Αφαίρεση επιπλέον περιθωρίων */
    text-align: center; /* Κεντρική στοίχιση */
  }

  .swr .search-icon {
    font-size: 24px; /* Κατάλληλο μέγεθος για κινητά */
    margin-bottom: 5px; /* Κενό κάτω από το εικονίδιο */
  }

  .swr .search-input {
    width: 90%; /* Προσαρμογή για κινητά */
    display: block; /* Εμφάνιση πεδίου */
    margin: 0 auto; /* Κεντρική στοίχιση */
  }

  .swr .nn p {
    font-size: 20px; /* Μικρότερη γραμματοσειρά */
    text-align: center; /* Κεντρική στοίχιση */
    margin: 0; /* Αφαίρεση περιττών περιθωρίων */
  }
}
div.mmm {
margin-top:120px; 
width: 100%;
height: 120px;
padding: 1px;
border:0px;
position:relative;
}
div.ccc {
margin-top:120px;  
float:left;
text-align:justify;
background-color:white;
width:50%;
height:320px;
padding:1px;
border:3px solid black;
font-family: Arial; 
}
div.lll {
margin-top:120px; 
text-align:justify;
background-color:white;
width:50%;
height:1600px;
float:left;
padding:1px;
border-left:3px solid black;
border-right:3px solid black;
font-family: Arial; 
}
div.ppr {
text-align:justify;
background-color:white;
width:50%;
height:320px;
float:left;
padding:1px;
border:3px solid black;
font-family:Arial;
}
div.kln {
min-height:250px; 
background-color:black;
color:white;
font-family: 'Alex Brush';
display: block;
font-size:1.5rem;
text-decoration:overline;
}
.kls {
    width: 100%;
    height: 380px;
	padding-top:0;
    background-image: url("http://www.vadizonta.gr/images/care.jpg");
    background-size: 100% 380px;	
    background-repeat: no-repeat;
    transition: background-image 0.8s ease-in-out;
}
div.klm {
min-height:700px; 
background-color:darkblue;
color:white;
font-family: 'Alex Brush';
display: block;
}
div.xx {
	margin-top:120px; 
    display: flex;             /* Ενεργοποίηση Flexbox */
    align-items: center;       /* Κάθετη ευθυγράμμιση περιεχομένου */
    justify-content: center;   /* Οριζόντια ευθυγράμμιση περιεχομένου */
    padding: 10px;             /* Επαρκές padding για επιπλέον χώρο */
    background-color: #cccccc; /* Χρώμα φόντου */
    width: 100%;               /* Διασφάλισε ότι καλύπτει όλο το πλάτος */
    box-sizing: border-box;    /* Συμπερίληψη padding στο πλάτος/ύψος */
}
	div.xx p {
    margin: 0; /* Αφαίρεση περιττών περιθωρίων γύρω από την παράγραφο */
}
.nn { margin-top:120px;
	display: flex;             /* Ενεργοποίηση Flexbox */
    align-items: center;       /* Κάθετη ευθυγράμμιση περιεχομένου */
    justify-content: center;   /* Οριζόντια ευθυγράμμιση περιεχομένου */
    padding: 10px;             /* Επαρκές padding για επιπλέον χώρο */
    background-color: #cccccc; /* Χρώμα φόντου */
    width: 100%;               /* Διασφάλισε ότι καλύπτει όλο το πλάτος */
    box-sizing: border-box;    /* Συμπερίληψη padding στο πλάτος/ύψος */
}
	.nn p {
    margin: 0; /* Αφαίρεση περιττών περιθωρίων γύρω από την παράγραφο */
}

.footer {
display:flex;
align-items: center;       /* Κάθετη ευθυγράμμιση περιεχομένου */
justify-content: center;   /* Οριζόντια ευθυγράμμιση περιεχομένου */
box-shadow: 0px 0px 15px currentcolor;
border: 5px solid currentcolor;
padding:30px;
background-image: linear-gradient(rgb(116, 10, 22), white);
bottom:0;
color:black;
font-family: 'Alex Brush';
font-size:52px;
text-align:left;
}
 *{box-sizing:border-box;} 

@media screen and (max-width: 500px) {
  div.ccc, div.ppr, div.mmm {
    width: 100%; 
  }
}

/* για το μπισκότο */  
#cookieConsent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 15px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    color: #333;
    text-align: center;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none; /* Ξεκινά ως κρυφό */
}
#cookieConsent button {
    margin: 5px;
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}
#cookieConsent button#noBtn {
    background-color: #ccc;
    color: #333;
}
/* για τα σόσιαλ.... */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons img {
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1); /* Μικρό ζουμ κατά την αιώρηση */
}

/* Ρυθμίσεις για το translate button */
#translateButton {
  background-color: #0052cc;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center; /* Εξασφαλίζει σωστή ευθυγράμμιση εικονιδίου και κειμένου */
  justify-content: center;
  margin-left: auto; /* Πιέζει το κουμπί προς τα δεξιά */
  margin-right: 0; /* Αφαιρεί τυχόν περιττό κενό */
  max-width: 150px; /* Περιορισμός πλάτους για καλύτερη εμφάνιση */
  white-space: nowrap; /* Αποφυγή αλλαγής γραμμής */
}

#translateButton img {
  width: 20px;
  height: 15px;
  margin-right: 5px; /* Διατηρεί σταθερή απόσταση από το κείμενο */
}

#translateButton:hover {
  background-color: #003c99;
}

@media (max-width: 600px) {
  #translateButton {
    width: auto;
    padding: 10px; /* Σταθερό padding */
    margin-left: 0; /* Κεντρική στοίχιση στο κινητό */
    margin-top: 10px;
    justify-content: center; /* Κεντρική στοίχιση εικονιδίου και κειμένου */
  }

  #translateButton img {
    margin-right: 5px; /* Διατηρεί τη θέση του */
  }
} 
/* Search Container Styling */
.search-container {
  flex-shrink: 0; 
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end; 
}
.search-icon {
  font-size: 24px;
  color: #333;
  cursor: pointer;
  margin-right: 10px;
}
.search-input {
  min-width: 150px;
  font-size: 16px;
  display: none; 
  width: 200px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  position: absolute;
  right:0px; 
}
.search-container:hover .search-input {
  display: block; 
} 
.highlight {
  background-color: yellow;
  color: black;
  font-weight: bold;
}
/*  gia piso selida */
#navlist {	
  position: relative;
  z-index: 10; /* Αν θέλεις να το κάνεις να είναι πάνω από το μενού */
}

#navlist li {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
}

#prev a {
  font-size: 6rem;   
  text-decoration: none; 
  display: block;
  color: #333;      
  padding: 10px;       
  transition: color 0.3s, transform 0.3s; /* Για ομαλή αλλαγή χρώματος και κίνησης */
}

/* Για το βέλος και τη θέση του */
#prev a::before {
  content: "⬅"; 
  display: inline-block;
  font-size: 6rem; 
  position: absolute;
  margin-top: -10px;       
  clear:left;    
}

/* Hover effect - αλλαγή χρώματος και πάχους */
#prev a:hover::before {
  color: rgb(116, 10, 22); 
  font-weight: bold; 
  transform: scale(1.2); 
}
/* νιφάδες χιονιού */
.snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 999999; /* σημαντικό για κινητό */
}

/* Κοινές ιδιότητες νιφάδων */
.flake {
    position: absolute;
    top: -5%;
    font-size: 30px;
    animation: fall linear infinite;
    color: white;
}

/* Desktop / Tablet default positions */
.flake:nth-child(1) { left: 5%;  animation-duration: 7s; }
.flake:nth-child(2) { left: 30%; animation-duration: 9s; }
.flake:nth-child(3) { left: 60%; animation-duration: 6s; }
.flake:nth-child(4) { left: 85%; animation-duration: 10s; }

@keyframes fall {
    0%   { transform: translateY(-10%) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(360deg); }
}

/* ---- Mobile ---- */
@media (max-width: 480px) {
  .flake:nth-child(1) { left: 10%; }
  .flake:nth-child(2) { left: 35%; }
  .flake:nth-child(3) { left: 60%; }
  .flake:nth-child(4) { left: 85%; }
}
