/* stylesheet for index.html*/
body {
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* Main body section styles*/
.main-body-section {
    height: 100%;
    width:90%;
    max-width: 800px;
    margin: auto;
}
.main-body-section > .fixed-info-screen {
    margin: auto;
    width: 80%;
    max-width: 800px;
    height: calc(100% - 75px);
    box-sizing: border-box;
    text-align: center;
}

.main-body-section > .fixed-info-screen h1{
    font-size: 2.5em;
    width: 100%;
    color: #f6ae2d;
    
}
.main-body-section > .fixed-info-screen h3{
    font-weight: 400;
}
.main-body-section > .fixed-info-screen h3 span{
    color: #125488;
    font-weight: 700;
}
.main-body-section > .fixed-info-screen > .form-group {
    width: 80%;
    margin: auto;
    
}
.main-body-section > .fixed-info-screen > .form-group > .main-screen-subscribe-button {
    width: 100%;
    background-color: #f6ae2d;
    color: white;
    font-weight: 600;
    height: 50px;
    font-family: "Montserrat", serif;
    font-size: min(3.5vw, 1.3em);
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.main-body-section > .articles-section > .featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    column-gap: 5%;
}
.main-body-section > .articles-section > .featured > .featured-article h1 {
    margin-bottom: 4px;
}
.main-body-section > .articles-section > .featured > .featured-article h3 {
    margin-top: 4px;
}
.main-body-section > .articles-section > .featured > .featured-article > .featured-article-link {
    max-width: 600px;
    min-width: 200px;
    background-color: #f2f2f2;
    align-content: center;
    
}

.main-body-section > .articles-section > .featured > .featured-article > .featured-article-link > .featured-article-img img {
    max-width: 100%;
    padding-top: 5%;
    max-height: 200px;
    height: 100%;
    object-fit: fill;
    display: block;
    margin: auto;
}
.main-body-section > .articles-section > .featured > .featured-article > .featured-article-link,
.featured-article-link h1, 
.featured-article-link h3,
.featured-article-link p {
    color: black;
    text-decoration: none;
    font-size: 0.8em;
    margin: 7.5px 0;
}
.featured-article-link p {
    text-transform: uppercase;
    font-weight: 700;
    color: #2a93d5;
}
.featured-article-link h3 {
    font-weight: 400;
    font-size: 1.2em;
}
.featured-article-link h1 {
    font-size: 1.4em;
    overflow-wrap: break-word;
}
.main-body-section > .articles-topics {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2em;
    
}
.main-body-section > .articles-topics h1 {
    margin-top: 0;
}

.main-body-section > .articles-topics > .icons-with-labels {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: minmax(90px, auto);
    grid-gap: 5%;
    align-items: stretch;
}

.main-body-section > .articles-topics button {
    
    margin: 0 auto;
}
.icons-with-labels > .topic {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-height: 120px;
}

.main-body-section > .articles-topics > .icons-with-labels > .topic h4 {
    font-size: min(1.8vw, 0.9em);
    color: #125488;
    margin-top: 0.5rem;
    line-height: 1.2;

    margin: 0;
    padding: 1.33em 0;
}
    
.icons-with-labels {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4rem;
    width: 100%;
    box-sizing: border-box;
}
.main-body-section > .articles-topics > .icons-with-labels > .topic img {
    width: 100%;
    height: auto;
    max-width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.main-body-section > .articles-topics button {
    max-width: 250px;
    width: 100%;
    background-color: #2a93d5;
    height: 40px;
    margin-top: 10px;
    font-family: "Montserrat", serif;
    font-size: min(3.5vw, 1em);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    padding: 0px 25px;
}
.form-group {
    width: 100%;
}
hr {
    width: 100%;
    height: 1px;
    background-color: #c0c0c0;
    border: none;
    margin: 50px 0;
}
.newsletter-infographic {
    margin: auto;
    justify-content: space-between;
    align-items: center;
}
.explaining-newsletter-section {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    grid-gap: 5%;
}
.about-brainwaves-section,
.about-saturday-morning-newsletter-section {
    justify-content: space-between;
}
.about-brainwaves-section h4,
.about-saturday-morning-newsletter-section h4 {
    color: #2a93d5;
    font-size: 1em;
}
.about-brainwaves-section p,
.about-saturday-morning-newsletter-section p {
    font-size: 1em;
    line-height: 30px;
}
.about-brainwaves-section span,
.about-saturday-morning-newsletter-section span {
    color: #125488;
    font-weight: 700;
}
.about-brainwaves-section img,
.about-saturday-morning-newsletter-section img {
    max-width: 400px;
    width: 100%;
}
.divider {
    background-color: #c0c0c0;
    width: 1px;
    height: 90%;
    transform: translateY(5%);
}
.about-founder {
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-gap: 5%;
    margin: auto;
    justify-content: space-between;
    margin-bottom: 50px;
}
.about-founder img {
    width: 100%;
}
.about-founder > .founder-information > .bar {
    width: 75px;
    height: 3px;
    background-color: #2A93D5;
    box-shadow: 4px 2px 3px rgba(128, 128, 128, 0.4);
}
.about-founder > .founder-information h3{
    font-weight: 400;
    margin: 7px 0;
}
.about-founder > .founder-information h1{
    margin: 0;
}
.about-founder > .founder-information p{
    font-size: 0.85em;
    line-height: 21px;
}


/*
.form-error-message {
    display: flex;
    visibility: hidden;
    opacity: 0;
    height: 50px;
    background-color: salmon;
    border-radius: 25px;
    transition: opacity 1s ease-out, visibility 0s 1s;
}

.form-error-message img{
    width: auto;
    height: 25px;
}
.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 0s 1s;
}
.fade-in {
    opacity: 1;
    visibility: visible;
    transition: opacity 0s ease, visibility 0s 0s;
}
*/



.logo-carousel-section {
    text-align: center;
    background: #fafafa;
}
.logo-carousel-section h2 {
    padding-bottom: 20px;
}
.logo-carousel {
    overflow: hidden;
    width: 100%;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.logo-track img {
    width: auto;
    height: 50px;
    margin: 0 20px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.logo-carousel:hover .logo-track {
    animation-play-state: paused;
}