* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
}

.left-banner {
  flex: 1 1 650px;
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  color: white;
  border-radius: 10px;
  transition: background-image 1s ease-in-out;
  min-height: 250px;
  background-repeat: no-repeat;
}

.left-banner .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(to right, rgb(255, 0, 0), rgb(0, 255, 0), rgb(0, 0, 255));
  -webkit-background-clip: text;

  color: transparent;

  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);

}


.left-banner .buttons {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.left-banner .buttons a {
  background-color: #FFD700;
  padding: 15px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.left-banner .buttons a:hover {
  background-color: #ff8c00;
}

.right-banner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 250px;
  max-width: 250px;
}

.right-banner .image-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 165px;
}

.right-banner .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.right-banner .image-box:hover img {
  transform: scale(1.1);
}

.right-banner .text-box {
  background-color: #003366;
  padding: 20px;
  color: white;
  border-radius: 10px;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .left-banner {
    height: 300px;
  }
}

@media screen and (max-width: 992px) {
  .container {
    max-width: 720px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    max-width: 540px;
    padding: 10px;
  }

  .left-banner {
    height: 250px;
    min-height: 200px;
  }

  .right-banner {
    flex-direction: row;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .right-banner .image-box {
    flex: 1;
    height: 120px;
  }

  .left-banner .buttons {
    bottom: 20px;
  }

  .left-banner .buttons a {
    padding: 10px;
    font-size: 14px;
  }
}

@media screen and (max-width: 576px) {
  .container {
    padding: 5px;
  }

  .left-banner {
    height: 200px;
  }

  .right-banner {
    flex-direction: column;
  }

  .right-banner .image-box {
    height: 150px;
  }

  .left-banner .buttons {
    bottom: 15px;
  }

  .left-banner .buttons a {
    padding: 8px;
    font-size: 12px;
    margin-right: 5px;
  }

  text-align: center;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .container {
    padding: 15px;
  }

  .left-banner {
    height: 300px;
  }

  .right-banner {
    width: 200px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .left-banner {
    margin-bottom: 20px;
  }

  .right-banner {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  .right-banner .image-box {
    width: 48%;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 10px;
  }

  .left-banner {
    height: 250px;
  }

  .left-banner .buttons {
    bottom: 20px;
  }

  .left-banner .buttons a {
    padding: 10px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 10px;
  }

  .right-banner {
    flex-direction: column;
  }

  .right-banner .image-box {
    width: 100%;
  }
}