
body {
    font-family: Roboto, 'Opens Sans', Helvetica, Arial, sans-serif;
    background-color: #faf7f3;
}


/* -----Set the baselines - base size, body copy font----- */
html {
    font-size: 18px;
}

body {
    font-family: "proxima-nova", Arial, Helvetica, sans-serif;
    font-weight: 400;
}

/* ---------Copy & Lists--------- */
/* Paragraph styles, including margins. Consider limiting the line lengths with a maximum width. */
p {
    margin: 0 0 0 0;
    line-height: 1.6;
}

/* List styles 
ul,
ol {
}*/

/* nested list styles 
ul ul,
ol ul,
ul ol,
ol ol {

} */

/* List item styles 
li {
    
} */

/* --------Headings------- */

/* Change heading typefaces, margins, letter spacing and general line heights here */
h1,
h2,
h3,
h4,
h5,
h6 {     
    font-family: "proxima-nova", Arial, Helvetica, sans-serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 1px;
}

/* Change font size and more specific rules as needed per heading type */
h1 {
    font-size: 10vw;
    margin: 1.2em 0 0.5em 0;
}
h2 {
    font-size: 3em;
    margin-bottom: 1em;
}
h3 {
    font-size: 2em;
    line-height: 1.2em;
    margin-bottom: 0.5em;
}
h4 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}
h5 {
    font-size: 1.2em;
}
h6 {
    font-size: 1em;
}

/* ---------Links----------- */

/* -----Text links----- */
a, a:visited {
    color: black;
    text-decoration: none;
}

/* Hover states only work when using a mouse; focus states also work for keyboard focus */
a:hover, a:visited:hover, a:focus, a:visited:focus {
    text-decoration: none;
}

/* Active states will work on click, on "Enter" (with keyboard), and on tap */
a:active, a:visited:active {
    color: black;  
}

/* -----Buttons------- */
/* rules that both buttons share, like padding, corner shape, font size, line height, text decoration (underline or not) */
.primary-button, .secondary-button, .primary-button:visited, .secondary-button:visited {
    display: inline-block;
    text-decoration: none;
    color: black;
    padding: 10px 20px;
    text-align: center;
    width: 140px;
    height: 55px;
    margin-top: 20px;
    font-weight: bold;
    transition: .3s ease-in-out;
}

/* rules that both buttons share, like text decoration (underline or not), maybe colour  */
.primary-button:hover, .secondary-button:hover, .primary-button:focus, .secondary-button:focus, .primary-button:visited:hover, .secondary-button:visited:hover, .primary-button:visited:focus, .secondary-button:visited:focus {
    border: 3px solid black;
}

/* rules that are unique to primary, like background colour, maybe font colour */
.primary-button {
    border: 3px solid black;
    color: black;
    text-decoration: none;
}
.primary-button:hover, .primary-button:focus, .primary-button:visited:hover, .primary-button:visited:focus {
    background-color: black;
    color: white;
}
.primary-button:active, .primary-button:visited:active {
    background-color: #8ab7e9;
    border: 3px solid #8ab7e9;
}

/* rules that are unique to secondary, like background colour, maybe font colour */
.secondary-button, .secondary-button:visited {
    background-color: black;
    border: 3px solid black;
    color: white;
}
.secondary-button:hover, .secondary-button:focus, .secondary-button:visited:hover, .secondary-button:visited:focus {
   background-color: white; 
   color: black;
}
.secondary-button:active, .secondary-button:visited:active {
    background-color: #8ab7e9;
    border: 3px solid #8ab7e9;
}

/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */   
    height: 0;
    width: 100%;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
  }
  
  /* Position the content inside the overlay */
  .overlay-content {
    position: relative;
    top: 15%; 
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 20px; /* 30px top margin to avoid conflict with the close button on smaller screens */
  }
  
  /* The navigation links inside the overlay */
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
    font-weight: bold;
  }
  
  /* When you mouse over the navigation links, change their color */
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
    font-weight: bold;
  }
  
  /* Position the close button (top right corner) */
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }
  

/* --------Special classes------- */
/* Leading paragraph text 
.lead {

} */

/* Additional class to add to elements to remove top margin */
.flush-top {
    margin-top: 0;
}

/*  -------Media queries----------- */

@media (min-width: 768px) {
   
}

@media (min-width: 900px) {

}

@media (min-width: 1300px) {
 
}


/* Style the header */
header {
    padding-top: 30px;
}


/* Style the list, list items and links inside the menu */
.nav {
    margin-left: 30px;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none;
    background-image: linear-gradient(#8ab7e9,#8ab7e9);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 0% 2px;
    transition: background-size 500ms ease-in-out;
    color: #8ab7e9;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

li {
    display: inline;
}

a.nav:hover {
    color: #8ab7e9;
    background-size: 100% 2px;
}

.project {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: .3s ease-in-out;
    color: black;
}

a.project:hover {
    -webkit-filter: none;
    filter: none;
    color: black;
}

a.project:visited {
    color: black;
}

a.project:active {
    color: #8ab7e9;
}

.underline {
    text-decoration: none;
    background-image: linear-gradient(black,black);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 0% 2px;
    transition: background-size 500ms ease-in-out;
    color: black;
}

.underline:hover {
    background-size: 100% 2px;
    color: black;
}

.underline:active {
    background-size: 100% 2px;
    color: #8ab7e9;
}

#blue-blob {
    position: absolute;
    z-index: -1;
    width: 20vw;
    top: 30vh;
}

#yellow-blob {
    position: absolute;
    z-index: -1;
    right: 0;
    width: 20vw;
}

#blue-blob-about {
    position: absolute;
    z-index: -1;
    width: 15vw;
    top: 10vh;
}

#yellow-blob-about {
    position: absolute;
    z-index: -1;
    right: 0;
    width: 20vw;
    top: 50vh;
}



/* END OF FOR DEMO ONLY */

/* Style the footer */
footer {
    width: 100%;
    background-color: #8ab7e9;
    padding: 20px;
    text-align: center;
  }


  /* ----Responsive layout - Media queries-------- */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
}

@media (max-width: 600px) {
    .nav {
        margin-left: 20px;
        font-size: 1em;
    } 

    .overlay a {
        font-size: 26px;
    }
}

@media (min-width: 768px) {
    .logo {
        width: 15vw;
    }
    h1 {
        font-size: 7vw;
    }
}

@media (min-width: 1080px) {
    h1 {
        font-size: 5vw;
    }
}

@media (min-width: 1300px) {
   
    
}