/* FONTS */
@import url("https://fonts.googleapis.com/css2?family=Otomanopee+One&family=Ubuntu&display=swap");

html,
body {
  background-color: #000;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  font-family: "Ubuntu", sans-serif;
}
.info {
  margin: 0 0;
  text-align: center;
}

.audio {
  font-size: medium;
  font-weight: bold;
  text-align: center;
  justify-content: stretch;
}

h4 {
  margin: 2% 2%;
}

body {
  background-image: url("../assets/background.gif");
}

audio {
  margin: 2% 2%;
}

iframe {
  margin: 0 0;
  padding: 0 0;
  height: 210px;
}

body {
  opacity: 0.9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.title {
  width: auto;
  margin: 0;
  opacity: 0.9;
  padding: 0 30%;
  display: inline-block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-position-y: -110px;
  opacity: 0.9;
}

.container {
  display: flex;
  justify-content: space-around;
  align-content: center;
}

.row {
  display: grid;
  grid-column-gap: 50px;
  grid-template-columns: auto auto auto;
}

.student {
  border-width: medium;
}

h2 {
  text-align: center;
}

img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-top: 10px;
}

p {
  margin: 0;
  padding: 0;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  color: azure;
  opacity: 0.7;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

h1 {
  color: white;
  padding: 0;
  font-size: 150%;
  font-weight: bold;
  font-variant: small-caps;
  font-family: "Yusei Magic", sans-serif;
}

canvas {
  width: 10%;
  margin-bottom: 15px;
}

.card {
  display: grid;
  grid-template-columns: 300px;
  grid-template-rows: 210px 210px 80px;
  grid-template-areas: "image" "text" "stats";

  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 0 15px #fefefe, 0 0 20px 10px lightblue;
}

.card-image {
  grid-area: image;
}
.card-text {
  grid-area: text;
}
.card-stats {
  grid-area: stats;
}

.card-image {
  grid-area: image;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-size: cover;
}

.card-text {
  grid-area: text;
  margin: 25px;
}
.card-text .date {
  color: rgb(255, 7, 110);
  font-size: 13px;
}
.card-text p {
  color: grey;
  font-size: 15px;
  font-weight: 300;
}

.card-text h2 {
  margin-top: 0px;
  font-size: 28px;
}

.card-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;

  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  background: lightseagreen;
}

.card-stats .stat {
  display: flex;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  color: white;
  padding: 10px;
}

.card:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px #fefefe, 0 0 20px 10px lightblue;
}
.card {
  transition: 0.2s ease;
  cursor: pointer;
  margin: 30px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 40px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.97);
  }

  30% {
    transform: scale(0.95);
  }

  70% {
    transform: scale(0.97);
  }

  100% {
    transform: scale(.95);
  }
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: lightseagreen;
  color: white;
}

.modal-body {
  padding: 2px 16px;
}

.modal-footer {
  padding: 2px 16px;
  background-color: lightseagreen;
  color: white;
}
