body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
}

.container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin: 50px auto;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.left {
    width: 35%;
    background: #2c3e50;
    flex: 1;
    min-width: 250px;
    flex-direction: column;
    align-items: center;
    color: white;
    padding: 20px;
    display: flex;
    text-align: center;
}

.left img {
    width: 150px;
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    justify-content: center;
    margin-bottom: 15px;
    border: 3px solid white;
}

.right {
  width: 65%;
  flex: 2;
  padding: 20px;
}

.right table {
  width: 100%;
  border-collapse: collapse;
}

.right td {
  padding: 8px 10px;
  vertical-align: top;
}

.header {
    text-align: center;
}

@media only screen and (max-width: 600px ){
    .container{
      flex-direction: column;
      gap: 10px;
      text-align: center;
      overflow-x: auto;
      display: flex;
      padding: 10px;
      align-items: center;
    }
    html{
      font-size: 14px;
    }
    .left img{
      width: 120px;
      height: 150px;
      display: inline-block;
    }
    .left{
      width: 100%;
      min-width: unset;
      text-align: center;
    }
    .right{
      text-align: center;
      width: 100%;
      min-width: unset;
    }
  
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .container {
    flex-direction: row;   
    flex-wrap: wrap;       
    gap: 16px;
    overflow: auto;
  }
}