@import 'hexagon.css';
@import url('https://fonts.googleapis.com/css?family=Maven+Pro');
@font-face {
  font-family: impact;
  src: url(../fonts/impact.ttf);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: impact;
}

header {
  height: 60px;
  background-color:#323232;
}

a,
button {
  cursor: pointer;
}

button {
  font-family: impact;
  padding: 5px;
  border-radius: 5px;
  border: 0;
}

button:focus {
  outline: 0;
}

.container {
  max-width: 100vw;
  transition: all 0.4s;
}

.top-search-filter {
  text-align: center;
  position: relative;
  left: 50%;
  margin-top: 25px;
  outline: none;
  padding: 5px;
  transition: all 0.3s;
  transform: translateX(-50%);
}

#categories {
  margin-top: 10px auto;
  transition: all 0.4s;
}

#canvas {
  margin-top: 25px;
  max-width: 50vw;
  box-shadow: 1px 1px 5px 20px rgba(0, 0, 0, 0.123);
}

.arrow-down {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 20px solid #323232;
  /* border-top: 20px solid black; */
}

/* --------Nav-bar ---------------- */

.nav-bar {
  justify-content: flex-end;
  transition: all .4s;
}


.nav-bar a {
  color: #2eb398;
  font-size: 1.5em;
  padding: 15px;
  display: inline-block;
}

.nav-bar a:hover{
  color: orangered;
  transform: scale(1.2,1.2)
}

.nav-bar.open {
  opacity: 1;
  transform: translate(-3%, 0);
  flex-direction: column-reverse;
}


.menu-btn {
  display: none;
  color: white;
  background-color: transparent;
  border: 0;
  height: 48px;
  width: 48px;
  font-size: 1.7em;
}

/* ---------------------------------- */

/* ------------Modal----------------- */

.modal {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  z-index: 1;
  height: 100%;
  width: 100%;
  background: rgba(3, 2, 36, 0.86);
  color: white;
  transition: all 0.4s;
  padding: 2em;
  align-items: center;
}

#about {
  margin: 0 auto;
  background-color: rgba(0, 0, 139, 0.534);
}

#about img {
  max-height: 35vw;
  margin: 5px 10px;
  border-radius: 50%;
}

.modal h2 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
}

.modal p {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 22px;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

/* --------- Canvas Editor ---------- */

.editor {
  height: calc(100vh - 60px);
  color: #2eb398;
  transition: all 0.4s;
  background-color: #454545;
}

.editor h2 {
  padding: 20px;
  background-color: #353535;
  margin: 0;
}

.canv-func-area {
  max-width: 50%;
  height: 50vh;
  margin-top: 25px;
  background-color: #353535;
  box-shadow: 1px 1px 5px 20px rgba(0, 0, 0, 0.123);
  /* box-shadow: 10px 10px 30px 10px #252525 inset; */
}

.more-actions button {
  transition: all 0.4s;
}

.render-functions > button,
.more-actions button {
  padding: 10px;
  margin: 5px;
}

.canv-func-area .input-mem {
  max-width: 80%;
  font-size: 1.5rem;
  align-self: center;
}

.dl-link {
  margin-top:10px;
  font-size: 1.5rem;
  padding: 10px;
  transition: all 0.4s;
}

.dl-link:hover {
  transform: scale(1.2, 1.2);
  color: orangered;
}

/* ---------------------------------- */

/* -----------Animations------------- */

.anim-slide-from-left {
  transform: translate(-100vw, 0);
}

.anim-slide-from-right {
  opacity: 0.4;
  transform: translate(100vw, 0);
}

/* ---------------------------------- */

.search-filter {
  margin-top: 5px;
  background-color: #323232;
  color: white;
  height: 20vh;
}

.border{
  background-color: #323232;
}
.border p{
  display: inline-block;
  position: relative;
  top:-20px;;
  left:50%;
  transform: translateX(-50%);
  margin:0;
  padding:0;
  width:80vw;
  border-bottom: 2px solid #9190909f;
}
.search-filter a {
  margin: 5px;
}

footer {
  background-color: #323232;
}

.get-in-touch {
  color: #e0e0e0;
  font-family: 'Maven Pro', sans-serif;
  padding: 20px;
  margin-left: 10vw;
}

.get-in-touch h2 {
  margin: 0;
}

.get-in-touch p {
  color: #999999;
}

#getInTouch input,
textarea {
  padding: 5px;
  margin-bottom: 10px;
  background-color: #454545;
  color: #aeaeae;
  border: 0;
  outline: 0;
  max-width: 50vw;
}

#getInTouch input:focus,
textarea:focus {
  outline: 1px solid hotpink;
}

.get-in-touch button {
  background-color: #2eb398;
  color: #d7fcf5;
  width: 48px;
  height: 38px;
  display: block;
  align-self: flex-end;
}

form a {
  color: #d7fcf5;
}

.get-in-touch-info {
  max-width: 30vw;
  margin: 0px 10vw 0px 10px;
}

.get-in-touch-info p {
  margin: 0;
}

@media (max-width: 780px) {
  .menu-btn {
    display: block;
  }
  .nav-bar {
    opacity: 0;
    transform: translate(-101%, 0);
  }
  header nav {
    display: flex;
    justify-content: flex-end;
  }
  .nav-bar {
    align-items: center;
    margin: 0 auto;
    position: absolute;
    z-index: 3;
    top: 70px;
    width: 90vw;
  }
  .nav-bar li {
    width: 90vw;
    padding: 15px;
    background-color: rgba(255, 68, 0, 0.795);
    color: black;
  }
  .info-hold {
    flex-flow: column wrap;
  }
  .get-in-touch-info {
    max-width: 80vw;
  }
  .arrow-down {
    display: none;
  }
  .top-search-filter {
    transform: none;
    left: 0;
  }
  .canv-func-area{
    box-shadow: none;
  }
  #canvas{
    box-shadow: none;
  }
}

/* HELPERS */

.flex {
  display: flex;
}

.columm {
  flex-direction: column;
}

.no-decor {
  text-decoration: none;
}

.clean-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.right {
  float: right;
}

.justify-center {
  justify-content: center;
}

.space-between {
  justify-content: space-between;
}

.space-around {
  justify-content: space-around;
}

.space-even {
  justify-content: space-evenly;
}

.row-reverse {
  flex-direction: row-reverse;
}

.align-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.margin-center {
  margin: 0 auto;
}

.hide {
  display: none;
}

.opac {
  opacity: 0;
}
