body {
  background-color: var(--color-light);
}
b {
  font-weight: 700;
}
.section {
  display: none;
  flex-direction: column;
  position: relative;
}
#videoPreview {
  background-color: #fff;
  width: 100%;
  object-fit: contain; 
}
#videoContainer {
  margin-top: 8px;
  position: relative;
  background-color: #fff;
  overflow: hidden;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  outline: 1px solid #eee;
  width: 700px;
  margin-top: 0;
}
.section .file-info span {
  color: #0056b3;
  margin-right: 16px;
  margin-left: 3px;
}

.grid-item svg {
  width: 54px;
  height: 54px;
  color: var(--color-icon);
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0;
  width: 60%;
  margin: 0 auto;
}
.grid-container .grid-item {
  padding: 3px;
  text-align: center;
  margin-top: 48px;
}
.grid-container .grid-item p {
  font-size: 16px;
  line-height: 20px;
  margin-top: 4px;
  color: #333;
}
.image_title {
  font-size: 36px;
  margin-bottom: 16px;
  font-weight: 700;
}
.image_title div {
  font-size: 16px;
  color: #555;
  margin: 8px 0;
  line-height: 23px;
  font-weight: normal;
}


#output_name {
  word-break: break-all;
}

.container {
  border: 0;
  width: 1080px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  padding: 8px;
  margin: 4px auto;
}
.container .userEdit {
  width: 360px;
  height: 100%;
  border-radius: 3px;
  outline: 1px solid #eee;
}
section.preview {
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}
header.title {
  background-color: #fff;
  width: 1080px;
  margin: 0 auto;
  padding: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
#headerUserBack {
  margin-right: 0;
}
#headerUserBack img {
 
  padding: 8px;
  border-radius: 8px;
}
.image_title div {
  margin: 16px 0;
}
#videoPreview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

a.preview_lesson {
  text-align: right;
  font-size: 13px;
  margin-right: 8px;
  color: var(--color-blue);
  float: right;
  padding-bottom: 8px;
}

#imageTipsBox {
  width: 1080px;
  min-height: 600px;
  text-align: center;
  align-items: center;
  margin: 0 auto;
}
.upload-label {
  font-size: 18px;
  margin: 0 auto;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 245px;
  height: 60px;
  background-color: var(--black-70);
  pointer-events: none;
  color: white;
  cursor: pointer;
  border-radius: 3px;
}

.recommned-pc {
  margin-bottom: 45px;
  color: #e91e63;
  visibility: hidden;
}

#videoInput {
  display: none;
  width: 100%;
}
.section .file-info {
  flex-direction: column;
  outline: 1px solid #aaa;
  border-radius: 3px;
  background-color: #fafafa;
  margin: 16px 8px;
}
.section .file-info input[type="file"] {
  background-color: #fafafa;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}
#videoinfo {
  width: 100%;
  margin: 0;
  font-size: 14px;
}
#videoinfo div {
  padding-bottom: 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 8px;
  border-bottom: 1px solid #eee;
}
.section .file-info span {
  color: #555;
}
.compressBox {
  background-color: #fafafa;
}
.compressBox fieldset {
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 16px 8px;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 8px;
  font-size: 14px;
}
.compressBox fieldset legend {
  padding: 0 5px;
  font-weight: bold;
}
.compressBox label {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 5px;
}
.compressBox fieldset select {
  font-weight: 500;
  height: 25px;
  width: 60px;
  color: #e91e63;
}
#startCompress {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  background-color: #000;
  color: white;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #333;
  transition: all 0.3s ease;
}
#startCompress:hover {
  transform: scale(1.03);
  background-color: #0a0a0a; 
}
#output_video {
  color: #00b578;
}
.compressAction {
  border-radius: 3px;
  background-color: #fafafa;
  margin: 16px 8px;
}
.compressOutput {
  padding: 8px;
  font-size: 14px;
  outline: 1px solid #aaa;
  border-radius: 3px;
  background-color: #fafafa;
  margin: 16px 8px;
  display: none;
}
.compressOutput div {
  padding-bottom: 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 8px;
  border-bottom: 1px solid #eee;
  align-items: center;
}
#downloadVideo {
  width: 70px;
  height: 28px;
  background-color: #000;
  color: white;
  cursor: pointer;
  border-radius: 3px;
  border: 0;
  margin-left: 8px;
}
.section .file-info {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 3px;
  min-height: 40px;
  flex-direction: column;
  outline: 1px solid #aaa;
  border-radius: 3px;
  background-color: #fafafa;
  margin: 16px 8px;
}
#videoinfo,
#videoInput {
  font-size: 13px;
}
#videoinfo {
  margin-left: 16px;
}
section.preview {
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.main_title {
  font-size: 32px;
  font-weight: 700;
  margin-top: 64px;
}

#imageTipsBox h2 {
  font-size: 18px;
  color: #666;
  margin: 16px;
  line-height: 30px;
  font-weight: normal;
}




#recommnedInfo {
  margin-top: 64px;
  background-color: #fff;
  padding: 8px;
  border-radius: 8px;
}


#imageTipsBox article {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  margin: 16px 0;

  line-height: 1.7;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: left;
  
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}




#imageTipsBox article h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 32px;
  line-height: 1.3;
  text-align: center;
  
}

#imageTipsBox article h3 {
  font-size: 18px;       
  font-weight: 700;        
  color: #111111;          
  margin-bottom: 12px;     
  line-height: 1.3;        
  text-align: left;        
  margin-top: 32px;
}



article section {
  font-size: 1rem;
  color: #333333;
  text-align: center;
  
}

#imageTipsBox article p {
  text-align: left;
  margin-top: 16px;
  color: #333;
}


article strong {
  color: #1a73e8;
  font-weight: 600;
}


article ol {
  margin: 16px 0 0 24px;
  padding: 0;
}

article ol li {
  margin-bottom: 12px;
}

.more-links ul li {
  display: inline-block;
  margin: 8px;
}
.more-links a {
  text-decoration: none;
}

.common-issues dl dt {
  font-size: 18px;
  font-weight: 700;
  margin-top: 16px;
  text-align: left;
}

.common-issues dl  dd {
  text-align: left;
  color: #333;
}


@media screen and (orientation: portrait) {
  .more-links ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 0; 
  }

  .more-links ul li {
    display: grid;
    margin: 8px;
  }

  article {
    padding: 18px;
  }

  article h2 {
    font-size: 1.5rem;
  }

 

  .recommned-pc {
    visibility: visible;
  }

  .grid-container .grid-item p {
    font-size: 16px;
    margin-top: 8px;
  }

  .container {
    width: 98%;
    padding: 1%;
  }
  #videoInput {
    width: 96%;
  }
  section.preview {
    flex-direction: column;
  }
  header.title {
    width: 98%;
    padding: 1%;
  }
  .container .userEdit {
    width: 98%;
  }
  .grid-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 32px;
    width: 100vw;
    padding: 0;
  }
  .section .file-info {
    width: 96%;
    padding: 8px 0;
  }
  #videoContainer {
    width: 100%;
  }
  #imageTipsBox {
    margin: 0 auto;

    overflow-x: hidden;
  }
  .grid-container .grid-item {
    margin-top: 16px;
  }
}
