body, ul, h2{
    margin: 0;
    padding: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;

}

header{
    background-color: #764746;
    text-align: center;
    position: fixed;
    width: 100%;
    z-index: 3;
    top: 0;
    left: 0;
    font-family: "soap", sans-serif;
    font-weight: 400;
    font-style: normal;
}

header h1{
    color: #f3e2c8;
    display: inline-block;
}

.banner{
    text-align: center;
    margin-top: 50px;
    height: 226px;
}

.banner .backgroundimg{
    max-width: 100%;
}

/* navigation */

nav{
    background-color: #f3e2c8;
    padding: 20px;
    position: sticky;
    top: 76px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

nav ul{
    white-space: nowrap;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    transition: .3s;
}

nav li:hover {
    transform: scale(1.05); 
}

nav li{
    width: 16%;
    margin: 0 20px;
    display: inline-block;
    font-size: 35px;
    font-family: "adage-script-jf", sans-serif;
    font-weight: 400;
    font-style: normal;
    
}

li .home{
    list-style: none;
    padding: 50px;
    background-image: url("img/button_apple.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 50px;
}

li .demo{
    list-style: none;
    padding: 40px;
    background-image: url("img/button_heart.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 40px;
}

li .about{
    list-style: none;
    padding: 40px;
    background-image: url("img/butterfly_button.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 40px;
}

li .personal{
    list-style: none;
    padding: 40px;
    background-image: url("img/button_flower.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 40px;
}

li .contact{
    list-style: none;
    padding: 40px;
    background-image: url("img/button_swirl.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 40px;
}

nav li a{
    text-decoration: none;
    color: #cea76c;
}

nav li a.demo{
    color: #ea443f;
}

/* main and text */

div .hme{
  display: flex;
  justify-content: center;
}

.hme2 a {
  height: 562.5px
}

.hme2 .animhomepage{
    width: 1000px;
    margin: 0;
}

main .allme{
    position: relative;
    max-width: 100%;
    width: 1200px;
    margin: 80px auto;
    padding: 0 150px;
    box-sizing: border-box;
}

main .contactpage{
    position: relative;
    max-width: 100%;
    width: 1200px;
    margin: 80px auto;
    padding: 0 150px;
    box-sizing: border-box;
}

main .demoo{
    position: relative;
    max-width: 100%;
    width: 1200px;
    margin: 80px auto;
    padding: 0 150px;
    box-sizing: border-box;
}

article h2{
    color: #764746;
    font-size: 30px;
}

article p{
    line-height: 2em;
    color: #764746;
}

/* contact end */

.contactme{
    background-color: #764746;
    color: #f3e2c8;
    text-align: center;
    padding: 20px 20px;
}

.contactme h2{
    font-size: 40px;
    font-family: "adage-script-jf", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.instagram{
    width: 50px;
    padding: 20px;
}

.linkedin{
    width: 50px;
    padding: 20px;
}

.youtube{
    width: 50px;
    padding: 20px;
}

/* contact me textbox and image */

.contactme .me{
    position: absolute;
    width: 25%;
    top: 67%;
    left: 73%;
    margin: auto;
    display: block;
    align-content: left;
    z-index: 1;
}

.contactme .textbox{
    position: absolute;
    width: 28%;
    top: 60%;
    left: 53%;
    margin: auto;
    text-align: center;
    display: block;
    align-content: left;
}

.contactme .welcome{
    display: inline-block;
    color: #ea443f;
    position: absolute;
    top: 68%;
    left: 59%;
    align-content: left;
}

.contactme .welcome h2{
    font-size: 32px;
    font-family: "soap", sans-serif;
}

.contactme h2 span{
    font-size: 1.3em;
}

/* footer */

footer{
    background-color: #ABD457;
    color: #764746;
    padding: 10px;
    text-align: center;
}

body{
    background-image: url("img/finalbg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    max-width: 100%;
}

/* About Me */

.allme{
    text-align: justify;
}

.face{
    width: 50%;
    shape-outside: polygon(99.37% 0.21%, 98.93% 94.04%, 61.06% 93.19%, 16.91% 87.03%, 17.13% 155px, 7.44% 21.07%, 19.79% 5.31%);
    float: right;
    padding: 10px;
}

/* demoreel */

.demoreel{
    width: 80%;
    margin: auto;
    display: block;
}

/* personal */

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  justify-content: center;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px 10px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

.photoshop h2 {
    text-align: center;
    padding: 20px;
    color: #764746;
}

/* * {box-sizing: border-box} */

/* Container needed to position the overlay. Adjust the width as needed */
.agnes {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlayagnes {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.agnes:hover .overlayagnes {
  opacity: 1;
}

.cool {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaycool {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.cool:hover .overlaycool {
  opacity: 1;
}

.louis {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaylouis {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.louis:hover .overlaylouis {
  opacity: 1;
}

.mimi {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaymimi {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.mimi:hover .overlaymimi {
  opacity: 1;
}

.bite {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaybite {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.bite:hover .overlaybite {
  opacity: 1;
}

.squee {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaysquee {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.squee:hover .overlaysquee {
  opacity: 1;
}

.what {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaywhat {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.what:hover .overlaywhat {
  opacity: 1;
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 2;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  /* background-color: #fefefe; */
  margin: auto;
  padding: 0;
  width: 40%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 100px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}



/* contact */

.contactpage h2{
    color: #764746;
    font-size: 30px;
    text-align: center;
}

.contactlala{
    color: #ea443f;
    font-size: 30px;
    font-family: "adage-script-jf", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #764746; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 20px; /* Bottom margin */
  resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Style inputs with type="text", select elements and textareas */
input[type=email], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #764746; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #764746;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #ABD457;
  transition: .3s ease;
  color: #764746;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

/* lifedrawing */

.lifedrawing .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  justify-content: center;
}

/* Create four equal columns that sits next to each other */
.lifedrawing .column {
  flex: 25%;
  max-width: 40%;
  padding: 0 4px 10px;
}

.lifedrawing .column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

.ld h2 {
    text-align: center;
    padding: 20px;
    color: #764746;
}

/* Container needed to position the overlay. Adjust the width as needed */
.lifedrawing1 {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaylifedrawing1 {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.lifedrawing1:hover .overlaylifedrawing1 {
  opacity: 1;
}

/* Container needed to position the overlay. Adjust the width as needed */
.lifedrawing2 {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaylifedrawing2 {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.lifedrawing2:hover .overlaylifedrawing2 {
  opacity: 1;
}

/* Container needed to position the overlay. Adjust the width as needed */
.lifedrawing3 {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaylifedrawing3 {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.lifedrawing3:hover .overlaylifedrawing3 {
  opacity: 1;
}

/* Container needed to position the overlay. Adjust the width as needed */
.lifedrawing4 {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaylifedrawing4 {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.lifedrawing4:hover .overlaylifedrawing4 {
  opacity: 1;
}

/* Container needed to position the overlay. Adjust the width as needed */
.lifedrawing5 {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaylifedrawing5 {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.lifedrawing5:hover .overlaylifedrawing5 {
  opacity: 1;
}

/* Container needed to position the overlay. Adjust the width as needed */
.lifedrawing6 {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaylifedrawing6 {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.lifedrawing6:hover .overlaylifedrawing6 {
  opacity: 1;
}

/* Container needed to position the overlay. Adjust the width as needed */
.lifedrawing7 {
  position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlaylifedrawing7 {
  position: absolute;
  bottom: 0%;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.lifedrawing7:hover .overlaylifedrawing7 {
  opacity: 1;
}