/*General*/
:root {
    --main-color:#225726;
}

html {
    font-size: 15px;
    height: 100%;
    overflow-x: hidden;
}

@font-face {
    font-family: 'alphabet';
    src: url(fonts/t.h._alphabet_soup_regular-webfont.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #fffadd;
    color: #1E3006;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

section, aside {
    margin: 0 5% 4% 5%;
}

p {
    margin-top: 0;
}

img {
    box-sizing: border-box;
}
img:not(header img):not(footer img){
    border: solid 6px #b5bc76;
    border-radius: 25px;
    width: 40%;
}

.italic {
    font-style:italic;
}

/*Headings*/
h1, h2, h3 {
    color: var(--main-color);
    font-family: 'alphabet', Arial, sans-serif;
}
h1 {
    font-size: clamp(1rem, 5vw, 2.6rem);
    margin: 0 0 .7em 0;
}
h2 {
    font-size: 1.8rem;
    margin: 0 0 .6em 0;
}
h3 {
    font-size: 1.3rem;
    margin: 0 0 .4em 0;
}
h4 {
    font-size: 1em;
    margin: 0 0 .1em 0;
    color: var(--main-color);
    font-weight: bold;
}

/*Header*/
header {
    background-color: var(--main-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-sizing: border-box;
    margin-bottom: 5%;
}
header img {
    width: 30%;
    height: auto;
    margin-bottom: 4%;
}
nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    font-size: .85em;
    margin: 0;
    padding: 0;
}
nav a {
    text-decoration: none;
    color: #fffadd;
    text-transform: uppercase;
    font-weight: bold;
}
nav a:hover {
    color: #b5bc76;
}

/*Index*/
#hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6%;
    margin-bottom: 7%;
}
#hero p {
    margin: 3% 0;
    font-size: .85rem;
}

#maintitle {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#maintitle h1 {
    margin: 0;
}

.peopleimg {
    width: 100%;
    height: auto;
    display: flex;
    justify-self: center;
    margin-bottom: 5%;
}
/*Goal*/
.goal {
    border: solid 6px #b5bc76;
    border-radius: 25px;
    background-color: #eaeec4;
    font-size: 1.2em;
    padding: 3% 6%;
    text-align: center;
    display: flex;
    justify-self: center;
    flex-direction: column;
    width: 90%;
    box-sizing: border-box;
}
.goal h2, .goal p {
    margin: 0;
}

/*Button*/
.button {
    display: inline-block;
    padding: 0.4em 1.3em;
    background-color: var(--main-color);
    border: solid 3px var(--main-color);
    color: #fffadd;
    font-size: clamp(.8rem, 2vw, 1rem);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 35px;
    margin-top: .6em;
    max-width: 100%;       
    white-space: nowrap;     
    box-sizing: border-box;  
    overflow: hidden;
}
.button:hover {
    border: solid 3px var(--main-color);
    background-color: #fffadd;
    color: var(--main-color);;
}

/*Footer*/
footer {
    background-color: var(--main-color);
    color: #ffffff;
    padding: 30px;
    text-align: center;
    line-height: 1.5em;
    margin-top: 5%;
}
footer p {
    justify-self: center;
    margin-bottom: 2%;
}
footer img {
    width: 35%;
    margin-bottom: 2%;
}
footer a {
    color: #ffffff;
}
.googlemaps {
    border: none;
    max-width: 90%;
    box-sizing: border-box;
}

/*Stamp card*/
#stampcard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-self: center;
    margin-top: 4%;
    width: 100%;
    border: 3px solid #b5bc76;
}

.card {
    background-color: #eaeec4;
    border: 3px solid #b5bc76;
    color: var(--main-color);
    font-size: clamp(.7rem, .9rem, 1.2rem);
    padding: .35rem;
    text-align: center;
    font-weight: bold;
    height: 7rem;
    width: 100%;
    box-sizing: border-box;
    align-content: center;
}

/*Form*/
form {
    display: grid;
    grid-template-columns: 1fr;
    background-color:#eaeec4;
    padding: .5rem 1rem;
    width: 90%;
    border: solid 6px #b5bc76;
    border-radius: 25px;
    justify-items: start;
    justify-self: center;
    font-size: 1em;
}
input, textarea {
    margin-bottom: 1rem;
    padding: .4rem;
    font-family: Arial, Helvetica, sans-serif;
    border: none;
    width: 80%;
}
textarea {
    resize: vertical;
}
form .button:hover {
    background-color: #eaeec4;
}

form .button {
    margin-top: 0;
}

/*About*/
.aboutimg {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 4%;
}




@media screen and (min-width: 600px) {
html {
    font-size: 16px;
}
.twocolumn {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5%;
}

.left, .right {
    flex: 1;
    margin: 0;
}

header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px 5%;
}

header ul {
    flex-direction: row;
    gap: 2.5rem;
    font-size: 1rem;
}

header img {
    max-width: 13%;
    margin: 0;
}

#stampcard {
    margin: 0;
}

form {
    width: 90%;
} 

#hero {
    justify-content: flex-start;
    gap: 12%;
}
#hero img {
    max-width: 50%;
}
#hero .button {
    margin-top: 4%;
}

#hero p{
    font-size: 1rem;
    margin: 2% 0;
}

.peopleimg {
    width: 40%;
    height: auto;
}
}