html {
  scroll-behavior: auto;
}

.body {
  --purpleCol: #9115DF;
  --mainBGCol: #F5F4F1;
  --tealCol: #19C3BB;
  --yellowCol: #F3DB00;
  --hotPinkCol: #ed1d61;
  --peachyCol: #F64A4A;
  --lightGreyCol: #D9D9D9;
  --midGreyCol: #a7a7a7;
  --brownOrangeCol: #C34502;
  --electricGreenCol: #36DA00;
  --buttonHoverCol: #E8E8E8;
  --buttonBG: #fff;
  --menuBG: rgba(243, 219, 0, .5);
  transition: .5s ease-out;

}

.darkmode {
  --purpleCol: #ccccff;
  --mainBGCol: #17161A;
  --tealCol: #A5FFFA;
  --yellowCol: #E3D985;
  --hotPinkCol: #FFA5A5;
  --peachyCol: #EEC49A;
  --lightGreyCol: #2A2A2A;
  --midGreyCol: #000;
  --brownOrangeCol: #EEC49A;
  --electricGreenCol: #E3FDDA;
  --buttonHoverCol: #2A2A2A;
  --buttonBG: #000;
  --menuBG: rgba(58, 57, 33, 0.47);
}

.segment-title {
  background-color: var(--lightGreyCol);
  color: var(--purpleCol);
  font-size: 20px;
  margin-left: 20px;
  margin-bottom: 28px;
  text-indent: 10px;
  padding: 0.5px 0px;
  line-height: 0;
  transition: .5s ease-out;
}

.segment-title a,
.side-titles a {
  text-decoration: none;
  color: inherit;
}

.segment-title .widescreen {
  display: none;
}

.skill-menu-headings {
  color: var(--peachyCol);
  margin-left: 30px;
  margin-right: 45px;
  font-size: 16px;
}

.menu-heading p:hover,
.sublist p:hover {
  text-shadow: 0px 0px 2px var(--peachyCol);
  cursor: pointer;
}

.menu-heading--selected {
  text-shadow: 0px 0px 4px var(--peachyCol);
}

.sublist,
.artdesc {
  margin-left: 30px;
  text-shadow: none;
}

.artdesc p:hover {
  text-shadow: none;
  cursor: auto;
}


@media screen and (min-width: 800px) {
  .segment-title {
    margin-left: 0;
    padding-right: 0px;
  }

  .segment-title p {
    display: flex;
    justify-content: space-between;
  }

  .segment-title .widescreen {
    display: inline;

  }

  .segment-title .segment-title-links {
    padding-right: 20px;
    font-size: 18px;
    cursor: pointer;
    transition: .5s ease-out;
  }

  .segment-title-links:hover {
    text-shadow: 0px 0px 7px #e8c3ff, 0 0 1em #ed1d61, 0 0 0.2em #F3DB00;
  }
}

.side-titles p {
  writing-mode: vertical-lr;
  transform: scale(-1);
  background-color: var(--lightGreyCol);
  padding: 10px 8px;
  font-size: 18px;
  cursor: pointer;
  transition: .5s ease-out;

}

.side-titles p:hover {
  text-shadow: 0px 0px 7px #e8c3ff, 0 0 1em #ed1d61, 0 0 0.2em #F3DB00;
}

.side-titles {
  position: fixed;
  right: -18px;
  bottom: 10%;
}

.skill-overlay {
  overflow-y: auto;
  background-color: transparent;
  backdrop-filter: blur(5px);
  position: fixed;
  z-index: 100;
  top: 0px;
  bottom: 0px;
  right: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  align-content: flex-start;
  visibility: hidden;
  opacity: 0;
  transform: scale(1.5);
  transition: all .2s ease-out;
}

.skill-overlay--is-visible {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.skill-overlay-inner {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  max-width: 350px;
  height: 556px;
  box-shadow: 0px 0px 7px 5px rgba(25, 195, 187, .5);
  background-color: var(--lightGreyCol);
  outline: 3px solid var(--mainBGCol);
  border-radius: 5px;
  margin: 19px;
  padding: 5px 20px 5px 20px;
  flex: 1;
}

.close-parent {
  position: absolute;
  top: 0px;
  right: 0px;
}

.close-form-skills {
  position: absolute;
  top: 7px;
  right: 7px;
  /*width: max-content;
  margin-right: 320px;
  margin-bottom: -35px;*/
  color: var(--hotPinkCol);
  cursor: pointer;
  z-index: 200;
}

@media screen and (min-height: 610px) {
  .skill-overlay-inner {
    align-self: center;
  }
}

.skills {
  color: var(--purpleCol);
  padding: 15px 5px 20px 8px;
}

.skill-details {
  margin-left: 20px;
}

.project-content {
  position: relative;
  justify-self: center;
  /*left: 20px;
  top: 20px;*/
  padding: 26px 8px 17px 8px;
  max-width: 270px;
}



#gallery-gd {
  display: grid;
  padding: 10px 40px;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 30px;
  grid-template-rows: 100px;
  grid-auto-rows: 100px;
  justify-content: center;
}

#gallery {
  display: grid;
  padding: 10px 40px;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 30px;
  grid-template-rows: 100px;
  grid-auto-rows: 100px;
  justify-content: center;
}

.gall-obj,
.gall-obj-mobile {
  background-color: var(--midGreyCol);
  background-size: cover;
  scale: 1;
  transition: .3s;
  outline: 2px solid var(--midGreyCol);
}

.gall-obj:hover,
.gall-obj-mobile:hover {
  scale: 1.2;
  cursor: pointer;
}

#project-img {
  padding: 20px 0px;
  max-width: 270px;
  justify-self: center;
}



#project-title {
  font-size: 16px;
}

#project-desc {
  font-size: 12px;
  max-width: 270px;
  justify-self: center;

}

#gallery-desc {
  font-size: 16px;
  justify-self: center;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 12px;
}

#project-desc a {
  text-decoration: none;
  color: var(--hotPinkCol);
  font-weight: bold;
  transition: .2s ease-out;
}

#project-desc a:hover {
  text-shadow: 0px 0px 1px #e8c3ff, 0 0 .6em #ed1d61;
}

.display-box {
  display: none;
}

.hideInNarrow {
  display: none;
}

.img-overlay {
  overflow-y: auto;
  background-color: transparent;
  backdrop-filter: blur(5px);
  position: fixed;
  z-index: 1000;
  top: 0px;
  bottom: 0px;
  right: 0px;
  left: 0px;
  display: flex;
  min-width: 0;
  justify-content: center;
  align-content: center;
  visibility: hidden;
  opacity: 0;
  transform: scale(1.5);
  transition: all .2s ease-out;
}

.img-overlay-inner {
  position: relative;
  overflow-y: hidden;
  overflow-x: hidden;
  box-shadow: 0px 0px 7px 5px rgba(25, 195, 187, .5);
  background-color: var(--lightGreyCol);
  outline: 3px solid var(--mainBGCol);
  border-radius: 5px;
  margin: 19px;
  padding: 5px 20px;
  display: flex;
  justify-content: center;
  flex: 1;
}

.img-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: block;
  position: relative;
  align-items: center;
  justify-content: center;
  align-self: center;
  align-content: center;
  justify-items: center;
  justify-self: center;
  padding: 10px;
  flex-direction: column;
  max-width: 100vw;
  max-height: 90vh;
}

#img-holder {
  position: relative;
  display: flex;
  align-content: center;
  justify-items: center;
  max-height: 80vh;
  padding-bottom: 5px;
}

#img-focus {
  position: relative;
  padding: 0px;
  max-width: 100%;
  max-height: auto;
  object-fit: contain;
}

#img-desc {
  font-size: 14px;
  justify-self: center;
  text-align: center;
  position: relative;
}

.img-overlay--is-visible {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

@media screen and (min-width: 800px) {
  .hideInWide {
    max-height: 0px;
    display: none;
    visibility: hidden;
  }

  .hideInNarrow {
    display: block;
  }

  .main-skill-area {
    padding-top: 10px;
  }

  .skill-dropdowns {
    display: grid;
    margin: 0;
    padding: 0 0 20px 0;
    grid-template-columns: 1fr 1.3fr;
  }

  .display-box {
    display: block;
    background-color: var(--lightGreyCol);
    height: 450px;
    max-width: 650px;
    overflow-y: auto;
    transition: .5s ease-out;
    overflow-x: hidden;
  }

  .project-content {
    position: relative;
    justify-self: center;
    padding: 30px 8% 30px 8%;
    max-width: 370px;
  }

  .skill-details {
    margin-left: 0px;
  }

  #project-img {
    padding: 20px 0px;
    max-width: 370px;
    justify-self: center;
  }

  #project-title {
    font-size: 16px;
  }

  #project-desc {
    font-size: 12px;
    max-width: 370px;
  }

  #img-desc {
    font-size: 18px;
  }

  .side-titles {
    display: none;
  }

  #parent-div {
    display: none;
  }

  body {
    overflow-y: auto;
  }
}