/* global styles */
html,
body {
  margin: 0px;
  box-sizing: border-box;
}

body {
  padding: 0px;
  margin: 0px;
  font-family: 'Playfair Display', serif;
}

h1,
h2,
h4 {
  text-align: center;
}

h1 {
  color: #fff;
  font-family: 'Dancing Script', cursive;
  border: 8px solid #fff;
  padding: 30px 50px;
  font-size: 2.5rem;
  background-color: rgba(77, 77, 77, .3);
}

h2 {
  font-size: 1.5rem;
  padding-top: 20px;
  border-bottom: 2px solid white;
  width: 75%;
  margin: 0px auto;
  padding-bottom: 10px;
}

section {
  width: 80%;
  max-width: 900px;
  padding: 10px 20px;
  margin: auto;
}

.button {
  padding: 20px;
  color: #fff;
  background-color: #BF2B38;
  border: none;
  box-shadow: 0 0 10px rgba(256, 256, 256, 0.3);
  width: 60%;
  max-width: 300px;
  margin: 50px auto 30px auto;
  font-size: 1.2rem;
  text-align: center;
}

.button:hover {
  background-color: white;
  color: #BF2B38;
  box-shadow: 0 0 10px rgba(256, 256, 256, 0.3);
}

/*end global styles*/

/* nav bar style */
nav {
  width: 100%;
  background-color: #0D1526;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

span.nav-toggle {
  font-size: 30px;
  display: inline-block;
  position: absolute;
  top: 7px;
  left: 20px;
  color: #fff;
}

.logo {
  margin: 16px 0px;
}

.logo a{
  color: #fff;
  text-decoration: none;
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-block;
}

ul {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  border-top: .5px solid rgba(256, 256, 256, .5);
  padding: 5px 0px 20px 0px;
  margin: 0px;
}

ul li {
  list-style-type: none;
  font-size: 16px;
  cursor: pointer;
  margin: 20px;
  text-align: center;
  border-bottom: 1px solid #fff;
  padding: 10px 50px;
  width: 40%;
  margin: auto;
}

ul li:hover {
  border-bottom: 2px solid white;
}

ul li a {
  color: white;
  text-decoration: none;
}

.active {
  display: flex;
}

/*end nav bar styling*/

/*header styling*/
.header {
  background-image: url("../images/mountains1920x640.jpg");
  background-position: center;
  height: 30vh;
  min-height: 275px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*end header styling*/

/* websites and projects styling */
.projectsWrapper {
  background-color: #0D1526;
}

.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects h2 {
  color: #fff;
}

.card-container {
  width: 98%;
  max-width: 900px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 50px;
}

.card {
  background-color: #fff;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(256, 256, 256, 0.5);
}

.card:hover {
  box-shadow: 4px 4px 10px #6581A5;
}

.card img {
  width: 100%;
}

.card p {
  color: black;
  padding: 15px;
  margin: 0px;
}

/* end websites and projects styling */

/* about styling */
.aboutWrapper {
  background-color: #6581A5;
  padding: 30px 0px;
}

.about {
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  margin: 0px auto;
  max-width: 800px;
  padding: 30px;
}

.about h2 {
  color: #000;
  border-bottom: 2px solid #000;
}

.profilePicContainer {
  width: 98%;
  max-width: 350px;
  margin: 20px auto;
}

.profilePicContainer img {
  width: 100%;
}

.question {
  margin-bottom: 5px;
  text-decoration: underline;
}

.answer {
  margin-top: 5px;
}

.answer a {
  text-decoration: underline;
  cursor: pointer;
  color: #000;
}

.aboutWrapper h4 {
  color: #fff;
  margin-bottom: 0px;
}

.linkedIn a {
  text-decoration: underline;
  cursor: pointer;
  color: #fff;
}

/* end about styling */

/* footer styling */
footer {
  background-color: #0D1526;
  color: white;
}

footer p {
  margin: 0px;
  padding: 20px;
  text-align: center;
}

/* end footer styling */