@import "config";
@import "menu";

* {
  box-sizing: border-box;
}

body {
  @include background;
  background: $primary-color;
  color: set-text-color($primary-color);
  height: 100%;
  margin: 0;
  font-family: palatino, sans-serif;
  line-height: 1.5;
  background: url("img/smoke.jpg");
}
.progress {
  color: $secondary-color;
}
//headings
h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  font-family: Goudy Old Style;

  &.lg-heading {
    font-size: 7rem;
    //padding-left: 4rem;
    // margin-right: 30rem;
    // border: 2px solid #ff00ff;
    // background: rgba(lighten($primary-color, 2), 0.5);
  }
  &.sm-heading {
    //margin-top: 2rem;
    font-size: 3rem;
    margin-bottom: 2rem;
    padding: 0.2rem 1rem;
    background: rgba(lighten($primary-color, 2), 0.5);
  }
}

a {
  color: $secondary-color;
  text-decoration: none;
}

header {
  position: fixed;
  z-index: 2;
  width: 100%;
}

.text-secondary {
  color: $secondary-color;
}

main {
  padding: 4rem;
  //height: 100%;
  min-height: calc(100vh-60px);

  .icons {
    margin-top: 1rem;

    a {
      padding: 0.4rem;

      &:hover {
        color: $tertiary-color;
        @include easeOut();
      }
    }
  }
  &#home {
    overflow: hidden;
    h1 {
      margin-top: 20vh;
    }
  }
}

.about-info {
  display: grid;
  grid-gap: 30px;
  grid-template-areas:
    "bioimage bio bio"
    "job1 job2 job3";
  grid-template-columns: repeat(3, 1fr);
}
.bio-image {
  grid-area: bioimage;
  margin: auto;
  //border-radius: 50%;
  // border: $secondary-color 2px solid;
}
.bio {
  grid-area: bio;
  font-size: 1.5rem;
}

.job-1 {
  font-size: 1.2rem;
  grid-area: job1;
  background: darken($primary-color, 5);
  padding: 0.5rem;
  border-bottom: $secondary-color 3px solid;
}
.job-2 {
  font-size: 1.2rem;
  grid-area: job2;
  background: darken($primary-color, 5);
  padding: 0.5rem;
  border-bottom: $secondary-color 3px solid;
}
.job-3 {
  font-size: 1.2rem;
  grid-area: job3;
  background: darken($primary-color, 5);
  padding: 0.5rem;
  border-bottom: $secondary-color 3px solid;
}

// work/project/portfolio
.projects {
  display: grid;
  grid-gap: 0.7rem;
  grid-template-columns: repeat(3, 1fr);

  img {
    width: 100%;
    border: 3px $tertiary-color solid;

    &:hover {
      opacity: 0.5;
      border-color: $secondary-color;
      @include easeOut;
    }
  }
}

// button styles
//inheritance
.btn {
  display: block;
  padding: 0.5rem 1rem;
  border: 0;
  margin-bottom: 0.3rem;
  &:hover {
    background: #fff;
    color: $tertiary-color;
  }
}

//contact page
.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 1rem;

  div {
    font-size: 1.5rem;
    border: 2px solid $secondary-color;
    background-color: lighten($tertiary-color, 10);
    padding: 1.5rem 2.5rem;
    margin-bottom: 2rem;
    @include easeOut;
    &:hover {
      padding: 0.5rem 1.5rem;
      background: #fff;
      color: $tertiary-color;
      span {
        color: $tertiary-color;
      }
    }
  }
}

.btn-dark {
  @extend .btn;
  background: darken($tertiary-color, 1);
  color: $primary-color;
}

.btn-light {
  @extend .btn;
  background: lighten($secondary-color, 5);
  color: $primary-color;
}

#main-footer {
  text-align: center;
  padding: 1rem;
  background: darken($primary-color, 10);
  color: set-text-color($primary-color);
  height: 60px;
}

@import "mobile";
