/*
Name: Jack Venberg
Date: 04.08.18
Section: CSE 154 AH

This is the main.css page for my creative project #3 in which I have created
a short contact information site with a gallery. This style modifies all pages
of the website.
*/

* {
  margin: 0;
}

html, body {
  font-family: helvetica, sans-serif;
  padding: 0;
  height: 100%;
  background-color: #E0E0E0;
}

header {
  margin-bottom: 10px;
}

h1 {
  font-size: 50px;
}

html, body, a, .nav-change > .active, .nav-change a:hover {
  text-decoration: none;
  color: #424242;
}

footer, nav, .background-top {
  width: 100%;
}

footer {
  background: #1976D2;
  line-height: 80px;
}

footer, nav a {
  text-align: center;
}

nav {
  position: fixed;
  z-index: 1;
  display: flex;
}

nav, .card {
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
}

nav a {
  padding: 20px 30px;
  font-size: 1.1em;
}

nav {
  transition: background-color 0.5s ease;
}

nav a:hover, .active {
  background-color: #E53935;
}

.grow {
  transition: all .3s ease-in-out;
}

.grow:hover {
  transform: scale(1.1);
}

.nav-change {
  background-color: #D32F2F;
}

nav, .nav-change a:hover, .nav-change .active, .card {
  background-color: #FAFAFA;
}

footer, .active, nav a:hover, .nav-change a {
  color: white;
}

.background-top {
  background-color: #EF5350;
  height: 55%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
}

.card {
  position: absolute;
  top: 200px;
  width: 70%;
  right: 15%;
  margin-bottom: 200px;
}