* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: blue;
  margin: 4px 0;
}

.bgi {
  background: url(../img/law.jpg) center center no-repeat;
  background-size: 100%;
  height: 100vh;
}

h2 {
  margin: 10px 0;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #000;
  height: 60px;
  color: #fff;
}

main {
  width: 80vw;
  margin: 50px auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: space-between;
}

.classes {
  width: 28%;
  background-color: rgba(36, 36, 36, 0.8);
  box-shadow: 0 0 16px -6px #fff;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  height: 100%;
  color: #fff;
}

.classes a {
  transition: .1s;
  color: #fff;
}


.classes a:hover {
  color: rgb(88, 166, 255);
}

.testpage {
  display: flex;
  justify-content: center;
}

.links {
  width: 70vw;
  height: 80px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(26, 26, 26, 0.6);
}

.links a {
  margin: 0 10px;
  color: #000;
  font-size: 24px;
}

.pictures {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: #000;
}

.testpage {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

.links a {
  color: #fff;
}