@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: 'neuePlak-regular'; /* Replace 'YourCustomFont' with the desired font name */
    src: url('../fonts/NeuePlak Regular.ttf') format('truetype'); /* Adjust the path and file format accordingly */
}

@font-face {
    font-family: 'neuePlak-extendedExtraBlack'; /* Replace 'YourCustomFont' with the desired font name */
    src: url('../fonts/NeuePlak-ExtendedExtraBlack.ttf') format('truetype'); /* Adjust the path and file format accordingly */
}

@font-face {
    font-family: 'neuePlak-extended-light'; /* Replace 'YourCustomFont' with the desired font name */
    src: url('../fonts/Neue Plak Extended Light.ttf') format('truetype'); /* Adjust the path and file format accordingly */
}

@font-face {
    font-family: 'neuePlak-extended-thin'; /* Replace 'YourCustomFont' with the desired font name */
    src: url('../fonts/Neue Plak Extended Thin.ttf') format('truetype'); /* Adjust the path and file format accordingly */
}

@font-face {
    font-family: 'neuePlak-extended-regular'; /* Replace 'YourCustomFont' with the desired font name */
    src: url('../fonts/Neue Plak Extended Regular.ttf') format('truetype'); /* Adjust the path and file format accordingly */
}

@font-face {
    font-family: 'bebas-neue-bold'; /* Replace 'YourCustomFont' with the desired font name */
    src: url('../fonts/BebasNeue Bold.ttf') format('truetype'); /* Adjust the path and file format accordingly */
}

@font-face {
    font-family: 'neue-plak-extended-semiBold'; /* Replace 'YourCustomFont' with the desired font name */
    src: url('../fonts/Neue Plak Extended SemiBold.ttf') format('truetype'); /* Adjust the path and file format accordingly */
}

body.scroll-disabled {
    overflow: hidden;
}

body {
    color: white;
    background-image: linear-gradient(to bottom right, rgb(34,34,34), black);
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.disclaimer-text {
    line-height: 0.7em;
}

.canvas-parent-container {
    position: relative;
    width: 100%;
    height: 100%; /* Or any desired height */
    align-items: center;
    justify-content: center;
}

#canvas-section {
    position: absolute; /* Or any other position that suits your layout */
    margin-top: 10px;
    top: 0;
    width: 100%; /* Adjust the width based on your design */
    height: 100%; /* Adjust the height based on your design */
    transition: 0.5s;
}

.swiped-left {
    transform: translateX(-150%);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.swiped-right {
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.centered {
    transform: translateX(0);
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.5s, opacity 0.5s;
}

.icon-with-text {
    align-items: center; /* Vertically center the icon and text */
    text-align: center;
}

    .icon-with-text svg {
        margin-right: 5px; /* Add some spacing between the icon and text */
    }

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.template-list {
    display: flex;
    width: 50vw;
    height: 50vh;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 10px;
    justify-content: space-between; /* This will create equal spacing between elements */
}

    .image-container img {
        max-width: 100%;
        height: 25vh;
        filter: brightness(100%); /* Set the default brightness */
    }

    .image-container canvas {
        max-width: 100%;
        height: 75vh;
    }

    .image-container input[type="radio"] {
        margin-top: 10px;
    }


.image-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 10px;
    justify-content: space-between; /* This will create equal spacing between elements */
}

    .image-carousel-container img {
        max-width: 100%;
        filter: brightness(100%); /* Set the default brightness */
    }

.image-slider {
    width: 100%;
    height: 100%;
}

.generated-image-container img {
    max-width: 100%;
    height: 50vh;
}

.selected {
    filter: brightness(130%); /* Set the brightness for selected images */
    transform: scale(1.1);
}

.image-container img:hover {
    /* Apply scale transformation on hover */
    transition: transform 0.3s;
    transform: scale(1.1);
    cursor: pointer;
}

.image-container not(.selected) img:not(:hover) {
    transition: transform 0.3s;
    transform: scale(1);
}

.image-carousel-div {
    display: none;
}

.image-grid {
}

.generated-flyer-section {
}

.rules-div {
    font-size: 18px;
    font-family: 'neuePlak-extended-regular';
}

#go-forward-button-carousel {
    display: none;
}

#go-back-button-carousel {
    display:none;
}

#emailContent{
    width: 100%;
    height: 300px;
    border-radius: 25px;
}

#side-bar-bottom-div {
    position: absolute;
    bottom: 0;
}

@media (max-width: 767px) {
    .image-container canvas {
        width: 100%;
        height: 100%;
    }

    #emailContent {
        height: 300px;
    }

    .image-grid {
        display: none;
    }

    .generated-flyer-section {
        display: none;
    }

    .image-carousel-div {
        display: block;
    }

    .rules-div {
        font-size: 12px;
        font-family: 'neuePlak-extended-regular';
    }

    h1 {
        font-size: 30px;
    }

    .rules-bullet-point-col {
        width: 25%;
    }

    #go-back-button {
        display: none;
    }

    #go-back-button-carousel {
        display: block;
        position: relative;
        top: 2%;
        font-size: 24px;
        color: rgb(37, 159, 223); /* Change the color as needed */
        cursor: pointer;
        z-index: 9999; /* Adjust the z-index to make sure the arrow is above other elements */
        transition: 0.3s;
        padding-bottom: 20px;
    }

    #go-forward-button {
        display: none;
    }

    #go-forward-button-carousel {
        display: block;
        position: relative;
        top: 2%;
        font-size: 24px;
        color: rgb(37, 159, 223); /* Change the color as needed */
        cursor: pointer;
        z-index: 9999; /* Adjust the z-index to make sure the arrow is above other elements */
        transition: 0.3s;
        padding-bottom: 20px;
    }

    #page-title {
        font-size: 30px;
    }

    .selected {
        filter: brightness(130%); /* Set the brightness for selected images */
        transform: scale(1.03);
        transition: 0.3s;
    }
}

@media (max-width: 440px) {
    .image-container canvas {
        width: 100%;
        height: 100%;
    }

    h1 {
        font-size: 30px;
    }
}

.form-control {
    font-family: 'neuePlak-regular', sans-serif;
    font-size: 20px;
    padding-left: 20px;
    transform: translateY(2px);
}

    .form-control::placeholder {
        font-size: 22px;
        opacity: 0.60;
    }

h3 {
    margin-bottom: 20px;
    font-family: 'neuePlak-regular', sans-serif;
}

h2 {
    font-family: 'neuePlak-regular', sans-serif;
}

.paging-button {
    background-color: black;
    color: white;
    border: 2px solid rgb(37, 159, 223);
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    padding: 5px 20px;
    font-family: 'neuePlak-extended-light';
    transition: 0.3s;
}

.paging:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.download-button {
    background-color: black;
    color: white;
    border: 2px solid rgb(37, 159, 223);
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    padding: 5px 20px;
    font-family: 'neuePlak-extended-light';
    transition: 0.3s;
}

#go-forward-button {
    position: fixed;
    top: 2%;
    right: 4%;
    font-size: 24px;
    color: rgb(37, 159, 223); /* Change the color as needed */
    cursor: pointer;
    z-index: 9999; /* Adjust the z-index to make sure the arrow is above other elements */
    transition: 0.3s;
}

    #go-forward-button:hover {
        transform: scale(1.5);
        transition: 0.3s;
    }

#go-back-button {
    position: absolute;
    top: 2%;
    left: 10px;
    font-size: 24px;
    color: rgb(37, 159, 223); /* Change the color as needed */
    cursor: pointer;
    z-index: 9999; /* Adjust the z-index to make sure the arrow is above other elements */
    transition: 0.3s;
}

    #go-back-button:hover {
        transform: scale(1.5);
        transition: 0.3s;
    }

canvas {
    border: 2px solid #259fdf;
    border-radius: 5px;
    cursor: grab;
    background-color: white;
}

.download-button:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.generate-button {
    background-color: black;
    color: white;
    border: 2px solid rgb(37, 159, 223);
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    padding: 5px 20px;
    font-family: 'neuePlak-extended-light';
    transition: 0.3s;
}

    .generate-button:hover {
        transform: scale(1.1);
        transition: 0.3s;
    }

.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

/*.custom-file-input::before {
    content: 'Select some files';
    display: inline-block;
    padding: 10px 20px;
    background-color: #259fdf;
    color: white;
    border: 2px solid #259fdf;
    border-radius: 30px;
    cursor: pointer;
}*/

.custom-file-input:hover {
    transition: 0.3s;
    transform: scale(1.1);
}

.custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

.custom-file-input {
    display: inline-block;
    background-color: rgb(37, 159, 223);
    color: white;
    border: 2px solid rgb(37, 159, 223);
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
}

#send-email-button:hover {
    transition: 0.3s;
    transform: scale(1.1);
}

#send-email-button {
    display: inline-block;
    background-color: rgb(37, 159, 223);
    color: white;
    border: 2px solid rgb(37, 159, 223);
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
    font-size: 30px;
    transition: 0.3s;
    width: auto;
}

#return-to-homepage-button {
    background-color: rgb(37, 159, 223);
    color: white;
    border: 2px solid rgb(37, 159, 223);
    border-radius: 15%;
    cursor: pointer;
    text-align: center;
    font-size: 30px;
    transition: 0.3s;
    width: auto;
    font-family: 'neuePlak-extended-thin';
    font-size: 12px;
}

#return-to-homepage-button:hover {
    transition: 0.3s;
    transform: scale(1.1);
}

.custom-file-upload:before {
    display: none;
}

.custom-file-upload {
    display: none;
}

h1 {
    font-family: 'neuePlak-extendedExtraBlack', sans-serif;
    font-size: 50px;
}

.sidebarBladeText {
    font-family: 'neuePlak-extended-light', Helvetica, Arial, sans-serif;
    text-align: center;
}

.form-control {
    width: 300px; /* Adjust the value to make the input boxes wider */
    max-width: 100%; /* Set the maximum width to prevent over-expanding */
    border-radius: 50px;
}

img {
    border: 2px solid #259fdf;
    border-radius: 5px;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
