/* General */

body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 17px;
}

/* Header: top section */

.header {
    background-color: #1F2937;
    color: white;
    padding: 10px 20px 100px 20px;
}

.header .logo {
    font-size: 24px;
    color: #F9FAF8;
    font-weight: 700;
}

.header .links {
    display: flex;
    gap: 15px;
    font-size: 18px;
    color: #E5E7EB;
    list-style-type: none;
    /* not flexible */
    flex: 0 0 auto;
}

.header .logo-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 80px;
    /* sets width of container to be smaller than 1920px screen */
    max-width: 1300px;
    /* centers container */
    margin: 0 auto;
}

.header .links button {
    cursor: pointer;
    /* Remove default button appearance */
    background-color: transparent; 
    border: none; 
    padding: 0; 
    margin: 0; 
    /* Inherit text styles from parent */
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    line-height: inherit;
    color: inherit; 
    /* Ensure it behaves like inline text */
    display: inline;
}

/* Header: bottom section */ 

.header .main-text {
    font-size: 48px;
    color: #F9FAF8;
    font-weight: 900;
    margin-right: 300px;
}

.header .sub-text {
    margin: 15px 50px 15px 0;
}

.header .button {
    cursor: pointer;
    color: white;
    font-size: 17px;
    font-weight: 600;
    background-color: rgb(52, 129, 230);
    padding: 0.5em 2em 0.5em 2em;
    font-family: "Roboto", sans-serif;
    border-radius: 10px;
}

.header .container {
    display: flex;
    overflow: auto;
    max-width: 1300px;
    margin: 0 auto;
}

/* Body section */

.body {
    padding: 0 20px 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.body .question {
    font-size: 36px;
    color: #1F2937;
    font-weight: 900;
    margin: 50px 0 50px 0;
    display: flex;
    justify-content: center;
}

.body .container {
    display: flex;
    justify-content: space-evenly;
    /* items stay on screen if minimised */
    flex-wrap: wrap; 
    overflow: hidden;
}

.body .container .text {
    text-align: center;
    max-width: 180px;
    font-size: 16px;
    padding: 0.5em 0 0.5em 0;
}

.body .container .image {
    border: 3px solid #1F2937;
    border-radius: 10px;
    width: auto;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Quote section */ 

.quote {
    background-color: #E5E7EB;
    padding: 100px 20px 100px 20px;
}

.quote .container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.quote .main-text {
    font-size: 36px;
    font-weight: 300;
    color: #1F2937;
    font-style: italic;
}

.quote .sub-text {
    font-weight: 700;
}

/* Action section */

.action {
    background-color: #3882F6;
    border-radius: 10px;
    margin: 0 auto;
    /* setting a width of 1240px disrupts wrapping, so make the width 100% of the max-width */
    max-width: 1240px;
    width: 100%;
}

.action .container {
    margin: 100px 20px 100px 20px;
    color: #F9F8FA;
    padding: 3em 7em;
    display: flex;
    justify-content: space-between;
    /* wraps button */
    flex-wrap: wrap; 
    overflow: hidden;
}

.action .text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.action .main-text {
    font-weight: 800;
    font-size: 20px;
}

.action .button {
    cursor: pointer;
    color: white;
    font-size: 17px;
    font-weight: 600;
    background-color: #3882F6;
    border-color: #E5E7EB;
    padding: 0.5em 2em 0.5em 2em;
    font-family: "Roboto", sans-serif;
    border-radius: 10px;
    margin: 0.5em 0 0.5em 0;
}

/* Footer section */

.footer {
    background-color: #1F2937;
    color: white;
    text-align: center;
    padding: 2em;
}










