

/* home.html */

:root {
    --heart: #B00C0C;
    --off-black: #111111;
    --ocean: #002BC7;
    --grass: #00411D;
    --ocean-darker: #3131ab;
    --dirt: #725d4c;
    --darker-heart: rgb(75, 8, 8);
    --sun: #ffde59;
    --sun-orange: rgb(230, 107, 40);
}

body {
    display: grid;
    grid-template-rows: auto auto auto auto;
    grid-template-columns: auto;
}


h2 {
    font-size: 2.5em;
    padding-bottom: 1em;
    margin-bottom: 0;
}

#cec {
    width: 5em;
    height: auto;
    margin: 0 1em;
}

#insta {
    width: 2em;
    margin: 0 0.5em;
}

.header {
    grid-column-start: span 2;
    grid-row-start: span 1;
    display: flex;
    text-align: center;
    justify-content: space-evenly;
    padding: 1em; 
    background-color: var(--ocean);
    color: white;
    /* border: 1px solid red; */
    letter-spacing: 0.1em;
    position: sticky;
    top: 0;
}

.other-pages {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.1em;
}

/* page's other links */
.header li {
    display: inline-flex;
    text-decoration: none;
    align-items: flex-start;    
}

.header ul {
    width: 20%;
}

.header a {
    color: white;
}

.campaign {
    display: flex;
    align-items: center;
}

.banner {
    grid-column-start: span 2;
    text-align: center;
}

.main-info {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto auto;
}

/* makes divs grid instead of h4 which affects text-align */

.main-info > div {
    display: grid;
    width: 100vw;
}

.main-info > * {
    grid-template-columns: 1fr 1fr;
    grid-column-start: span 2;

}

.main-info > h4 {
    text-align: center;
}

body {
    margin: 0 auto;
    padding: 0;
}

.banner {
    color: white;
    background-color: var(--off-black);
}


.text {
    display: flex;
    justify-items: center;
    flex-direction: column;
    /* border: solid 2px pink; */
    line-height: 1.5em;
    margin: 0;
    padding: 2em;
}

.text > p {
    margin: 0 auto;
    text-align: center;
    font-size: 1.1em;

}

.text > h3 {
    text-align: center;
    margin: 1em 0;
}

h3 {
    font-size: 1.7em;
}

.s1 {
    background-color: var(--dirt);
    justify-content: space-around;
}

.s1 p {
    padding: 0 0.5em;
}

.s1.text {
    color: white;
    line-height: 2em;    
}

.s1 h3 {
    background-color: var(--grass);
    padding: 1em 0;
}

.s1 img {
    border: 10px solid var(--grass);
}

.s2 {
    display: flex;
    background-color: var(--off-black);
    color: white;
}

.s2.graphic h3 {
    padding: 10px;
    border-radius: 2px;
    font-size: 2em;
}
.s2.text p {
    padding-bottom: 1em;
}

.s2.graphic {
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.litter-chain {
    background-color: var(--darker-heart);
    padding: 10px;
    margin: 0;
    border: 0;
    color: white;
    font-size: 1.2em;
    border-radius: 5%;
}

.s1.graphic {
    display: flex;
    align-items: center;
}
.s1 img {
    width: 75%;
    height: 75%;
}

h2 span {
    color: red;
}

.litter-chain_answers {
    display: none;
    line-height: 2.5em;
}

.s3.text {
    height: 100%;
}

.s2 img {
    width: 100%;
    height: auto;
    margin: 2em 0;
}

.litter-chain:focus {
    background-color: #f38686;
    color: var(--off-black);
}

#Plastics_answer {
    display: block;
}

.s2.text {
    line-height: 2em;
}

.thought {
    font-size: 1.5em;
    padding-bottom: 1em;
}

.s3.graphic {
    line-height: 2.5em;
    background-color: rgb(230, 107, 40);
    color: yellow;
    padding: 5em;
}


.s3.graphic {
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* align-items: flex-end; */
    margin: 0;
}


footer {
    grid-column-start: span 2;
    text-align: center;
    padding: 10px;
    background-color: var(--ocean);
    color: white;
}


/* contact body */

.contact-form {
    width: 50%;
    margin: 0 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem;
    height: fit-content;
    color: var(--off-black);
    border: 5px solid var(--grass);

}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    row-gap: 10px;
    column-gap: 10px;
}

.form-message, .form-submitButton {
    grid-column-start: span 2;
}
/* form label {
    display: inline-block;
} */

.form-name, .form-email {
    height: fit-content;
}
.contact-form p {
    line-height: 1.5em;
}

.contact-form > * {
    padding: 1em 3em;

}
form textarea {
    max-width: 100%;
    width: 100%;
    height: 20vh; 
}

form label {
   display: block;
   padding: 0.3em 0;
} 

#submit-form {
    display: block;
    height: max-content;
    padding: 0.75em 0;
    margin-top: 0.5em;
    background-color: var(--medium-purple);
    color: var(--closer-white);
    font-weight: 1000;
    font-size: 1rem;
}

form input {
    width: 100%;
    height: 2rem;
}

form input, form textarea {
    background-color: var(--closer-white);
    border: 2px inset var(--off-black);
}


/* vision statement */

.mission-statement {
    margin: 2em 5em;
    line-height: 2em;
    padding-left: 2em;
}

#initiative {
    background-color: var(--grass);
    color: white;
}

#inquiry {
    display: block;
    width: 100%;
    margin: 3em 45%;
}