/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
   
/*Fonts?*/
@font-face {
  font-family: HK Grotesk;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
    format("opentype");
}
@font-face {
  font-family: HK Grotesk;
  font-weight: bold;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
    format("opentype");
}

/*General*/
body {
  background-color: #EEEEFF;
  color: black;
  font-family: "HK Grotesk";
  font-size: 100%;
  padding: 20px;
  padding-left: 30px;
}

h1 {
  color: #220055;
  font-family: "HK Grotesk";
  font-style: normal;
  font-weight: bold;
  font-size: 4.785vw; /*70px*/
  line-height: 0%;
  padding-left: 1.025vw; /*15px*/
}

h2 {
  color: #220055;
  font-family: "HK Grotesk";
  font-style: normal;
  font-weight: bold;
  font-size: 1.709vw; /*25px*/
  line-height: 0%;
  padding-top: 0.684vw; /*10px*/
}

p {
  color: black;
  font-family: "HK Grotesk";
  font-size: 1.094vw; /*16px*/
}

/*Spacing*/
.profileHead {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.684vw; /*10px*/
}

.grid {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
  gap: 0.684vw 0.684vw; /*10px*/
}

.showcaseGrid {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
  gap: 0px 0px;
}

.footer {
  display: flex;
  justify-content: space-between;
  margin: 1.094vw auto 0; /*1rem*/
  padding: 1.094vw 0 0.82vw 0; /*1rem 0.075rem*/
  width: 100%;
  flex-wrap: wrap;
  border-top: 0.273vw solid #fff; /*4px*/
}

/*Image specific*/
.avatar {
  width: 6.152vw; /*90px*/
  height: 6.835vw; /*100px*/
  border-radius: 50%;
}
.preview {
  width: 25.017vw; /*366px*/
  height: 14.081vw; /*206px*/
  padding: 0.684vw; /*10px*/
}

.showcase {
  width: 29.187vw; /*427px*/
  height: 16.405vw; /*240px*/
}

/*Zooming in*/
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* 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.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform: scale(0.1)} 
  to {transform: scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

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

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}