
body {
    
    background-color:white;
}

/* Header styles */

.header {
    position:fixed;
    display:flex;
    z-index:150;
    height:50px;
    top:0;
    left:0;
    right:0;
    background-color:black;
    border: black solid 1px;
    align-items: center;
    color: white;
}

.fed-logo {
    height: 45px;
    width: 45px;
    margin: 0px;
    padding: 0px;
    margin-left: 8px;
}

.website-heading {
    margin-left: 10px;
    padding-top: 15px;
    font-family: impact;
    font-size: 20px;
    color: rgb(215, 215, 215)
}

.challenge-status-links-div {
    position: fixed;
    display:flex;
    flex-direction:row;
    z-index: 50;
    margin-top: 50px;
    top: 0;
    left: 0;
    right: 0;
    justify-content: center;
    background-color:rgb(182, 241, 229);
    border:black 1px solid;
}


.inflation-links-div {
    position: fixed;
    display:flex;
    flex-direction:row;
    z-index: 50;
    margin-top: 90px;
    top: 0;
    left: 0;
    right: 0;
    justify-content: center;
    background-color:rgb(182, 241, 229);
    border:black 1px solid;
}

.link-text-spacing {
    display: flex;
    flex: 1;
}

/* .left-link-text-spacing {
    display: flex;
    flex: 1;
}

.right-link-text-spacing {
    display: flex;
    flex: 1;
} */

.challenge-status-link {
    background-color:rgb(182, 241, 229);
    border-top: black 1px solid;
    border-bottom: black 1px solid;
    border-left: black 1px solid;
    height: 40px;
    display: flex;
    flex:1;
    align-items: center;
}

.challenge-status-button {
    width: 100%;
    height: 100%;
    border: none;
    background-color:rgb(182, 241, 229);
}

.challenge-status-button:hover {
    background-color:rgb(240, 240, 240);
}

#challenge-status-button {
    width: 100%;
    height: 100%;
    border: none;
    background-color:rgb(182, 241, 229);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

#challenge-status-button:hover {
    background-color:rgb(240, 240, 240);
}

.main-content {
    display:flex;
    flex-direction: column;
    margin-top: 90px;
    justify-content: center;
    background-color: rgb(244, 255, 244);
}    

.inflation-main-content {
    display:flex;
    flex-direction: column;
    margin-top: 130px;
    background-color: rgb(244, 255, 244);
}

.chart-content {
    display:flex;
    margin-left:auto;
    margin-right:auto;
}

.charts {
    display:block;
    
    margin-top: 20px;
    width: 80%;
    margin-left:auto;
    margin-right:auto;
}

.chart-footer {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.chart-footer-text-last {
    border: rgb(207, 207, 207) solid 1px;
    background-color: black;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: small;
}

.chart-footer-text-next {
    border: rgb(207, 207, 207) solid 1px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: small;
}

.video-content {
    display:block;
    margin-top: -14px;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.nav {
    display: flex;
    justify-content: center;
    font-size: small;
    padding-top: 12px;
    margin-bottom: 15px;
}

.tab-content {
    display:flex;
    margin-top: 5px;
    flex-direction: column;
}

.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    height: 100%;
    padding-top: min(500px,60%); /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    max-height: 500px;
    margin-left:auto;
    margin-right:auto;
    margin-top: 10px;
    box-shadow:0px 0px 10px rgba(0,0,0,0.5);
}

.embedded-video {
    position: absolute;
    width: 100%;
    max-width: 800px;
    height: 100%;
    max-height: 500px;
    top: 0;
}

.caption-container {
    display: flex;
    flex-direction: column;
    /* overflow: hidden; */
    width: 100%;
    max-width: 800px;
    height: 100%;
    max-height: 20px;
    padding-top: 25px; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    margin-left:auto;
    margin-right:auto;
    margin-top: -25px;
    margin-bottom: 95px;
}

.caption {
    display:flex;
    margin-top:1px; 
    top:0;
    color: rgb(33, 33, 139);
}

.date-length {
    display:flex;
    top:15px;
    color: rgb(33, 33, 139);
    margin-bottom: 15px;
}

.caption em {
    color: white;
    background-color: rgb(136, 136, 155);
    font-style: normal;
    padding-top: 4px;
    padding-bottom: 5px;
}


@media only screen and (max-width: 500px) {
    #caption-container {
        font-size: 10px;
    }
}

@media only screen and (max-width: 900px) {
    #caption-container {
        font-size: .9rem;
    }
}

.embedded-video2 {
    position: absolute;
    overflow:hidden;
    left:0;
    right:0;
    width: 100%;
    max-width: 800px;
    height: 100%;
    max-height: 500px;
    margin-right:auto;
    margin-left:auto;
}

hr.solid {
    border-top: 2px solid #999;
}

.chart-div {
    display:flex;
    max-width:800px; 
    min-width:800px;
    border: black 1px solid;
    margin-top:20px;

}

@media (max-width: 800px) {
    .chart-div {
        min-width:100%;
    }
    /* CSS that should be displayed if width is equal to or less than 800px goes here */
  }

#interest-table {
    margin-top: 20px;
    font-size: 10px;
    align-content: center;
}

.col {
    border-top:black 1px solid;
    border-left: black 1px solid;
    justify-items: center;
    text-align: center;
    max-width: 100px;
    padding-top: 2px;
    padding-bottom: 2px;
}

#table-heading {
    display: flex; 
    justify-content: center; 
    border:black 1px solid; 
    background-color: rgb(56, 56, 133); 
    color:white; 
    height:30px; 
    font-size:14px;
    max-width: 550px;
    min-width: 550px
}

#interest-rate-row {
    color:white;
}

.table {
    display:flex;
    justify-content: center;
    max-width: 100px;
    min-width: 58px;
    text-align: center;
    border-top: black 1px solid;
    border-left: black 1px solid;
    align-items: center;
    height: 25px;
}

.interest-table {
    display:flex;
    justify-content: center;
    max-width: 100px;
    min-width: 60px;
    text-align: center;
    border-top: black 1px solid;
    border-left: black 1px solid;
    align-items: center;
    height: 25px;
}

.interest-table-container {
    display:flex; 
    flex-direction:column; 
    font-size: 11px; 
    margin-top: 15px;
    justify-content: center;
    align-items: center;
}

.interest-table-reference {
    display:none; 
    flex-direction:column; 
    margin-top: 10px
}


@media only screen and (max-width: 600px) {
    #interest-table-container {
        display: none;
    }
    #interest-table-reference {
        display: flex;
    }
}










.button-84 {
    align-items: center;
    background-color: initial;
    background-image: linear-gradient(#464d55, #25292e);
    border-radius: 8px;
    border-width: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1),0 3px 6px rgba(0, 0, 0, .05);
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    font-family: expo-brand-demi,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 18px;
    height: 52px;
    width: 300px;
    justify-content: center;
    line-height: 1;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    outline: none;
    overflow: hidden;
    padding: 0 32px;
    text-align: center;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: all 150ms;
    vertical-align: baseline;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .button-84:hover {
    box-shadow: rgba(0, 1, 0, .2) 0 2px 8px;
    opacity: .85;
  }
  
  .button-84:active {
    outline: 0;
  }
  
  .button-84:focus {
    box-shadow: rgba(0, 0, 0, .5) 0 0 0 3px;
  }
  
  @media (max-width: 420px) {
    .button-84 {
      height: 48px;
    }
  }













  /*Style for Mortgage Calculator */
  
  body {
    font-family: Arial, sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
}

.calculator-container {
    
    max-width: 500px;
    width: 100%;
    /*margin: 100px auto;*/
    margin: auto;
    /* margin-top: 50px;
    margin-left: auto;
    margin-right: auto; */
    
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
}

form {
    margin-top: 20px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

h2 {
    text-align: center;
    color: #333;
}






 /*Style for News Articles and Word Cloud */


h3 {
    text-align: center;
}
.wordcloud {
    text-align: center;
    padding: 0 15px;
}
.wordcloud img {
    width: 100%;
    height: auto;
    max-width: 1000px;
    margin-top: 15px;
    margin-bottom: 35px;
}
.articles {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px; /* Add this to match the .wordcloud */
}

.articles ul {
    list-style: none;
    padding: 0;
}
.articles li {
    background: #fff;
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    
}
.articles a {
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    color: #0077cc;
    font-weight: 400;
}
.articles a:hover {
    text-decoration: underline;
}

.article-meta {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.article-meta .source, .article-meta .date {
    display: inline-block;
}

.article-meta .date {
    font-style: italic;
}