@charset 'UTF-8';

/*
GENERAL STYLING
================================================ */

body {
	color: #555;
}
p {
    line-height: 1.7;
}

main {
    padding-top: 10vh;
    color:var(--font);
}

h2.title {
    font-size: 1.5rem;
    line-height: 1.5;
}
h2.title::after {
    content: '';
    display: block;
    height: 5px;
    width: 10rem;
    background: #d0bea2;
    margin: 2rem 0 2.5rem;
}

section .wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Contents */
.brown-bg {
    background-color: var(--background2);
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 1rem;
}

.home-text {
    margin-bottom: 2rem;
}

.home-text .only {
    width:100%;
}

.flex-reverse .home-chart {
    margin: 0 2vw 0 0;
}
.home-chart p {
    text-align: center;
}

/* Styling for mobile devices */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*
DESKTOP SIZE
================================================ */
@media (min-width: 600px) {

    .title {
        font-size: 1.875rem;
    }

    .flex-reverse {
        flex-direction: row-reverse;
    }

    .home-text {
        width: 70vw;
        margin-bottom: 2rem;
    }
    
    .home-chart {
        width: 30vw;
        margin-top:19vh;
    }
}