/**
 * Remove default list styles, margins and padding.
 */

 ol,
 ul {margin: 0;
padding: 0;
list-style:none;
}


/* ================================= 
  Base Element Styles Actual CSS
==================================== */
* {
  box-sizing: border-box;
}

h1,
h3 {
  font-weight: normal !important;
  font-weight: bold;
  text-transform: uppercase;
}

h1 {
  text-shadow: -1px -1px 1px #aaa,
             0px 4px 1px rgba(0,0,0,0.5),
             4px 4px 5px rgba(0,0,0,0.7),
             0px 0px 7px rgba(0,0,0,0.4);
  line-height: 1;
  text-align: center;
  margin-bottom: 0;
  margin-top: 0;
 }

h3 {
  margin-top: 0 auto;
  font-size: 3.5em;
  text-align: center;
  line-height: 2;
}

h2 {
   padding: 0 0 10px 0;
}

p {
  color: black;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 2.5;
  margin-bottom: 10%;
  margin-top: 0;
  font-size: 1.15em;

}
  
.desc {
  color: white;
  line-height: 34px;
  text-align: center;
  text-shadow: 2px 2px 4px #000000;
  margin: 0 auto;
}

.work{
  font-weight: bolder;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  font-size: 1em;
  color: black;
  font-family: Helvetica, Arial, sans-serif;
  margin-bottom: 15%;
  padding: 0% 10%;
  border: 2px solid grey;
  border-radius: 10px;
}

.main-nav {
  font-size: 1em;
  width: 100%;
  background: grey;
  margin-top: auto;
  text-align: center;
}

.projects {
  font-size: 1em;
  background: white;
  border: 2px dashed grey;
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: row;
 
}

.bio-img {
  float: left;
  margin-top: 5px;
  margin-right: 15px;
  margin-bottom: 15px;
  padding: 10px;
  max-width: 400px;
  width: 50%;
  height: auto;


}



/* ================================= 
  Base Layout Styles
==================================== */

/* ---- Layout Containers ---- */

.container {
  padding-left: 1em;
  padding-right: 1em;
}

.main-header {
  padding-top: .5em;
  height: 100%;
  background-image: linear-gradient(to bottom, black, white 50%, grey);
  
}

.main-footer {
  text-align: center;
  padding: .5em 0;
  background: #939797;
}

#myBtn {
  display: none;
  position: fixed; 
  bottom: 20px; 
  right: 30px; 
  z-index: 99;
  border: none;
  outline: none;
  background-color: rgb(179, 80, 80);
  color: white; 
  cursor: pointer; 
  padding: 15px; 
  border-radius: 10px; 
  font-size: 18px;
}

#myBtn:hover {
  background-color: #555;
}


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

/* Style the links inside the navigation bar */
.topnav a {
  display: inline-block;
  color: #f2f2f2;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  font-size: 17px;
  width: 20%;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.active {
  background-color: rgb(66, 66, 66);
  color: rgb(63, 242, 248);
}

.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: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: center;
  background-color: black;
  margin: auto;
  padding: 0;
  width: 85%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  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: 20px;
  text-align: justify;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

/* 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 6px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/*---- Media Queries ---- */
@media (min-width:769px) {
    .wrap {
        min-height: calc(100vh - 89px);
    }
    .container {
        width: 75%;
        margin: 0 auto;
        max-width: 1000px;
    }

    .topnav .icon {
      display: none;
    }

}

  @media screen and (max-width: 700px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }



    .projects .row {
      display: inline;
    
    }
  }

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

  }

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


/* Style inputs, select elements and textareas */
input[type=text], select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

/* Style the submit button */
input[type=submit] {
  background-color: rgb(66, 66, 66);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

/* Style the container */
.container-form {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

/* Floating column for labels: 25% width */
.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}
/* ---- Page Elements ---- */