
/* Home */
.hero {
  overflow: hidden;
  height: 85vh;
  display: flex;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5em;

  color: var(--primary);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 1.2em;
  z-index: 1;
}

.logo {
  height: max-content;
  width: 65%;
}

@media (min-width: 48em) {
  .logo {
    width: 50%;
  }
  .hero-title {
    font-size: 2.2rem;
    letter-spacing: .29em;
  }
}

.message {
  padding: 10px;
  text-align: center;
}



/* Projects */

.project {
  margin: 3em 0;
}
.project span {
  font-weight: var(--fw-bold);
}

.project-card {
  background-color: var(--secondary);
  border: 1px solid var(--secondary);
  min-height: 13em;
  width: 85vw;
  overflow: hidden;
  border-radius: .5em;
  margin: 1em 0;

  cursor: pointer;
  transition: 0.7s ease;
}

.project-card:hover img {
  opacity: 0.8;
}

.project-card img{
  width: 100%;
  height: auto;
  aspect-ratio: 16/7;
  object-fit: cover;
}
/* ------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------- */

/* Services */

.services {
  width: 100%;
  display: grid;
  place-items: center;
  background-color: var(--primary)
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.column {
  width: 100%;
  padding: 0 1em 1em 1em;
  text-align: center;
}
.card {
  width: 100%;
  height: 100%;
  padding: 2em 1.5em;
  background: linear-gradient(var(--gray1) 50%, var(--dark) 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 5px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.5s;
}
.services .fs-h3 {
  color: var(--secondary);
  letter-spacing: .01em;
  margin: 1em 0;
}
.fs-p {
  color: var(--gray4);
  letter-spacing: 0.03em;
}
.icon-wrapper {
  background-color: var(--dark);
  position: relative;
  margin: auto;
  font-size: 2rem;
  height: 2.5em;
  width: 2.5em;
  color: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.5s;
}
.card:hover {
  background-position: 0 100%;
}
.card:hover .icon-wrapper {
  background-color: var(--primary);
  color: var(--black);
}
.card:hover h3 {
  color: var(--primary);
}
.card:hover p {
  color: var(--gray1);
}
@media screen and (min-width: 48em) {
  section {
    padding: 0 2em;
  }
  .column {
    flex: 0 50%;
    max-width: 50%;
  }
}
@media screen and (min-width: 62em) {
  .column {
    flex: 0 0 49%;
    max-width: 49%;
  }
}


/* ----------------------------------------------------- */
/* ------------------------------------------------------ */

/* ABOUT */

.about {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3em;
  background-color: var(--primary);
}

.image-container{
  margin: 0 auto;
  width: 70%;
  position: relative;
  z-index: 2;
}

.about-img{
  width: 90%;
  display: block;
  object-fit: cover;
  margin: .7em auto;
  border-radius: 50%;
}

@media (min-width: 48em) {
  .about {
    flex-direction: row;

  }
  .about-img {
    width: 70%;
  }
}

.info {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.social-icons {
  margin-top: 1em;
  display: flex;
  gap: 1em;
  justify-content: center;
}

.social-icons a {
  color: var(--secondary);
  width: 2em;
  height: 2em;
  font-size: 1.2rem;
  border-radius: 2px;
  justify-content: center;
  line-height: 2em;
  margin-left: .25em;
  transition:all .25s;
}

.social-icons:hover a {
  color: var(--gray3);
}
.social-icons a:hover{
  transform:scale(1.1); 
  -webkit-transform:scale(1.1);
  color: var(--black);
}


/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */

/* Contact */

.contact {
  background-color: var(--primary);
  /* height: 90%; */
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  align-items: center;
  grid-gap: 6rem;
}

.contact-form, .form-context {
  margin-bottom: 1.5em;
}

.form-context .fs-h1 {
  margin-bottom: .25em;
}

.contact-img img {
  max-width: 100%;
  width: 45em;
  height: auto;
  border-radius: .5em;
}

.contact-form form {
  position: relative;
}

.contact-form form input, textarea {
  width: 100%;
  padding: 1em;
  border: none;
  outline: none;
  background:rgba(0, 0, 0, 0.12);
  color: var(--secondary);
  font-size: var(--fs-p);
  margin-bottom: 0.5em;
  border-radius: .5em;
} 

textarea {
  resize: none;
  height: 13em;
}

.contact-form .cta2 {
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 62em) {
  .contact {
    grid-template-columns: 1fr;
    height: auto;
    grid-gap: .5em;
  }
  .contact-form {
    order: 2;
  }
  .contact-img img {
    max-width: 100%;
    width: 100%;
    height: auto;
    text-align: center;
    margin-bottom: 2em;

    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}