:root {
    --primary-color: #81cdc6;
    --text-color: #c2c2c2;
    --background-color: #000;
    --button-hover-color: #b2b2b2;
    --error-color: #ff6347; 
    --form-background: #00000044; 
    --form-background-focus: #00000066; 
    --form-input-background: #000000aa;
    --form-border-color: #c2c2c2; 
    --primary-font-family: 'Raleway', sans-serif;
    --secondary-font-family: 'Roboto',Arial,sans-serif; 
}

body {
    color: var(--text-color);
    background-color: var(--background-color);
    font-family: var(--primary-font-family);
    
}

h1, label {
    color: var(--text-color);
}

.generate-model-form-header{
    font-weight: 400;
    padding: 15px 0 15px 0;
}

.form-group {
    margin: 15px 0 15px 0;
    display:flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.model-form-label{
    padding: 0.25rem

}

.form-control {
    background-color: var(--form-input-background);
    color: var(--text-color);
    border:none;
}

.form-control:focus {
    background-color: var(--form-background-focus);
    color: var(--text-color);
    border-color: var(--primary-color);
}



.btn {
    color: #00000099; 
    background-color: var(--form-border-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--primary-color);
}

.response {
    margin-top: 20px;
    color: var(--primary-color);
    text-align: center;
}

.response.error {
    color: var(--error-color);
}

.advanced-settings {
    overflow: hidden;
    max-height: 0;
    transition: all 1s ease-in-out;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.advanced-settings.active {
    max-height: 300px;
    /* max-height:30rem; */
}
.advanced-setting-label{
    font-size: 14px;
}
.advanced-setting-input{
    max-width:150px;
}

.toggle-advanced {
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    
}

.toggle-advanced:hover {
    color: var(--primary-color);
}

.toggle-indicator {
    transition: opacity 1s;
    opacity: 1;
}

#data::placeholder {
    /* color: #808080;  */
    color: #aaaaaa; 
    font-weight: 100;
    font-family: var(--secondary-font-family);
}

#downloadModelButton {
    text-decoration: none;
    color: var(--primary-color);
    
}
#previewModelButton {
    /* background-color: #888; */
    /* flex:1; */
    
}
#createModelButton {
    /* text-decoration: none; */
    /* flex:1; */
    /* margin-left: 10px; */
}
#createModelButton:hover {

}

#modelPreviewContainer {
    width: auto;
    height: auto;
    min-height: 300px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex:1;
}

.sub-header{
    color: rgba(33, 37, 41, 1.0)
}

.content-container {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    max-height: 100vh;
    max-width:1600px;
}

.title-container {
    flex: 1;
    max-width: 35%; 
    color: var(--primary-color); 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 50px auto;
}

.model-form-container{
    flex: 1;
    padding: 20px;
    max-width: 50%; 
    max-width: 600px; 
    margin: 50px auto;
    border-radius: 10px;
    background-color: #ffffff11; 
}

.submit-form-group{
    display:flex;
    flex-direction: row;
    justify-content: center;

} 

@media screen and (max-width: 768px) {
    .content-container {
        flex-direction: column;
        padding:25px;
    }
    .title-container, .model-form-container{
        max-width: 100%;
    }
    .title-container{
        max-height: 10vh;
        font-size: 1rem;
        flex-direction: row;
    }
    .header {
        font-size: 2rem;
        
    }
    .sub-header{
        text-align: right;
        font-size: 2rem;
    }

    .advanced-settings {
        flex-direction: column;
    }
    .advanced-form-group {
        flex-direction: row;
        justify-content: flex-end;
    }
    .advanced-setting-label{
        margin-right: 5px;

    }
    .submit-form-group{
        /* flex-direction: column; */
        justify-content: space-evenly;
    }
    #modelPreviewContainer{
        max-width:350px;
    }
}


input[type='number'] {
    background-color: var(--form-input-background);
    color: var(--text-color);
    padding: 5px;
    border-radius: 5px;
    border:none;
}
input[type='number']:focus {
    outline: none;

}



input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



.button-17 {
  align-items: center;
  appearance: none;
  background-color: var(--primary-color);
  /* background-color: #c4c4c4; */
  background-color: #ddd;
  border-radius: 24px;
  border-style: none;
  box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0;
  box-sizing: border-box;
  color: #3c4043;
  color: #2e2e2e;
  cursor: pointer;
  display: inline-flex;
  fill: currentcolor;
  font-family: var(--secondary-font-family);
  font-size: 15px;
  /* font-weight: 500; */
  height: 35px;
  justify-content: center;
  letter-spacing: .25px;
  line-height: normal;
  max-width: 100%;
  overflow: visible;
  padding: 2px 24px;
  position: relative;
  text-align: center;
  text-transform: none;
  transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;
  user-select: none;
  touch-action: manipulation;
  width: auto;
  z-index: 0;
  transition: background-color 0.3s;
  min-width:150px;
}

.button-17:hover {
    background-color: #c2c2c2;
    background-color: #b2b2b2;
}

.button-17:active {
  box-shadow: 0 4px 4px 0 rgb(60 64 67 / 30%), 0 8px 12px 6px rgb(60 64 67 / 15%);
  outline: none;
}

.button-17:focus {
  outline: none;
  
}

.button-17:not(:disabled) {
  box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
}

.button-17:not(:disabled):hover {
  box-shadow: rgba(60, 64, 67, .3) 0 2px 3px 0, rgba(60, 64, 67, .15) 0 6px 10px 4px;
}

.button-17:not(:disabled):focus {
  box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
}

.button-17:not(:disabled):active {
  box-shadow: rgba(60, 64, 67, .3) 0 4px 4px 0, rgba(60, 64, 67, .15) 0 8px 12px 6px;
}


textarea:focus, 
textarea.form-control:focus, 
input.form-control:focus, 
input[type=text]:focus, 
input[type=password]:focus, 
input[type=email]:focus, 
input[type=number]:focus, 
[type=text].form-control:focus, 
[type=password].form-control:focus, 
[type=email].form-control:focus, 
[type=tel].form-control:focus, 
[contenteditable].form-control:focus {
  box-shadow: inset 0 0 0 2px #9e9e9e;
}