
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.grid {
  display: grid;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.m-0 {
  margin: 0;
}

.m-0-auto {
  margin: 0 auto;
}

.p-0 {
  padding: 0;
}

.gap-4 {
  grid-gap: .25em;
}

.gap-8 {
  grid-gap: .5em;
}

.gap-12 {
  grid-gap: 1em;
}

.align-items-center {
  align-items: center;
}

.w-90 {
  width: 90%;
}

.w-80 {
  width: 80%;
}

.w-60 {
  width: 60%;
}

.m-4 {
  margin: .25em;
}

.m-4-auto {
  margin: .25em auto;
}

.m-8-auto {
  margin: .5em auto;
}

.mt-4 {
  margin-top: .25em;
}

.mt-8 {
  margin-top: .5em;
}

.mt-16 {
  margin-top: 1em;
}

.mt-32 {
  margin-top: 2em;
}

.m-16 {
  margin: 1em;
}

.two_col_30_70 {
  grid-template-columns: 30% 1fr;
}

.two_col_70_30 {
  grid-template-columns: 70% 1fr;
}

.two_col_40_60 {
  grid-template-columns: 40% 1fr;
}

.two_col_equal {
  grid-template-columns: 1fr 1fr;
}

.p-4 {
  padding: .25em;
}

.p-8 {
  padding: .5em;
}

.p-16 {
  padding: 1em;
}

.two_col_60_40 {
  grid-template-columns: 60% 1fr;
}

.center_text {
  text-align: center;
}

.all_content_center {
  justify-content: center;
  align-content: center;
}

.mt-0 {
  margin-top: 0;
}


html {
  scroll-behavior: smooth;
}

body, html {
  margin: 0 auto;
  padding: 0;
}

body {
  background-color: #EFF0F7;
  width: 100vw;
}

s {
  text-decoration: none;
  color: #6455be;
  letter-spacing: 4px;
  font-weight: 700;
  font-size: 2.25em;
}

.in_page {
  transition: 2s;
}




.section_header h2 {
  margin: 0;
  font-weight: 700;
}

.section_header p {
  color: grey;
  font-style: italic;
  font-weight: 100;
}

button {
  padding: .75em 1em;
  outline: none;
  font-weight: bold;
}

button:hover {
  cursor:pointer;
  color: black;
}

.inverse {
  border: 3px solid #6455be;
  color: #6455be;
  font-weight: bold;
  transition: .5s;
}

.inverse:hover {
  background-color: #6455be;
  color: white;
}

.gradient {
  background-image: linear-gradient(to right, #6455be , #85429f);
  color: white;
  background-size: 200%;
  transition: 1s;
}

.gradient:hover {
  background-position: right center;
}

.call_to {
  background: rgb(190,101,85);
  background-image: linear-gradient(to right, #be6555, #df3f22);
  color: white;
  border: 2px solid #AB5141;
  padding: 1em;
  transition: .75s;
}

.call_to:hover {
  background-image: linear-gradient(to right, #df3f22, #be6555);
}


.container {
  max-width: 1250px;
}

@media only screen and (max-width: 1052px){
  .container {
    width: 90%;
  }
}

@media only screen and (max-width: 562px){
  .container {
    width: 95%;
  }
  .skills_parent {
    grid-template-columns: 1fr;
  }
  .skills {
    grid-template-columns: repeat(4, 1fr)
  }
}

.skill_square {
  width: 150px;
  height: 150px;
  border: 6px solid;
  border-radius: 16px;
  grid-template-rows: 75% 25%;
  align-self: center;
  justify-self: center;
}

.skill_square img {
  width: 50%;
  justify-self: end;
  align-self: end;
  margin: 0 5px;
}

.skill_square h2 {
  margin: 0 10px;
  text-align: right;
  align-self: flex-end;
}

@media only screen and (max-width: 562px){
  .skill_square {
    width: 125px;
    height: 125px;
  }

  .js img {
    margin-right: 10px;
  }
}

.js {
  background-color: rgba(247, 222, 34, 0.85);
  border-color: rgba(233, 210, 1, 0.85);
}

.css {
  background-color: rgba(60, 156, 215, 0.85);
  border-color: rgba(32, 100, 177, 0.84);
}

.html {
  background-color: rgba(241, 100, 39, 0.85);
  border-color: rgba(228, 75, 37, 0.85);
}

.node {
  background-color: rgba(94, 179, 77, 0.85);
  border-color: rgba(84, 157, 67, 0.85);
}

.mongo {
  background-color: rgba(134, 108, 101, 0.85);
  border-color: rgba(92, 63, 55, 0.85);
}

.mongo img {
  height: 95%;
  width: auto;
}

.next {
  background-color: rgba(127, 104, 212, 0.85);
  border-color: rgba(97, 76, 174, 0.85);
}

.react {
  background-color: rgba(127, 224, 250, 0.85);
  border-color: rgba(86, 207, 240, 0.85);
}

.react img {
  width: 60%;
}

.linux {
  background-color: rgba(244, 117, 27, 1);
  border-color: rgba(200, 100, 40, 0.85);
}

li {
  list-style-type: none;
}

a {
  color: black;
  transition: .5s;
}

a:hover {
  color: #6455be;
}

.w-100 {
  width: 100%;
}

.w-95 {
  width: 95%;
}

.head {
  grid-template-rows: 155px;
  background-image: url('./assets/purpletriangle.svg');
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: left top;
}

@media only screen and (max-width: 720px){
  .head {
    background-position: top;
    background-size: 800px 200px;
  }
}

.by {
  color: white;
  justify-self: center;
}

.by h1 {
  font-size: 2.5em;
}

.by h3 {
  font-size: 1.25em;
}

.by h1, .by h3 {
  margin: 0;
  margin-left: 50px;
}

@media only screen and (max-width: 680px){
  .by {
    margin-left: 0em;
  }

  .by h1, .by h3 {
    margin-left: 0;
  }
}


@media only screen and (max-width: 621px){
  .head {
    background-position: top center;
  }
}

@media only screen and (max-width: 540px){
  .head {
    background-size: 700px 175px;
    background-position: top left;
    grid-template-columns: 40% 1fr;
  }

  .by {
    justify-self: center;
    margin-left: 6em;
  }
}

@media only screen and (max-width: 490px){
  .head {
    grid-template-columns: 60% 40%;
  }

  .by {
    width: 80%;
    margin-left: 15%;
  }

}

@media only screen and (max-width: 362px){

  .by {
    width: 70%;
    margin-left: 30%;
  }

}

nav {
  justify-self: center;
}

nav ul {
  display: inline-block;
}

nav li {
  display: inline-block;
  margin: 1.25em .75em;
}

.in_page {
  margin-left: 0;
  padding-left: 0;
}

@media only screen and (max-width: 400px){
  .head {
    background-position: top left;
    background-size: 600px 150px;
  }
}

@media only screen and (max-width: 357px){
  .head {
    background-size: 550px 150px;
  }
}

@media only screen and (max-width: 999px){
  nav li {
    margin: 1.25em .25em;
  }
}

nav li a {
  font-weight: 600;
  font-size: 1.25em;
  padding: .5em 1em;
}


nav li i {
  display: none !important;
}


@media only screen and (max-width: 799px){
  nav li a {
    font-size: 1em;
  }
}

@media only screen and (max-width: 635px){
  nav li a {
    font-size: .95em;
    padding: .5em .5em;
  }
}

nav .open {
  margin-top: 2em;
}

@media only screen and (max-width: 541px){

  nav {
    justify-self: end;
    position: relative;
  }

    .in_page {
      position: absolute;
      right: 20px;
    }

    .in_page li{
      margin: .5em;
      border-bottom: 2px solid lightgrey;
    }

    .in_page li:hover{
      border-bottom: 3px solid #6455be;
    }

    nav li i {
      display: block !important;
    }

    nav .open {
      margin-right: 1em;
    }
}


@media only screen and (max-width: 795px){
  .landing {
    grid-template-columns: 1fr;
  }

  .landing ul {
    margin: 2em;
  }
}

@media only screen and (max-width: 430px){
  .landing {
    width: 100%;
  }
}


.self_center_all {
  justify-self: center;
  align-self: center;
}

.intro h2 {
  letter-spacing: 1px;
}

@media only screen and (max-width: 422px){

  .intro h2 {
    font-size: 1em;
  }
  .intro h2 s {
    font-size: 3em !important;
  }

  .intro h1 {
    font-size: 1.25em;
  }
}

.intro h1 {
  font-weight: 700;
  font-style: bold;
  font-size: 3em;
}

.intro .inverse {
  margin-left: 1em;
}

.services {
  background-color: #ffffff;
}


.services img {
  height: 80%;
  width: auto;
  margin: 0 auto;
  justify-self: center;
  align-self: center;
}

@media only screen and (max-width: 760px){
  .services img {
    display: none;
  }
  .services {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 935px){
  .services img {
    height: 60%;
    width: auto;
  }
}


.services ul {
  margin: 0;
  padding: 0;
  margin-top: 25px;
}

.services ul li {
  font-size: 1.15em;
  font-weight: 500;
}

@media only screen and (max-width: 900px){
  .services ul li {
    padding: .5em;
  }
}

.services s {
  font-size: 1.5em;
}

@media only screen and (max-width: 681px){
  .services s {
    font-size: 1em;
  }
}

.skills {
  grid-gap: 12px;
}

@media only screen and (min-width: 1126px){
  .skills {
    grid-template-columns: repeat(4, 1fr);
  }

}


@media only screen and (max-width: 1125px){
  .skills {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media only screen and (max-width: 775px){
  .skills {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 562px){
  .skills {
    grid-template-columns: repeat(4, 1fr);
    overflow-x: scroll;
  }
}

#purple_section {
  background-image: url('./assets/purpel.jpg');
  background-size: contain;
}

.projects {
  grid-template-rows: 600px;
}

@media only screen and (max-width: 1030px){
  .projects {
    width: 100%;
  }
}

.proj {
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  grid-template-rows: 1fr;
  margin-bottom: 1em;
}

@media only screen and (max-width: 880px){
  .proj {
    width: 100%;
  }
}

@media only screen and (max-width: 640px){
  .proj {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
}

.ccc {
  background-image: url('./assets/ccc_gif.gif');
  background-position: center;
  background-size: contain;
  height: 650px;
  background-color: rgba(49, 50, 53, 0.95);
}

.rebates {
  background-image: url('./assets/rebate-slide.gif');
  background-position: center;
  background-size: contain;
  background-color: rgba(49, 50, 53, 0.95);
}

.proj_info {
  align-self: end;
  color: white;
  background-color: rgba(49, 50, 53, 0.95);
}

.proj_info h2, .proj_info h4, .proj_info h5 {
  align-self: center;
  justify-self: center;
  margin: 0;
}


.proj_icons {
  grid-template-columns: repeat(2, 80px);
  justify-self: center;
  align-self: start;
  margin-bottom: 1em;
}

.proj_icons a{
  justify-self: center;
  align-self: center;

}

.contact {
  width: 90%;
  background-color: white;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  align-items: center;
  padding: 2em;
  grid-gap: 1.5em;
}

.contact a {
  grid-column: 2 / 3;
  width: 80%;
  justify-self: center;
  font-size: 1.45em;
}

.contact .gradient {
  width: 100%;
}


.contact h1 {
  grid-column: 1 / 2;
  text-align: center;
}


i {
  transition: 1s;
}

i:hover {
  cursor: pointer;
}

form {
  height: 60vh;
  width: 60vw;
  top: 20vh;
  left: 20vw;
  position: fixed;
  background-color: #5141AB;
  grid-template-rows: 13% 13% 13% 6% 20% 20% 1fr;
  grid-gap: .5em;
  padding: 2em;
  border-radius: 20px;
}

@media only screen and (max-width: 810px){
  form {
    width: 80vw;
    height: 70vh;
    top: 15vh;
    left: 10vw;
  }
}

@media only screen and (max-width: 675px){
  form {
    width: 90vw;
    height: 80vh;
    left: 5vw;
    top: 10vh;
  }
}

@media only screen and (min-height: 750px){
  form {
    height: 60vh;
    top: 20vh;
  }
}

form h4 {
  width: 100%;
  text-align: center;
  margin: 0;
  font-size: 1.35em;
}

input[type=text]{
  width: 60%;
  margin: .25em auto;
  padding: .5em;
  height: 45px;
  border: none;
  border-bottom: 4px solid lightgrey;
  outline: none;
  transition: 1s;

}

input[type=text]:focus{
  border-bottom: 6px solid #F2711C;
  font-size: 1.25em;
}

textarea {
  resize: none;
  width: 80%;
  margin: 0 auto;
  outline: none;
  border: 4px solid lightgrey;
  border-radius: 12px;
  transition: .5s;
}

textarea:focus {
  padding: 1em;
  border: 6px solid #F2711C;
}

input[type=submit]{
  background-color: #F2711C;
  width: 40%;
  font-size: 1.5em;
  color: white;
  margin: 0 auto;
  height: 60px;
  align-self: center;
  border: 2px solid grey;
  border-radius: 12px;
  transition: 1s;
  outline: none;
}

@media only screen and (max-width: 600px){
  input[type=text]{
    width: 80%;
  }
  textarea{
    width: 100%;
  }
  input[type=submit]{
    width: 60%;
  }
}

input[type=submit]:hover{
  background-color: #C79291;
  cursor: pointer;
}

form i {
  position: absolute;
  top: 8px;
  right: 8px;
}

#purple_section p, #purple_section ul {
  color: white;
  font-size: 16px;
}

@media only screen and (max-width: 860px){
  #purple_section p {
    width: 90%;
  }
}

@media only screen and (max-width: 740px){
  #purple_section p {
    margin-bottom: 1em;
    width: 100%;
  }
}
