
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&display=swap');
/* Reset và cấu trúc cơ bản */
html, body {
  height: 100%;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background-color: #e6f6ff;
  color: #333;
}
.footer,.hehe {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%; 
  padding: 0 0 ;
}
.wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Căn giữa nội dung giống header */
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

/* Header căn giữa */
header {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Giữ căn giữa theo chiều dọc */
  padding: 15px 50px; /* Giảm padding trên và dưới */
  border-bottom: 1px solid #ddd;
  width: 1100px;
  margin: 0 auto;
}

nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.btn-login {
  background-color: #0072ff;
  color: white;
  padding: 12px 15px; /* Tăng padding để nút to hơn */
  font-size: 18px; /* Tăng kích thước chữ */
  border-radius: 8px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  margin-right: -25px;
}

/* Tiêu đề */
h1 {
  font-size: 50px; /* Tăng kích thước font */
  color: #227bc1;
  margin-bottom: 10px;
  font-weight: 800; /* Giữ nguyên font đậm */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15); /* Thêm đổ bóng cho chữ */
}

.subtext {
  font-size: 24px;
  color: #549cd1;
  margin-top: 45px;
  margin-bottom: 76px;
}

/* Layout công cụ chuyển đổi */
.tool-container {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Bảng trái */
.left-panel {
  width: 400px;
  text-align: left;
  flex-shrink: 0;
  margin-left: 50px;
}

.tool-title {
  font-size: 38px;
  font-weight: bold;
  color: #227bc1;
  margin-bottom: 20px;
}

.convert-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px;
}

select {
  padding: 12px 30px;
  background-color: #fff;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  color:#1969a6;
  font-weight: 600;

}

.icon {
  height: 24px;
  width: 48px;
  margin: 10px;
}

.radio-group {
  margin-bottom: 20px;
}

.radio-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  color: #1969a6;
  font-weight: 600;
  padding-top: 18px;
  padding-bottom: 12px;
}

.radio-group input[type="radio"] {
  margin-right: 8px;
}

.note {
  font-size: 14px;
  color: #227bc1;
  margin-left: 26px;
}

/* Bảng phải */
.upload-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 120px 40px 80px 40px; /* Tăng padding trên và dưới */
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  min-width: 400px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right:50px;
}

#logo { /* Tăng kích thước logo */
  height: 50px;
}

.btn-upload {
  background-color: #0072ff;
  color: white;
  padding: 20px 25px;
  font-size: 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.ai-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.ai-section .content2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.ai-section .content2 #image-left {
  flex: 1;
  min-width: 300px;
  width: 50%;
  text-align: center;
}

.ai-section .content2 #image-left h2 {
  font-size: 32px;
  color: #1b75d0;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
}

.ai-section .content2 #image-left img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.ai-section .content2 .compare {
  flex: 1;
  min-width: 300px;
  text-align: center;
  margin-top: 20px;
}

.ai-section .content2 .compare h3 {
  font-size: 20px;
  color: #1b75d0;
  margin: 10px 0;
}

.ai-section .content2 .compare-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.ai-section .content2 .compare-images img {
  width: 180px;
  border: 1px solid #ccc;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  height: auto;
}

.ai-section .content2 .caption {
  font-size: 16px;
  color: #333;
  margin-top: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  width: 420px;
  text-align: left;
}
/* tablet */
@media screen and (min-width: 601px) and (max-width: 1199px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    
  }

  .content {
    padding: 40px 30px;
  }

  .tool-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .left-panel,
  .upload-box {
    width: 100%;
    max-width: 700px;
    
  }

  .tool-title {
    font-size: 22px;
  }
}
/* mobile */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  nav {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
    margin-top: 10px;
  }

  .content {
    padding: 40px 15px;
  }

  h1 {
    font-size: 28px;
  }

  .subtext {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .tool-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .left-panel,
  .upload-box {
    width: 90%;
    max-width: 500px;
  }

  .tool-title {
    font-size: 20px;
    text-align: center;
  }

  .convert-box {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .convert-box select {
    width: 80%;
    max-width: 250px;
  }

  .convert-box .icon {
    transform: rotate(90deg);
  }

}
