@font-face {
  font-family: "Ubuntu-Regular";
  src: url("Ubuntu/Ubuntu-Regular.ttf");
}

html,
body {
  margin: 0 auto;
  height: 100vh;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-repeat: no-repeat;
  
}

video {
  width: 30vw;
  height: 30vh;
}

.header h1 {
  font-size: 5vh;
}

.header {
  padding: 3vw;
  margin-bottom: 2vw;
  text-align: center;
  background-color: #333;
  animation: text 30s infinite;
}

@keyframes text {
  0%, 100% {
    color: #1e90ff;
 }
  25% {
    color: #6beeff;
 }
  50% {
    color: #ffadc8;
 }
  75% {
    color: #f41d93;
 }
}


@keyframes bg {
  0%, 100% {
    background-color: #1e90ff;
 }
  25% {
    background-color: #6beeff;
 }
  50% {
    background-color: #ffadc8;
 }
  75% {
    background-color: #f41d93;
 }
}

pre {
  padding: 0;
  margin: 0;
}

.load {
  margin: 0 auto;
  min-height: 100vh;
  width: 100%;
  background: black;
}

.term {
  font-family: monospace;
  color: #fff;
  opacity: 0.8;
  font-size: 2em;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 10px;
  padding-left: 20px;
}

.term:after {
  content: "_";
  opacity: 1;
  animation: cursor 1s infinite;
}

@keyframes cursor {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


canvas {
  width: 100vw;
  height: 100vh;
  
}

#mainSite {
  font-family: "Ubuntu-Regular";
  background: radial-gradient(circle at bottom, #fff, transparent 80%), linear-gradient(to top, dodgerblue 0%, transparent 70%), linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4) 70%), #1e90ff;
  animation: bg 30s infinite;
  min-height: 100vh;
}

.belowHeader {
  padding-left: 3vh;
}

.classes{
  position: relative;
  display: flex;
  justify-content:space-around;
}

.classes .card{
  position: relative;
  cursor: pointer;
  align-items: center;
}

.classes .content {
  align-items: center;
  text-align: center;
}

.classes .card .face{
  width: 30vw;
  height: 30vh;
  transition: 0.5s;
  border-radius: 25px;
}

.classes .card .faceRich{
  width: 30vw;
  height: 60vh;
  transition: 0.5s;
  border-radius: 25px;
}

.classes .card .face.face1{
  position: relative;
  background: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
  transform: translateY(15vh);
}

.classes .card:hover .face.face1{
  background: #ff0057;
  transform: translateY(0);
  border-end-end-radius: 0px;
  border-bottom-left-radius: 0px;
}

.classes .card .face.face1 .content{
  opacity: 0.2;
  transition: 0.5s;
}

.classes .card:hover .face.face1 .content{
  opacity: 1;
}

.classes .card .face.face1 .content img{
  max-width: 100px;
  min-width: 100px;
  margin:0;
}

.classes .card .face.face1 .content h3{
  margin: 10px 0 0;
  padding: 0;
  color: rgb(255, 255, 255);
  text-align: center;
  font-size: 1.5em;
}

.classes .card .face.face2{
  position: relative;
  background: rgb(148, 191, 255);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2vw;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: translateY(-15vh);
  
}

.classes .card:hover .face.face2{
  transform: translateY(0);
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.classes .card .face.face2 .content p{
  margin: 0;
  padding: 0;
}

.classes .card .face.face2 .content a{
  margin: 15px 0 0;
  display: inline-block;
  text-decoration: none;
  font-weight: 900;
  color: #333;
  padding: 5px;
  border: 1px solid #333;
}

.classes .card .face.face2 .content a:hover{
  background: #333;
  color: rgb(148, 191, 255);
}

