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: 8px;
  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;
}


.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%;
  display: flex;
}

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;
}

.image_title div {
  margin: 16px 0;
}

#videoPreview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

#guidePage {
  width: 1080px;
  height: 600px;
  text-align: center;
  align-items: center;
  margin: 120px auto;
  margin-top: 60px;
}

.upload-label {
  margin: 0 auto;
  margin-bottom: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 245px;
  height: 60px;
  background-color: var(--black-90);
  color: white;
  cursor: pointer;
  border-radius: 3px;
}

#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;
}

.section .file-info span:nth-child(2) {
  word-wrap: break-word;
  text-align: right;
  line-height: 18px;
  width: 80%;
}

.compressBox {
  background-color: #fafafa;
}

.compressBox fieldset {
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 16px 8px;
  height: 75px;
  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-bottom: 8px;
}

.compressBox fieldset select {
  font-weight: 700;
  height: 25px;
  width: 120px;
  color: var(--color-blue);
}

#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;
}

#download {
  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%;
}

.mp3info {
  position: absolute;
  z-index: 9;
}

.mp3info li {
  margin: 8px 3px;
}

#title,
#album,
#artist {
  color: var(--color-blue);
  margin-right: 8px;
}

@media screen and (orientation: portrait) {

    
  #page_footer a.select-langage {
    display: none;
  }

  .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(2, 1fr);
    grid-gap: 0;
    width: 100vw;
    padding: 0;
  }

  .section .file-info {
    width: 96%;
    padding: 8px 0;
  }

  #videoContainer {
    min-height: 150px;
    width: 100%;
  }

  #guidePage {
    margin: 0 auto;
    margin-top: 32px;
    overflow-x: hidden;
  }

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