/* index styling */

.main{
    background-color: #282b30;
    font-family: 'Times New Roman';
}

.opener-container{
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
    text-align: center;
    color: lightgray;
    font-style: normal;
}
.opener{
    text-decoration: inherit;
    color: inherit;
    font-size: inherit;
    font-style: inherit;
    font-size: 55px;
    margin-bottom: 0px;
    margin-top: 28px;
}
.opener-link{
    text-decoration: none;
    color: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: normal;
    transition: 0.18s;
}
.opener-link:hover{
    cursor: pointer;
    color: whitesmoke;
}
.sub-opener{
    margin-top: 0px;
    text-align: center;
    color: lightgray;
    font-size: 18px;
    font-weight: normal;
}

.quote{
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    color: lightgray;
    text-align: center;
    line-height: 25px;
    max-width: 1200px;
    font-weight: normal;
    min-height: 100px; /* or any height that fits your typical quotes */
}

.quote{
    display: flex;
    flex-direction: row;
    align-items: center;         /* Vertically centers content */
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    color: lightgray;
    padding: 0px;
    margin: 0px, 20px, 20px;
    text-align: center;            /* ← important: prevents text from being centered inside block */
    line-height: 28px;
    max-width: 1200px;
    font-weight: normal;
    height: auto;
    box-sizing: border-box;      /* ensures padding doesn't exceed height */
}

.quote-body{
    flex-grow: 1;
}

#prev-quote-btn{
    background-color: transparent;
    color: lightgray;
    margin-right: 15px;
}
#next-quote-btn{
    background-color: transparent;
    color: lightgray;
    margin-left: 15px;
}

.math-topics-container{
    color: lightgray;
    margin-top: 60px;
}
.math-topics-header{
    color: inherit;
    text-align: center;
    font-size: 27px;
    font-style: normal;
    margin-bottom: 20px;
}
.math-topics-list-container {
    font-style: normal;
    font-size: 17px;
    max-width: 80%;
    text-align: center;
    margin: 0 auto;
}
.math-topic {
    display: inline-block;
    font-size: 20px;
    font-weight: normal;
    box-sizing: border-box;
    margin-top: 0px;
    margin-left: 18px;
    margin-right: 18px;
}
.math-topic-link{
    text-decoration: none;
    color: inherit;
    font-size: inherit;
    font-style: inherit;
    transition: 0.18s;
}
.math-topic-link:hover {
    color: white;
    cursor: pointer;
}

.future-math-topics-container{
    color: lightgrey;
    font-style: normal;
    font-size: 17px;
    font-style: normal;
    max-width: 80%;
    text-align: center;
    margin: 0 auto;
    margin-top: 70px;
}

.future-math-topics-header{
    color: inherit;
    text-align: center;
    font-size: 27px;
    font-style: normal;
    margin-bottom: 0px;
}

.future-math-topics-subheader{
    margin-top: 0px;
    margin-bottom: 20px;
    text-align: center;
    color: lightgray;
    font-size: 18px;
    font-weight: normal;
}

.future-math-topics-list-container{ 
    font-style: normal;
    font-size: 17px;
    max-width: 65%;
    text-align: center;
    margin: 0 auto;
}

.future-math-topic {
    display: inline-block;
    font-size: 20px;
    font-weight: normal;
    box-sizing: border-box;
    margin-top: 0px;
    margin-left: 18px;
    margin-right: 18px;
}
.credits{
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 16px;
    background-color: inherit;
    color: white;
    text-align: center;
    box-sizing: border-box;
}