@charset "UTF-8";







/* CSS RESET */

*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	margin-block-end: 0;
	padding: 0;
}

html {
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}

body {
	min-height: 100vh;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

img {
    vertical-align: middle;
}

input,
button,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
}

p {
	text-wrap: pretty;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	/* text-wrap: balance; */
    overflow-wrap: break-word;
    font-weight: normal;
}

ul[role='list'],
ol[role='list'] {
	list-style: none;
}

#root,
#__next {
	isolation: isolate;
}

textarea:not([rows]) {
	min-height: 10em;
}

:target {
	scroll-margin-block: 5ex;
}










/* GENERAL */

body {
    font-family: "Lora", Georgia, serif;
    font-size: 20px;
    line-height: 34px;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #282828;
}

.page-wrapper {
    max-width: 1800px;
    margin: 0px auto;
}

section {
    background-color: #fff;
    padding: 100px 80px;
}

section .container {
    max-width: 1400px;
    margin: 0px auto;
    display: flex;
    gap: 70px;
}

p:not(:last-child) {
    margin-bottom: 50px;
}

p a {
    color: #037f8c;
}

.button {
    display: inline-block;
    line-height: 70px;
    background-color: #fff;
    border: 2px solid #037f8c;
    padding: 0px 45px;
    color: #000;
    font-family: "Arvo", "Helvetica Neue", Helvetica, Arial, "sans-serif";
    font-size: 26px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-style: normal;
}

.submit {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    display: inline-block;
    line-height: 70px;
    background-color: #fff;
    border: 2px solid #037f8c;
    padding: 0px 45px;
    color: #000;
    font-family: "Arvo", "Helvetica Neue", Helvetica, Arial, "sans-serif";
    font-size: 26px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
}

.button:hover,
.submit:hover{
    background-color: #037f8c;
    color: #fff;
}

h2 {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 50px;
}










/* HERO */

.hero {
    background-image: url("images/barton-hero-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
    color: #fff;
    display: flex;
}

.hero .hero-content {
    background: rgba(0,0,0,0.8);
    width: 750px;
    padding: 50px 100px 50px 210px;
    padding-bottom: 60px;
}

.hero .logo {
    position: relative;
    width: 315px;
    margin-bottom: 80px;
    margin-left: -120px;    
}

.hero p {
    font-size: 30px;
    line-height: 44px;
    font-style: italic;
    margin-bottom: 40px;
}










/* ABOUT */

.about .column.aside {
    width: 300px;
}

.about .column.content {
    width: calc(100% - 370px);
    padding-right: 80px;
}

.about .portrait {
    margin-bottom: 50px;
}










/* WHO WE ARE */

.who-we-are {
    background-color: #eeeeee;
    padding-bottom: 50px;
}

.who-we-are .column.aside {
    width: 420px;
}

.who-we-are .column.content {
    width: calc(100% - 490px);
    padding-right: 80px;
}

.who-we-are ul {
    list-style: none
}

.who-we-are li {
    display: inline-block;
    width: 49%;
    margin-bottom: 50px;
    vertical-align: top;
    padding-right: 20px;
}









/* DONATE NOW */

.donate-now {
    padding: 0px;
}

.donate-now .container {
    max-width: none;
}

.donate-now .column.content {
    width: 50%;
    padding: 100px 0px;
    padding-left: calc(50% - 780px);
    margin-left: 80px;
}

.donate-now .column.aside {
    width: 50%;
    background-image: url("images/barton-classroom-2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}









/* FOOTER */

footer {
    text-align: center;
    color: #fff;
    padding: 50px;
    background-color: #000;
    font-family: "Arvo", "Helvetica Neue", Helvetica, Arial, "sans-serif";

}










/* MEDIA QUERIES */

@media (max-width: 1400px) {
    
    .hero .hero-content {
        padding: 50px 50px 50px 160px;
        width: 50%;
    }
    
    .hero p {
        font-size: 24px;
        line-height: 38px;
    }
    
    .hero .logo {
        margin-bottom: 50px;
    }
    
}

@media (max-width: 1024px) {
    
    body {
        font-size: 18px;
        line-height: 32px;
    }
    
    section {
        padding: 60px 50px;
    }
    
    section .container {
        gap: 50px;
    }
    
    h2 {
        font-size: 36px;
        line-height: 40px;
        margin-bottom: 30px;
    }
    
    p:not(:last-child) {
        margin-bottom: 30px;
    }
    
    .hero p {
        margin-left: -110px;
    }
    
    .about .column.aside {
        width: 200px;
    }
    
    .about .column.content {
        width: calc(100% - 250px);
        padding-right: 0px;
    }
    
    .who-we-are .column.aside {
        width: 300px;
    }
    
    .who-we-are .column.content {
        width: calc(100% - 350px);
        padding-right: 0px;
    }
    
    .donate-now .column.content {
        margin-left: 50px;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
}

@media (max-width: 767px) {
    
    body {
        font-size: 16px;
        line-height: 28px;
    }
    
    .button,
    .submit {
        font-size: 22px;
        line-height: 60px;
    }
    
    section {
        padding: 60px 30px;
    }
    
    section .container {
        display: block;
    }
    
    h2 {
        font-size: 30px;
        line-height: 36px;
    }
    
    .hero {
        height: 400px;
        margin-top: 400px;
    }
    
    .hero .hero-content {
        position: absolute;
        width: 100%;
        background-color: #000;
        margin-top: -400px;
        padding: 30px;
    }
    
    .hero p {
        margin-left: 0px;
        font-size: 20px;
        line-height: 30px;
    }
    
    .hero .logo {
        margin-left: 0;
        width: 250px;
        margin-bottom: 30px;
    }
    
    .about .column.aside {
        width: 170px;
        float: right;
        margin-left: 30px;
        margin-bottom: 30px;
    }
    
    .about .column.content {
        width: 100%;
    }
    
    .who-we-are .column.aside {
        width: 250px;
        margin-bottom: 50px;
    }
    
    .who-we-are .column.content {
        padding-right: 0px;
        width: 100%;
    }
    
    .donate-now .container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .donate-now .column.content {
        width: 100%;
        padding: 60px 30px 50px;
        margin: 0;
    }
    
    .donate-now .column.aside {
        width: 100%;
        height: 400px;
    }
    
}

@media (max-width: 500px) {
    
    body {
        font-size: 14px;
        line-height: 24px;
    }
    
    section {
        padding: 40px 20px;
    }
    
    .button,
    .submit {
        font-size: 20px;
        padding: 0px 20px;
        line-height: 50px;
    }
    
    .hero .hero-content {
            padding: 20px;
    }
    
    .about .column.aside {
        width: 110px;
        margin-bottom: 20px;
    }
    
    .who-we-are li {
        margin-bottom: 20px;
    }
    
    .donate-now .column.content {
        padding: 40px 20px;
    }
    
}