b, strong {
  color: #a6b7ff; 
}

i {
    color: #ffff02;
}

h1, h2, h3, h4, h5, h6 {
    color: #6984fc
}

/* navbar spacing */
.navbar-nav.d-flex {
    gap: 1.25rem;
}

/* mobile screens */
@media (max-width: 768px) {
    .navbar-nav.d-flex {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .navbar-nav .nav-link {
        margin-right: 0;
        margin-left: 0;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
    .container {
        width: 100vw;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.no-spacing {
    margin: 0;
    padding: 0;
}

.minimal-spacing {
    margin: 2px;
    padding: 2px;
}

.container.vertp-5 {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 3rem;
    padding-bottom: 3rem;
    min-height:100vh;
    background-color: #121b30;
    color: #fff;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}
.gradient-text {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(to top right, rgb(9, 94, 122), white, rgb(30, 199, 30));
    -webkit-background-clip: text; /* for safari and chrome, means experimental */
    background-clip: text;
    -webkit-text-fill-color: transparent; /* for safari and chrome, means experimental */
    /* this is because background-clip and text-fill-color only apply to block elements */
    display: inline-block;
}

.info {
    padding: 5px;
    margin-top: 20px;
    font-size:12px;
    font-family:'Montserrat', sans-serif;
}

.boximages {
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    height: auto;
    border: 5px solid #0000ff;
    object-fit: cover;
    background-color: #bbbbff;
    padding: 10px;
    display: block;
    margin: 30px auto;
    background: linear-gradient(to top right, blue, violet, indigo);
}

.movingbg {
    background: linear-gradient(to top right, blue, rgb(15, 78, 99), rgb(5, 143, 223) , rgb(26, 44, 145));
    /* bg, container */
    background-size: 400% 100%;
    animation: gradient_animation 2s linear infinite alternate;
    justify-content: center;
    align-items: center;
}

@keyframes gradient_animation {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
    /* experimenting above */
    /* 50% {
        background-position: 400% 50%;
    }
    100% {
        background-position: 0% 50%;
    } */
}

.links {
    /* container becomes flexbox (moves around basically_ */
    display: flex;
    padding-bottom: 10px;
    /* flex, makes center */
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    background-color: #ffffff;

}

.footer {
    background-color: #040c27;
    color: #ffffff;
    margin-top: 2rem;
    padding: 1rem 0;
    position: relative;
}
#footerhead{
    font-size:24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}
#footertext{
    font-size:12px;
    font-family:'Montserrat', sans-serif;
    font-weight:200;
}

/* to fix image formatting problem in space.html */

/* CREDIT: STYLES.CSS IN TRIVIA BY CS50 TEAM */
body {
    min-height:100vh;
    background-color: #121b30;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    padding-bottom: 100px;
}

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    /* ensure the colored block fills the viewport vertically */
    min-height: 100vh;
    /* centered block that occupies 80% of viewport width */
    width: 80vw;
    box-sizing: border-box;
    background-color: #121b30;
}

.header {
    background-color: #040c24;
    color: #fff;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
    text-align: center;
    .boximages {
        width: 100%;
        max-width: 400px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border: 5px solid #0000ff;
        background-color: #bbbbff;
        padding: 10px;
        display: block;
        margin: 30px auto;
        background: linear-gradient(to top right, blue, violet, indigo);
    }
}

.section {
    padding: 0.5rem 2rem 1rem 2rem;
}

.section:hover {
    background-color: #f5f5f5;
    transition: color 2s ease-in-out, background-color 0.15s ease-in-out;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
}

button, input[type="submit"] {
    background-color: #040c24;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: white;
    line-height: 1.2;
    padding: 0.375rem 0.75rem;
    text-align: center;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    vertical-align: middle;
}

input[type="text"]:hover {
    background-color: #f5f5f5;
    transition: color 2s ease-in-out, background-color 0.15s ease-in-out;
}