body {
    font-family: 'Roboto', sans-serif;
    /* background: linear-gradient(135deg, #74ebd5, #acb6e5); */
    /* background: linear-gradient(to bottom, #a2b8ec, #5379ea); */
    background: linear-gradient(to bottom, #074862, #5379ea);
    margin: 0;
    padding: 10px;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
h1, #pycompile-title-heading {
    text-align: center;
    /* color: #4a90e2; */
    /* color: #305e93; */
    color: #ffffff;
    margin: 15px 0px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 37px;
}
.container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    font-weight: 600;
}
.CodeMirror-container, .Output-container {
    width: 50%;
    margin: 10px 0px;
}
.CodeMirror, .output-header, .output-content {
    width: 100%;
    /* border-radius: 10px; */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    font-size: 18px;
}
.CodeMirror{
    height: 600px;
    max-height: 600px;
}
.output-header, .code-header {
    padding: 8px 0px;
    /* font-size: 15px; */
    background-color: #4a90e2;
    color: white;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    /* width: 98.8%; */
    font-size: 22px;
}

.output-header{
    padding: 13px 0px;
}

#run-button, #theme-button, #download-button, #toggle-input-output {
    display: block;
    margin: 10px auto;
    padding: 12px 20px;
    font-size: 22px;
    cursor: pointer;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
#run-button:hover, #theme-button:hover, #download-button:hover, #toggle-input-output:hover {
    background-color: #357ab8;
    transform: translateY(-2px);
}
#output, #input {
    height: 600px;
    /* border: 1px solid #ccc; */
    /* border-radius: 10px; */
    /* padding: 10px; */
    background-color: #fff;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}
#input{
    max-height: 590px;
    padding-top: 10px;
    padding-left: 10px;
    font-size: 18px;
}
#font-size-dropdown {
    margin: 10px auto;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.code-utility-functions {
    display: flex;
    column-gap: 15px;
    flex-wrap: wrap;
}
.hidden {
    display: none;
}
.CodeMirror-hints, .CodeMirror-hint {
    font-size: 18px; /* Adjust the font size as needed */
}
@media (max-width: 600px) {
    .container {
        flex-direction: column;
        font-weight: 600;
    }
    .CodeMirror, .output-content {
        height: 300px;
    }
    .CodeMirror-container, .Output-container {
        width: 100%;
    }
    .CodeMirror{
        height: 450px;
    }
    #input, #output{
        height: 350px;
    }
    #run-button, #theme-button, #download-button, #toggle-input-output{
        padding: 10px 20px;
        font-size: 16px;
    }
    h1{
        font-size: 34px;
    }
}

.special-styles {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    margin-top: 50px;
}
.special-styles header {
    background-color: #fff;
    color: #fff;
    padding: 20px;
    margin: 20px;
    padding-bottom: 0px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.special-styles section {
    padding: 40px;
    margin: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.special-styles h2 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 2em;
    border-left: 6px solid #1976D2;
    padding-left: 20px;
}
.special-styles #pycompile-title-heading{
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 2em;
    border-bottom: 3px solid #1976D2;
    padding-bottom: 15px;
    border-left: none;
}
.special-styles h3 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 2em;
    background-color: #e3f2fd;
    padding: 15px 20px;
    border-radius: 6px;
}
h1, h2, h3{
    line-height: 1.3;
    font-family: 'Roboto', sans-serif;
}
.special-styles p {
    margin-bottom: 25px;
    color: #555;
}
.special-styles ul {
    list-style-type: none;
    padding: 0;
}
.special-styles li {
    margin: 12px 0;
    padding: 18px;
    background-color: #e3f2fd;
    border-radius: 6px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.special-styles li:hover {
    transform: translateY(-2px);
    background-color: #bbdefb;
}
.special-styles a {
    color: #1976D2;
    text-decoration: none;
    transition: color 0.3s ease;
}
.special-styles a:hover {
    color: #0d47a1;
}
.special-styles footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.security-notice {
    background: white;
    border-radius: 8px;
    /* max-width: 600px; */
    /* text-align: center; */

}
.security-notice h1 {
    color: #e74c3c;
}
.security-notice h2 {
    margin-bottom: 20px;
}
.security-notice .toggle-list {
    cursor: pointer;
    color: #2196F3;
    margin: 10px 0;
    font-weight: bold;
}
.security-notice .grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
    text-align: left;
}
.security-notice .grid-item {
    background: #e7f3fe;
    border: 1px solid #2196F3;
    padding: 10px;
    border-radius: 4px;
}
#run-button-3{
    font-size: large;
    color: navy;
    background-color: whitesmoke;
    padding: 7px 10px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid navy;
    margin-left: 100px;
}

#run-button-3:hover{
    cursor: pointer;
    background-color: #d2deeb;
}

@keyframes blinkAndScale {
  0% {
    background-color: #ad0e0e;
    transform: scale(1);
  }
  50% {
    background-color: #2196F3;
    transform: scale(1.05);
  }
  100% {
    background-color: #ad0e0e;
    transform: scale(1);
  }
}

.blink {
  animation: blinkAndScale 0.5s ease-in-out infinite;
}

#input-placeholder{
    margin-top: 10px;
    line-height: 10px;
}

pre, #error-output {
    font-family: 'Roboto', sans-serif;
    line-height: 27px;
}