body {
    height: auto;
    background-color: #f4f3f3;
    
}

.loader {
    position: fixed;
    width: 100%;
    padding-top: 20%;
    padding-left: auto;
    padding-right: auto;
    height: 100%;
    z-index: 9999;
    overflow: visible;
    background-color: white;
}

#nav {
    position: fixed;
    width: 100%;
    height: auto;
    float: left;
    z-index: 1000;
    background-color: #f4f3f3;
}

.navtitle {
    float: left;
    width: 30%;
    padding-left: 5%;
    padding-top: 20px;
}

.navtitlemobile {
    display: none;
}

ul {
    list-style-type: none;
    width: 70%;
    margin: 0;
    float: left;
    padding-top: 50px;
} 

li {
    display: inline;
    padding-left: 20%;
}

li a {
    font-family: 'Baskerville';
    font-size: 13px;
    color: black;
    text-decoration: none;
    letter-spacing: 1.75px;
}

li a:hover {
    text-decoration: none;
    color: #4A0002;
}

li a:active {
    color: #4A0002;
}

/* Underline From Left */
.hvr-underline-from-left {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  overflow: hidden;
}

.hvr-underline-from-left:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: #4A0002;
  height: 1px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-underline-from-left:hover:before, .hvr-underline-from-left:focus:before, .hvr-underline-from-left:active:before {
  right: 0;
}

#works {
  display: flex;
  padding-top: 150px;
  width: 100%;
}

.workssection {
  display: flex;
  padding-bottom: 50px;
  padding-left: 3%;
  padding-right: 3%;
  max-width: 800px;
  margin: 0 auto;
}

.item {
  display: inline-flex;
  flex-wrap: wrap;
  width: 33%;
  padding-bottom: px;
  max-height: 450px;
  overflow-y: hidden;
  align-content: start;
}

.item p1, .item p2, .item p3, .item img {
  display: flex;
}

h1, h2 {
    font-family: Baskerville;
}

h2 a {
    color: black;
}

h2 {
    font-size: 20px;
}
/**
#works {
    padding-top: 150px;
    display: flex;
    margin: auto;
    height: 100%;
  
}

.item {
  width: 30%;
  display: flex;
  flex-wrap: wrap;
  float: left;
  padding: 1%;
  margin-bottom: 2.5%;
  height: 40vh;
  overflow-y: hidden;
  align-items: flex-start;
}


.workssection {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    float: left;
    padding-bottom: 50px;
    padding-left: 3%;
    padding-right:3%;

    
}
**/
.item p3, .item p1 {
  width: 100%;
}



.workssection p3 a:link, a:visited, a:active { 
    color: #4A0002;
    text-decoration: none;
    cursor: grab;
}

.workssection p1 a:link, a:active, a:visited {
    color: black;
}


.workssection a:hover {
    color: #4A0002;
    text-decoration: none;
    opacity: .85;
}


.workssection p1 {
    font-family: 'Baskerville';
    font-size: 15pt;
    line-height: 1;
}

.workssection p2 {
    font-family: 'Montserrat';
    font-size: 12pt;
    color: #4A0002;
    font-weight: 150;
}

.workssection p3 {
    font-family: 'Montserrat';
    font-size: 8pt;
    color: #4A0002;
    font-weight: 100;
    line-height: 2;
    text-decoration: underline;
}


p3 a {
    text-decoration: none;
    color: #4A0002;
    
}

p3 a:hover {
    text-decoration: none;
    color: darkgray;
}

.workssection hr {
    clear: both;
    border: 0;
    display: block;
    width: 100%;
    background-color: #000000;
    height: .5px;
}

#writing {
    padding-top: 160px;
    width: 100%;
    padding-left: 20%;
    padding-right: 20%;
}

.title {
    font-family: 'Baskerville';
    font-size: 22px;
    letter-spacing: 1px;
}

.information {
    font-family: 'Montserrat';
    font-weight: 100;
    font-size: 12px;
    color: #4A0002;
}

.text {
    font-family: 'Baskerville';
    font-size: 15px;
    line-height: 1.75;
    text-align: justify;
    letter-spacing: 0px;
    font-weight: 100;
    padding-top: 35px;
}

.text hr {
    border-top: .5px solid #7c7c7c;
}

.textimage {
    padding-right: 25px;
    padding-bottom: 5px;
}

.firstcharacter {
    font-size: 40pt;
    line-height: 0;
    float: left;
    padding-top: 27px;
    padding-right: 9px;
    color: #000000;
}


#citations {
  font-family: 'Baskerville';
  font-size: 12px;
  line-height: 1.75;
  text-align: left;
  letter-spacing: 0px;
  font-weight: 100;
  padding-top: 35px;
}

.citation {
  display: block;
  text-indent: 1rem;
}



#about {
    padding-top: 140px;
    width: 100%;
    padding-left: 16%;
    padding-right: 16%;
}

#about p1{
    font-family: 'Baskerville';
    font-size: 30px;
    line-height: 1.75;
    text-align: justify;
    letter-spacing: 3px;
    font-weight: 100;
}

.abouttext {
    font-family: 'Baskerville';
    font-size: 15px;
    line-height: 1.75;
    text-align: justify;
    letter-spacing: 0px;
    font-weight: 100;
}

#about hr {
    clear: both;
    border: 0;
    display: block;
    width: 100%;
    background-color: darkgray;
    height: .5px;
}

.firstcharacter2 {
    font-size: 40pt;
    line-height: 0;
    float: left;
    padding-top: 26px;
    padding-right: 5px;
    padding-bottom: 10px;
    color: #000000;
}

.aboutsignature {
    font-family: 'Baskerville';
    font-weight: 100;
    font-size: 14px;
    text-align: right;
}

footer {
    clear: both;
    font-family: 'Baskerville';
    font-size: 10px;
    color: dimgray;
    padding-top: 100px;
    letter-spacing: .5px;
    padding-bottom: 10px;
}

#contact {
    padding-top: 140px;
    width: 100%;
    padding-left: 16%;
    padding-right: 16%;
}

.contact1 p1 {
    font-family: 'Baskerville';
    font-size: 30px;
    line-height: 1.75;
    text-align: justify;
    letter-spacing: 3px;
    font-weight: 100;
}

.contact1-2 {
    width: 71%;
    float: left;
}

.contact1-3 {
    width: 27%;
    padding-left: 2%;
    float: left;
    padding-top: 185px;
    line-height: 1.125;
}

.contact1-3 p2 {
    font-family: 'Baskerville';
    font-size: 12px;
    letter-spacing: 1.5px;
}

.contact1-3 p3 {
    font-family: 'Baskerville';
    font-size: 11px;
    line-height: 0;
}

.map {
    -webkit-filter: grayscale(100%);
       -moz-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
         -o-filter: grayscale(100%);
            filter: grayscale(100%);
}

.contact2 {
    clear: both;
    width: 100%;
    padding-top: 35px;
    font-family: 'Baskerville'
}

.contact2 p1 {
    font-family: 'Baskerville';
    font-size: 12px;
    letter-spacing: 1.5px;
}

.contact2 p2 {
    font-family: 'Baskerville';
    font-size: 12px;
    letter-spacing: 1.5px;
}

.contact2 a:link, a:visited, a:active {
    text-decoration: none;
    color: black;
}

.contact2-1 {
    width: 33%;
    float: left;    
}

.contact2-2 {
    width: 33%;
    float: left;
    padding-left: 2%;
}

.contact2-3 {
    width: 33%;
    float: left;
    padding-left: 7%;
}




/*responsive code*/


@media only screen and (max-width: 2000px){

}

@media only screen and (min-width: 600px) and (max-width: 1500px){

}


@media only screen and (max-width: 850px) {
/*formobile - don't touch anything below this code*/  
    
    #nav {
    position: fixed;
    width: 100%;
    height: auto;
    float: none;
    z-index: 1000;
    background-color: #f4f3f3;
    padding-bottom: 0px;
    }

    .navtitlemobile {
    display: block;
    float: left;
    width: 100%;
    padding-left: 0%;
    padding-right: 0%;
    padding-top: 20px;
    padding-bottom: 25px;
    }
    
    .navtitle {
    display: none;
    }

    ul {
    list-style-type: none;
    width: 100%;
    margin: 0;
    float: none;
    padding-top: 50px;
    } 

    li {
    display: inline-block;
    float: left;
    align-content: center;
    text-align: center;
    width: 30.3%;
    padding-left: 0%;
    padding-right: 0%;
    padding-bottom: 10px;
    }

    li a {
    font-family: 'Baskerville';
    font-size: 13px;
    color: black;
    text-decoration: none;
    letter-spacing: 1.75px;
    }
    
    #works {
    width: 100%;
    padding-top: 230px;
    padding-bottom: 50px;
    padding-left: 3%;
    padding-right: 3%;
    overflow: hidden;
    border-left-style: none;
    border-left-width: .5px;
    border-left-color: darkgray;
    }
  
  .workssection{
    width: 100%;
    padding-top: 100px;
    padding-bottom: 50px;
    padding-left: 3%;
    padding-right: 3%;
    overflow: hidden;
  }
  
    .item {
    display: block;
    width: 100%;
    height: auto;
    padding-bottom: 45px;
    margin: 0 auto;
    }
  
  .item img {
  height: auto;
  width: 100%;
  margin: 0 auto;
}
 
    
    #about {
    padding-top: 250px;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 30px;
    }
    
    #about p1{
    display: none;
    }
    
    #contact {
    padding-top: 230px;
    width: 100%;
    padding-left: 0%;
    padding-right: 0%;
}

    .contact1 p1 {
    display: none;
    }

    .contact1-2 {
    width: 100%;
    float: none;
    }

    .contact1-3 {
    width: 100%;
    padding-left: 5%;
    float: left;
    padding-top: 20px;
    line-height: 1.125;
    }

    .contact1-3 p2 {
    font-family: 'Baskerville';
    font-size: 15px;
    letter-spacing: 1.5px;
    }

    .contact1-3 p3 {
    font-family: 'Baskerville';
    font-size: 15px;
    line-height: 1.25;
    }

    .contact2 {
    clear: both;
    width: 100%;
    padding-top: 20px;
    font-family: 'Baskerville'
    }

    .contact2 p1 {
    font-family: 'Baskerville';
    font-size: 13px;
    letter-spacing: 1.5px;
    }

    .contact2 p2 {
    font-family: 'Baskerville';
    font-size: 13px;
    letter-spacing: 1.5px;
    }

    .contact2 a:link, a:visited, a:active {
    text-decoration: none;
    color: black;
    }

    .contact2-1 {
    width: 100%;
    float: none;  
    text-align: right;
    padding-right: 5%;
    padding-left: 5%;
    padding-bottom: 20px;
    }

    .contact2-2 {
    width: 100%;
    float: none;
    text-align: right;
    padding-right: 5%;
    padding-left: 5%;
    padding-bottom: 40px;
    }

    .contact2-3 {
    width: 100%;
    float: none;
    text-align: right;
    padding-right: 5%;
    padding-left: 5%;
    }
    
    #writing {
    padding-top: 250px;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    }
    
    footer {
    clear: both;
    font-family: 'Baskerville';
    font-size: 12px;
    color: dimgray;
    padding-top: 0px;
    letter-spacing: .5px;
    padding-bottom: 30px;
    }
    
}
