body {
  margin: 0;
font-family: 'Merriweather', serif;
}

.topnav {
  overflow: hidden;
  background-color: #2A3956;
}

.topnav a {
  float: left;
  display:block;
  color: #f2f2f2;
  text-align: center;
  padding: 2vh 2vh;
  text-decoration: none;
  font-size: 3vh;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #4CAF50;
  color: #ddd;
}

.topnav .icon {
    display:none;
}

.topnav a:not(:first-child) { 
  float: right;
}

#mylogo{
    max-width:65vw;
}



@media screen and (orientation: portrait) {
  .topnav a:not(:first-child) { display: none; }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (orientation: portrait) {
  .topnav.responsive { position: relative; }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.welcome{
  /*background-image: url("../images/books2.jpg");*/
    background: #2A3956;
  background-size: cover;
  background-position: center;
  height: 100vh;
  background-repeat: no-repeat;
  margin: 0 0 0 0;
  position: relative;
}

h1 {
font-size: 8vh;
text-shadow: 1.5px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
color:#ddd;
}

.textbox{
  padding: 15% 20%;
  width: 60%;
  text-align: center;
  color: #ddd;
}

@media screen and (orientation: portrait) {
h1{
    font-size: 5vh;
    text-shadow: 3.5px 0 0 #000, 0 -3px 0 #000, 0 3px 0 #000, -3px 0 0 #000;

}
.textbox{
  padding: 35% 7.5%;
  width: 85%;
}
}


.button-box{
  display:flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: space-between;
  margin: 0 20%;
}

.button{
  background-color: #2A3956;
  border-radius: 10px;
  flex-grow: 3;
  flex-shrink: 1;
  text-align: center;
  color: #ddd;
  font-size: 3vh;
  box-shadow: 2.5px 5px #888888;
  padding: 3vh 3vh 3vh 3vh;
  border: 1vh solid #ddd; 
}

.button:hover {
  background-color: #ddd;
  color: black;
}


.butt{
  text-decoration:none;
  text-align: center;
  vertical-align: middle;
}

@media screen and (orientation: portrait) {
    .button{
  border-radius: 2vh;
}
.button-box{
      margin: 0 5%;
}
}


.about{
  display: flex;
  background: #2A3956;
  flex-wrap: wrap;
  align-items: center;
  position:relative;
  height: 100vh;
}

.budget{
  display: flex;
  background: #2A3956;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-items: center; 
  height: 100vh;
}

.services{
  display: flex;
  background: #2A3956;
  flex-wrap: wrap;
  align-items: center;
  height: 100vh;
}

.box1{
  flex: 6 6 30%;
  white-space: nowrap;
}

.helper{
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

img{
  width: 130%;
  vertical-align: middle;
  overflow: hidden;
}

.box2{
  flex: 3 1 45%;
  /*background:  #7D6857;*/
  background:#ddd;
  position: relative;
  overflow: hidden;
  padding: 10px 30px;
  font-size: 0.95em;
}

#servicesbox{
    min-height:30vh;
    line-height: 3vh;
    vertical-align: center;
}

.left{
  right: 13%;
  position: relative; 
}

.lefty{
  left: 10%;
}

@media screen and (orientation: portrait) {
    img{
        width: 100vw;
    }
    .left{
  right: 0%;
}
.box2{
      font-size: 2vh;
}
}


.titles{
position: relative;
display:inline;
padding-top: 4vh;
}


.mySlides {
    margin-top: 3vh;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: black;
  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: -15px;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: -15px; 
}

/* 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);
}

/* The dots/bullets/indicators */

.dot-container{
  text-align: center;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.active, .dot:hover {
  background-color: #717171;
}



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);
}

/* Style inputs */
input[type=text], select, textarea {
  width: 90%;
  padding: 12px;
  border: 1px solid #ccc;
  margin-top: 1vh;
  margin-bottom: 1vh;
  resize: vertical;
}

input[type=submit] {
  background-color: #2A3956;
  color: #ddd;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}

/* Style the container/contact section */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 10vh 0vw 1vh 0vw;
  position:relative;
  width:100vw;
}

.row{
    padding: 1vh;
    height: 85vh;
    display:flex;
    justify-content: center;
    align-items: center;
}

.img-column{
    margin: 3vw;
    margin: 3vw;
    float:right;
}

.form-column{
    margin: 3vw;
    max-width: 60vw;
}

#contactimage{
    max-height:55vh;
    height:auto;
    width:auto;
}

@media screen and (orientation: portrait) {
.form-column{
    position:absolute;
    top:1vh;
    max-width:80vw;
}
    .img-column{
        display:none;
    }}
    
@media screen and (max-width: 900px) {
    .img-column{
        display:none;
    }}

.footer{
  background-color: #333;
  color: #ddd;
  width: 100%;
  text-align: center; 
}

