/* GLOBAL */

html, body {
    font-family: "Lora";
    margin: 0;
	padding:0;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: #d0c3bb;
    color: #323232;

}

.justify {
    text-align: justify;
}

.left {
    float: left;
    position: relative;
}


/* FONTS */

a {
	text-decoration: none;
	outline: none;
    color:#323232;
}

a:hover, a:focus {
	color: #9d2235;
}

a.red { color:#9d2235;}

h1 {
    color: #323232;
    font-size: 10vh;
    line-height: normal;
    text-align: center;
    font-family: "Crimson Text";
    font-weight: 400;
    font-style: italic;
    margin: 0px;
}

h2 {
    padding: 0px;
    margin:  0px;
    color:#323232;
    font-size: 300%;
    position:relative;
    font-family: "Crimson Text";
    font-weight: 400;
    font-style: italic;
    text-align: center;
}

h3 {
    padding: 0px;
    margin: 0px;
    color:#9d2235;
    font-size: 130%;
    font-family: "Crimson Text";
    font-weight: 400;
    font-style: italic;
    text-align: center;


}

h4 {
    color:#9d2235;
    font-family: "Crimson Text";
    font-weight: 400;
    font-style: italic;
    font-size: 100%;
    text-align: center;
    padding: 0px;
    margin: 0px;
}

p {
   font-size: 120%
}

#small {
    font-size: 100%;
}

#large {
    font-size: 140%;
}



/* VIDEO */

.video {
    top: 0vh;
    height: 130vh;
    padding: 0px;
    margin: 0px;
    position: relative;
}



/* NAVIGATION BAR */

.topnav {
    top: 0px;
    z-index: -10;
    position: fixed;
}



/* TITLE */

.heading {
    Top: 0px;
    left: 0px;
    position: absolute;
    padding-left: 10%;
    padding-right: 10%;
    background-color: #d0c3bb;
    width: 80%;
    min-height: 25vh;
}


/* ABOUT */

.squarebio {
    top: -25vh;
    width: 100%;
    position: relative;
    background-color: #d0c3bb;
    padding: 0px;
    margin: 0px;
    padding-top: 5%;
}

.twobox {
    width:90%;
    margin: auto;
    position: relative;
    text-align: justify;
}

.biopic {
    width: 50%;
    margin: auto;
    position: relative;
}


/* MEDIA */

.monet {
    background-image: url("media/haystacks.jpg");
    top: -25vh;
    Height:60vh;
    Background-size: 200%;
    background-repeat: no-repeat;
    position: relative;
        background-color: #ffffff;
}

}

.squaremedia {
    background-color: #d0c3bb;
}

.mediabox {
    top: -25vh;
    margin: 5%;
    position: relative;
}

.threebox {
    width:100%;
    float:left;
    position: relative;
    margin-top: 5%;
    z-index: 2;
}

.media {
    width: 50%;
    margin: auto;
    position: relative;

}

.button {
    background-color: #eee;
    font-family: "lora";
    font-size: 100%;
    text-transform:uppercase;
    letter-spacing:3px;
    margin-bottom: 20px;
    padding: 10px;
    width: 130px;
    text-align: center;
}

.other {
    float: left;
    position: relative;
    padding-left: 1%;

}

/* PUBLICATIONS */

.squarepub {

    width: 100%;
    position: relative;
    background-color: #d0c3bb;
}

.imglib {
    background-image: url("media/library.jpg");
    background-repeat: no-repeat;
    background-position: right;
    background-size: 200%;
    width:100%;
    top: -25vh;
    Height:50vh;
    padding: 0px;
    margin: 0px;
    position: relative;
    float: left;

}

.pubbox {
    top: -25vh;
    width:100%;
    float:left;
    position: relative;
    margin-top: 10vh;
    margin-bottom: 1%;
    padding-bottom: 1%;
}

.pubwrapper {
    overflow-x: scroll;
    overflow-y: hidden;
    Width: 100%;
    position: relative;
}
.pubwrapper::-webkit-scrollbar {
  width: 0.25rem;
  height: 0.25rem;
}
.pubwrapper::-webkit-scrollbar-thumb {
  background-color: #B5A642;
  border: none;
  border-radius: 3rem;
}
.pubwrapper::-webkit-scrollbar-thumb:hover,
.pubwrapper::-webkit-scrollbar-thumb:active {
  background-color: #B5A642;
}
.pubwrapper::-webkit-scrollbar-track {
  background-color: #d0c3bb;
  border: none;
  border-radius: 0;
}
.pubwrapper::-webkit-scrollbar-track:hover,
.pubwrapper::-webkit-scrollbar-track:active,
.pubwrapper::-webkit-scrollbar-corner {
  background-color: #d0c3bb;
}

.pubmask {
    Width: 2100px;
    position: relative;
}

.fivebox {
    width:15%;
    float:left;
    margin-left: 1%;
    margin-top:  1%;
    margin-bottom: 1%;
    font-size: 1.3vmin;
    position: relative;
}

.fivebox p {
    padding: 2%;
}

/* Cardflip */

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 390px;
  aspect-ratio: 11/8.5;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.flip-card-back {
  background-color: #eeeeee;
  transform: rotateY(180deg);
}

.fliplink {
    color: #9d2235;
}

.fliplink:hover {
    color: #9d2235;
    text-decoration: underline;
}


#lawyer {
  background-image: url("media/bettercallsaul.png");
  background-position: 17%;
}

#intro {background-image: url("media/intro.jpg");}

#greek {background-image: url("media/greek.jpg");}

#critcomp {background-image: url("media/critcomp.jpeg");}

#Other {background-image: url("media/other.jpg");}

/* CONTACT */

.contactbox {
    width: 50%;
    margin: auto;
    position: relative;

}

.mediaicons {
    position: relative;
    float: left;
    padding: 1.5%;
    padding-left: 5%;
}

.imgcon {
    background-image: url("media/klimt.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width:100%;
    Height:65vh;
    padding: 0px;
    margin: 0px;
    position: relative;
    float: left;
}


.squareend {
    float: left;
    position: relative;
    bottom: 0px;
}

