*{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body{
 margin: 0;
 background-color: #eeeeee;
    
}

.container-1-1:hover{
  transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.container-1-4:hover{
  transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.container-1-6:hover{
  transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.main-container{
    padding: 50px 0 100px 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 {
    /* background-color: #4CAF50; */
    background-image: url('../images/wallpapers/tavli-wallpaper-2.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 0 50px 0;

    position: relative; /* Αυτό είναι απαραίτητο για να τοποθετηθεί σωστά το overlay */
    z-index: 1; /* Βεβαιώσου ότι το header είναι πάνω από το overlay */
}

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;
}

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-------------------------*/

.image-for-hero-section{
  width: 6%;
}

.heading-intro{
    text-align: center;
    font-size: 35px;
}

h1.heading-intro{
    font-size: 50px;
}

.container-policy{
    margin: 0 auto;
    width: 60%;
    padding-bottom: 50px;
    /* background-color: red; */
}

.h3-policy{
    font-size: 30px;
}

.p-policy{
    font-size: 20px;
}

.container-1{
    margin: 0 auto;
    background-color: #ffffff9d; /* White with 50% transparency */
    padding: 50px 0 50px 0;
    width: 90%;
    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: center;
    gap: 10px;
}

.container-1-1{
    padding: 20px 20px 20px 20px;
    border-radius: 10px;

}
.container-1-2{
    padding: 20px 20px 20px 20px;
    border-radius: 10px;

}
.container-1-3{
    /* padding: 20px 20px 20px 20px;
    border-radius: 10px;
    width: 200%; 
    height: auto; */
    padding: 20px 20px 20px 20px;
    border-radius: 10px;

}
.container-1-4{
    padding: 20px 20px 20px 20px;
    border-radius: 10px;

}

.container-1-5{
    padding: 20px 20px 20px 20px;
    border-radius: 10px;

}

.container-1-6{
  padding: 20px 20px 20px 20px;
  border-radius: 10px;

}

.container-titles{
    text-align: center;
}

.img-home-games{
    width: 100%;
    border-radius: 10px;
}
/* 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 only screen and (max-width: 768px) {
  .container-policy{
    width: 80%
  }

  .image-for-hero-section{
    width: 10%;
    }
    
    .container-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px;
    }
    
    .container-1 div {
    flex: 1 1 calc(50% - 20px);
    text-align: center;
    font-size: 22px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 10px;
    }
    
    .container-1-1,
    .container-1-2,
    .container-1-3,
    .container-1-4,
    .container-1-5,
    .container-1-6 {
    font-size: 24px;
    }

  .h3-policy{
    text-align: center;
    font-size: 25px;
  }

  .p-policy{
    text-align: center;
    font-size: 20px;
  }

  .main-container {
      padding: 20px 0 50px 0;
      background-size:cover;
  }

  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: 25%;
  }

  .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;
}
}

/*----------------Responsive for phones code ends here-----------*/

