@font-face{font-family: Hanson Bold; src: url(/css/webfonts/Hanson-Bold.ttf) format('truetype');}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Source Sans Pro', sans-serif;
  color: #fff;
  background-color: #fff;
}

/* Full background */
body {
  background: url("../images/desktop_bg.jpg") center/cover no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
}

.flag-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  text-align: center;
}

/* Flag images */
/*.flag {
  display: block;
  vertical-block: middle;
  width: 100%;
  max-width: 160px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: wave 3s infinite ease-in-out;
  transform-origin: left center;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.6));
  will-change: transform;
}

.flag:hover {
  transform: scale(1.50) rotate(-2deg);
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.6)) brightness(1.3);
}*/


.flag-item {
  display: inline-block; 
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flag-item:hover {
  transform: scale(1.1);
}

/* Flag images */
.flag {
  display: block;
  width: 100%;
  max-width: 160px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  transform-origin: center center; 
  filter: drop-shadow(0 6px 4px rgba(0, 0, 0, 0.65));
  will-change: transform;
}

/* Hover zoom */
.flag-item:hover .flag {
  transform: scale(1.1) rotate(-2deg); 
  filter: brightness(1.3) drop-shadow(0 6px 4px rgba(0, 0, 0, 0.65));
}

.flag-item p{
  margin-top:10px;
  text-align:center;
  color:#000;
  transition: inherit;
}

/* Wave animation */
@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(-2deg); }
  75% { transform: rotate(1deg); }
}

/* Responsive */
@media (max-width: 1366px) {
  .flag { width: 160px; }
  .flag-group { gap: 80px; margin-bottom: 80px; }
}

@media (max-width: 767px) {
  .flag { width: 100px; }
  .flag-group { gap: 15px; margin-bottom: 50px; margin-top: -70px; flex-wrap: wrap; }
  .flag-item p { font-size:10px; color:#000; }

  body {
    background: url("../images/tabmobile_bg.jpg") center/cover no-repeat;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
}

/* Optional footer */
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 10px;
  padding: 10px 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}
