/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.castoro {
  font-family: "Castoro Titling", cursive;
}
.headername {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.2rem;
}

h4 {
  font-size: 1.3rem;
  margin: auto;
  margin-top: 5rem;
  margin-bottom: 1rem;
  text-align: center;
}
main {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  position: relative;
}
#content-centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transform: perspective(1000px);
  transform: perspective(1000px);
}
#content-centered p {
  text-indent: 2rem;
}
#skills {
  padding-bottom: 0.8rem;
}
#skills img {
  padding: 0 5px;
  height: 30px;
}
#location {
  color: grey;
  font-size: 0.8rem;
  text-decoration: none;
  padding-bottom: 0.8rem;
}
.social img {
  height: 30px;
}
.navbtns {
  padding-bottom: 0.8rem;
}
main section {
  padding-bottom: 0.8rem;
}
.black-expand-btmbdr-btn {
  border: none;
  position: relative;
  cursor: pointer;
  background-color: transparent;
  font-weight: 600;
  color: black;
}
.black-expand-btmbdr-btn::after {
  content: "";
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background-color: black;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: -webkit-transform ease 0.35s;
  transition: -webkit-transform ease 0.35s;
  -o-transition: transform ease 0.35s;
  transition: transform ease 0.35s;
  transition: transform ease 0.35s, -webkit-transform ease 0.35s;
}
.black-expand-btmbdr-btn:hover::after,
.black-expand-btmbdr-btn:focus::after {
  -webkit-transform: scaleX(100%);
  -ms-transform: scaleX(100%);
  transform: scaleX(100%);
}

.r,
.g,
.b {
  background-color: transparent;
  margin: 0 1rem;
  padding-top: 5px;
  width: 150px;
  border-radius: 20px;
  -webkit-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  border: solid 2px transparent;
}
.r:hover {
  border: solid 2px red;
  -webkit-transform: translateY(-0.4rem);
  -ms-transform: translateY(-0.4rem);
  transform: translateY(-0.4rem);
}
.g:hover {
  border: solid 2px green;
  -webkit-transform: translateY(-0.4rem);
  -ms-transform: translateY(-0.4rem);
  transform: translateY(-0.4rem);
}
.b:hover {
  border: solid 2px blue;
  -webkit-transform: translateY(-0.4rem);
  -ms-transform: translateY(-0.4rem);
  transform: translateY(-0.4rem);
}

#catagories {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
}

.popup_btn img {
  height: 75px;
  position: relative;
  z-index: -1;
}
.popup_btn span {
  position: relative;
  z-index: -1;
}
.popup_btn {
  position: relative;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  z-index: 10;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
#intro {
  width: 90vw;
  padding: 20px 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 1000px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -ms-flex-flow: wrap-reverse;
  flex-flow: wrap-reverse;
  -webkit-box-shadow: 0 15px 30px -5px black;
  box-shadow: 0 15px 30px -5px black;
}

.intropara {
  width: 85%;
  max-width: 450px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-line-pack: center;
  align-content: center;
}
#myImage {
  width: 200px;

  border-radius: 50%;
}
/*
for pop ups
*/
.copycontain {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  background-color: white;
  padding: 30px;
  border: 3px solid black;
  border-radius: 8px;
}
.email {
  font-size: 1.3rem;
  font-weight: bold;
  background-color: white;
  padding: 0.5rem;
  margin: auto;
  position: relative;
}

.copiedEmail::after {
  content: "Copied!";
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1;
}
#copyE {
  font-size: 1.3rem;
  font-weight: bold;
  background-color: white;
  border: 3px solid black;
  border-radius: 20px;
  margin: auto;
  margin-left: 10px;
  padding: 5px 10px;
}
#copyE:hover {
  background-color: black;
  border-color: white;
  color: white;
}

#blurry {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  min-height: 100%;
  -webkit-backdrop-filter: blur(8px) grayscale(0.75);
  backdrop-filter: blur(8px) grayscale(0.75);
  z-index: 50000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.blurry_ani_in {
  opacity: 0;
  -webkit-animation-name: intoView;
  animation-name: intoView;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
.blurry_ani_out {
  opacity: 0;
  -webkit-animation-name: outOfView;
  animation-name: outOfView;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@-webkit-keyframes intoView {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
}

@keyframes intoView {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
}
@-webkit-keyframes outOfView {
  0% {
    opacity: 100;
  }
  100% {
    opacity: 0;
  }
}
@keyframes outOfView {
  0% {
    opacity: 100;
  }
  100% {
    opacity: 0;
  }
}
.blurry div div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/*for when blurry is open, freeze body background.*/
.modal-open {
  height: 100vh;
}
#blurry div {
  max-width: 1500px;
  padding-top: 30how dojhow px;
}

/*
for Project Popup:
*/

#experience {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  margin-bottom: 3rem;
}

#expPara {
  width: 100%;
  max-width: 600px;
  border-left: 1px solid black;
  padding: 0 2rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.margin-space {
  margin: 2rem;
}
.expBtnContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 200px;
}
#pastWrkBtn {
  margin: auto;
  background-color: transparent;
  padding: 5px 5px;
  border-radius: 5px;
  -webkit-animation-name: bouncebtn;
  animation-name: bouncebtn;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

#pastWrkBtn:hover {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
.projBtn {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 25rem;
  height: 14rem;
  max-width: 90vw;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px inset gray;
  position: relative;
  margin: 0 20px 20px 0;
  border-radius: 20px;
}

@-webkit-keyframes bouncebtn {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
}

@keyframes bouncebtn {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
}

@media (hover: hover) {
  .projBtn {
    overflow: hidden;
  }
  .projBtn span {
    top: 0;
    right: -5px;
    bottom: 0;
    left: 0;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 100%);
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: all ease-out 0.5s;
    -o-transition: all ease-out 0.5s;
    transition: all ease-out 0.5s;
    padding-right: 10px;
  }
  .projBtn:hover span,
  .projBtn:focus span {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
  }
  .projBtn span p {
    text-align: end;
    margin-left: auto;
    margin-right: 0;
  }
  /*for future plans bebest to do this with javascript to figure out the location of the start and end of the text so it doesn't get cut off*/
  .projBtn span p:nth-child(1) {
    width: 90%;
  }
  .projBtn span p:nth-child(2) {
    width: 80%;
  }
  .projBtn span p:nth-child(3) {
    width: 75%;
  }
}
@media (hover: none) {
  .projBtn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    margin-bottom: 14rem;
    -webkit-box-shadow: 0 20px 10px -10px black;
    box-shadow: 0 20px 10px -10px black;
  }
  .projBtn img {
    border-radius: 15px;
  }
  .projBtn span {
    z-index: -1;
    width: 90%;
    top: 100%;
    padding-top: 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .projBtn span p {
    text-align: center;
  }
}

@media (max-width: 440px) {
  .projBtn {
    height: auto;
  }
}
.projBtn img {
  width: 100%;
}
.projBtn span {
  position: absolute;
  background-color: rgba(25, 25, 25, 0.5);
  color: white;
  font-size: 1.2rem;
}

.projBtn:hover span {
  -webkit-transform: translateX(0%);
  -ms-transform: translateX(0%);
  transform: translateX(0%);
}

#EE {
  background-image: url("/static/images/main/mep-plans.jpeg");
  position: relative;
}
#PLC {
  background-image: url("/static/images/main/siemens-controls.png");
}
.pastWork {
  background-blend-mode: lighten;
  background-repeat: no-repeat;
  background-origin: border-box;
  background-position: top;
  background-size: cover;
  background-color: rgba(245, 255, 255, 0.65);
  width: 80vw;
  padding: 3rem 2rem;
  color: black;
  margin: 20px;
  border-radius: 25px;
}

.pastWork div {
  font-size: 1.15rem;
  font-weight: 500;
}

.apps img {
  height: 1.5rem;
  margin: 0.5rem;
}
.breaker {
  width: 100%;
  margin: 10px;
}

#closeBlurry {
  position: absolute;
  top: -25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  background-color: transparent;
  right: 10px;
  font-size: 0.8rem;
}

.bxshdwn {
  -webkit-box-shadow: 0 -5px 35px -5px black;
  box-shadow: 00 -5px 35px -5px black;
  padding: 0 3rem;
}
#projectContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
.example {
  display: -ms-grid;
  display: grid;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: -o-linear-gradient(top, white, black);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(white),
    to(black)
  );
  background: linear-gradient(to bottom, white, black);
}
