 /*
CSS Style Sheet for about page
v0.3.1
https://psoul.art/about.html
Writen by Pierre Souloumiac, all rights reserved
© psoul.art 2025
*/

@import "fonts/PSoulFonts.css";
@import "GlobalStyle.css";
 
 .subtitle{
  text-align: center;
  color: darksalmon;
}

.gridContainer{
  display: grid;
  grid-template-areas:
  "topLeft header header"
  "spacer content right"
  "spacer footer right";
  grid-template-columns: 1fr 6fr 1fr;
  padding: 5px;
  justify-self: center;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

.gridContainer > div.topLeft {
  grid-area: topLeft;
  display: flex;
  justify-content: flex-end; /*align right*/
}

.gridContainer > div.spacer {
  grid-area: spacer;
  justify-self: right;
}

.gridContainer > div.content {
  grid-area: content;
}

.gridContainer > div.footer {
  grid-area: footer;
  text-align: center;
}

.gridContainer > div.navBanner{
  grid-area: header;
  display: inline-flex;
  justify-content: flex-start;
  max-width: 500px;
}

.gridContainer > div.right{
}

.navButton {
  flex-basis: 100%;
  text-decoration: none;
  text-align: center;  
  color: light-dark(var(--light-color), var(--dark-color));
  font-family: "Courier Prime", monospace;
  /*border: 1px dotted slategray;*/
}

.navImg {
  width:100%;
  padding-top: 100%;
  background-size: 100%;
  /*border: 1px dotted gray;*/
  max-height: 120px;
}

.navDesc {
  width: 100%;
  overflow: visible;
  /*border: 1px dotted dimgray;*/
}


#navCloud{
  display: block;
  flex: 100%;
  height: auto;
  max-width: 120px;
  background-image: url('media/NavCloudv0.2.webp');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  /*border: 1px dotted fuchsia;*/
}

#homeImg{
  background-image: url('media/NavHomev0.2.webp');
}
#portfolioImg{
  background-image: url('media/NavPortfoliov0.2.webp');
}
#sketchesImg{
  background-image: url('media/NavSketchesv0.2.webp');
}
#storeImg{
  background-image: url('media/NavStorev0.2.webp');
}
#aboutImg{
  background-image: url('media/NavAboutv0.2.webp');
}


.navButton:hover > .navImg:not(#navCloud) {
  background-position: 0% -100%;
}

.navButton:hover > .navDesc {
  font-weight: bold;
}

.active > .navImg{
  background-position: 0% -100%;
}

.active > .navDesc {
  font-weight: bold;
}

.inactive > *:not(.tooltiptext){
  filter: grayscale(1) opacity(50%);
}

.inactive{
 cursor: not-allowed;
}

.tooltip{
  content: '';
  position: relative;
  display: inline-block;
}

.tooltiptext{
  visibility: hidden;
  width: 120px;
  background-color: lemonchiffon;
  color: #211F23;
  text-align: center;
  padding: 5px 0;
  border-radius: 8px;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  margin-left: -60px;
  transform: rotate(-20deg);
}

.tooltip:hover .tooltiptext{
  visibility: visible;
}

.flexContainer{
  overflow: auto;
  margin-top: 20px;
  margin-bottom: 15px;
}

#profilePic{
  margin: 5px 5px 10px 15px;
  width: 26%;
  min-width: 150px;
  float: right;
  border-radius: 8px;
}

@media (max-width: 800px){
  .gridContainer{
    grid-template-areas:
    "topLeft header"
    "content content"
    "footer footer ";
    grid-template-columns: 1fr 5fr;
    justify-content: left;
  }

  .topLeft {
  }

  #navCloud{
  }

  .navDesc{
    font-size: 2.3vw;
  }

}