body{
    min-height: 100vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 0px;
}

button{
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px;
}

h2{
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    color: #e52317;
}

.header{
    display: flex;
    flex-direction: row;
    min-height: 10vh;
    background-color: white;
    padding-left: 50px;
    padding-bottom: 10px;
}

.header>img{
    height: 10vh;
}

.main{
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    justify-content: center;
    align-items: center;
    padding: 5vh;
    background-color: #2a4c9c;
}

.area{
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    background-color: white;
    padding: 50px;
    border-radius: 25px;
}

.list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.list>:nth-of-type(even){
    background-color: #93969e;
}

.box{
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 25px;
    background-color: lightgrey;
    margin-bottom: 10px;
    border: none;
    color: #2a4c9c;
}

.nameField{
    margin-bottom: 10px;
}

.fieldLabel{
    font-family: sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    padding-left: 5px;
    font-weight: bold;
}

.nameInput{
    border-radius: 5px;
    border: none;
    font-family: 'poppins', sans-serif;
}

.promptInput{
    border-radius: 5px;
    border: none;
    font-family: 'poppins', sans-serif;
    resize: vertical;
}

.promptButton{
    flex-grow: 0.5;
    margin-top: 20px;
    min-width: 120px;
    min-height: 50px;
    border-radius: 25px;
    background-color: #2a4c9c;
    border: none;
    color: white;
    align-self: center;
}

.promptButton:hover{
    background-color: #e52317;
}

.buttonContainer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.fileSelectArea{
    background-color: white;
    border: 4px solid #e52317;
    border-radius: 50vh;
    padding: 0 50px;
}

.fileSubmitButton{
    margin: 20px;
    min-width: 80px;
    min-height: 30px;
    border-radius: 15px;
    background-color: #e52317;
    border: none;
    color: white;
}

.fileSubmitButton:hover{
    background-color: #2a4c9c;
}

.outputArea{
    background-color: #2a4c9c;
    display: flex;
    justify-content: center;
    align-items: center;
}

.output{
    color: white;
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 24px;
}

button:disabled{
    border: 0 solid #999999;
    background-color: #cccccc;
    color: #666666;
}

button:disabled:hover{
    border: 0 solid #999999;
    background-color: #cccccc;
    color: #666666;
}

/* Dropdown Button */
.dropdown-button {
  color: white;
  padding: 0;
  border: 2px, solid, white;
  cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropdown-button:hover, .dropbtn:focus {
  border: 2px, solid, black;
}

/* The container <div> - needed to position the dropdown content */
.custom-dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content input {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  background-color: white;
}

/* Change color of dropdown links on hover */
.dropdown-content input:hover {
    background-color: #ddd;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

.image-preview {
    width: 192px;
    height: 108px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

#preview{
    position: relative;
    width: 480px;
    height: 270px;
}

.preview-img{
    width: 480px;
    height: 270px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#general-area{
    flex-direction: row;
}

#general-area .labeled-item{
    margin: 10px;
}

#video-area{
    flex-direction: column;
}

.labeled-item{
    display: flex;
    flex-direction: column;
}

.tab-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.tab {
    padding: 5px 10px;
    background-color: #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.tab.active {
    background-color: #bbb;
}

.language-script {
    display: none;
    width: 100%;
    resize: none;
    overflow: hidden;
    font-family: inherit;
    font-size: inherit;
    box-sizing: border-box;
}

.language-script.active {
    display: block;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 6px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}