body {
    margin: 0;
    padding: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: large;
    background-image: url('https://images.pexels.com/photos/6455772/pexels-photo-6455772.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-attachment: fixed;
    box-sizing: border-box;
}

.container-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 5fr));
    gap: 10px;
    background-color: transparent;

  }

.trainer {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    height: 100%;
    display: grid;
    flex-direction: column;
    gap: 5px; 
    border: 3px solid black; /* Black border */
    border-radius: 5px;
    padding: 0;
    color: white;
    font-family: Cambria;
    font-weight: 500;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.trainer img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    /* padding: 00px; */ /* Remove this line or correct to padding: 0; */
    cursor: pointer;

}

.trainer h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    justify-content: center;
    color: gold;
  }
  
  /* Style the trainer descriptions */
  .trainer p {
    font-size: 1rem;
    margin-bottom: 0;
    padding: 10px;
  }

  .header-trainer  {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
}

.Navigation a {
    position: relative;
    font-size: x-large ;
    color: white;
    font-family: cambria;
    text-decoration: none;
    font-weight: 500;
    margin-left: 50px;
}

.Navigation a:hover {
    color: gold;
    outline: none;
    
    
}


.Navigation a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: gray;
    border-radius: 5px;
    left: 0;
    bottom: -6px;
    transform: scaleX(0);
    transition: transform .5s;
}

.Navigation a:hover::after {
    transform: scaleX(1);
}


