/* kanoniko*/
.menu {
  display: block; /* Κανονικό μενού που εμφανίζεται σε μεγάλες οθόνες */
}

.hamburger {
  cursor: pointer;
  display: none; /* Το hamburger menu δεν εμφανίζεται αρχικά */
}

.hamburger .line {
  width: 30px;
  height: 4px;
  background-color: #fff;
  margin: 6px 0;
  transition: 0.4s;
}

.match-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.match-link * {
    text-decoration: none !important;
    color: inherit !important;
}

.menu li a:hover {
    background-color: #005bb5;
}
        body {
            font-family: 'Roboto', sans-serif;
            background-image: url('images/back.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: #fff;
            padding-top: 20px;
			margin: 0;  /* Αφαιρεί default margin */
    width: 100vw; /* Καλύπτει όλο το πλάτος της σελίδας */
    min-height: 100vh; /* Ελάχιστο ύψος ίσο με το ύψος της οθόνης */
    display: flex;
    flex-direction: column;
    align-items: center;
			        }

        header {
            background-color: #003366;
            padding: 10px 0;
            position: sticky;
            top: 0;
            width: 100%;
            z-index: 1000;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        }

        nav ul {
            list-style-type: none;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0;
        }

        nav ul li {
            margin: 0 20px;
            position: relative;
        }
		
        nav ul li a {
            color: #fff;
            text-decoration: none;
            font-weight: bold;
            font-size: 18px;
            text-transform: uppercase;
            padding: 10px 20px;
            border-radius: 30px;
            transition: background-color 0.3s ease, transform 0.3s ease;
            display: inline-block;
        }

        nav ul li a:hover {
            background-color: #005bb5;
            color: #fff;
            transform: scale(1.1);
        }

        .team-info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease; /* Προσθήκη transition για ομαλή αλλαγή μεγέθους */
}

.team-logo {
    width: 250px;
    height: auto;
    border-radius: 50%;
    border: 4px solid #fff;
    margin: 20px;

}
.team-logos {
        width: 180px;
        height: 180px;
    }
    .vs-box {
        width: 180px;
        height: 180px;
        font-size: 50px;
    }

.team-description {
    width: 60%;
}

.team-header {
    display: flex;
    align-items: center;
}

.team-description h2 {
    font-size: 24px;
    margin-bottom: 10px;
}


 .next-match {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 0;
}

.match-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

.team-logos-container {
    text-align: center;
    width: 30%; /* Ισομοιρασμένο πλάτος για τα λογότυπα */
}

.team-logos {
     width: 180px; /* Σταθερό πλάτος */
	  height: 180px;
    object-fit: contain; /* Εξασφαλίζει ότι η εικόνα γεμίζει το πλαίσιο χωρίς να παραμορφώνεται */
	background-color: #fff;
    margin-bottom: 10px;
}

.team-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.vs-box {
  width: 30%;
  height: 280px;
  background-color: #003366;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 80px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  box-sizing: border-box;
  transition: width 0.3s, height 0.3s, font-size 0.3s;
}

.match-info {
    text-align: center;
	 flex-grow: 1;
}

.match-vs {
    font-size:80px;
    margin: 20px 0;
}

.match-details {
    font-size: 16px;
    margin: 5px 0;
}

.countdown {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
	color: #FF0000;
}
.next-match h2 {
   color: #fff; /* Άσπρο φόντο για το h2 */
    padding: 10px 20px; /* Για να έχει λίγο padding γύρω του */
    border-radius: 5px; /* Προαιρετικό, για στρογγυλεμένες γωνίες */
}
.team-description h2 {
color: #fff;}

  .players {
    padding: 20px;
    text-align: center;
}

.player-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Ισομοιρασμένα διαστήματα μεταξύ των παικτών */
    gap: 20px;
	
}

.player {
    flex: 0 0 32%; /* Περίπου το 1/3 της σειράς */
    text-align: center;
}

.player-photo {
    width: 100%;
    max-width: 200px; /* Περιορισμός στο μέγεθος της φωτογραφίας */
    height: auto;
    border-radius: 10px;
	 border: 5px solid #003366; /* Μπλε πλαίσιο */
    padding: 5px; /* Χώρος γύρω από την εικόνα */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Απαλή σκιά γύρω από την εικόνα */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Αντίδραση κατά την αιώρηση */
}
.player-photo:hover {
    transform: scale(1.05); /* Αυξάνει το μέγεθος της εικόνας κατά την αιώρηση */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Αυξάνει την σκιά κατά την αιώρηση */
}

.player-name {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
	color:#003366;
}
h4{color:#003366 !important;
}
h3{color:#003366;
}
h2{color:#003366;}

 		
	
       footer {
    text-align: center;
    padding: 10px;
    background-color: #003366;
    border-radius: 10px;
    width: 100%; /* Καλύπτει όλο το πλάτος της σελίδας */
    max-width: 100%; /* Επιβεβαιώνει ότι δεν θα έχει όριο */
    box-sizing: border-box; /* Για σωστή προσαρμογή */
    position: relative; /* Εξασφαλίζει σωστή τοποθέτηση */
}


        footer p {
            font-size: 14px;
            color: #fff;
        }
		
	
}		

/* Για οθόνες έως 1024px */
@media (max-width: 1024px) {
	body {  margin: 0;
            padding: 0;         
        }
    .team-logos {
        width: 160px;
        height: 160px;
    }
    .vs-box {
        width: 180px;
        height: 180px;
        font-size: 50px;
    }

.team-logo {
    max-width: 250px;
    height: auto;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-right: 20px; /* Προσθέτουμε λίγο διάστημα ανάμεσα στο λογότυπο και το ιστορικό */
}
}

/* Για οθόνες έως 768px (tablet) */
@media (max-width: 768px) {
	body {  margin: 0;
            padding: 0;         
        }
.articles-container {
    grid-template-columns: 1fr !important;/* Μία στήλη σε μικρές οθόνες */
  }

  .article-card {
    align-items: center; /* Προαιρετικά: στοίχιση στο κέντρο */
    text-align: center;
  }

  .article-card h3 {
    text-align: center !important;
  }
	
	 .menu {
    display: none !important;
  }
   nav ul {
          	display:block !important; }

  /* Εμφανίζουμε το hamburger menu */
  .hamburger {
    display: block!important;
  }
  
  /* Όταν ανοίγει το hamburger, το μενού εμφανίζεται */
  .menu.open {
    display: flex !important;
  flex-direction: column;
  align-items: center;
  }
  
    nav ul {
          	display: block;}
	
    .team-logos {
        max-width: 140px;
        max-height: 140px;
    }
	.team-logo {
    max-width: 180px;
    height: auto;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-right: 20px; /* Προσθέτουμε λίγο διάστημα ανάμεσα στο λογότυπο και το ιστορικό */
}
    .vs-box {
        width:30%;
        height: 200px;
        font-size: 40px;
		    margin-top: 0 !important; /* Αφαιρούμε τυχόν περιθώριο από πάνω */
        padding-top: 10px !important; /* Μικρό padding για να μην κολλάει στην κορυφή */
        margin-bottom: 0 !important; /* Αφαιρούμε περιθώριο από κάτω */
        box-sizing: border-box; /* Για να συμπεριλαμβάνονται τα περιθώρια και το padding στο μέγεθος */
        position: relative; /* Ορισμός position για ακριβή τοποθέτηση */
        top: 0;
    }
    .team-name {
        font-size: 16px;
    }
	
	.team-logos-container {
    text-align: center;
    margin: 0 10px; /* Μικρότερο περιθώριο για πιο κοντινή τοποθέτηση */
}
.next-match {
    background-color: rgba(0, 0, 0, 0.7);    
    border-radius: 10px;
    margin-bottom: 10px;
    text-align: center;
    width: 100%; /* Καλύπτει όλο το πλάτος της σελίδας */
    max-width: 100%; /* Επιβεβαιώνει ότι δεν θα έχει όριο */
    box-sizing: border-box; /* Διατηρεί σωστή στοίχιση */
}
 .match-details {
        font-size: 15px !important;
    }
	

  .countdown {
            font-size: 15px !important;
			 margin-top: 10px;
                   }   
				   
 .match-vs{
            font-size: 40px !important;
			 margin: 10px 0;
            
        }
	
}

/* Για οθόνες έως 480px (κινητά) */
@media (max-width: 480px) {
	body {  margin: 0;
            padding: 0;         
        }
    .team-logos {
        max-width: 100px;
         max-height: 100px;
    }
	.team-logo {
     max-width: 140px;
    height: auto;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-right: 20px;
	margin-left: 20px;	/* Προσθέτουμε λίγο διάστημα ανάμεσα στο λογότυπο και το ιστορικό */
}

    .vs-box {
        width:40%;
        height: 170px;
        font-size: 30px;
    }
	.match-vs{
            font-size: 40px !important;
			 margin: 5px 0;
            
        }
    .team-name {
        font-size: 14px !important;
    }
	.team-logos-container {
   display: flex;
    flex-direction: column; /* Ορίζει τα στοιχεία να τοποθετούνται κάθετα */
    align-items: center;     /* Στοίχιση στο κέντρο */
    text-align: center;
       margin: 0 5px !important; /* Μικρότερο περιθώριο για πιο κοντινή τοποθέτηση */
}
.next-match {
    background-color: rgba(0, 0, 0, 0.7);
      border-radius: 10px;
    margin-bottom: 10px;
    text-align: center;
    width: 100%; /* Καλύπτει όλο το πλάτος της σελίδας */
    max-width: 100%; /* Επιβεβαιώνει ότι δεν θα έχει όριο */
    box-sizing: border-box; /* Διατηρεί σωστή στοίχιση */
}


}
/* Άρθρο Section */
.latest-articles {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
}

.latest-articles h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: bold;
    letter-spacing: 1px;
}

.articles-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.article-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    color: white;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.5);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.article-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.article-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 15px;
    text-align: center;
}

.read-more {
    color: #f1f1f1;
    margin-top: auto;
    text-decoration: underline;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
    color: #fff;
}

@media (max-width: 768px) {
	body {  margin: 0;
            padding: 0;         
        }
    .articles-container {
        grid-template-columns: 1fr;
    }

    .article-card {
        align-items: center;
        text-align: center;
    }
}
