/* style.css */

/*import Roboto font */
@import url('https://googleapis.com');

body {
    /* needed because many browsers apply an automatic 8px margin */
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

/* remove default styling from unordered lists */
ul {
    list-style-type: none;
    margins: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

/* header and hero */
.header,
.hero {
    background-color: #1F2937;
    display: flex;
    flex-basis: 80%;
    padding: 0 clamp(1rem, 10vw, 25%);
    justify-content: space-between;
}

.header {

}

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

.header-links {
    display: flex;
    gap: 2rem;
}

.header-links a {
    font-size: 18px;
    color: #E5E7EB;
}

.hero {
    justify-content: space-between;
    gap: 2rem;
    padding-top: 4rem;
    padding-bottom: 8rem;
    align-items: stretch;
}

.hero-cta,
.hero-img {
    display: flex;
    flex-basis: 50%;
    /* border: 1px solid red; */
}

.hero-cta {
    flex-direction: column;
    min-height: 100%;
    align-items: flex-start;
    justify-content: stretch;
}

.hero-cta p {
    font-size: 18px;
    color: #E5E7EB;
}

.hero-cta button {
    color: #F9FAF8;
    background-color: #3882F6;
    font-size: 16px;
    font-weight: 600;
    padding: 0.5rem 2rem;
    border-radius: 8px;
}

#hero-main {
    margin: 0;
    font-size: 48px;
    color: #F9FAF8;
}

.hero-img {
    background-color: #6d747d;
    justify-content: center;
    align-items: center;
}

/* information section */
.information-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 8rem;
    gap: 1rem;
}

.information-section h2 {
    font-size: 36px;
    color: #1F2937;
    font-weight: 900;
}

.card-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.card p {
    max-width: 9rem;
    color: #1F2937;
}

.img {
    width: 9rem;
    height: 9rem;
    border: 4px solid #3882F6;
    border-radius: 10%;
    flex-shrink: 0;
}

/* testimonial section */
.testimonial-container {
    display: flex;
    flex-direction: column;
    padding-top: 6rem;
    padding-bottom: 4rem;
    align-items: center;
    background-color: #E5E7EB;
}

.quote {
    font-size: 36px;
    font-style: italic;
    margin: 0;
    color: #1F2937;
    font-weight: 300;
    max-width: 52rem;
}

.quote-attribution {
    display: flex;
    min-width: 50rem;
    font-size: 24px;
    font-weight: 600;
    justify-content: flex-end;
    padding: 0 1rem;
}

/* call to action section */

.cta-margin {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
}

.call-to-action {
    display: flex;
    background-color: #3882F6;
    padding: 3rem 6rem;
    border-radius: 0.5rem;
    margin: 0 8rem;
    justify-content: space-between;
    gap: 2rem;
    flex-grow: 1;
}

#left-side-cta {
    display: flex;
    flex-direction: column;

}

#left-side-cta h4 {
    color: #F9FAF8;
    font-size: 20px;
    font-weight: 900;
}

#left-side-cta p {
    color: #E5E7EB;
}

h4, p {
    margin: 0;
}

.call-to-action-button {
    background-color: #3882F6;
    color: #F9FAF8;
    border: 2px solid #F9FAF8;
    border-radius: 10px;
    width: 10rem;
}

/* footer */

.footer {
    display: flex;
    color: #E5E7EB;
    background-color: #1F2937;
    justify-content: center;
    padding: 2rem 3rem;
}
