/* INDEX */
:root {
  --color-green: #56a79a;
  --color-white: #fff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  line-height: 1.6;
  font-family: 'open sans', sans-serif;
}
img {
  width: 100%;
}
span {
  color: var(--color-green);
}
.btn {
  background-color: black;
  text-decoration: none;
  color: var(--color-white);
  padding: 0.9rem;
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  width: 60%;
  transition: opacity 250ms ease-in-out;
}
.btn:hover {
  opacity: 0.5;
}
/* nav */
.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 10vh;
  border-bottom: 1px solid var(--color-green);
  background-color: var(--color-white);
  /* width: 100%;
  position: fixed; */
}
.navbar ul {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
ul li a {
  text-decoration: none;
  color: #222;
  margin: 5px 10px;
  text-transform: uppercase;
  text-align: center;
}
.navbar a:hover,
.active {
  border-bottom: 2px solid var(--color-green);
  color: var(--color-green);
}

/* showcase */
header {
  background: url(/images/bg.jpg) no-repeat center center/cover;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.show-top {
  color: var(--color-white);
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 3rem;
  padding: 1rem 2.4rem;
}
.show-top p {
  font-size: 0.8rem;
  text-align: center;
}
/* features */
.features {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.features p {
  padding-bottom: 1rem;
}
.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2rem;
  justify-content: center;
  width: 75%;
}
.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.box i {
  color: var(--color-green);
  padding: 0.6rem;
}
.box h4 {
  padding: 0.5rem;
}
/* core features */
.core-features {
  padding: 1.4rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  text-align: center;
}
.core-features ul {
  list-style-type: none;
}
/*contacts  */
.contact {
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-around;
  align-items: start;
  color: var(--color-white);
  background-color: #222;
}
.container-contact {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: start;
  gap: 2rem;
  justify-content: center;
  width: 75%;
}

.contact h1 {
  text-transform: uppercase;
  white-space: nowrap;
}
.contact #text {
  padding: 1rem;
  outline: 0;
}

/* footer */
footer {
  min-height: 10vh;
  display: flex;
  background-color: var(--color-green);
  color: var(--color-white);
  align-items: center;
  justify-content: center;
}

/* media queries */
@media (max-width: 700px) {
  .container-contact {
    display: flex;
    flex-direction: column;
  }
  .container {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .navbar {
    flex-direction: column;
  }
  .container {
    grid-template-columns: 1fr;
  }
  .core-features {
    flex-direction: column;
  }
}

/* ABOUT */
.a-header {
  text-transform: capitalize;
  background-color: #222;
  color: var(--color-white);
  padding-left: 13%;
  min-height: 10vh;
  display: flex;
  align-items: center;
}
main {
  text-align: center;
  display: flex;
  justify-content: center;
}
.wrapper {
  width: 75%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.one,
.two {
  padding: 2rem 0;
}
.one {
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
}

/* SERVICE */

article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

article .wrap-all {
  width: 70%;
}
article h1 {
  padding: 1rem 0;
}
.s-one,
.s-three {
  background-color: #222;
}
.s-two {
  background-color: var(--color-green);
}
.s-one,
.s-two,
.s-three {
  text-align: center;
  padding: 1rem;
  color: var(--color-white);
}
/* CONTACT */
.c-wrap {
  background-color: #222;
  color: var(--color-white);
  padding: 2rem 1rem;
}
form div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
label {
  display: block;
  text-transform: uppercase;
  text-align: center;
}
textarea {
  width: 60%;
  height: 100px;
  margin-bottom: 20px;
  outline: 0;
  resize: none;
}
input {
  width: 60%;
  padding: 0.5rem;
  outline: 0;
}
