:root{
    --white: #fefcf7;
    --cream: #e8e5dd;
    --dark: #191919;
    --gray: #6b7c85;
    --dark-text-title: #ffb300;
    --light-text: #233c4a;
    --black: #111111;
    --navy: #0b1623;
    --accent: #d4a017;
    --blue-grey: #434e54;
    --trans: 0.2s ease;
}

html, body{
    background-color: var(--cream) !important;
    width: 100%;
}

.sticky {
    position: sticky !important;
    top: 0;
}

.title{
    font-family: 'Montserrat', BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    overflow: hidden;
    overflow-x: hidden !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap !important;
}

.title p{
    font-family: 'Montserrat', BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    overflow: hidden;
    overflow-x: hidden !important;
    white-space: nowrap;
    display: inline;
    z-index: 5;
}

.titleText {
    background-color: inherit;
}

.hero {
    height: 100vh !important;
    overflow-x: hidden !important;
    width: 100%;
}

.spacer {
    height: 5000vh;
}

.nImportant {
    opacity: 1;
}

.titleSpacer {
    display: inline-flex !important;
    width: 0vw;
    flex-shrink: 0;
}

.projects{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 10vh;
    opacity: 0;
}

.hidden {
    display: none !important;
    overflow: hidden;
}

.hidden *{
    display: none !important;
    overflow: hidden;
}

#nImp {
    margin-left: -0.3rem;
}

.test2 {
    font-family: 'Montserrat', BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    text-align: center;
    font-size: 10vh;
}

/* Ensure projectsSection and its content never exceed viewport width */
.projectsSection {
    height: 100vh;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden !important;
    overflow: hidden;
}

/* Container inside the section should not cause overflow */
.projectsSection .container,
.projectsSection .row,
.projectsSection .projectsContainer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    overflow-x: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* Force cards to not overflow */
.projectsSection .col {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.projectsContainer2 {
    margin-top: 15vh;
    opacity: 0;
    transition: 0.2s ease;
}

.pr-row {
    width: 50%;
    justify-self: center;
}
