html {
  height: 100%;
}

body {
  background-color: rgb(34,34,34);
  position: relative;
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

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

/* CSS for navigation bar */

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

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

  background-color: black;
  color: white;
  padding: 0px 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;
}

.navbar a:hover {
  color:rgb(164, 26, 26)
}
/* 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;
}

.logo {
  font-size: 20px;
}

h1{
  color: rgb(164, 26, 26);
}

h1, h2, h3{
  font-family: "Montserrat", "Arial", "sans-serif";
}

h2, h3{
   color: white;
}

p {
  font-family: "Open Sans", "Arial";
  color: white;
}

a {
  color: rgb(29, 166, 245);
}



/*home page*/
.about{
  display: flex;     
  flex-direction: column;  
  justify-content: center;   
  align-items: center;       
  gap: 20px;        
}


.about-image {
  width: 300px; 
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;     
  height: auto;
  border-radius: 3px;
}


/* contact page*/
.input {
  display: flex;
  flex-direction: horizontal; 
  gap: 15px;   
  margin-bottom: 20px;
  align-items: center; 
  justify-content: center;
}

label {
  font-family: "Open Sans";
  color: white;
}


input[type="text"],
input[type="email"],
textarea {
  width: 200px;
  padding: 10px;
  font-size: 20px;
}

/* portfolio page*/
.project img{
border: 30px solid rgb(164, 26, 26);
}

/* resume page*/
.resume ul{
   color: white;
}

#blog-container{
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  gap: 15px;
}

#blog_item{
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  background-color: black;
  gap: 15px;
}

.baseball_paragraph, .surfing_paragraph{
  max-width: 600px;
}