/* #home .background-overlay {
    background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0.5px, transparent 0.5px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0.5px, transparent 0.5px);
} */

* {
    /* border: 0.25px solid rgba(222, 222, 222, 0.6)!important; */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

*::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}

.title-text {
    max-width: 100%;
    text-align: center;
    margin-top: 5rem;
}

.title-text button {
    background-color: var(--accent-color);
    border: 0.5px solid var(--primary-color);
}

footer > .grid {
    min-width: 100% !important;
}

@media (max-width: 1024px) {
    .title-text button {
        padding: 0.5rem 1rem !important;
        font-size: 1rem !important;
    }

    .grid {
        flex-direction: row !important;
    }

    footer > .grid {
        flex-direction: column !important;
    }

    section, .background-overlay {
        min-height: 100vh !important;
        max-height: 100%;
    }
}

@media (max-width: 768px) {
    .title-text {
        margin-top: 0;
    }
    .title-text button {
        width: auto !important;
    }
    .grid.container {
        max-width: 90% !important;
    }
}

.section-step .title-text {
    align-items: flex-start;
    width: 80% !important;
}

.section-step .new-form {
    min-width: 30vw;
    align-self: center;
}

.section-step .form-item {
    text-align: left;
    min-width: 100%;
}

.section-step .form-item * {
    box-sizing: border-box;
    min-width: 100%;
}

textarea {
    resize: none;
    outline: none;
}

.img-containers {
    grid-column: 1 / 3;
    display: flex;
    align-items: center;
    /* max-width: 30vw; */
    width: 100%;
    overflow: hidden;
    overflow-x: scroll;
    box-sizing: border-box;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scroll-snap-points-x: repeat(30vw);
    border: 0.5px solid var(--secondary-color);
    border-radius: 1rem;
    gap: 1rem;
    padding: 1rem;
}

.img-containers .img-container {
    scroll-snap-align: center;
    min-width: 30%;
    min-height: 30vh;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
    box-sizing: border-box;
    flex-direction: column;
}

.img-container .remove {
    opacity: 0;
    background: var(--alt-color) !important;
}

.img-container .img {
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    min-width: 100%;
    min-height: 30vh;
}

.img-container:hover .img {
    opacity: 0.7;
}

.img-container:hover .remove {
    opacity: 1 !important;
}

.remove {
    display: inline-block;
    position: relative;
    font-size: large;
    opacity: 0%;
    top: 50%;
}

.scroll {
    overflow-y: scroll;
    overflow-x: hidden;
    min-width: 100%;
    
    flex-direction: column;
    gap: 1rem;
}

.scroll.big {
    max-height: 50vh;
}

textarea {
    box-sizing: border-box !important;
}

label {
    text-align: left;
    box-sizing: border-box;
}

.form-item input {
    min-width: 100%;
    box-sizing: border-box;
}

.buttons {
    min-width: 100%;
    flex-direction: row;
    gap: 1rem;
}

.bigbutton {
    font-weight: bold;
    /* background-color: green !important; */
}

.submissioncheck {
    text-decoration: none;
    list-style-type: none;
}

.submissioncheck li {
    text-align: left;
    font-weight: bold;
    padding-bottom: 2rem;
}
.submissioncheck li span {
    font-size: 1.5em !important;
}
.submissioncheck li:hover {
    text-decoration: underline;
}

.completionwarning {
    font-weight: bold;
    color: red !important;
}

.grid.container {
    max-width: 40%;
    max-height: 90vh;
    overflow-y: scroll;
    align-items: flex-start !important;
    justify-content: center !important;
    overscroll-behavior: none;
    scroll-snap-type: none;
    /* margin-bottom: 30%; */
}

#code-file-cont {
    max-height: 15vh;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

#code-file-cont textarea {
    min-height: 10vh;
    box-sizing: border-box;
}

h1 {
    margin-bottom: 1rem !important;
}

h2 {
    margin: 0 !important;
}

.alt {
    background-color: var(--alt-color) !important;
}

.validation-text {
    color: gray;
}

.progressbar {
    height: 70vh;
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    margin-top: 4rem;
    min-width: 3rem !important;
    margin-left: 2rem;
    overflow: visible !important;
    margin-top: 5rem;
    position: relative;
    box-sizing: border-box;
    padding: 0.5rem;
    border-radius: 1rem;
    z-index: 10;
    overflow: visible;
}

.progressbar .titles {
    position: absolute;
    text-align: left;
    left: 4rem; 
    top: 0rem;
}

.progressbar .titles h3 {
    margin-top: 10vh;
    cursor: pointer;
}

.progressbar .bar {
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 0.5rem;
    border: 0.5px solid var(--secondary-color);
    box-sizing: border-box;
    z-index: 10;
    overflow: visible;
}

.progressbar.top {
    height: 3rem !important;
    width: 100%;
    margin: 0;
    margin-top: 5rem;
}

.progressbar.top .titles {
    position: absolute;
    text-align: left; 
    top: 0.5rem;
    left: 1rem;
}

.progressbar.top .titles h3 {
    display: inline;
    margin-left: 4vw;
    font-size: min(3vw, 2vh);
}

.grid.container {
    overflow: visible !important;
}

.grid-item.container {
    overflow-x: visible !important;
}

.progressbar.top.slide {
    margin-top: 3rem;
    margin-bottom: 3rem;
    min-width: 100% !important;
    height: min(5rem, 7vh) !important;
    border-radius: 2rem;
}

.progressbar.top.slide .bar {
    border-radius: 1.5rem;
}

.progressbar.top.slide .titles {
    display: flex;
    flex-flow: row nowrap;
    width: calc(100% - 4rem);
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    
}

.progressbar.top.slide .titles h3 {
    /* background-color: var(--accent-color); */
    border-radius: 1.5rem;
    /* line-height: 100%; */
    /* padding: 1vw; */
    font-size: 1rem;
    margin-left: 0;
    margin-top: 0;
}

/* @media (min-width: 769px) {
    .progressbar.top.slide .titles {
        top: 1.25rem;
    }
    .progressbar.top.slide .titles h3 {
        margin-left: 1.75vw;
        font-size: 1vw;
    }
} */

.last-saved {
    width: 100%;
    text-align: left;
    color: var(--secondary-color);
}