/* Basic styling */

:root {
  --green: #B2C617;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: 'Comfortaa', cursive;
  letter-spacing: -.5px;
}
nav {
  padding: 5px 20px;
}
ul {
  list-style-type: none;
}
a {
  color: black;
  text-decoration: none;
  transform: translateZ(0px);
}
a:hover {
  text-decoration: underline;
}
.menu li {
  font-size: 1em;
  padding: 15px 5px;
  white-space: nowrap;
}
section {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1%;
}
/* Top Section */

.headline {
  color: white;
  font-size: 1em;
  line-height: 1;
  padding: 15% 0 15% 0;
}
.headline-image {
  width: 100%;
}
/* Green Block */

.arrows {
  width: 10%;
}
.right {
  align-self: flex-end;
}
.green-block {
  display: flex;
  flex-direction: column;
  padding: 2% 1% 2% 1%;
  background-color: var(--green);
  justify-content: space-between;
}
/* Homepage Services Section */

.heading1 {
  font-size: 2em;
}
.service-div {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 25%;
  height: 100px;
}
.services-section {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
}
.service-div img {
  height: 50px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}
.services-section p {
  font-size: .8em;
  text-align: center;
  padding-top: 5%;
}
/* Homepage Meet Carrie Coltman Section */

.cc {
  margin-top: 5%;
}
.cc p {
  font-size: 1em;
  line-height: 2;
  padding-bottom: 2%;
}
.cc-article {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cc-article img {
  width: 100%;
  object-fit: contain;
}
.cc-text {
  display: flex;
  flex-direction: column;
  width: 90%;
}
.button {
  background-color: var(--green);
  border-radius: 8px;
  border: 1px solid var(--green);
  padding: 8px 16px;
  color: white;
  text-align: center;
  width: 200px;
  transition-timing-function: ease-in-out;
  transition-duration: .5s;
}
/* Homepage Testimonial */

.testimonial {
  width: 100%;
  background-color: var(--green);
  color: white;
  padding: 5% 2% 5% 2%;
}
.testimonial blockquote {
  font-size: 1.3em;
  font-style: italic;
}
.testimonial p {
  padding-top: 2%;
}
/* Homepage Clients */

.clients h1, .clients p {
  text-align: center;
}
.grid-item {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.grid-item:hover {
  background-color: var(--green);
  color: white;
}
/* Services - Top*/

.nav-2 {
  padding: 0 25px 10px 25px;
}
button {
  align-content: flex-end;
  justify-content: flex-end;
}
.boxes {
  display: grid;
  grid-gap: 10px;
}
.link-nav2 {
  text-decoration: none !important;
}
.nested {
  background-color: var(--green);
  border: 1px solid var(--green);
  border-radius: 5px;
  padding: 1em;
  display: flex;
  justify-content: center;
  color: white;
  transition-timing-function: ease-in-out;
  transition-duration: .4s;
}
/* Services - Development */

#leadership p, #team p, #coach p {
  line-height: 2;
}
#team p {
  padding-bottom: 3%;
}
#team img {
  width: 100%;
  object-fit: contain;
  filter: hue-rotate(975deg);
}
/* About */

h2 {
  padding: 0;
  margin: 0;
}
/* Contact */

input[type="text"], input[type="email"], textarea {
  display: block;
  padding: 18px 15px;
  border: 0;
  outline: none;
  vertical-align: middle;
  line-height: 24px;
  color: #647373;
  background: #D3D9D9;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  color: #FFFFFF;
  background-color: var(--green);
}
label {
  margin: 12px 0;
  display: block;
}
/* contact form */

#contact label {
  margin: 12px 0;
  display: inline-block;
  float: left;
  width: 26%;
}
#contact input, #contact textarea, #contact select {
  padding: 18px 20px;
  border: 1px solid black !important;
  color: black;
  background: #fff;
  font-weight: bold;
  line-height: 24px;
  width: 100%;
}
#contact textarea {
  resize: none;
}
#contact input:focus, #contact textarea:focus {
  color: #fff;
  background-color: var(--green);
}
#contact input.submit {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  background: var(--green);
  border: none !important;
  cursor: pointer;
  height: auto;
  display: inline-block;
  margin-top: 10px;
  border-radius: 3px;
  transition: .3s ease-in-out;
}
#contact input.submit:hover, .nested:hover, .button:hover {
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green) !important;
  transition: .3s ease-in-out;
  text-decoration: none;
}
#contact span.required {
  color: var(--green);
  font-size: 1.5em;
}
#message-warning, #message-success {
  display: none;
  background: #0F0F0F;
  padding: 24px 24px;
  margin-bottom: 36px;
  width: 65%;
  margin-left: 26%;
}
#message-warning {
  color: #D72828;
}
#message-success {
  color: #11ABB0;
}
#message-warning i, #message-success i {
  margin-right: 10px;
}
#image-loader {
  display: none;
  position: relative;
  left: 18px;
  top: 17px;
}
.testimonials p {
  line-height: 2;
}
.testimonials h2 {
  margin-top: 3%;
}
/* Footer */

footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  font-size: 1em;
  padding-bottom: 10px;
}
/* Mobile menu */

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.toggle {
  order: 1;
}
.item {
  width: 100%;
  text-align: center;
  order: 3;
  display: none;
}
.item.active {
  display: block;
}
.image-logo {
  width: 50%;
}
/* Tablet */

@media all and (min-width: 800px) {
  .menu {
    justify-content: center;
  }
  .logo {
    flex: 1;
  }
  .toggle {
    flex: 1;
    text-align: right;
  }
  .toggle {
    order: 2;
  }
  .image-logo {
    width: 50%;
  }
  .green-block {
    width: 40%;
  }
  .headline {
    color: white;
    font-size: 1.5em;
    line-height: 2;
  }
  .headline-image {
    width: 55%;
  }
  .side-by-side {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .cc-article {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .cc-article img {
    width: 25%;
    object-fit: contain;
  }
  .cc-text {
    display: flex;
    flex-direction: column;
    width: 60%;
  }
  .service-div img {
    height: 80px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
  .services-section p {
    font-size: .8em;
    text-align: center;
    padding-top: 5%;
  }
  .grid-container {
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 10px;
    width: 100%;
  }
  /* Services */
  .boxes {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 50% 50%;
  }
}
/* Desktop  */

@media all and (min-width: 900px) {
  .item {
    display: block;
    width: auto;
  }
  .toggle {
    display: none;
  }
  .logo {
    order: 0;
  }
  .item {
    order: 1;
  }
  .button {
    order: 2;
  }
  .menu li {
    padding: 15px 10px;
  }
  .menu li.button {
    padding-right: 0;
  }
  .image-logo {
    width: 35%;
  }
  .headline {
    color: white;
    font-size: 1.5em;
    line-height: 2;
  }
  .headline-image {
    width: 55%;
  }
  .side-by-side {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .cc-article {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .cc-article img {
    width: 25%;
    object-fit: contain;
  }
  .cc-text {
    display: flex;
    flex-direction: column;
    width: 60%;
  }
  /* Testimonial */
  .testimonial {
    width: 100%;
    background-color: var(--green);
    color: white;
    padding: 1%;
  }
  .testimonial blockquote {
    font-size: 1.5em;
    font-style: italic;
  }
  .testimonial p {
    padding-top: 1%;
    font-size: 1em;
  }
  .service-icon- {
    width: 120%;
  }
  .grid-container {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    padding: 10px;
    width: 100%;
  }
}
/* Bigger Desktop */

@media all and (min-width: 1200px) {
  .image-logo {
    width: 20%;
  }
  .green-block {
    width: 40%;
  }
  .headline {
    color: white;
    font-size: 2em;
    line-height: 2;
  }
  .headline-image {
    width: 55%;
  }
  .side-by-side {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .cc-article {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .cc-article img {
    width: 25%;
    object-fit: contain;
  }
  .cc-text {
    display: flex;
    flex-direction: column;
    width: 60%;
  }
  .service-icon- {
    width: 120%;
  }
  .service-div img {
    height: 125px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
  .services-section p {
    font-size: 1em;
    text-align: center;
    padding-top: 5%;
  }
  /* Testimonial */
  .testimonial {
    width: 100%;
    background-color: var(--green);
    color: white;
    padding: 3% 2% 3% 2%;
  }
  .testimonial blockquote {
    font-size: 2em;
    font-style: italic;
  }
  .testimonial p {
    padding-top: 1%;
    font-size: 1.3em;
  }
  /* Services */
  .boxes {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: space-around;
  }
  .link-nav2 {
    width: 24%;
  }
  .team {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  #team img {
    width: 40%;
  }
  .team-paragraphs {
    width: 50%;
  }
}