
.banner {
    display: flex;

}

.banner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.Me {
    display: flex;
    flex-direction: row;  
    gap: 30px;  
    margin-top: 90px;  
    justify-content: center;  
    align-items: center;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;  
}


.Me img {
    display: flex;
    width: 500px;
    height: 350px;
    border-radius: 15px;
}

.MyInfoTitle {
    font-weight: 600;
    font-size: 26px;
    color: white;
    text-transform: uppercase;
}

.MyInfoText {
    color: white;
    font-size: 18px;
    text-align: center;
}

.Partners {
    display: flex;           
    justify-content: space-around; 
    align-items: center;                
    background-color: white; 
    margin-top: 80px;     
}

.Partners img {
    max-width: 200px;  
    height: auto;     
    max-height: 100px; 
}


@media screen and (max-width: 430px) {

    .banner img {
      width: 100%;
      height: auto;
      display: block;
    }
  
    .Me {
      flex-direction: column;
      align-items: center;
      padding: 10px;
    }
  
    .Me img {
      width: 100%;
      max-width: 300px;
      height: auto;
      margin-top: 15px;
      margin-bottom: -10px;
    }
  
    .MyInfo {
      text-align: center;
      padding: 0 15px;
    }
  
    .MyInfoText {
      font-size: 1rem;
      line-height: 1.5;
      margin-bottom: 10px;
    }
  
    .Partners {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      padding: 20px 10px;
    }
  
    .Partners img {
      width: 120px;
      height: auto;
    }
}

@media screen and (max-height: 430px) and (orientation: landscape) {
    .banner img {
      width: 100%;
      height: auto;
      display: block;
    }
  
    .Me {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px;
    }
  
    .Me img {
      width: 100%;
      max-width: 500px;
      height: auto;
      margin-top: 20px;
    }
  
    .MyInfo {
      text-align: center;
      padding: 0 20px;
    }
  
    .MyInfoText {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 12px;
    }
  
    .Partners {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
      padding: 30px 10px;
    }
  
    .Partners img {
      width: 140px;
      height: auto;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 768px) and (orientation: portrait) {

    .banner img {
      width: 100%;
      height: auto;
      display: block;
    }
  
    .Me {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px;
    }
  
    .Me img {
      width: 100%;
      max-width: 500px;
      height: auto;
      margin-bottom: 20px;
    }
  
    .MyInfo {
      text-align: center;
      padding: 0 20px;
    }
  
    .MyInfoText {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 12px;
    }
  
    .Partners {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
      padding: 30px 10px;
    }
  
    .Partners img {
      width: 140px;
      height: auto;
    }
}

@media screen and (min-width: 810px) and (max-width: 840px) {

    .banner img {
      width: 100%;
      height: auto;
      display: block;
    }
  
    .Me {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 30px;
      padding: 40px 20px;
    }
  
    .Me img {
      width: 50%;
      height: auto;
      max-width: 400px;
    }
  
    .MyInfo {
      flex: 1;
      padding: 0 20px;
    }
  
    .MyInfoText {
      font-size: 1.1rem;
      line-height: 1.7;
      margin-bottom: 14px;
    }
  
    .Partners {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 30px;
      padding: 40px 10px;
    }
  
    .Partners img {
      width: 160px;
      height: auto;
    }
}

@media screen and (min-width: 834px) and (max-width: 1024px) and (orientation: portrait) {

    .banner img {
      width: 100%;
      height: auto;
      display: block;
    }
  
    .Me {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 40px 20px;
      gap: 30px;
    }
  
    .Me img {
      width: 80%;
      max-width: 500px;
      height: auto;
    }
  
    .MyInfo {
      width: 90%;
      text-align: left;
    }
  
    .MyInfoText {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 15px;
    }
  
    .Partners {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 30px;
      padding: 30px 10px;
    }
  
    .Partners img {
      width: 150px;
      height: auto;
    }
}

@media (min-width: 1600px) {
    .banner img {
        height: auto;
        object-fit: contain; 
    }
}

  