@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');

*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: white;
  position: relative;
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

ul{
  list-style: none;
}

a{
  color: #333;
  text-decoration: none;
}

h1,h2,h3{
  font-weight: 300;
  line-height: 1.2;
}

p{
  margin: 10px 0;
}

img{
  width: 100%;
}

main {
  /* padding: 0 20px 40px 20px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-title{
  font-size: 50px;
  font-weight: 400;
}
.hero{
  width:100%;
  background: url(../images/bigsurwave.jpeg) no-repeat center center/cover;
  height:100vh;
  position: relative;
  color: #fff;
}

.hero .content{
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 0 20px;
}

.hero .content h1{
  font-size: 55px;
}

.hero .content p{
  font-size: 23px;
  max-width: 600px;
  margin:20px 0 30px;
}

.hero::before{
  content:'';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0,6);
}

#contact-form{
  background: url(../images/asilomar.jpeg) no-repeat center center/cover;
}

/* CSS for navigation bar */

.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 10%;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;

  background-color: black;
  color: white;
  padding: 15px 0px;

  /* Debug border */
  /* border: solid red; */
}

.nav-list {
  display: flex;
  flex-direction: row;
  position: relative;
  right: 30px;
  list-style: none;
}

.navbar a {
  color: white;
  font-weight: bold;
  margin: 0 12px;
  text-decoration: none;
  letter-spacing: 2px;
}

/* CSS for page footer */

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: white;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;
}

.resume-header{
  padding-top: 30px;
  text-align: center;
  font-size: 40px;
  font-weight: 100;
  /* background: #eee; */
}

/* contact-form */
#contact-form .form-group{
  margin-bottom: 20px;
}

#contact-form label{
  display:block;
  float:left;
  margin-bottom: 5px;
}

#contact-form input,
#contact-form textarea{
  width: 100%;
  padding: 10px;
  border: 1px #ddd solid
}

#contact-form input:focus,
#contact-form textarea:focus{
  outline: none;
  border-color: #333;
}

#contact-form textarea{
  height:200px;
}

#contact-form form{
  min-width: 600px;
}