/* This file houses the customized formatting for app */


/* This accounts for extra white space on right side of page*/
html,body {  
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
    scroll-behavior: smooth;
}

/* This didn't actually have an effect on this particular project, 
but it can help with removing any pre-set spacing on page that may be messing with your code */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  /* give everything inherit for box sizing, and set the body to border-box */
  /* this makes it easier to change box-sizing properties for other things
  if the situation ever arises */
  box-sizing: inherit; }

* { font-family:"Amiko", sans-serif; }

body {
    color: #313131;
}


#sectionTitle {
    font-weight: bold;
    text-align: center;
    padding-top: 6rem;
    padding-bottom: 1rem;
    padding-left: 0;
    padding-right: 0;
    color: #29ce81
}

#sectionSubtitle {
    font-weight: bold;
    text-align: center;
    padding-top: 6rem;
}

.space{
    height: 5rem;
}

.navbar{
    background-color: #fff;
    font-weight:bold;
}

.navbar-nav > li{
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Landing Page */
/* I opted for flexbox over the grid because it is inherently responsive */
#home {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background-image: url(./img/image-brightwhite.jpg);    
}
#landingScreen-contentWrapper{
    line-height: 3rem;
}
#tagline{
    color: #313131;
    font-size: xx-large;
    font-weight: bold;
    text-align: center;
}
#homeButton {
    display: block;
   align-items: center;
    width: 140px;
    margin:auto;
    margin-top: 2rem;
    padding: 0.15rem 0.7rem 0rem;
    color: white;
    background-color: #29ce81;
    border-color: white;
    border-style: solid;
    border-radius: 7px;
    font-size: 1.2rem;
    font-weight: bold;    
}

#homeButton:hover {
    color: #313131;
    border-color: #313131;
}

/* About section */
#about-section{
    display:flex;
    flex-wrap: wrap;
    padding: 2rem;
    background-color: #f3f3f3ff;
}
#about-text{
    text-align: center;
    align-self: center;
    padding-top: 1rem;
    padding-bottom: 4rem;
    padding-right: 2rem;
    padding-left: 2rem;
    font-size: 1.1rem;
}
#about-image {
    display: flex;
    justify-content: center;
    align-items: center;  
    padding: 3rem;
}

/* Mission section */
#mission-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* flex-wrap: wrap; */
    justify-content: center;
    padding: 2rem 7rem 7rem;
    font-size: 1.1rem;
    text-align: center;
}

@media screen and (max-width:960px) {
    #mission-section {
        padding: 4rem 4rem 7rem;
    }

    #contact {
        padding-right: 2rem;
        padding-left: 1rem; 
    }
}

/* Contact Page */
.social-section {
    display:flex;
    justify-content: center;
    padding-left: 5rem;
}
.btn-social-icon {
    font-size: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
    color: #4aa3be;
}

.error {
    color: #fc8181;
    font-size: 0.75rem;
    text-align: left;
    margin-top: 0.25rem;
  }
 
form {
    width: 85%;
    max-width: 700px;
    margin: 0 auto;
    color: #313131
}
  
form label {
    font-size: 1rem;
    font-weight: bold;
    display: block;
    text-align: left;
    margin: 1rem 0 0.2rem;
}
  
input,
textarea,
select {
    width: 100%;
    padding: 0.65rem 0.5rem;
    font-size: 1rem;
    color: #313131;
    border: 1px solid lightgrey;
    border-radius: 10px;
    outline: none;
  }
  
input::placeholder,
textarea::placeholder,
select::placeholder {
    color: #a0aec0;
  }
  
form button {
    display: block;
    width: 100px;
    margin-left:auto;
    margin-right:auto;
    margin-top: 1rem;
    padding: 0.35rem 0.5rem;
    background-color: #313131;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
} 

input.input-error,
textarea.input-error,
select.input-error {
    border-color:#fc8181 
  }

form button:disabled {
    opacity: 0.35
  }

