/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
* {
  box-sizing: border-box;
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
  background: #f0f4f7;
  font-family: 'Roboto', sans-serif;
}
a {
  text-decoration: none;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
#home {
  display: flex;
  border-top: 10px solid #bb1333;
  background: #13131f;
  width: 98%;
  margin: 1%;
}
#home nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 50%;
  margin-left: 50%;
}
#home nav a {
  font-family: 'Roboto', sans-serif;
  color: white;
}
#home nav a:hover {
  color: #bb1333;
}
@media (max-width: 800px) {
  #home nav {
    width: 100%;
    margin-left: 0%;
  }
}
@media (max-width: 500px) {
  #home nav {
    width: 100%;
    margin-left: 0%;
  }
  #home nav a {
    font-size: 9px;
  }
}
body {
  width: 75%;
  margin: 0 auto;
}
body .container,
body .container2 {
  display: flex;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  width: 75vw;
  position: relative;
  justify-content: space-evenly;
}
body .container .card,
body .container2 .card {
  position: relative;
}
body .container .card:hover,
body .container2 .card:hover {
  transform: translateY(0);
}
body .container .card .face,
body .container2 .card .face {
  width: 300px;
  height: 200px;
  overflow: hidden;
  transition: 0.5s;
  border-radius: 10px;
}
body .container .card .face .face1,
body .container2 .card .face .face1 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transform: translateY(100px);
}
body .container .card .face .face1 .content,
body .container2 .card .face .face1 .content {
  opacity: 0.2;
  transition: 0.5s;
}
body .container .card .face .face1 .content:hover,
body .container2 .card .face .face1 .content:hover {
  opacity: 1;
}
body .container .card .face .face1 .content img,
body .container2 .card .face .face1 .content img {
  width: 100%;
}
body .face2 {
  position: relative;
  background: #171717;
  padding: 1%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 0 20px 50px #bb1333;
  z-index: -1;
  transform: translateY(-150px);
}
body .face2:hover {
  transform: translateY(0);
}
body .face2 .content {
  margin: 0;
  padding: 0;
}
body .face2 .content h3 {
  font-family: 'Roboto', sans-serif;
  color: white;
  text-align: center;
  margin-top: 10%;
}
body .face2 .content p {
  font-family: 'Poppins', sans-serif;
  padding: 0;
  color: white;
  margin: 3%;
  text-align: center;
}
body .face2 .content a {
  font-family: 'Poppins', sans-serif;
  margin-left: 40%;
  display: inline-block;
  text-decoration: underline overline white;
  font-weight: 900px;
  color: white;
  padding: 5px;
  background: #13131f;
}
@media (max-width: 800px) {
  .container {
    flex-direction: column;
    align-items: center;
    margin-left: 2%;
  }
  .container2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2%;
    margin-right: 1%;
  }
}
@media (max-width: 500px) {
  .container {
    margin-left: 1%;
  }
  .container2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1%;
    margin-right: 20%;
  }
}
