/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  
}

html {
  color: #222;
  /*font-size: 1em;*/
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

/*cover page*/
.coverpage {
  position: absolute;
  top: 0;
  background-image: url(../img/code_img1.jpg);
  padding-bottom: 10px;
  display: block;
  padding: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 0;
}

.coverpage-overlay {
  position: absolute;
  top: 0;
  padding-bottom: 10px;
  display: block;
  width: 100%;
  padding: 0;
  height: 100%;
  background-color: rgba(26, 30, 35, 0.8);
  z-index: 1;
}

#mainnav {
  height: 60px;
  background: lightgray;
  z-index: 100;
}

.side {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 1000;
}

/* .side a {
  vertical-align: baseline;
  height: 60px;
} */
*/ ul.a {
  list-style-type: circle;
}
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}
.menu {
  float: right;
}

side.a {
  list-style-type: circle;
}

.leftside-section {
  vertical-align: 0;
  -webkit-columns: 1;
}

.frontend {
  color: #66d9ef;
  font-size: 60px;
  opacity: 1;
}
.webdeveloper {
  color: #68c3a3;
  font-size: 60px;
}
#FEWD {
  display: block;
  text-align: center;
  /* padding:100px;
  margin: 100px;
  position:absolute;
  z-index:1;*/
}
.intro-sub p {
  display: block;
  color: #91959d;
  font-size: 24px;
  font-weight: bold;
}

.HOME {
  height: 900px;
}

/*ABOUT section */
.about_me {
  display: inline-block;
  height: auto;
  font-size: 1.5em;
}
.me_font {
  font-weight: 100;
  font-size: 4em;
  margin-top: 40px;
}

.obj {
  text-align: center;
  font-weight: 100;
}
p {
  text-indent: 2em;
}
.column-left {
  float: left;
  width: 40%;
  margin: 0 30px 0 60px;
}

.column-right {
  float: left;
  width: 45%;
  /* border: 2px solid #E2E1D9; */
  margin-top: 100px;
  /* padding-left: 50px; */
  padding-bottom: 30px;
  margin: 10px auto 20px auto;
  display: block;
}
.bio {
  display: block;
  width: 40%;
  margin-left: auto;
  margin-right: auto;
  /* padding-left: 40px; */
}

.column-right ul {
  text-align: center;
  padding-left: 0;
}

.info {
  text-align: left;
}
li {
  font-weight: lighter;
}

.intro-sub {
  text-align: center;
  width: 100%;
  padding-top: 300px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  position: absolute;
  z-index: 1;
}

.project_container {
  width: 90%;
  overflow: hidden;
  /* background: skyblue; */
  margin: 10px auto;
  padding: 5px;
  margin-bottom: 80px;
}

.project_container ul {
  padding: 0px;
  margin: 0px;
}

.project_container ul li {
  list-style: none;
  float: left;
  width: 48%;
  height: 300px;
  background: grey;
  margin: 4px 4px 0px 5px;
}

#resume-text {
  margin-top: 140px;
  text-align: center;
}

.section-inner {
  display: inline;
  overflow: auto;
}

/*Resume */
.resume_section {
  text-align: center;
  width: 100%;
  margin: 50px 0px 50px -20px;
  font-size: 1.5em;
}
.education {
  width: 100%;
}

.section3 {
  width: 100%;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

div h1 {
  text-align: center;
}

/*video {
  background-position: center;
  margin-top: auto;
  height: 700px;
  opacity: .5;
  padding-top: 10px;
  display: block;
}
*/
/*contact me*/

html {
  background: #f1f1f1;
  font-family: sans-serif;
}

h1 {
  text-align: center;
  color: #a8a8a8;
  margin-top: 50px;
}

form {
  width: 35%;
  margin: 0 auto;
  padding: 50px;
}

.form_text {
  font-weight: 100;
}

form input,
form textarea {
  border: 0;
  outline: 0;
  padding: 1em;
  border-radius: 8px;
  display: block;
  width: 100%;
  margin-top: 1em;
  font-family: "Merriweather", sans-serif;
  resize: none;
}

form input[type="submit"] {
  color: white;
  background: #66d9ef;
  cursor: pointer;
}

form textarea {
  height: 188px;
}
#PROJECT {
  background-color: black;
}

.project_item {
  opacity: 0.5;
}
.project_item:hover {
  opacity: 1;
}

#CONTACT {
  /* text-align: left; */
  background-color: black;
}

.divider {
  height: 100px;
}
.con {
  text-align: left;
  margin-left: 100px;
}

.column:first-of-type {
  margin-right: 2%;
}

.message {
  font-family: "Open Sans", sans-serif;
  font-size: 0.8em;
  padding: 10px;
  margin: 25px auto 0;
  display: block;
  /*max-width: 100%;*/
  /*  border-radius: 8px;*/
  /*display: none;*/
  color: white;
}

.error {
  padding-left: 20px;
  background-color: #fc5846;
}

.error li:before {
  content: "- ";
}

.error li:first-child:before {
  content: "";
}

.error li:first-child {
  margin-left: 0;
  content: "";
}

.error li {
  margin-left: 40px;
}

li {
  list-style: none;
}

.success {
  background-color: #1bb580;
}

.error.visible,
.success.visible {
  display: block;
}
/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
  margin: 0;
}

.logo {
  float: left;
}

span a {
  float: right;
  padding: 0px;
  margin-right: 3px;
  width: 30%;
}

header {
  height: 100vh;
}

nav {
  background-color: white;
  border-bottom: 1px solid black;
  padding: 0px;
  width: 100%;
  float: right;
  margin-bottom: 20px;
}

ul {
  display: block;
}
li {
  display: inline;
  /* word-spacing: 10px; */
  text-align: right;
  padding: 20px 21px 20px 21px;
}

a {
  text-decoration: none;
  padding-right: 10px;
  margin: 8px;
  font-weight: 50;
}

h1 {
  margin-top: 0;
}

.languages {
  font-size: 2.8em;
  margin: 40px;
  text-align: CENTER;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
  display: none !important;
  visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.conimg {
  position: absolute;
  background-image: url(../img/setup.jpg);
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 0;
  opacity: 0.2;
}
.invisible {
  visibility: hidden;
}

h3 {
  color: black;
  z-index: 1;
}

footer {
  clear: both;
  background-color: whitesmoke;
  height: 30px;
  width: 100%;
}
footer div {
  color: white;
  text-align: center;
  z-index: 1;
  margin: 10px;
}
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-o-min-device-pixel-ratio: 5/4),
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
        http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
    text-indent: 50px;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
.containerBar div {
  text-align: right;
  display: hidden;
}

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

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

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

.active {
  background-color: #4caf50;
  color: white;
}

.topnav .icon {
  display: none;
}

.mobile-slide {
  display: none;
}

@media screen and (max-width: 800px) { /* @@@@@@@@@@@@@@@@@@@@@@@@@@*/

  .me_font {
    margin-top: 50px;
  }

  header {
    background-color: #d3d3d3;
    height: 92vh;
  }
  /* //intro page */
  .intro-sub {
    padding-top: 100px;
  }

  .austin {
    display: block;
    text-align: middle;
    padding-right: 60px;
  }

  .frontend {
    color: #66d9ef;
    font-size: 60px;
    opacity: 1;
    padding-top: 0;
  }
  .webdeveloper {
    color: #68c3a3;
    font-size: 60px;
    padding-top: 0;
  }
  /* nav */

  #mainnav {
    height: auto;
  }

  .menu {
    overflow: hidden;
    transition: height 0.3s linear;
  }
  .menu li {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #717171;
    background: 100%;
  }
  nav ul {
    width: 100%;
    background-color: #717171;
  }

  /* // hamburger slide  */
  nav ul {
    max-height: 0px;
    position: fixed;
    top: 4.5em;
  }

  .mobile-menu ul {
    padding: 0;
  }

  .mobile-menu ul li {
    background-color: lightgrey;
    display: block;
    /* box-sizing: border-box; */
    width: 100%;
    padding: 15px;
    text-align: center;
    display: hidden;
  }

  .mobile-slide {
    display: none;
  }

  /* abuot me */

  .column-left {
    width: 100%;
    padding: 20px;
    margin-left: 0;
  }

  .column-right {
    width: 100%;
    padding: 20px;
  }

  .resume_section {
    padding: 20px;
    text-align: center;
  }

  form {
    width: 90%;
    margin: 10px;
    margin-left: 20px;
    border: 1px solid white;
    border-radius: 10px;
  }

  .project_container ul li {
    width: 90%;
    margin: 10px;
  }

  .con {
    text-align: left;
    margin-left: 70px;
  }

  section {
    height: auto;
  }

  #CONTACT {
    padding-bottom: 10px;
    height: 800px;
  }

  .section3 {
    padding: 20px;
  }

  /* #ABOUT {
    padding-top: 50px;
  } */

  h1 {
    margin-top: 17px;
  }

  .open {
    height: 295px;
  }

  .menu {
    margin: 0;
    text-align: center;
  }

  /* // hamburger menu */
  .containerBar {
    display: block;
    cursor: pointer;
    right: 10px;
    position: absolute;
  }

  .bar1,
  .bar2,
  .bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
  }

  .change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
  }

  .change .bar2 {
    opacity: 0;
  }

  .change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
  }
}

/* project img */
.project_img {
  max-width: 70%;
  max-height: 70%;
}

.under_construction {
  max-width: 70%;
  max-height: 70%;
}

/* ==============================*/
.arrow_down {
  text-align: center;
  margin: 10% 0;
}
.bounce_it {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.c_resume {
  color: #a4a4a4;
}
