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

/* Styling the navigation bar background color */
nav {
  background-color: white;
}

/* Styling the navigation bar layout with flexbox */
nav ul {
  display: flex;
  list-style-type: none;
  justify-content: left;
  padding: 10px 10px 10px 70px;
}

nav ul li {
  margin: 0 20px;
  padding: 10px;
  font-family: 'Inria Serif', serif;
  font-size: 30px;
}

nav ul li a {
  color: black;
  text-decoration: none;
  display: block;
}

/* https://tinyurl.com/b44thufc */
/* Add underline to link on hover in CSS */
nav ul li a:hover {
  text-decoration: underline;
}

/* --------------------------------- */
/* 30 px + 20 px + 10*/
/* Align on 60px */

main {
  background-color: #32416b;
  color: white;
  padding: 80px 100px 100px 100px;
  font-size: 18px;
}

.main-section {
  max-width: 1600px;
}

.bio {
  display: flex;
  flex-direction: row;
  justify-content: start;
  gap: 30px;
  width: auto;
}

.bio-text {
  width: 45%;
}

.bio-text h1 {
  font-family: 'Inria Serif', serif;
  font-size: 100px;
  font-weight: 300;
  padding-bottom: 20px;
}

.bio p {
  padding: 10px 0px;
  font-weight: 300;
  font-family: 'Inter';
}

.bio-links {
  padding-top: 20px;
}

.bio-links ul {
  display: flex;
  list-style-type: none;
  justify-content: left;
  gap: 30px;
  align-items: center;
}

.bio-links ul li a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.bio-links button {
  padding: 5px 15px;
  color: white;
  background-color: #32416b;
  text-decoration: none;
  border: solid 0.5px;
  border-radius: 3px;
  border-color: white;

  display: flex;
  align-items: center;

  cursor: pointer;
}

button span {
  padding-right: 5px;
  font-size: 18px;
}

button:hover {
  border-color: black;
  stroke: black;
  color: black;
}

svg:hover {
  stroke: black;
}

.profile {
  width: 45%;

  display: flex;
  flex-direction: row-reverse;
}

/* https://www.w3schools.com/css/css3_images.asp */
.profile img {
  border-radius: 5%;
  /* I do not know why h1 text (Bryan) has additional padding on top, maybe font?
     margin-top, tries to force align it. 
  */
  margin-top: 28px;
  width: 250px;
  height: 250px;
}

.title-section {
  padding-top: 50px;
  padding-bottom: 20px;
  font-family: 'Inria Serif', serif;
  font-weight: 300;
  font-size: 30px;
}

.all-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.project {
  border-color: white;
  border: solid 0.5px;
  padding: 20px;
  border-radius: 20px;

  width: 45%;
  height: 400px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project img {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;

  border: solid 0.5px;
  align-self: center;
  background-color: white;
}

.project h4 {
  padding-bottom: 10px;
  font-size: 20px;
  font-family: 'Inter';
  font-weight: 300;
}

.project p {
  font-family: 'Inria Serif', serif;
  font-size: 16px;
}

.email-from {
  display: flex;
  gap: 30px;
}

.email-from input {
  width: 45%;
  background-color: #32416b;
  color: white;

  border: solid 0.5px;
  border-color: white;
  padding: 20px 10px;
  border-radius: 5px;

  margin-bottom: 20px;
}

input::placeholder {
  color: white;
  font-size: 20px;
  font-family: 'Inter';
  font-weight: 300;
}

textarea {
  width: calc(90% + 30px);
  background-color: #32416b;
  color: white;
  height: 200px;
  margin-bottom: 20px;

  border: solid 0.5px;
  border-color: white;
  padding: 10px;
  border-radius: 5px;
}

textarea::placeholder {
  color: white;
  font-size: 20px;
  font-family: 'Inter';
}

.contact form button {
  width: calc(90% + 30px);
  background-color: #32416b;
  color: white;
  font-size: 20px;
  font-family: 'Inter';

  border: solid 0.5px;
  border-color: white;
  padding: 10px;
  border-radius: 5px;
}

.contact form button:hover {
  background-color: white;
  color: #32416b;
  cursor: pointer;
}
