:root {
  --primary: #e8c09e;
  --secondary: #4a804e;
  --background: #fdfdfd;
  --lightfont: #fafafa;
  --darkfont: #383838;
}

body,
html {
  height: 100%;
  margin: 0;
  font: 400 15px/1.8 "Lora", serif;
  color: #777;
  box-sizing: border-box;
  /* overflow-x: hidden; */
}

.serv {
  color: #777;
  background-color: white;
  text-align: center;
}

section {
  position: relative;
}

.introandserve {
  /* background-color: rgb(232, 192, 158); */
  /* background-color: rgb(254, 254, 254); */
  /* background-color: var(--background); */
  background-color: transparent;
}

.pastwork {
  /* position: relative; */
  /* color: #777; */
  /* background-color: rgb(254, 254, 254); */
  background-color: var(--primary);
  text-align: center;
  text-align: justify;
  /* z-index: 10; */
}

.pastwork h1 {
  color: var(--secondary);
}

.container {
  opacity: 0;
}

.services-container {
  align-content: center;
  max-width: 1200px;
  margin: auto;
}

.serv img {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.caption {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  /* color: #000; */
}

.caption span.border {
  background-color: #111;
  color: #fff;
  padding: 18px;
  font-size: 25px;
  letter-spacing: 10px;
}

.profilepic {
  width: 40%;
  max-width: 500px;
  padding-bottom: 60px;
}

.logo {
  width: 100px;
  position: fixed;
  top: 5px;
  left: 7px;
  max-width: 100px;
}

.circle {
  background-color: var(--secondary);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  position: fixed;
  top: -5px;
  left: 0px;
}

h1 {
  font-size: 40pt;
  text-align: center;
  font-family: "Playball", cursive;
  /* color: rgb(232, 192, 158); */
  color: var(--secondary);
  margin: 0;
  padding-top: 50px;
  /* background-color: transparent; */
  /* padding-bottom: 20px; */
  /* padding-bottom: 20px;
  padding-top: 60px;
  line-height: 40px; */
}

.intro {
  display: flex;
  padding-top: 100px;
  justify-content: space-evenly;
  max-width: 1500px;
  margin: auto;
}

.leftintro {
  width: 50%;
}

.intro h1 {
  text-align: center;
  /* color: rgb(115, 156, 120); */
  color: var(--darkfont);
  margin: auto;
  line-height: 60px;
  margin-bottom: 20px;
}

.intro h3 {
  width: 90%;
  /* margin: auto; */
  line-height: 20px;
  margin-bottom: 20px;
  /* font-family: "Prata", serif; */
  color: var(--darkfont);
  text-align: center;
  margin: auto;
}

.rightintro {
  padding-top: 30px;
}

.profilepic {
  /* display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%; */
  width: 100%;
}

.services-container a {
  background-color: var(--background);
  width: 100%;
  height: 100px;
  color: blue;
  font-size: 10pt;
  margin: auto;
}

.pdflink {
  background-color: var(--background);
}

.navcontainer {
  width: 100%;
  /* background-color: rgba(115, 156, 120, 1); */
  background-color: var(--secondary);
  position: fixed;
  height: 66px;
  z-index: 10;
}

.headerlogo {
  z-index: 11;
}

.topnav {
  overflow: hidden;
  position: absolute;
  left: 108px;
  height: 100%;
  top: 0;
  display: flex;
}

.navoverlay {
  position: relative;
}

.actnav {
  position: absolute;
  width: 100%;
  height: 6px;
  background-color: var(--primary);
  bottom: 0;
  opacity: 0;
}

/* Navbar links */
.navoverlay a {
  float: left;
  color: var(--primary);
  /* text-align: center; */
  padding: 14px 14px;
  text-decoration: none;
  font-size: 16pt;
  vertical-align: sub;
}

.fadeout {
  position: absolute;
  top: 0;
  width: 100%;
  height: 200%;
  z-index: 15;
  justify-content: center;
  background-color: var(--background);

  /* animation: fadeOut ease 2s;
  -webkit-animation: fadeOut ease 2s;
  -moz-animation: fadeOut ease 2s;
  -o-animation: fadeOut ease 2s;
  -ms-animation: fadeOut ease 2s; */
}

.fadeout img {
  /* position: absolute; */
  /* position: relative; */
  display: block;
  width: 60%;
  max-width: 500px;
  margin-right: auto;
  margin-left: auto;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 100px;
}

.navoverlay a:hover {
  background-color: var(--primary);
  color: var(--secondary);
  /* border-style: solid; */
}

.contact {
  height: 600px;
  background-color: var(--background);
}

.contact h1 {
  padding-top: 30px;
}

.contactlink {
  width: 500px;
  margin: auto;
}

.contactlink img {
  padding-top: 5px;
  padding-left: 10px;
  width: 70px;
  height: 70px;
}

.contactlink button {
  display: flex;
  cursor: pointer;
  background-color: var(--background);
  border-radius: 10px;
  border: none;
  font: 400 15px/1.8 "Lora", serif;
  width: 100%;
}

.contactlink button:hover {
  background-color: var(--primary);
}

.contactlink h2 {
  padding-left: 15px;
}

footer {
  height: 200px;
  background-color: var(--secondary);
}

.bottomscroll {
  position: absolute;
  width: 20px;
  height: 20px;
  bottom: 20%;
}

.introbg {
  position: absolute;
  background-color: var(--background);
  height: 100%;
  width: 100%;
  top: 0;
  left: -200px;
  z-index: -1;
  display: block;
}

.introbg img {
  height: 50%;
  width: 100%;
  object-fit: cover;
  display: block;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-moz-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-o-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-ms-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {
  .bgimg-1,
  .bgimg-2,
  .bgimg-3 {
    background-attachment: scroll;
  }
}

@media (max-width: 1200px) {
  .intro h1 {
    font-size: 30pt;
  }
}

@media (max-width: 1000px) {
  .intro h1 {
    font-size: 30pt;
    margin-bottom: 10px;
    line-height: 40px;
    width: 70%;
  }

  h3 {
    font-size: 12pt;
  }

  .intro {
    display: block;
    padding-top: 50px;
  }

  .leftintro {
    margin: auto;
    width: 90%;
    max-width: 700px;
    padding: none;
    padding-top: 10px;
  }

  .leftintro h3 {
    width: 100%;
  }

  .leftintro h1 {
    width: 100%;
  }
  .profilepic {
    margin-right: auto;
    margin-left: auto;
    display: block;
  }

  h1 {
    font-size: 30pt;
  }

  .pdflink {
    font-size: 8pt;
  }

  .navoverlay a {
    font-size: 13pt;
    padding: 18px 10px;
    /* padding-left: 10px; */
    /* height: 100%; */
    /* padding-top: 17px; */
  }

  /* .logo {
    width: 50%;
  } */

  /* .intro h3 {
    width: 90%;
  }

  .profilepic {
    width: 60%;
  } */
}

@media (max-width: 520px) {
  .navoverlay a {
    font-size: 11pt;
    height: 100%;
    /* padding: 18px 10px; */
  }

  .contactlink h2 {
    font-size: 12pt;
    padding-top: 10px;
  }

  .contactlink {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .navoverlay a {
    font-size: 11pt;
    padding: 18px 7px;
    white-space: nowrap;
  }
}
