/* WORK HOME PAGE CSS */

* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-style: normal;
}
body {
  margin: 0;
  background-color: #FBEFF3;
}
/*heaader styles*/
header {
  font-weight: 800;
  font-style: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flow-root;
  padding: 25px 0;
  width: 80vw;
  margin: 0 auto;
}
nav {
  float: right;
}
.site-title, nav {
  width: 50%;
  float: left;
}
.site-title p { /* Gets rid of extra margin defaults from fonts*/
  margin: 0;
}
.bar {
  width: 100vw;
  height: 80px;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: -1;
  background-color: #430D4B;
}
nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  float: right;
}
nav li {
  padding: 0;
  margin: 0 0 0 50px;
  float: left;
}
.current {
  color: #C874B2;
  text-decoration: underline #C874B2;
}

/*main styles*/
.page-title p {
  width: 80vw;
  margin: 0px auto;
  padding-bottom: 25px;
  padding-top: 40px;
  font-size: 100px;
  font-family: "Righteous", sans-serif;
  font-style: normal;
  color: #22072E;
}
.container {
  width: 80vw;
  margin: 0 auto;
  display: flow-root;
}
.subtitle p {
  font-size: 40px;
  font-family: "Righteous", sans-serif;
  font-style: normal;
  margin: 0 0 20px 0;
  color: #430D4B;
}
.card {
  width: calc((100% - 50px) / 3);
  height: 70vh;
  background-color: tomato;
  float: left;
  margin-bottom: 25px;
}
.card-center {
  width: calc((100% - 50px) / 3);
  height: 70vh;
  background-color: tomato;
  float: left;
  margin: 0 25px;
}
.anBib-image, .typeClass-image, .menu-image, .bookCover-image, .flyer-image, .ig-image, .tv-image, .web-image, .avt-image {
  width: 100%;
  height: 50vh;
  background-color: blue;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}
.anBib-image {
  background-image: url("../anBib/images/1.jpg");
  object-position: top right;
}
.logo-image {
  width: 100%;
  height: 50vh;
  background-color: #D699C6;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top left;
}
.typeClass-image {
  background-image: url("../typeClass/images/1a.png");
}
.menu-image {
  background-image: url("../menu/images/2.png");
}
.bookCover-image {
  background-image: url("../bookCovers/images/1.jpg");
}
.flyer-image {
  background-image: url("../professional/flyers/images/quantum-week.png");
}
.ig-image {
  background-image: url("../professional/ig-square/images/mole.png");
}
.tv-image {
  background-image: url("../professional/tv-graphics/images/earth-day.png");
}
.web-image {
  background-image: url("../professional/web-design/images/wireframe1.png");
}
.logo-image {
  background-image: url("../logos/images/psdh.png");
}
.avt-image {
  background-image: url("../../images/web.png");
}
img {
  width: 100%;
  height: 60v;
  overflow: hidden;
}
.card-title-cont {
  width: 100%;
  height: 20vh;
  background-color: #D699C6;
}
.card-title-cont h2 {
  font-size: 20px;
  margin: 0;
  padding: 1vw 1.8vw 0.5vw 1.8vw;
  color: #171E2F;
}
.card-title-cont p {
  font-size: 16px;
  font-style: italic;
  margin: 0;
  padding: 0 1.8vw 0 1.8vw;
  color: #171E2F;
}
#logos p {
  font-size: 40px;
  font-family: "Righteous", sans-serif;
  font-style: normal;
  margin: 0 0 20px 0;
}
.rowA, .rowB {
  padding: 25px 0 25px 0;
  display: flow-root;
}
/*.rowA {
  background-color: #DCCCE0;
}
.rowB {
  background-color: #D4BFD9;
}*/

footer {
  width: 80vw;
  margin: 50px auto 50px;
  border-top: 3px solid #463B7D;
  margin: 50px 0 0 0 auto;
  padding: 50px 0 0 0;
}
footer p {
  font-size: 15px;
  font-weight: bold;
}

/*****PSEUDO-CLASSES*****/
a {
  text-decoration: none;
  color: #FBEFF3;
}
a:visited {
  color: #FBEFF3;
}
a:hover {
  color: #C874B2;
}

.card-title-cont h2 a {
  text-decoration: none;
  color: #22072E;
}
.card-title-cont h2 a:visited {
  color: #22072E;
}
.card-title-cont h2 a:hover {
  color: #7B337E;
}

#logos a {
  text-decoration: none;
  color: #430D4B;
}
#logos a:visited {
  color: #430D4B;
}
#logos a:hover {
  color: #7B337E;
}
@media screen and (max-width: 1179px) {
  .card, .card-center {
    width: 100%;
    float: none;
    margin: 0 0 25px 0;
  }
  .card-title-cont {
    padding: 2vw;
  }
}