/*-----Key-----*/

#main {
  padding: 30px;
  font-family: 'Source Sans Pro', sans-serif;
}

* {
  box-sizing: border-box;
}

/*Logo*/
h8 {
font-size: 40px;
font-family: "Comfortaa", cursive;
font-weight: 600;
}

h1 {
font-size: 95px;
}
h2 {
font-size: 64px;
}
h3 {
font-size: 48px;
color: #333
}
h4 {
font-size: 32px;
}
h5 {
font-size: 18px;
}
h6 {
font-size: 13px;
}
h7 {
font-family: "Courier New", Courier, monospace;
font-size: 26px;
}
p {
font-size: 16px;
}

h9 {
font-size: 14px;
color: darkgray
}

mark {
background-color: #b0de70
}

address {
color: #444
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*Menu*/
#navi {
font-family: "Courier New", Courier, monospace;
margin-bottom: 60px;
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: #fff;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #2c381c;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  text-decoration: underline;
  text-decoration-color: chartreuse
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: deeppink;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: #2dc997;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #42532a;
  color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #3b1ce3;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/*-----General-----*/

.title {
text-align: center;
font-family: "Courier New", Courier, monospace;
}

/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */
@media screen and (max-width: 700px) {
    .title {
      font-size: 30px;
    }
}


/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
#intro {
margin-bottom: 100px;
}

/* If the screen size is 601px wide or more, set the font-size of <div> to 80px */
@media screen and (min-width: 801px) {
.about {
    font-size: 55px;
  }
}

/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */
@media screen and (max-width: 800px) {
.about {
    font-size: 40px;
  }
}

.banner {
max-width: 100%;
margin-top: 50px;
margin-bottom: 20px;
}


/*--------------------------------------------------------------
Button
--------------------------------------------------------------*/
.typebtn {
  border: 1.5px solid #2c381c;
  background-color: white;
  font-family: "Courier New", Courier, monospace;
  color: #2c381c;
  padding: 6px 18px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px
}

.typebtn:hover {
  background: #2c381c;
  color: #fff
}

/*--------------------------------------------------------------
ProjDisplay
--------------------------------------------------------------*/

#projectbg {
  background-color: #eee;
  margin-top: 30px;
  margin-bottom: 30px;
  
}

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

/* halfsies column left pic */
.column-50lp {
  float: left;
  width: 50%;
}
/* halfsies column right pic */
.column-50rp {
  float: right;
  width: 50%;
}

/* halfsies column but right text */
.column-50r {
  float: left;
  width: 40%;
  margin-left: 57px;
  margin-top: 70px;
  margin-bottom: 40px;
}

/* halfsies column but left text */
.column-50l {
  float: left;
  width: 40%;
  margin-left: 57px;
  margin-top: 70px;
  margin-bottom: 40px;
}

.responsive {
  max-width: 100%;
  height: auto;
}


/* Add responsiveness - make the columns appear on top of each other instead of next to each other on small screens */
@media screen and (max-width: 1200px) {
  .column-50rp,
  .column-50lp{
    width: 100%;
  }
}

/* Add responsiveness - make the columns appear on top of each other instead of next to each other on small screens */
@media screen and (max-width: 1200px) {
  .column-50r,
  .column-50l{
    width: 80%;
  }
}

/* Add responsiveness - make the columns appear on top of each other instead of next to each other on small screens */
@media screen and (max-width: 1200px) {
  h4{
    font-size: 24px;
  }
}

.projbtn {
  border: 1.5px solid #2c381c;
  background-color: #eee;
  font-family: "Courier New", Courier, monospace;
  color: #2c381c;
  padding: 6px 18px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px
}

.projbtn:hover {
  background: #2c381c;
  color: #fff
}

/*--------------------------------------------------------------
# Proj page
--------------------------------------------------------------*/

#project {
  margin-left: 240px;
  margin-right: 240px;
}

.projimg {
  max-width: 100%;
  height: auto;
}

.desc1 {
 margin-top: 50px;
 margin-left: 40px;
 margin-right: 40px;
}

.desc2 {
 width: 40%;
 margin-left: 45px;
 margin-bottom: 30px;
 float: left;
 color: #246E34;
}


/* If the screen size is 110px to 800px*/
@media screen and (max-width: 1100px) {
  #project {
    margin-left: 5px;
    margin-right: 5px;
  }
    .desc1 {
      margin-left: 25px;
      margin-right: 25px;
    }
    .desc2 {
      width: 30%;
      margin-left: 25px;
      margin-top: 35px;
    }
}

/* If the screen size is 800px or less*/
@media screen and (max-width: 900px) {
    .desc2 {
      width: 45%;
      margin-left: 25px;
      margin-top: 25px;
    }
}

/* If the screen size is 800px or less*/
@media screen and (max-width: 650px) {
    .desc2 {
      width: 35%;
      margin-left: 20px;
      margin-top: 20px;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #ebf0e9;
  padding: 15px;
  margin-top: 200px;
  color: black;
  font-size: 16px;
}

#footer .copyright {
  text-align: center;
  font-family: 'Comfortaa', cursive;
}

#footer .social {
  padding-top: 10px;
  text-align: center;
  font-size: 14px;
  font-family: "Courier New", Courier, monospace;
}