:root {
    --projectWidth: 200px;
    --projectHeight: 120px;
}

@font-face {
    font-family: 'NerdFontSymbols';
    src: url('NerdFontsSymbolsOnly/SymbolsNerdFontMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* CSS Styling */
.dialog-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    font-family: var(--font-family-Sans);
    z-index: 999999999999999999999;

}

.dialog-box {
    background: var(--secondary);
    border-radius: 11px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    width: 400px;
    max-width: 90%;
    font-size: 15px;
    font-family: var(--font-family-Sans);
    z-index: 9999999999999999999991;

}

.or-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
    font-weight: bold;
    color: var(--dimText);
    margin-top: 0px;
}

.or-separator::before,
.or-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--borderColor);
    margin: 0 8px;

}

@keyframes pulseBorder {

    0%,
    100% {
        border-color: #cc3633;
    }

    50% {
        border-color: transparent;
    }
}

.dialog-box.pulse {
    animation: pulseBorder 1s ease-out 0s 3;
    /* 1 second duration, 3 times */
    border: 2px solid #cc3633;
    /* Initial border color */
}

.dialog-header {
    font-size: 15px;
    margin: 0;
    padding: 7px 20px 7px 20px;
    padding-right: 7px;
    text-align: left;
    background: var(--primary);
    border-radius: 11px 11px 0px 0px;
    display: flex;
    align-items: center;
}

.dialog-header span {
    color: var(--dimText);
    font-size: 15px;
    text-align: center;
}

.dialog-body {
    padding: 15px;
    margin-bottom: 5px;
    color: var(--dimText);
}

.dialog-buttons {
    padding: 0 30px 20px 30px;
    text-align: center;

}

.google-sign-up-button,
.dialog-button {
    padding: 5px 15px;

    margin-top: 0px;
    background: var(--hover);
    color: var(--textColor);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 100px;

    border: 1px solid transparent;
    max-height: 28px;
    font-family: var(--font-family-Sans);
}

.dialog-button:not(.google-sign-up-button, .email-sign-up-button, .signup-cancel-button, .login-cancel-button,.p5-button,.github-button,.op-button) {
    background: var(--accent);
    color: var(--backGround);
}

#customConfirm .dialog-buttons,
#customAlert .dialog-buttons,
#customPrompt .dialog-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.signup-cancel-button,
.login-cancel-button,
#customConfirm .dialog-button,
#customAlert .dialog-button,
#customPrompt .dialog-button {
    margin-top: 10px;
    border-radius: 8px;
    width: 30%;
}

.list-close-button {
    min-width: 0px;
    padding: 0px;
}

.signup-cancel-button,
.login-cancel-button {
    margin-top: 15px !important;
    border-radius: 30px;
}

.email-sign-up-button,
.google-sign-up-button {
    padding: 8px 15px;
    max-height: 34px;
    width: 100%
}

#forgotPasswordLink {
    text-decoration: none;
    color: var(--href-color);
    font-family: var(--font-family-Sans);
    font-size: 0.8rem;
    position: relative;
    top: -5px;
}

.dialog-button:hover {
    filter: brightness(1.1);
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--backGround);
}

.google-sign-up-button::before {
    content: "";
    background-image: url('images/icons/googleG.png');
    background-size: cover;
    background-position: center;
    width: 19px;
    height: 19px;
    display: inline-block;
    color: transparent;
    border-radius: 50%;
    background-color: #ffffff00;
    position: relative;
    top: -5px;
    margin: -10px;
    margin-right: 5px;
    padding: 0px;
}

.email-sign-up-button::before {
    font-weight: regular;
    font-family: 'NerdFontSymbols';
    content: "\eb1c";
    background-color: transparent;
    padding: 4px;
    border-radius: 5px;
    color: var(--textColor);
    margin-right: 3px;
    font-size: 15px;
    position: relative;
    top: -0px;
    left: 0px;

    margin-left: -11px;
}

.login-cancel-button,
.signup-cancel-button,
.dialog-buttons button:nth-child(2):not(.google-sign-up-button) {
    background: var(--primary);
    color: var(--textColor);
    border: 1px solid var(--borderColor);
}

/* Style for the second button on hover */
.login-cancel-button:hover,
.signup-cancel-button:hover,
.dialog-buttons button:nth-child(2):not(.google-sign-up-button):hover {
    background: var(--hover);
    color: var(--textColor);
    border: 1px solid var(--noteText);
}

.login-cancel-button,
.signup-cancel-button {
    margin-top: 20px;
    /* Adjust the margin value as needed */
}

.list-close-button {}

#customList #listSearch {
    margin-top: -5px;
    padding-left: 33px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#templateList .dialog-body,
#customList .dialog-body {
    position: relative;

}

.template-list-container {
    margin-top: 5px !important;
    /* min-height: 200px !important;
    max-height: 400px !important;
    border: none !important; */
}

#customList .input-wrapper::before {
    font-family: "NerdFontSymbols";
    background-color: transparent;
    padding: 0px 0px;
    font-size: 16px;
    content: "\f0349";
    color: white;
    position: absolute;
    left: 24px;
    top: 17px;
    align-self: center;
    opacity: 0.5;
}

.dialog-button.list-close-button {
    color: var(--dimText);
    margin-left: auto;
    font-size: 25px;
    margin-right: 0px;
    padding-top: 0px;
    padding-bottom: 3px;
    padding-right: 1px;
    margin-left: auto;
    width: 24px !important;
    max-width: 24px !important;
    display: block;
    background: transparent !important;
    color: var(--textColor);
    border: 1px solid transparent;
    border-radius: 6px;
}

#customList .dialog-header {
    max-height: 20px;
}

.list-close-button::before {
    font-family: 'NerdFontSymbols';
    content: "\f467";
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: var(--dimText);
    font-size: var(--font-small);
    font-size: 1.1rem;
    /* font-weight: bold; */
    position: relative;
    top: 2px;
    left: -0px;
    padding: 0px;
    transition: all 0.2s;
}

.list-close-button:hover {
    background: var(--hover) !important;
    text-decoration: none;
    cursor: pointer;
}

.list-close-button:hover::before {
    color: var(--textColor);
}

#customPrompt .input-wrapper {
    width: calc(100% - 16px);
    /* Ensures the wrapper takes the full width of its parent */
    display: flex;
    justify-content: center;
    /* Centers the child (input) horizontally */
    /*border: 1px solid white;*/
}

.dialog-input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    /* Top margin only, no auto margin */
    border: 1px solid var(--borderColor);
    border-radius: 8px;
    background: var(--primary);
    color: var(--textColor);
    box-sizing: border-box;
}

.dialog-input::placeholder {
    color: var(--dimtext) !important;
}

.dialog-input:focus {
    border-color: var(--accent);
    /* Example focus color */
    outline: none;
    /* Removes default outline */
}

.prompt-message {
    padding: 10px;
    padding-left: 10px;
    color: var(--dimText);
}

#customPrompt .dialog-body,
#customConfirm .dialog-body,
#customAlert .dialog-body {
    position: relative;
    margin-left: 20px;
}

#customPrompt .dialog-body::before,
#customConfirm .dialog-body::before,
#customAlert .dialog-body::before {
    font-family: 'NerdFontSymbols';
    content: "\f421";
    background-color: transparent;
    padding: 4px;
    border-radius: 5px;
    color: #cbc93d;
    margin-right: 4px;
    font-size: 15px;
    position: absolute;
    top: 9.5px;
    left: -10px;
}

#customPrompt .dialog-body::before {
    top: 21px;
    left: 0px;
    content: "\f044";
    color: #519aba;
}

#customConfirm .dialog-body::before {
    top: 11.5px;
    content: "\f0ce6";
    color: #cc3e44;
}
















/* 


.list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--projectWidth), 1fr));
    gap: 5px;
    max-height: 550px;
    min-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid var(--borderColor);
    margin-top: 10px;
    border-radius: 4px;
    color: var(--dimText);
    padding: 5px;
    padding-top: 0px;
    justify-content: start;
    align-content: start;
}
.lower-container {
    display: flex;
    align-items: center;
    padding: 8px;
}

.text-info-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 8px;
}
.list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--projectWidth), 1fr));
    gap: 10px;
    overflow-y: auto;
    padding: 10px;
    justify-content: start;
    align-content: start;

}

.list-item {
    display: flex;
    flex-direction: column;
    background-color: var(--cardBackground);
    border-radius: 4px;
    overflow: hidden;
    height: calc(var(--projectWidth) * 1.5); 
    min-height: calc(var(--projectWidth) * 0.6); 
}

.list-item-cover {
    width: 100%;
    height: 60%; 
    object-fit: cover;
    background-color: #f0f0f0; 
    display: block; 
}

.list-item-infoContainer {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    padding: 8px;
    flex-grow: 1; 
}

.list-item-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
    background-color: #f0f0f0; 
}
.list-item-text-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 8px; 
    flex-grow: 1;
}
.list-item-user-name,
.list-item-name,
.list-item-date {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px; 
}


.list-item-button {
    all: unset;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.list-item-delete-button {
    all: unset;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--buttonBackground); 
    color: var(--buttonTextColor);
    border-radius: 50%;
    padding: 5px;
    z-index: 10; 
}

.no-projects-message {
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
}
 */



























.dialog-box.list {
    background: var(--secondary);
    border-radius: 11px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    width: 900px;
    max-width: 90%;
    font-size: 15px;
    font-family: var(--font-family-Sans);

}

.list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--projectWidth), 1fr));
    gap: 5px;
    max-height: 50vh;
    min-height: 50vh;
    /* Set this to the maximum height you want */
    overflow-y: auto;
    overflow-x: hidden;
    /* Enable vertical scrolling */
    border: 1px solid var(--hover);
    margin-top: 10px;
    border-radius: 11px;
    color: var(--dimText);
    padding: 5px;
    padding-top: 0px;
    justify-content: start;
    /* Align grid items to the start horizontally */
    align-content: start;

}

.list-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    padding-bottom: 0px;

    /*border: 1px solid var(--borderColor);*/
    border-radius: 4px;
    background-color: transparent;
    /*cursor: pointer;*/
    transition: all 0.2s;

}

.list-item {}

.list-row:hover {
    /* filter: brightness(110%); */
}

.list-row:hover .list-item-name {
    filter: brightness(120%);
}

.list-item-infoContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: -0px;
    /* background: var(--hover); */
    margin: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    max-width: var(--projectWidth);
    min-width: var(--projectWidth);

}

.list-item-user-name,
.list-item-name,
.list-item-date {
    white-space: nowrap;
    /* Prevent text from wrapping to a new line */
    overflow: hidden;
    /* Hide overflow content */
    text-overflow: ellipsis;
    /* Show ellipsis for overflow content */
}

.list-item-user-name {
    font-size: 12px;
    margin-top: 0px;
    padding: 3px 0px;
    border-radius: 0px 0px 11px 11px;
    color: var(--textColor);
    transition: all 0.2s;
    max-width: calc(100% - 2px);
    min-width: calc(100% - 2px);
    z-index: 2;
    font-size: 15px;
    filter: brightness(1);
    margin-top: -32px;
    margin-bottom: 5px;
    background-color: var(--secondary);
    /* border: thin solid var(--borderColor); */
    width: calc(100% - 2px);
    text-align: center;
    padding-left: 8px;
    box-sizing: border-box;
}

.list-item-button:hover+.list-item-user-name {
    filter: brightness(1.15);
    /* border: 1px solid var(--accent);
    border-top: 1px solid var(--borderColor); */

}

.list-item-user-name::before {
    /* font-family: 'NerdFontSymbols';
    content: "\f0004";
    background-color: transparent;
    padding: 0px;
    color: var(--accent);
    margin-right: 5px;
    font-size: 12px;
    position: relative;
    top: -1px; */
    /* Adjust this value as needed to move up */
}


.list-item-name {
    /* margin-right: -25px; */
    /*flex: 1 1 auto; */
    max-width: calc(100% - 10px);
    /* Adjust this value based on your layout */
    font-size: 14px;

}

.list-item-date {
    margin-right: 0px;
    font-size: 12px;
    padding-top: 5px;
    flex: 0 0 auto;
    max-width: calc(100% - 20px);
    /* Do not allow this element to grow */
}

.list-item-name,
.list-item-date {
    text-align: left;
}

.list-container.full {
    display: flex;

    gap: 5px;
    max-height: 350px;
    min-height: 350px;
    /* Set this to the maximum height you want */
    overflow-y: auto;
    overflow-x: hidden;
    /* Enable vertical scrolling */
    border: 1px solid var(--borderColor);
    margin-top: 10px;
    border-radius: 4px;
    color: var(--dimText);
    padding: 0px;
    padding-top: 0px;
    justify-content: start;
    /* Align grid items to the start horizontally */
    align-content: start;
}

.no-projects-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /*border: 1px solid var(--borderColor);*/
    border-radius: 4px;
    background-color: var(--primary);
    /*cursor: pointer;*/
    transition: all 0.2s;
    width: 100%;
}

.list-item-cover {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
    /* Changed from contain to cover */
    border-radius: 5px;
    /* border: 1px solid var(--hover); */
    width: calc(100% - 0px);
    height: calc(100% - 0px);
}

.list-item-button::before {
    font-family: 'NerdFontSymbols';
    content: "\f4e5";
    background-color: transparent;
    padding: 4px;
    border-radius: 5px;
    color: var(--noteText) !important;
    margin-right: 4px;
    font-size: 33px;
    opacity: 0.5
}


.list-item-button {
    position: relative;
    /*background: url('folder-icon-url') no-repeat center;*/
    background-size: contain;
    background-color: var(--darker);
    width: var(--projectWidth);
    /* adjust size */
    height: var(--projectHeight);
    /* adjust size */
    border: none;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s;
    border: 1px solid var(--borderColor);
    /* background: linear-gradient(to bottom right,
            var(--darker),
            var(--blurColor),
            var(--darker)); */
    background-blend-mode: overlay;
    overflow: hidden;
}

/* .list-item-button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom right,
            var(--textColor),
            var(--backGround),
            var(--textColor));
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    transform: scale(5.6);
    z-index: 0;
    transition: filter 0.3s ease, transform 0.3s ease;
    opacity: 0.3;
    border-radius: 14px;
} */
.list-item-button:hover {
    background-color: var(--codeHeader);
    border: 1px solid var(--accent);
}

.list-item-button.op-button,
.list-item-button.p5-button,
.list-item-button.github-button {
    max-height: 250px;
}

.list-item-button.github-button::before {
    font-family: 'NerdFontSymbols';
    content: "\eba1";
    background-color: transparent;
    padding: 4px;
    border-radius: 5px;
    color: var(--dimText);
    margin-right: 4px;
    font-size: 43px;
}

.list-item-button.p5-button::before {
    content: "";
    width: calc(60px);
    height: calc(60px);
    background-size: contain;
    background-position: center;
    display: block;
    pointer-events: none;
    background-image: url('images/icons/p5-logo.png');
    opacity: 1;
    position: relative;
    top: 0px;
    left: calc(50% - 35px);
    border-radius: 50%;
}

.list-item-button.p5-button.has-p5-cover::before {
    background-image: url(' ');
}

.list-item-button {
    position: relative;
    /* Container for the image and delete button */
}

.project-type-container {
    display: flex;
    flex-direction: column;
    padding: 0px;
    gap: 3px;
    position: absolute;
    top: 5px;
    left: 5px;

}

.list-item-short-icon,
.list-item-fork-icon,
.list-item-published-icon {
    width: 25px;
    height: 25px;
    background-color: var(--darker);
    border-radius: 8px;

    padding: 0px;
    border: none;
    border: 1px solid var(--borderColor);
    color: var(--dimText);
    opacity: 0.75;
    transition: all 0.2s;
    cursor: pointer;
    font-size: 0.8rem;

}

.list-item-published-icon:hover {
    transform: scale(1.1);
    opacity: 1;
    color: #cbc93d;
}

.list-item-short-icon::before,
.list-item-fork-icon::before,
.list-item-published-icon::before {
    font-family: 'NerdFontSymbols';
    content: "\f005";
    background-color: transparent;
    padding: 0px;
    border-radius: 5px;
    position: relative;
    font-size: 0.8rem;
    top: -2px;

}

.list-item-short-icon::before {
    content: "\f0e7";
}

.list-item-fork-icon::before {
    content: "\f126";
    top: 0px;
}

.list-item-rename-button,
.list-item-delete-button {
    width: 25px;
    height: 25px;
    background-color: var(--darker);
    border-radius: 8px;
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 0px;
    border: none;
    border: 1px solid var(--borderColor);
    color: var(--dimText);
    opacity: 0.75;
    transition: all 0.2s;
    cursor: pointer;
    display: none;
}

.list-item:hover .list-item-rename-button,
.list-item:hover .list-item-delete-button {
    display: block;
}

.list-item-delete-button:hover {
    transform: scale(1.1);
    opacity: 1;
    color: var(--textColor);
}

.list-item-rename-button::before,
.list-item-delete-button::before {
    font-family: 'NerdFontSymbols';
    content: "\f014";
    background-color: transparent;
    padding: 0px;
    border-radius: 5px;
    position: relative;
    font-size: 0.8rem;
    color: #f85149 !important;
    top: -2px;
}

.list-item-rename-button {
    top: 60px;
}

.list-item-rename-button::before {
    color: var(--dimText) !important;
    content: "\f448";
}

.list-item-duplicate-button {
    width: 25px;
    height: 25px;
    background-color: var(--darker);
    border-radius: 8px;
    position: absolute;
    top: 32.5px;
    right: 5px;
    padding: 0px;
    border: 1px solid var(--borderColor);
    color: var(--dimText);
    opacity: 0.75;
    transition: all 0.2s;
    cursor: pointer;
    display: none;
}

.list-item-duplicate-button::before {
    font-family: 'NerdFontSymbols';
    content: "\f4bb";
    background-color: transparent;
    padding: 0px;
    border-radius: 5px;
    position: relative;
    font-size: 0.78rem;
    top: -1px;
}

.list-item:hover .list-item-duplicate-button {
    display: block;
}

.list-item-duplicate-button:hover {
    transform: scale(1.1);
    opacity: 1;
    color: var(--textColor);

}

.list-item-fork-icon:hover,
.list-item-short-icon:hover,
.list-item-rename-button:hover {
    transform: scale(1.1);
    opacity: 1;
}

.list-item-button:hover::before {
    color: var(--textColor);
}

.list-item-button[data-number="1"].current-project {
    border: 1px solid #a074c4;
}

.list-item-button[data-number="1"]::before {
    color: #a074c4;
    /* Red */
}

.list-item-button[data-number="2"].current-project {
    border: 1px solid #519aba;
}

.list-item-button[data-number="2"]::before {
    color: #519aba;
    /* Green */
}

.list-item-button[data-number="3"].current-project {
    border: 1px solid #8dc149;
}

.list-item-button[data-number="3"]::before {
    color: #8dc149;
    /* Blue */
}


.list-item-button[data-number="4"].current-project {
    border: 1px solid #cbc93d;
}

.list-item-button[data-number="4"]::before {
    color: #cbc93d;
    /* Yellow */
}


.list-item-button[data-number="5"].current-project {
    border: 1px solid #e3732e;
}

.list-item-button[data-number="5"]::before {
    color: #e3732e;
    /* Purple */
}


.list-item-button[data-number="6"].current-project {
    border: 1px solid #cc3633;
}

.list-item-button[data-number="6"]::before {
    color: #cc3633;
    /* Purple */
}

#notificationModal::before {
    font-family: 'NerdFontSymbols';
    content: "\f421";
    background-color: transparent;
    padding: 4px;
    border-radius: 5px;
    color: var(--textColor);
    margin-right: 4px;
    font-size: 10px;
    position: relative;
    top: 5px;
    left: -5px;
    font-size: 15px;
    color: #8dc149;
}

#notificationModal:hover {
    filter: brightness(1.15);
}

#notificationModal {
    display: none;
    position: fixed;
    right: 10px;
    bottom: 0px;
    background-color: var(--primary);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--hover);
    border-radius: 5px;
    z-index: 9999999999999999999992;
    /* Sit on top */
    padding: 10px;
    padding-top: 0px;
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-left: 10px;
    max-width: 300px;
    min-width: 200px;
    overflow: hidden;
}

#notificationMessage {
    color: var(--textColor);
    font-size: 14px;

    margin-top: 10px;
}

#closeBtn {
    color: var(--dimText);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin: 0px;
}

#closeBtn:hover,
#closeBtn:focus {
    color: var(--textColor);
    text-decoration: none;
    cursor: pointer;
}

.tos-container {
    text-align: center;
    /* Center align content horizontally */
    padding: 5px;
    /* Add padding */
}

.terms-of-service-agreement {
    width: 100%;
    padding: 0px;
    font-size: 13px;
    align-self: center;
    margin: auto;
    margin-top: 10px;
}

.terms-of-service-agreement a {
    color: var(--href-color);
}


.template-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--projectWidth), 1fr));
    gap: 5px;
    max-height: 50vh;
    min-height: 50vh;
    /* Set this to the maximum height you want */
    overflow-y: auto;
    overflow-x: hidden;
    /* Enable vertical scrolling */
    border: 1px solid var(--hover);
    margin-top: 10px;
    border-radius: 11px;
    color: var(--dimText);
    padding: 5px;
    padding-top: 0px;
    justify-content: start;
    /* Align grid items to the start horizontally */
    align-content: start;
}

.dialog-box.template {
    background: var(--secondary);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    width: 900px;
    max-width: 90%;
    font-size: 15px;
    font-family: var(--font-family-Sans);

}

.template-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.template-item img {
    width: 200px;
    height: 120px;
    object-fit: contain;
    cursor: pointer;
    border: 1px solid var(--borderColor);
    background-color: var(--backGround);
    border-radius: 12px;
    margin-bottom: 10px;
}

.template-item img:hover {
    border: 1px solid var(--accent);
}


.template-modal-details {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 8px 0;

}