img {
    width: 160px;
  }
  
  * {
    margin: 0;
    padding: 0;
    text-decoration: none;
  }
  
  body {
    background-color: #1b1b1b;
  }
  
  .header {
    background-color: #1b1b1b;
    height: 100px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
  }
  
  .header p {
    font-family: arial;
    font-size: 18px;
    color: #fff;
    padding-bottom: 4px;
  }
  
  .header h2 {
    font-family: 'Acme', sans-serif;
    font-size: 30px;
    color: #f8b700;
  }
  
  .interface {
    padding: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #1b1b1b;
  }
  
  .interface a {
    display: flex;
    flex-wrap: nowrap;
  }
  
  .interface img {
    width: 120px;
    height: 120px;
  }
  
  .img-avatar {
    width: 160px !important;
    height: 160px !important;
  }
  
  .interface div {
    width: 220px;
    padding: 0 10px 0 20px;
    background-color: #211510;
  }
  
  .interface a:hover div {
    background-color: #3c1d3d;
  }
  
  .interface h3 {
    font-family: 'Acme', sans-serif;
    font-size: 22px;
    color: #f8b700;
    padding: 12px 0 4px;
  }
  
  .interface p {
    font-family: arial;
    font-size: 12px;
    color: #d5c8af;
    line-height: 20px;
  }
  
  .btn-prefight {
    width: 100% !important;
  }
  
  .actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  
  .actions a {
    width: 33.33%;
    padding: 10px 0px;
    text-align: center;
    font-size: 14px;
    font-family: arial;
    color: #1b1b1b;
  }
  
  .actions a:nth-of-type(1) {
    background-color: #e64747;
  }
  
  .actions a:nth-of-type(2) {
    background-color: #e6ce47;
  }
  
  .actions a:nth-of-type(3) {
    background-color: #6de647;
  }
  
  .actions a:hover {
    opacity: 0.9;
  }
  
  .arena {
    width: 100%;
    height: 180px;
    background-color: #1d373d;
    background-image: url("img/arena-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35vh;
    visibility: hidden;
  }
  
  .enemy {
    padding: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #1b1b1b;
  }
  
  .enemy a {
    display: flex;
    flex-wrap: nowrap;
  }
  
  .enemy img {
    width: 120px;
    height: 120px;
  }
  
  .enemy div {
    width: 220px;
    padding: 0 10px 0 20px;
    background-color: #211510;
  }
  
  .enemy a:hover div {
    background-color: #3c1d3d;
  }
  
  .enemy h3 {
    font-family: 'Acme', sans-serif;
    font-size: 22px;
    color: #f8b700;
    padding: 12px 0 4px;
  }
  
  .enemy p {
    font-family: arial;
    font-size: 12px;
    color: #d5c8af;
    line-height: 20px;
  }

  .text-1 {
    text-align: left;
    color: #fff;
  }

/* Container to keep all four elements in a single row */
.container {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping to keep all items on one line */
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Style each .text-1 element to take exactly 25% width */
.text-1 {
  flex: 0 0 25%; /* Fixed 25% width to fit exactly 4 elements */
  display: flex;
  flex-direction: column; /* Stack image and text vertically */
  align-items: center; /* Center align both the image and text */
  justify-content: flex-start; /* Align elements to the top */
  height: 220px; /* Fixed height for consistency */
  box-sizing: border-box;
}

/* Inner content for each character */
.text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* Image styling for a perfect fit */
.text-content img {
  width: 100%; /* Ensure image takes up full width */
  height: 60%; /* Adjust the height for a better fit */
  object-fit: cover; /* Ensures the image covers the space without distortion */
  object-position: center; /* Centers the image */
}

/* Text details placed under the image */
.text-details {
  width: 100%;
  padding: 0px;
  background-color: rgba(0, 0, 0, 0.6); /* Slightly transparent background */
  color: #d5c8af;
  text-align: center;
  margin-top: 5px; /* Adds a bit of spacing between image and text */
}

/* Title styling */
.text-details h3 {
  font-family: 'Acme', sans-serif;
  font-size: 16px;
  color: #f8b700;
  margin: 5px 0;
}

/* Paragraph styling */
.text-details p {
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  margin: 3px 0;
}

/* Target the image inside the specific #text-info container */
#text-info .text-content img {
  height: 400px; /* Set the desired height for the image */
  width: 100%;   /* Maintain aspect ratio */
}
/* Target the image inside the specific #text-info-2 container */
#text-info-2 .text-content img {
  height: 400px; /* Set the desired height for the image */
  width: 100%;   /* Maintain aspect ratio */
}
/* Target the image inside the specific #text-info-3 container */
#text-info-3 .text-content img {
  height: 400px; /* Set the desired height for the image */
  width: 100%;   /* Maintain aspect ratio */
}
/* Target the image inside the specific #text-info-4 container */
#text-info-4 .text-content img {
  height: 400px; /* Set the desired height for the image */
  width: 100%;   /* Maintain aspect ratio */
}

