﻿:root {
    font-family: var(--font-family);
    font-size: 16px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

* {
    max-width: 100%;
}

/* PRE TITLE DEFINER */
/* ------------------*/
/* This is a small span which can be placed to the left of a title to indent it. */
.pre-title-definer {
    width: 60px;
    height: 2px;
    background-color: var(--white-color);
    margin-bottom: 0.2rem;
    display: inline-block;
    margin-right: 0.5rem;
}
@media (max-width: 900px) {
    .pre-title-definer {
        display: none;
    }
}

/* CTA BUTTON */
/* -----------*/
.cta-button {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: color 0.5s, background 0.5s; 
}
@media (max-width: 900px) {
    .cta-button {
        font-size: 1rem;
        padding: 1rem 1rem;
    }
}
.cta-button:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* SECTION */
/* Container */
/* ----------*/
.section {
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: var(--white-color);
    color: var(--primary-color);
}
@media (max-width: 900px) {
    .section {
        padding: 4rem 2rem;
    }
}

/* Modifiers */
.section--no-padding {
    padding: 0;
}

.section--dark {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.section--dark p {
    color: var(--white-color);
}

.section--align-left {
    align-items: flex-start;
    text-align: left;
}

/* Title */
/* -------*/
.section__title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: normal;
}
@media (max-width: 900px) {
    .section__title {
        font-size: 1rem;
    }
}

/* Modifiers */
.section__title--left-align {
    text-align: left;
    width: 100%;
    max-width: 1200px;
}

.section__title--dark {
    color: var(--accent-color);
}

/* Subtitle */
/* ---------*/
.section__subtitle {
    font-size: 2.7rem;
    margin-bottom: 2rem;
    color: var(--dark-heading-text-color);
    max-width: 50%;
    font-weight: bold;
    line-height: 1.2;
}
@media (max-width: 900px) {
    .section__subtitle {
        font-size: 2rem;
        width: 100%;
        max-width: 1200px;
    }
}

/* Modifiers */
.section__subtitle--full-width {
    max-width: 1200px;
}

.section__subtitle--left-align {
    text-align: left;
    width: 100%;
    max-width: 1200px;
}

.section__subtitle--dark {
    color: var(--light-heading-text-color);
}

/* SECTION CHILD ELEMENTS */
/* -----------------------*/
.section__text,
.section__list {
    font-size: 1.1rem;
    max-width: 800px;
    line-height: 1.6;
    color: var(--dark-paragraph-text-color);
    margin-bottom: 2rem;
}

.section__link {
    display: inline-block;
    margin-top: 1rem;
}

/* Modifiers */
.section__text--dark,
.section__list--dark {
    color: var(--light-paragraph-text-color);
}

.section__text--left-align,
.section__list--left-align {
    text-align: left;
    width: 100%;
}

/* PARAGRAPH */
/* ----------*/
.paragraph {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 2rem;
    text-align: left;
}

/* Modifiers */
.paragraph--bold {
    font-weight: bold;
}

.paragraph--no-bottom-margin {
    margin-bottom: 0;
}