body {
    font-family: Arial, sans-serif;
    margin: 0;
}

.container {
    max-width: 98%;
    padding: 0px 20px 20px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 45px;
    margin-right: 8px;
    margin-left: 8px;
    margin-top: 44px;
}

h1 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 10pt;
    text-transform: uppercase;
}

input, textarea {
    width: 100%;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    min-height: 200px;
    height: 400px;
    margin-bottom: 0;
    resize: vertical;
}

button {
    display: block;
    width: 100%;
    height: 100%;
    /*padding: 10px;*/
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    filter: drop-shadow(2px 2px 4px #3a3a3a);
}

button:hover {
    background-color: #0055b1;    
}

select {
    width: 90%;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.overlay2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Center the GIF */
.gif-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Giphy iframe styles */
iframe {
    width: 100%;
    max-width: 300px; /* Adjust the maximum width as needed */
}

.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

.options {
    text-align: center;
    padding-bottom: 20px;
}

.options .item {
    
    padding: 6px 15px;
    border-radius: 5px;
    background-color: #ff7b00;
}

.options a {
    text-decoration: none;
    color: black;
}

.options .selected {
    background-color: rgb(164, 250, 164);
    background-color: #007BFF;
    color:white;
}

#settings {
    display: grid;
    grid-template-columns: repeat(4, 25%);
    /*grid-gap: 10px;*/

    border: 1px solid #ccc;
    border-radius: 5px;
    max-width: 800px;
    margin: auto;
    margin-bottom: 1em;
    background-color: white;
}

.settingsBox {
    width: 100%;
    /*background-color: #f0f0f0; /* You can change the background color */
    /*border: 1px solid #000; /* Add borders or customize as needed */
    padding: 20px ; /* Add padding as needed */
    box-sizing: border-box;
    text-align: center;
}

#translateBoxes {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    /*grid-gap: 10px;*/

    border: 1px solid #ccc;
    border-radius: 5px;
}

.translateBox {
    width: 100%;
    /*background-color: #f0f0f0; /* You can change the background color */
    /*border: 1px solid #000; /* Add borders or customize as needed */
    padding: 20px; /* Add padding as needed */
    box-sizing: border-box;
    text-align: center;
}

.translateBox label {
    font-size: 14pt;
    display: inline-block;
    
}

.translateBox button {
    width: auto;
    height: 40px;
    display: inline-block;
    margin-left: 2em;
    text-align:left;
    padding: 0 10px;
}

.translateBoxHeader {
    /*min-height: 50px;*/
    margin-bottom: 20px;

}

.bottom-bar {
    background-color: #333;
    color: #fff;
    height: 30px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    line-height: 30px;
    filter: drop-shadow(0px -1px 5px #333);
}

.top-bar {
    position: fixed;
    top: 0; 
    width: 100%; 
    height: 30px; 
    line-height: 30px;
    background-color: #333; 
    color: #fff;
    padding-left: 20px;
    z-index: 1000;
    filter: drop-shadow(0px 1px 5px #333);
}

.top-bar a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

/*#settings {
    filter: drop-shadow(2px 4px 6px black);
}*/

#passwordBox {
    max-width: 600px;
    margin:auto;
    text-align: center;
    margin-top: 30px;
}

#passwordBox label {
    font-weight: bold;
}



@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
