﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */


:root {
    --sf-color-pink: #E60050;
    --sf-color-blue: #1C9BD8;
    --sf-color-purple: #C25BA0;
    --sf-color-orange: #F16520;
    --sf-color-green: #BED000;
    --sf-color-darkblue: #1F1F3B;
    --sf-color-yellow: #FFC300;
    --sf-color-text-dark: #1B1B1F;
    --sf-color-text-white: #FFFFFF;
    --sf-color-background: #FCFBFA;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background: var(--sf-color-background);
    overflow-x: hidden;
    font-family: 'Khand', sans-serif;
    color: var(--sf-color-text-dark);
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    text-align: center;
}

#sf-darkness {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00000080;
    z-index: 100;
}

@keyframes openDarkness {
    100% {
        opacity: 1;
    }
}

#sf-line {
    position: fixed;
    background-image: linear-gradient(to right, var(--sf-color-blue), var(--sf-color-blue) 14%, var(--sf-color-purple) 14%, var(--sf-color-purple) 28%, var(--sf-color-orange) 28%, var(--sf-color-orange) 42%, var(--sf-color-green) 42%,var(--sf-color-green) 56%, var(--sf-color-darkblue) 56%,var(--sf-color-darkblue) 70%, var(--sf-color-yellow) 70%,var(--sf-color-yellow) 85%, var(--sf-color-pink) 85%,var(--sf-color-pink) 100%);
    height: 8px;
    left: 0;
    right: 0;
    top: 0;
    z-index: 150;
}


.sf-block {
    background: white;
    width: 100%;
    box-shadow: 2px 2px 8px rgb(27 27 31 / 10%);
    border-radius: 8px;
    padding: 15px;
}

.content-block {
    width: 100%;
    background: #FFFFFF;
    border-top: 8px solid #E60050;
    box-shadow: 2px 2px 8px rgba(27, 27, 31, 0.1);
    border-radius: 8px;
    padding: 60px;
}


/* #region Media */
.sf-media-wrapper .sf-media {
    margin-top: 30px;
    height: 100%;
}


    .sf-media-wrapper .sf-media .image {
        position: relative;
        height: 330px;
        border-radius: 16px 0px;
    }

    .sf-media-wrapper .sf-media .video {
        position: relative;
        width: 100%;
        height: 330px;
        border-radius: 16px 0px;
    }

@media (max-width: 767px) {
    .sf-media-wrapper .sf-media .image {
        height: 220px;
    }

    .sf-media-wrapper .sf-media .video {
        height: 220px;
    }
}
/* #endregion */

.edit-show-image-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
}

    .edit-show-image-wrapper img {
        margin-left: auto;
    }


#image-editor-container {
    height: 500px;
}

#image-editor-preview-container {
    height: 500px;
    position: relative;
}

    #image-editor-preview-container #image-editor-preview {
        background: red;
        width: 525px;
        height: 500px;
        position: relative;
        overflow: hidden; /* Ensure anything outside the path is clipped */
    }

    #image-editor-preview-container svg {
        position: absolute;
        top: 0;
        left: 0;
        border: 1px solid var(--sf-color-background);
    }

    #image-editor-preview-container .save-container {
        margin-top: 16px;
        display: flex;
        justify-content: center;
    }

