@import url('https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz');
@import url('https://fonts.googleapis.com/css?family=Maven+Pro|Play|Playfair+Display');
@import url('https://fonts.googleapis.com/css?family=Cuprum|Maven+Pro|Play|Playfair+Display');

* {
    box-sizing: border-box;
}

/* Add a gray background color with some padding */
body {
  margin: 0;
  padding: 20px;
  background: #f1f1f1;
}

header{
  display: none;
  position: sticky;
  top: 0;
  font-family: 'Quicksand', sans-serif;
  }

.coding {
    padding: 10px;
    background-color: #ff0034;
    color: #ffff;   
    max-width: 400px;
    margin-top: 0;
}
/* Footer */
footer{
     color:white;
     background-color: #141e33; 
     padding:20px;
     float:left;
     width:100%;
     } 
footer p{
    text-align: center;
  }

/*RESPONSIVE WEBSITE*/


/* Add a black background color to the top navigation */
  .topnav {
    background-color: #333;
    overflow: hidden;
    display: none;
    position: sticky;
    width: 100%;
    margin: 0;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  /* Add an active class to highlight the current page */
  .topnav .active {
    background-color: #4CAF50;
    color: white;
  }
  
  /* Hide the link that should open and close the topnav on small screens */
  .topnav .icon {
    display: none;
  }
  
  /* 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) {
        display: none;
    }
  .topnav a.icon {
    float: right;
    display: block;
  }

  header{
    display: block;
  }

  body {
    margin: 0;
    padding: 0;
    background: #f1f1f1;
  }
  }
  
  /* 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 {
    display: block;
  }
  footer{
    width: 100%;
  }
  }

  footer a{
    color: #ff9100;
    font-family: sans-serif;
    text-decoration: none;
  }  
  footer a:hover{
    background: #007eff;
    transition: 0.2s;
  } 
  footer p{
    text-align: center;
  }

/* NAV STYLES*/

  nav{
  width: 100%;
  height: auto;
  background: #fff;
  padding: 0 10px;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  }
  nav .active{
    border-bottom: 2px solid #fff;
  }
  nav h1{
     margin: 0;
     padding: 25px 20px;
     float: left;
     clear: left;
  }
  nav .link h1 a{
    text-decoration: none;
    color: darkblue;
  }
  
  nav #icons a{
    margin: 30px;
    text-decoration: none;
    display: inline;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    float: left;
  }
  nav #icons a:hover{
    border-bottom: 2px solid #fff;
  }
  nav ul{
    margin: 0;
    padding: 0;
    float: right;
  }
  nav ul li{
    list-style: none;
    display: inline-block;
    padding: 30px 30px;
    transition: 0.5s;
  }
  nav ul li a{
    color: #000;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    box-sizing: border-box;
    font-size: 20px;
  }
  nav ul li a:hover{
    border-bottom: 3px solid #fff;
  }
/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px){
  nav{
    display: none;
    padding: 0;
  }
  .responsive-bar{
    display: block;
    position: ;
  }
  nav h1{
    display: none;
  }
  nav ul{
    float: none;
  }
  nav ul li{
    display: block;
    text-align: center;
    background: #141e33; 
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .calle img{
    width: 100%;
  }
}

#button {
  display: inline-block;
  background-color: #FF9800;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button:hover {
  cursor: pointer;
  background-color: #333;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}
