@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Roboto:wght@400;500&family=Roboto+Mono&display=swap');

:root {
    --primary-color: hsl(210, 75%, 15%);

    --text-white: hsl(0, 0%, 95%);
    --text-heading: hsl(0, 0%, 5%);
    --text-subheading: hsl(0, 0%, 10%);
    --text-muted: hsl(0, 0%, 30%);

    --bg-dark: hsl(210, 0%, 90%);
    --bg: hsl(210, 0%, 95%);
    --bg-light: hsl(210, 0%, 100%);

    --box-shadow-dark: hsl(0, 0%, 50%);
    --box-shadow: hsl(0, 0%, 75%);

    --pre-fold-spacing: 90px;
}

html {
    font-size: 16px;
}

/* #container {
    min-height: 150vh;
} */

/* body {
    background-color: var(--bg-dark);
} */

/* NAVBAR START*/
#navbar {
    font-family: "Montserrat";
    width: 100%;
    height: 100px;
    background-color: var(--primary-color);

    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* position: relative; */
}

#navbarCompanyName {
    text-decoration: none;
    color: var(--text-white);

    font-size: 2rem;
    font-weight: bold;

    margin-right: auto;
    margin-left: 60px;
}

.navbarPageLink {
    text-decoration: none;
    color: var(--text-white);

    font-size: 1rem;
    font-weight: lighter;

    margin-right: 60px;
}

.navbarPageLink:hover {
    text-decoration: underline;
    color: var(--text-white);
}
/* NAVBAR END*/

/* HOME PAGE STARTS */
#heroSection {
    position: relative;
}

#heroBackground {
    position: absolute;
    top: 0;
    left: 0;

    z-index: 0;
    background-color: var(--primary-color);

    width: 100%;
    height: calc(100vh - (100px + var(--pre-fold-spacing)));
}

/* make the <div> wrapper fill it */
.particles-container {
    height: calc(100% - 10px);
    position: absolute;
    inset: 0;            /* top:0; right:0; bottom:0; left:0; */
    top: 5px;
    pointer-events: none; /* clicks pass through */
    z-index: 0;

    overflow: hidden;
}

.particle {
    position: absolute;
    /* Always start just off the right side */
    left: 100vw;
    width: 4px;
    height: 4px;
    background: #009ca1;
    border-radius: 50%;
    
    /* Slide straight across, then instantly snap back */
    animation-name: float-left;
    animation-duration: var(--dur);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-delay: var(--delay);
}

@keyframes float-left {
    0%   { transform: translateX(0);                              }
    100% { transform: translateX(calc(-100vw - 4px)); /* off left */ }
}


#hero {
    position: relative;
    z-index: 1;
    height: calc(100vh - (100px + var(--pre-fold-spacing)));

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-family: "Montserrat";

    background: radial-gradient(
        ellipse 80% 100% at bottom center,  /* 70% horizontal, 40% vertical */
        hsla(210, 75%, 25%, 0.75) 33%,
        hsla(210, 75%, 15%, 0.75) 100%
    );
}

#heroInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    gap: 25px;
    /* margin-right: 6.25rem; */
}

#heroHeading {
    /* margin-right: 100px; */

    font-size: 2.75rem;
    font-weight: bold;

    color: var(--text-white);
    text-align: center;

    width: 85vw;
    max-width: 800px;

    margin-top: -10px;
}

#heroSubheading {
    font-size: 1.5rem;
    font-weight: normal;

    /* margin-right: 160px; */
    width: 75vw;
    max-width: 700px;

    color: var(--text-white);
    text-align: center;
}

#heroPrimaryAction{
    font-family: "Montserrat";
    font-weight: lighter;
    font-size: 1rem;

    padding-left: 1rem;
    padding-right: 1rem;
    height: 2.5rem;

    border: none;
    border-radius: 8px;
    background-color: var(--text-white);
    color: var(--primary-color);
}

#heroPrimaryAction:hover {
    transform: scale(1.05);
}

#heroSecondaryAction{
    font-family: "Montserrat";
    font-weight: lighter;
    font-size: 1rem;
    
    height: 2.5rem;
    margin-top: -5px;

    text-decoration: none;
    color: var(--text-white);
}

#heroSecondaryAction:hover{
    text-decoration: underline;
}


.hpSection {
    /* padding: calc(var(--pre-fold-spacing) / 2) 10px; */
    padding: calc((var(--pre-fold-spacing) - 30px) / 2) 10px 40px 10px;
    font-family: "Montserrat";

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 30px;

    background-color: var(--bg-dark);
}

.hpSectionHeading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-heading);

    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: center;

    margin: 0;
    /* transform: translateY(20%); */
}

.hpCard {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;

    padding: 20px 10px;
    min-width: 300px;

    color: var(--text-muted);
    border-radius: 10px;
    background-color: var(--bg);
    box-shadow: 0 3px 5.5px var(--box-shadow-dark), 0 6px 9px var(--box-shadow);
}

#whyUs .hpCard {
    width: 20vw;
}

#whatsComing .hpCard {
    width: 35vw;
}

.hpCard:hover {
    box-shadow: inset 0 3px 7.5px var(--bg-light), 0 3px 5.5px var(--box-shadow-dark), 0 6px 9px var(--box-shadow);
}

.hpCardHeading {
    font-size: 1.25rem;
    font-weight: 800;
    /* height: 25px; */
    color: var(--text-heading);
}

.hpCardSubheading {
    font-size: 1rem;
    font-weight: 600;
    /* height: 40px; */
    color: var(--text-subheading);
}

.hpCardInfo {
    font-size: 1rem;
    font-weight: 400;
    /* height: 80px; */
}

.hpCardCompare {
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    /* height: 60px; */
}

/* HOME PAGE ENDS */

/* INDEX PAGE */
/* Index Buttons Start */
#indexButtonContainer {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    gap: 30px;
    margin-top: 30px;
    margin-left: 30px;
}



.indexButton {
    width: 150px;
    height: 50px;
    border-radius: 60px;
    border-style: none;
    background-color: #0A2342;

    color: white;
    font-size: 16px;
    font-weight: bold;
    font-family: "Montserrat";

    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.indexButton:hover {
    transform: scale(1.05);
    background-color: white;
    color: #0A2342;
}

.indexButton:active {
    transform: scale(0.9);
    transform: rotateZ(-10deg);
}

.indexButton:focus {
    background-color: white;
    color: #0A2342;

    border: 2px solid #0a234240;
}
/* Index Buttons End */

/* Index Events Start */
#eventsHeading {
    font-size: 18px;
    /* background: pink; */

    font-family: "Montserrat";
    font-weight: bold;
    color: #0A2342;

    display: block;
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: center;
    
    margin-bottom: 10px;
}

#eventsDisplay {
    display: flex;
    justify-content: center;
    gap: 20px;

    /* margin-top: 30px; */
}

.eventCard {
    display: flex;
    flex-direction: column;

    font-family: "Montserrat";

    width: 190px;
    background-color: white;
    border: 8px solid #0A2342;
    border-radius: 15px;
}

.eventHeader {
    height: 60px;
    background-color: #0A2342;

    color: white;
    font-weight: bold;
    font-size: 16px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.eventBody {
    background-color: transparent;

    color:#0A2342;
    font-weight: bold;
    font-size: 14px;
    padding: 10px;
}

.eventTickers {
    list-style-image: url("earnings_icon.svg");
    margin: 0px;
    margin-left: 10px;
    padding-left: 5px;
}

.eventTickerContainer {
    position: relative;

    width: fit-content;
    /* background-color: pink; */
}

.eventTicker {
    height: 30px;           /* your fixed row height */
    list-style: none;       /* remove default bullet */
    display: flex;          /* make it a flex row */
    align-items: center;    /* vertical centering */
    justify-content: left;
    /* line-height: normal; */
}

.eventTicker::before {
  content: "";
  display: inline-block;
  width: 20px;            /* or whatever your SVG’s natural size is */
  height: 20px;
  margin-right: 8px;      /* gap between icon & text */
  background: url("earnings_icon.svg") no-repeat center/contain;
}

.eventExtraDetails {
    display: none;
    width: max-content;
    max-width: 50vw;
    height: fit-content;

    background-color: white;
    border: 4px solid #0A2342;
    border-radius: 4px;

    /* position: absolute;
    top: 105%;
    left: 24px; */

    position: absolute;
    left: calc(100% + 5px);
    top: 0%;

    padding: 10px;
}

.eventExtraDetails.flip {
    left: auto;
    transform: translateX(calc(-100% - 7px));
    top: 0%;
}

.eventTickerContainer:hover {
    transform: translateX(10px);
    transition: transform 0.2s ease;

    z-index: 100;
}

.eventTickerContainer:not(:hover) {
    transform: translateX(0px);
    transition: transform 0.2s ease;
}

.eventTickerContainer:hover .eventExtraDetails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}


#weekNavButtonContainer {
    /* background-color: pink; */
    margin-top: 10px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7%;
}

.weekNavButton {
    background: transparent;

    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    outline: none;

    position: relative;

    transition: transform 0.2s ease;
}

.weekNavButton:hover {
  transform: scale(1.07);
}

.weekNavButton:active {
  transform: scale(0.95);
  transform: rotateZ(-15deg);
} 

.weekNavButton img {
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0px;
    left: -0.5%;
}
/* Index Events End */

.plotly .modebar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    top: 8px !important;
    /* bottom: 30px !important;   /* pin it to the bottom of the graph container */
}

/* Index News Start */
#newsHeadingContainer {
    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Montserrat";
    font-weight: bold;
    color: #0A2342;

    position: relative;

    height: 40px;
    /* margin-top: 10px; */
    /* margin-bottom: 10px; */
    /* background: pink; */
}

/* html.Div(id='newsFilterContainer', className='', children=[
            dcc.Input(
                id='newsFilterByTicker',
                type='text',
                placeholder='Filter by ticker...',
                debounce=False, 
            ),
            html.Div(id='filterOptionsContainer', className='', children=[
                html.Div(id='filterOption1', className='', n_clicks=0, children=[]),
                html.Div(id='filterOption2', className='', n_clicks=0, children=[]),
                html.Div(id='filterOption3', className='', n_clicks=0, children=[]),
            ])
        ]), */

#newsFilterContainer {
    margin-left: auto;
    margin-right: 5px;
    
    display: flex;
    justify-content: left;
    align-items: center;

    position: relative;
}

#newsFilterByTicker {
    width: 150px;
    height: 25px;

    font-family: "Montserrat";
    font-size: 14px;
    font-weight: 400;

    border-radius: 15px;
    border: 1.5px solid rgb(210, 210, 210);

    padding-left: 10px;
}

#filterOptionsContainer {
    position: absolute;
    top: 100%;
    left: 10px;
    width: 130px;
    margin-top: 3px;

    z-index: 100;
}

.filterOption {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;

    color: #0A2342;
    background-color: white;
    
    font-size: 14px;
    font-weight: 400;
}

.filterOption:hover {
    background-color: rgb(240, 240, 240);
}

#resetTickerFilter {
    width: 70px;
    height: 30px;

    border-radius: 15px;
    border: none;

    font-family: "Montserrat";
    font-weight: bold;
    font-size: 14px;
    background-color: #0A2342;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-left: 10px;
    /* margin-right: auto; */
}

#resetTickerFilter:hover {
    transform: scale(1.05);
    background-color: white;
    color: #0A2342;
}

#resetTickerFilter:active {
    transform: scale(0.9);
    transform: rotateZ(-10deg);
}

/* #resetTickerFilter:focus {
    background-color: white;
    color: #0A2342;

    border: .5px solid #0A234299;
} */

#newsHeading {
    font-family: "Montserrat";

    position: relative;
    display: flex;
    align-items: center;
    
    width: 100%;
    margin-top: 27px;
}

#newsHeadingTitle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    font-size: 18px;
    color: #0A2342;
    font-weight: bold;

    height: 30px;
    line-height: 30px;
}

#timezone-display {
    font-size: 13px;
    color: rgb(100, 100, 100);
    font-weight: normal;

    height: 30px;
    line-height: 30px;

    margin-left: auto;
    margin-right: 10px;
    margin-bottom: 2px;
}

/* Span(id='newsHeadingTitle', className='', children='News'),
        html.Span(id='timezone-display', className='', children='') */

#newsSortBy {
    font-family: "Montserrat";
    font-weight: bold;
    font-size: 14px;
    margin-right: auto;
    margin-left: 5px;
}

#sortNewsByTime, #sortNewsBySource, #resetTickerFilter {
    font-size: 12px;

    width: max-content;
    height: 27px;

    padding-left: 10px;
    padding-right: 10px;
}

#sortNewsByTime {
    height: 26.7px;
}

#newsCategoryDropdown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    font-size: 14px;
    z-index: 10;
}

.newsSortButton {
    width: 70px;
    height: 30px;

    border-radius: 15px;
    border: none;

    font-family: "Montserrat";
    font-weight: bold;
    font-size: 13px;
    background-color: #0A2342;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-left: 10px;
}

.newsSortButton:hover {
    transform: scale(1.05);
    background-color: white;
    color: #0A2342;
}

.newsSortButton:active {
    transform: scale(0.9);
    transform: rotateZ(-10deg);
}

.newsSortButton:focus {
    background-color: white;
    color: #0A2342;

    border: .5px solid #0a234240;
}

/* .newsTabContainer {
    display: flex !important;
    flex-direction: column !important;

    height: 100vh;
    width: 15vw;
    background-color: #0A2342;
    position: sticky !important;
    top: 0 !important;
    align-self: flex-start;  
} */

.newsTab {
    font-family: "Montserrat";
    font-size: 13px;
    font-weight: bold;

    transition: background-color .5s ease, transform .5s ease !important;
    color: white !important;
    background: #0A2342 !important;

    border: none !important;
    width: 100% !important;
    height: 59px;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsTab:hover {
    transform: scale(1.05) !important;
    background-color: white !important;
    color: #0A2342 !important;
}

.newsTab:active {
    transform: scale(0.9) !important;
    transform: rotateZ(-10deg) !important;
}

.newsTabSelected {
    background-color: white !important;
    color: #0A2342 !important;
}

.articleContainer {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;

    background: white;

    /* width: 84vw;
    margin-left: 15vw; */
}

/* .articleContainer:first-child {
    margin-top: calc(-100vh - 10px);
} */

.articleContainer:nth-child(odd) {
    background: rgb(240, 240, 240);
}

.articleInfo {
  display: block;  
  height: 40px;
  line-height: 40px;       /* ← vertically centers the text */
  
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

  color: #0A2342;
  font-family: "Montserrat";
  font-size: 12px;

  /* background-color: pink; */
}

.articleInfo.publisher {
    width: 12.5%;
    min-width: 130px;
}

.articleInfo.title {
    width: 50%;
    min-width: 520px;
    height: 40px;
    line-height: 40px;
    /* background-color: pink; */
}

.articleInfo.timestamp {
    width: 12.5%;
    min-width: 130px;
}

.articleInfo.tickers {
    width: 15%;
    min-width: 130px;
}

.categoryContainer {
    margin-top: 10px;
}

#newsPageNav {
    margin-top: 5px;
    margin-bottom: 12px;
}

#news-page-indicator {
    font-family: "Montserrat";
    font-size: 13px;
    font-weight: normal;
    color: #0A2342;
}

#news-next, #news-prev {
    border-radius: 60px;
    margin: 0px 10px;
    padding: 5px 8px;
    cursor: pointer;
    
    color: white;
    border-style: none;
    font-family: "Montserrat";
    font-size: 13px;
    font-weight: normal;
    background-color: #0A2342;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#news-next:hover, #news-prev:hover {
    transform: scale(1.05);
    color: #0A2342;
    background-color: white;
}

#news-next:active, #news-prev:active {
    transform: scale(0.9);
    transform: rotateZ(-10deg);
}

/* Index News End */

/* RELEVENT MATCHES PAGE */
.matchLink {
    width: 90vw;
    display: block;
    margin: auto;
}

.matchDiv {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.matchTicker {
    font-size: 16px;
    /* color: #0A2342; */
    font-weight: bold;
    width: 4vw;
}

.matchTitle {
    font-size: 16px;
    color: black;
    font-weight: bold;
    width: 22vw;
}

.matchSector {
    font-size: 16px;
    color: black;
    font-weight: bold;
    width: 18vw;
}

.matchIndustry {
    font-size: 16px;
    color: black;
    font-weight: bold;
    width: 27vw;
}

.matchExchange {
    font-size: 16px;
    color: black;
    font-weight: bold;
    width: 4vw;
}

/* COMPANY NEWS TAB */
/* News Start */
.newsTitle {
    font-family: "Montserrat";
    font-weight: bold;
    font-size: 16px;

    color: #000000;
}

.newsInfo {
    margin-left: 20px;

    font-family: "Montserrat";
    font-weight: 400;
    font-size: 16px;

    color: #444444;
}

/* News End */

/* FOOTER STARTS */
#footer {
    background-color: var(--primary-color);
    color: var(--text-white);

    font-family: "Montserrat";
    font-weight: lighter;
    font-size: .75rem;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}



#footerCompanyOverview {
    width: 400px;
    margin-top: 40px;
    margin-right: auto;
    margin-left: 80px;

    display: flex;
    flex-direction: column;
}

#footerCompanyName {
    margin: 0px;
    margin-bottom: 0.5rem;

    color: var(--text-white);
    text-decoration: none;

    font-weight: bold;
    font-size: 1.5rem;
}

#footerCompanyName:hover {
    color: var(--text-white);
    text-decoration: underline;
}

#footerDisclaimer {
    margin-top: .5rem;
}

#footerDisclaimer strong {
    font-weight: bold;
}



.footerSection {
    width: 170px;
    margin-right: 80px;
    margin-top: 40px;

    display: flex;
    flex-direction: column;
}

.footerSectionHeading {
    font-weight: 600;
    font-size: 1rem;

    margin-bottom: .5rem;
}

.footerSectionText {
    color: var(--text-white);
    text-decoration: none;

    margin-top: .5rem;
    height: 1.5rem;
    
    display: flex;
    align-items: center;
    gap: .25rem;

    width: fit-content;
}

.footerSectionText:hover {
    color: var(--text-white);
    text-decoration: underline;
}



#footerCopyright {
    width: 90%;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

#footerCopyright p {
    width: 20rem;
}

#footerCopyright hr {
    width: calc((100% - 20rem) / 2 - 2rem);
    margin: 0;
    border: none;
    border-top: 0.5px solid var(--text-white);
    overflow: hidden;
}
/* FOOTER ENDS */

@media only screen and (max-width: 1400px) {
    html {
        font-size: 15px;
    }

    .newsTabContainer {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;

        height: auto;
        width: 100%;
        background-color: #0A2342;
        position: static !important;
        top: auto !important;
        align-self: normal;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .newsTab {
        font-size: 12px;

        border: none !important;
        width: 24vw !important;
        height: 60px;
        line-height: 60px;
        padding: 0 !important;

        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* FOOTER STARTS */
    #footerCompanyOverview {
        width: 37.5vw;
        margin-left: 4vw;
    }

    .footerSection {
        width: 135px;
        margin-right: 4vw;
        margin-top: 40px;
    }

    #footerCopyright {
        width: 100%;
        text-align: center;
        margin-top: .25rem;
        margin-bottom: .25rem;
    }
    /* FOOTER ENDS */
}

@media only screen and (max-width: 1080px) {
    html {
        font-size: 14px;
    }

    .articleContainer {
        padding-bottom: 5px;
        padding-top: 5px;
    }

    .articleInfo {
        height: 25px;
        line-height: 25px;
    }

    .articleInfo.publisher {
        width: 25%;
        order: 1;
        min-width: 0px;
    }

    .articleInfo.timestamp {
        width: 30%;
        order: 2;
        min-width: 0px;
    }

    .articleInfo.tickers {
        width: 30%;
        order: 3;
        min-width: 0px;
    }

    .articleInfo.title {
        width: 95%;
        order: 4;
        min-width: 0px;

        height: 25px;
        line-height: 25px;

        text-decoration: underline;
    }

}

@media only screen and (max-width: 900px) { 
    html {
        font-size: 13px;
    }
    
    #indexButtonContainer {
        justify-content: center;
        margin-left: 0px;
        gap: 10px;
    }

    .indexButton {
        width: 120px;
        height: 40px;
        font-size: 14px;
    }

    .plotly .modebar-container {
        display: none;
        /* bottom: 30px !important;   /* pin it to the bottom of the graph container */
    }

    .eventHeader {
        height: 50px;
        font-size: 14px;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .eventBody {
        background-color: transparent;

        color:#0A2342;
        font-weight: bold;
        font-size: 12px;
        padding: 7px;
    }

    .weekNavButton {
        width: 30px;
        height: 30px;
    }
    
/* HEEEEEEEEEEEEEEEEEEEEERRRRRRRRRREEEEEEEEEEEEEEE */
    #newsHeading {
        position: static;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
    }

    #newsHeadingTitle {
        position: static;
        transform: translateX(0px);
        flex: 1;

        height: 30px;
        line-height: 30px;
    }

    #timezone-display {
        height: 20px;
        line-height: 20px;

        margin-left: 0px;
        margin-right: 0px;
    }
/* HEEEEEEEEEEEEEEEEEEEEERRRRRRRRRREEEEEEEEEEEEEEE */

    #newsHeadingContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;

        font-family: "Montserrat";
        font-weight: bold;
        color: #0A2342;

        position: relative;

        height: auto; /* 434px */
        margin-top: 5px;
    }

    #newsSortBy {
        margin-right: 0px;
    }

    #newsFilterContainer {
        margin-left: 0px;
        margin-top: 10px;
    }

    #sortNewsByTime, #sortNewsBySource, #resetTickerFilter {
        font-size: 12px;
    }

    #newsCategoryDropdown {
        font-size: 13px;

        width: 190px;
        height: 27px;
        position: static;
        transform: translateX(0%);
        margin-left: 0px;
    }

    /* FOOTER STARTS */
    #footer {
        justify-content: space-evenly;

    }

    #footerCompanyOverview {
        flex: 1 1 100%;
        width: 80%;
        margin: 0;
        margin-top: 40px;
        margin-bottom: 10px;

        padding: 0 5%;
    }

    .footerSection {
        width: 135px;
        margin: 10px 0;
        /* margin-top: 20px; */
    }
    /* FOOTER ENDS */
}

@media only screen and (max-width: 750px) {
    html {
        font-size: 12px;
    }

    .navbarPageLink {
        margin-right: 5vw;
    }

    #navbarCompanyName {
        margin-left: 5vw;
    }

    /* #footerTitle {
        flex: 0 0 90%;
        font-size: 10px;
        font-weight: bold;
        color: rgb(150, 150, 150);

        margin-right: auto;
        margin-left: 40px;
    }

    .footer-section {
        flex: 0 0 100%;
        font-size: 12px;
        max-width: 90%;
        margin-left: 0px;
        margin-right: 0px;
    }
    
    .footer-bottom {
        margin-top: 15px;
    } */
}

@media only screen and (max-height: 600px) {
    #heroBackground {
        height: calc(600px - (100px + var(--pre-fold-spacing)));
    }
    
    #hero {
        height: calc(600px - (100px + var(--pre-fold-spacing)));
    }
}
