@import url('https://fonts.googleapis.com/css?family=Lato|Lora');

/*
Colors
dark green: #00A388
medium green: #79BD8F
light green: #BEEB9F
yellow: #FFFF9D
red: #FF6138
*/

/********************
*******GENERAL*******
********************/

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

body {
  font-family: Lato, sans-serif;
}

p {
  font-family: Lora, serif;
}

h1, h2 {
  text-transform: uppercase;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

h3 {
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

a {
  color: #00A388;
}

a:hover {
  color: #79BD8F;
  text-decoration: none;
}

header {
  border-bottom: 2px solid #00A388;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  margin-bottom: 2rem;
}

main {
  width: 90%;
  max-width: 960px;
  margin: auto;
  position: relative;
  animation: fadeIn 1s linear .5s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    top: 200px;
  }

  100% {
    opacity: 1;
    top: 0;
  }
}

section {
  margin-bottom: 2rem;
  text-align: center;
}

section h2 {
  margin-bottom: 1em;
}

.redirect-link {
  font-size: 2rem;
}

/********************
******NAVIGATION*****
********************/

nav {
  max-width: 960px;
  margin: auto;
}

#navbarNav {
  text-align: right;
}

.nav-item .nav-link {
  color: #00A388;
}

.nav-item .nav-link:hover {
  color: #79BD8F;
}

/********************
********ABOUT********
********************/

#about {
  display: flex;
  text-align: left;
}

#about h1 {
  margin-bottom: 1rem;
}

#about h2 {
  padding-bottom: .5rem;
  border-bottom: 2px solid #00A388;
}

#about img {
  border-radius: 50%;
}

/********************
*******SKILLS********
********************/

#skills {
  display: flex;
}

.skills-column {
  width: 30%;
  margin: 0 1.5%;
}

/********************
******PROJECTS*******
********************/

#projects-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.project-box {
  width: 30%;
  max-width: 512px;
  margin: 1.5% 1.5%;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.project-box img {
  width: 100%;
}

.project-info {
  padding: .5rem .5rem;
}

button {
  position: relative;
  background-color: transparent;
  border: 2px solid #00A388;
  border-radius: 5px;
  padding: 5px;
  color: #00A388;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
}

button:hover {
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
  top: 2px;
  border-color: #79BD8F;
  color: #79BD8F;
}

button:active {
  top: 5px;
  box-shadow: none;
}

/********************
*******CONTACT*******
********************/

#contact {
  border: 3px solid #00A388;
  border-radius: 15px;
  padding: 1rem;
}

button[type="submit"] {
  width: 50%;
  margin: auto;
  font-size: 2rem;
  background-color: #00A388;
  color: white;
  margin-bottom: 1rem;
}

button[type="submit"]:hover {
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
  top: 2px;
  background-color: #79BD8F;
  border-color: #79BD8F;
}

/********************
*******FOOTER********
********************/

footer {
  background-color: #00A388;
  text-align: center;
  padding: 1rem;
}

footer p {
  color: white;
  margin-bottom: .5rem;
  font-size: 1.5rem;
  font-family: Lato, sans-serif;
}

footer a {
  color: white;
  margin: 0 1.5rem;
}

footer img {
  margin: 1.5rem auto;
}