@charset "UTF-8";

* {
  box-sizing: border-box;
}

/* CSS Document */
body {
  margin-left: 0px;
  margin-top: 18px;
  margin-right: 0px;
  margin-bottom: 0px;
  background-color: #FFF;
  text-align: center;
}

main {
  max-width: 100vw;
}

#wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  max-width: 98vw;
  margin: auto;
}

img {
  max-width: 100%;
  height: auto;
}

#flexedhome,
figure {
  max-width: 100%;
}

#flexedhome {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin-top: 2em;
}

#flexedhome img {
  border-radius: 9px;
  width: 400px;
}

p {
  font-family: Helvetica, Arial;
  font-style: Normal;
  font-weight: 300;
  text-align: center;
  font-size: 24px;
  color: #554e4d;
  margin: 0 auto;
}

a.hover {
  color: #554e4d;
  text-decoration: none;
}

a {
  color: #cdc1c1;
  text-decoration: none;
}

p.parenthesis {
  font-family: Helvetica, Arial;
  font-style: Normal;
  font-weight: 300;
  text-align: center;
  font-size: 16px;
  color: #554e4d;
}

p.sub {
  font-family: Helvetica, Arial;
  font-style: Normal;
  font-weight: 300;
  text-align: center;
  font-size: 17px;
}


div.parenthesis {
  padding: 0px;
  margin: 0 auto;
}


div.workof {
  margin: 0 auto;
  padding: 0px;
}

div.bottomnames {
  margin: 0 auto;
  position: inherit;
}

hr {
  color: #FF66CC;
  background-color: #FF66CC;
  margin-left: auto;
  margin-right: auto;
  width: 40%;
  height: 5px;
  border: 0px;
}

#flexedhome a {
  width: 100%;
}

#flexedhome figure {
  max-width: 100%;
}

#flexedhome figure div {
  background-position: center;
  background-repeat: no-repeat;
  background-clip: content-box;
  width: 100%;
  height: 340px;
  border-radius: 8px;
}

#flexedhome figure div#davidwork {
  background-image: url("/images/DavidDresser.png");
}

#flexedhome figure div#amywork {
  background-image: url("/images/CBChairCubbyAng.png");
}

figcaption {
  margin-top: 0.8em;
}

@media screen and (min-width: 768px) {
  #flexedhome a {
    width: 50%;
  }

  #flexedhome figure div#davidwork {
    border-radius: 8px 0 0 8px;
  }

  #flexedhome figure div#amywork {
    border-radius: 0 8px 8px 0;
  }

  #flexedhome {
    justify-content: center;
    gap: 0;
    width: 90%;
  }

  #flexedhome a:nth-child(1) figure {
    margin-right: 0;
  }

  #flexedhome a:nth-child(2) figure {
    margin-left: 0;
  }
}

@media screen and (min-width: 1040px) {
  #wrapper {
    margin: 0 auto;
  }
}
