*{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body{
    padding: 0;
    margin: 0;
    background-image: url('../images/wallpapers/tavli-wallpaper-1.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ------------------------- header starts here-------------------------*/
header {
    width: 100%;
    padding: 50px 0;
    background-image: url('../images/wallpapers/tavli-wallpaper-2.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative; /* Αυτό είναι απαραίτητο για να τοποθετηθεί σωστά το overlay */
    z-index: 1; /* Βεβαιώσου ότι το header είναι πάνω από το overlay */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Μαύρο overlay με 50% διαφάνεια */
    backdrop-filter: blur(10px); /* Blur στο overlay */
    z-index: -1; /* Τοποθετεί το overlay πίσω από το περιεχόμενο του header */
    border-radius: inherit; /* Διατήρηση των border-radius του header αν υπάρχουν */
  }
  
  header {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Border shadow κάτω από το header */
  }

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}

.logo-container{

    width: 10%;
}

.imglogo{
    width: 100%;
}

.nav-container{
    padding-left: 50px;

}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center; 
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #87CEEB; /*  color */
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.1s ease;
}

header nav ul li a:hover {
  background-color: rgba(9, 8, 8, 0.422); /* hover */
}
/* ------------------------- header ends here-------------------------*/


/*------------------------- παιχνιδια submenu starts here-------------------------*/
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    display: inline-block;
}

nav ul li ul.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: transparent; 
    padding: 0;
    margin: 0;
    list-style-type: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

nav ul li:hover ul.submenu {
    display: block;
}

nav ul li ul.submenu li {
    display: block;
}

nav ul li ul.submenu li a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: white; 
}

nav ul li ul.submenu li a:hover {
    background-color: #87CEEB; 
}
/*------------------------- παιχνιδια submenu ends here-------------------------*/


/* ------------------------ body starts here -----------------------------------*/


.heading-intro-info{
    text-align: center;
}

.heading-intro-info{
    font-size: 50px;
}

.contact-container-gen{
    margin: 0 auto;
    background-color: #ffffff6d; /* White with 50% transparency */
    padding: 50px 0 40px 0;
    width: 60%;
    margin-bottom: 30px; /* Adjusts the bottom margin, reducing space below the container */
    border-radius: 10px;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.234); /* Example box shadow */

    display: flex; /* mazi me tis apo katw kentraroun ola ta items tou container*/
    justify-content: center;
    align-items: flex-start; /* Aligns child containers at the top */
    gap: 40px;
}

.contact-container-1 {
    padding: 20px 20px 20px 20px;
    border-radius: 10px;
    background-color: rgba(255, 228, 196, 0.590);
    
}

 .contact-info ul, .links ul {
    list-style-type: none; /* Removes bullets */
    padding: 0;            /* Removes default padding */
    margin: 0;             /* Removes default margin */
    text-decoration: none;
    display: flex;         /* Makes list items display inline */
    flex-direction: column; /*displays items as a column*/
    align-items: flex-start; /* Aligns icons and text to the left */
    margin-bottom: 10px;   /* Adds some spacing between list items */
 }
    
    
  .contact-info li, .links li {
      display: flex;
      align-items: center; /* Vertically aligns the icon with the text */
      margin-bottom: 10px; /* Adds space between the list items */
  }


/* Styling for the links and icons */
.contact-info a, .links a {
    color: black;
    text-decoration: none;
    margin-left: 8px; /* Adds space between the icon and the link text */
    flex-grow: 1;     /* Ensures the text fills available space */
}

.contact-info a:hover, .links a:hover, .more-info a:hover {
    text-decoration: underline;
}


.contact-info i, .links i {
    margin-right: 8px; /* Adds space between the icon and the link text */
    min-width: 20px;    /* Ensures icons are the same width to align text */
    text-align: center; /* Centers the icon horizontally */
}


.contact-container-2 {
    padding: 20px 60px 20px 60px;
    border-radius: 10px;
    background-color:  rgba(255, 228, 196, 0.590);
    margin-bottom: 80px;

}


.more-info a {
    color: black;
    text-decoration: none;
    margin-left: 8px; /* Adds space between the icon and the link text */  

}

/* ------------------------------ body ends here ------------------------------*/

/* footer */
footer {
  background-color: #000;
  color: #fff;
  padding: 20px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  margin: 0 15px;
}

.footer-section.contact,
.footer-section.links,
.footer-section.games {
  text-align: left;
}

.footer-section.contact {
  text-align: center;
}

.footer-logo {
  width: 100px; 
  margin: 0 auto 10px auto;
  display: block;
}

.footer-section.links .social-links {
  margin: 10px 0;
}

.footer-section.links .social-links a {
  color: #fff;
  margin-right: 10px;
  font-size: 18px;
}

.footer-section a {
  color: #87ceeb;
  text-decoration: none;
}

.footer-section a:hover {
  color: #87ceeb;
  text-decoration: underline;
}

.rate-me {
  display: block;
  margin-top: 10px;
  color: #00f;
}

.footer-section h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

/* Προσαρμογή της λίστας για καλλιτεχνικά γράμματα DICE */
.footer-section.games ul {
  list-style: none; /* Αφαίρεση των κουκκίδων */
  padding: 0;
  margin-left: 20px;
}

.footer-section.games ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px; /* Προσθέτουμε χώρο για τα καλλιτεχνικά γράμματα */
}

.footer-section.games ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 24px;
  font-family: 'Lobster', cursive; /* Καλλιτεχνική γραμματοσειρά */
  color: red; /* Κόκκινο χρώμα για τα γράμματα D, I, C, E */
}

/* Προσθήκη των γραμμάτων D, I, C, E */
.footer-section.games ul li:nth-child(1)::before {
  content: "D";
}

.footer-section.games ul li:nth-child(2)::before {
  content: "I";
}

.footer-section.games ul li:nth-child(3)::before {
  content: "C";
}

.footer-section.games ul li:nth-child(4)::before {
  content: "E";
}

.footer-section.games ul li a {
  color: #87ceeb;
  text-decoration: none;
}

.footer-section.games ul li a:hover {
  text-decoration: underline;
}

/* Ευθυγράμμιση εικονιδίου φακέλου δίπλα στο email */
.footer-section .social-links p {
  display: inline-flex;
  align-items: center;
}

.footer-section .social-links p i {
  margin-right: 8px; 
}
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

/*----------------Responsive for phones code starts here-----------*/

@media (max-width: 768px) {

    .main-container {
        padding: 20px 0 50px 0;
        background-size:cover;
    }
  
    .image-for-hero-section{
      width: 10%;
    }
  
    header {
        padding: 30px 0;
    }
  
    .header-container {
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 30px;
        text-align: center;
    }
  
    .logo-container {
        width: 20%;
    }
  
    .nav-container {
        display: none; 
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #333;
        padding: 20px;
        border-radius: 8px;
        width: 80%;
        text-align: center;
    }
  
    .burger {
        display: flex; 
    }
  
    .nav-container.active {
        display: block; 
    }
  
    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
  
    nav ul li {
        margin: 10px 0;
    }
  
    .container {
        padding: 20px 0;
        width: 100%;
        box-shadow: none;
    }
  
    nav ul li ul.submenu {
      position: static;
      background-color: transparent;
      display: none;
      width: 80%;
      box-shadow: none;
      margin-top: 10px;
      z-index: 1000;
  }
  
  nav ul li:hover ul.submenu {
      display: block;
  }
  
  nav ul li ul.submenu li {
      width: 100%;
  }
  
  nav ul li ul.submenu li a {
      align-items: center;
      padding: 10px;
      color: #ffffff;
  }
  
  nav ul li ul.submenu li a:hover{
      background-color: #1E90FF;
  }    

  .popup{
    width: 70%;
}

footer {
    padding: 10px 0;
}

.footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.footer-section {
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.footer-logo {
    width: 100px;
    margin: 0 auto 10px auto;
}

.footer-section.links, .footer-section.games, .footer-section.contact {
    width: 100%;
    text-align: center; 
    margin: 0 auto;
}
.contact-container-gen {
  width: 90%;
  padding: 20px 0;
  gap: 20px;
  display: flex;
  flex-direction: column;
}

.contact-container-1, .contact-container-2 {
  margin-left: 10%;
  text-align: center;
  width: 80%;
  padding: 10px 0px;
}

.heading-intro-info {
  font-size: 30px;
}

.contact-info ul, .links ul {
  flex-direction: column;
  align-items: flex-start;
}

.contact-info li, .links li {
  font-size: 14px;
  margin-bottom: 5px;
}

.contact-info a, .links a {
  font-size: 14px;
  margin-left: 5px;
}
}

/*----------------Responsive for phones code ends here-----------*/
