body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;      
    padding-bottom: 40px;
    box-sizing: border-box;
}

.background-image {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("placeholder-background_1.jpg"); 
    background-position: top center; 
    z-index: -1;
    filter: blur(0px);
    background-size: 1380px;
    background-repeat: no-repeat; 
    background-color: #f3f3f5;
}

@media (max-width: 1380px) {
  .background-image {
      background-size: cover; 
      background-position: center, auto;

  }
}

@media (max-width: 900px) {
  .background-image {
    
    background-size: 200% auto;
    background-position: top center;
  }
}

.container {
    width: 90%;
    max-width: 936px;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; 
}

.flag-container-ch {
    position: absolute;
    /* Ez a szabály a zászlót a container tetejéhez képest -10px-re teszi,
       ami a body 20px-es padding-je miatt 10px-re lesz a lap tetejétől. */
    top: -30px;
    right: 40px;
    z-index: 10;
}

.swiss-flag {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0px; 
    left: 0;  
}

.chinese-flag {
    width: 36px;
    height: 24px;
    display: block; /* Biztosítja a helyes megjelenést a linken belül */
}

.header-info {
    position: absolute;
    top: 20px;
    right: 20px;
    text-align: left;
    opacity: 0;
    animation: fadeInAndMoveUp 1s ease-out forwards;
    animation-delay: 0.4s;
    color: #4d4d4f; 
    z-index: 10; 
}

.header-info p {
    margin: 0 0 4px 0;
}

.header-info .company-name {
    font-weight: 900;
}

.header-info .address-line {
    font-weight: normal;
}

.header-info .contact-info {
    font-size: 0.9em;
    font-weight: normal;
}

.header-info .contact-info a {
    color: rgb(41, 141, 226);
    text-decoration: none;
}

.header-info .contact-info a:hover {
    text-decoration: underline;
}

.top-image, .main-image {
    width: 100%;
   	margin-bottom: 10px;
}

.top-image img {
    width: 50%;
    max-width: 223px;
	display: block;
    margin-left: 0;
    opacity: 0;
    animation: fadeInAndMoveUp 1s ease-out forwards;
    animation-delay: 0.2s;
    transition: all 0.3s ease; 
}

.main-image img {
    width: 100%;
    display: block;
    background-color: #FF5733;
	margin-top: 20px;
    opacity: 0;
    animation: fadeInAndMoveUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

.text-content {
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInAndMoveUp 1s ease-out forwards;
    animation-delay: 0.7s;
}

.buttons {
    display: flex;
    flex-direction: column;
    width: 240px;
    margin-bottom: 20px; 
}

.button {
    background-color: white;
    color: rgb(41, 141, 226);
    border: 1px solid rgb(41, 141, 226);
    padding: 10px 20px;
    margin-bottom: 10px;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    opacity: 0;
    animation: fadeInAndMoveUp 0.8s ease-out forwards;
}

.buttons .button:nth-child(1) {
    animation-delay: 1.0s;
}
.buttons .button:nth-child(2) {
    animation-delay: 1.2s;
}
.buttons .button:nth-child(3) {
    animation-delay: 1.4s;
}

.bottom-text {
    align-self: flex-end;
    font-size: 1.1em; 
    font-weight: bold; 
    opacity: 0;
    animation: fadeInAndMoveUp 1s ease-out forwards;
    animation-delay: 1.6s;
}

@keyframes fadeInAndMoveUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 500px) {
  .top-image img {
    width: 35%;
    max-width: 100px;
  }
  .header-info {
    font-size: 0.9em; 
  }
}