
/* background-colours */
header, nav, footer {background: #0909;}

a {text-decoration: none; color: #dedede; font-size: 16pt;}
a:hover {
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: black;
}

img {
	max-height: 480px;
	max-width: 720px;
}

.mpdesignframe {
	background: url('../gfx/background.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  font-family: "Lato", sans-serif;
}

#wrapper {
  height: 100%;
  width: 100%;
  max-width: 100%;
  
  background: #fffa;
  
  display: grid;
  gap: 0.5rem;
  grid-template-rows: auto 4fr 2rem;
  
  grid-template-columns: 1fr;
  

  & header {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    
    padding: 0.5rem 1rem;
    
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    & #designnav {
      display: none;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      position: absolute;
      background: #fffd;
      inset: 54px 0 0 0;

      gap: 1rem;
      padding: 1rem;
      z-index: 6;
    
      & .navbutton {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 2rem;
        flex-basis: auto;
        padding: .5rem;
        background: #0909;
        
        color: #fff;
        border-radius: .5rem;
      }
    }
  }
}

#logo {
  font-size: 24pt;
  font-weight: 600;
}



main {
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  grid-template-columns: minmax(230px, max-content) minmax(450px, 4fr);
  grid-template-rows: auto;
  gap: .5rem;

  scrollbar-width: thin;
  overflow-y: scroll;
  
  grid-column-start: 1;
  grid-row-start: 2;

  & #panel {
    display: flex;
    flex-flow: column wrap;
    gap: .5rem;
  
    padding-left: 0;
        grid-column-start: 1;
        grid-column-end: 3;
  
    & .panel {
      padding: .5rem;
      background: #fff8;
    }
  }

  & #content {
    display: flex;
    flex-flow: column nowrap;
    grid-column-start: 1;
    gap: .25rem;
  }
}



section {
  width: 100%;
  height: fit-content;
  background: #fff8;
  padding: 5px;
  
  box-sizing: border-box;
}

#contact > form{
  display: flex;
  flex-flow: column nowrap;

  & div {
    display: flex;
    flex-flow: column nowrap;
    font-size: 14pt;
    width: 90%;
  
    & label {
      font-weight: 600;
      margin-top: 1rem;
      margin-bottom: -.25rem;
      z-index: 5;
    }
    & input, textarea {
      margin-left: .5rem;
      padding: .25rem;
      font-size: 12pt;
      z-index: 4;
    }
    & input[type=submit]{
      display: inline-block;
      width: max-content;
      margin: .25rem auto;
      padding: .5rem;
      font-size: 12pt;
    }
  }
}

footer {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 3;
}



/* Slideshow */
.slideshow {
	position: relative;
  
  aspect-ratio: 4/3;
  max-height: 480px;
  zmax-width: 95%;
	width: 100%;
	
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;

& .slide {
    position: absolute;
    inset: 0 auto;
    height: auto;
    width: 100%;
    min-width: 50px;
    min-height: 50px;
  }
}

