@font-face {
  font-family: "viktor";
  src: url(fonts/VictorSerif-Regular.otf);
  font-weight: 400;
}
@font-face {
  font-family: "viktor";
  src: url(fonts/VictorSerif-Medium.otf);
  font-weight: 500;
}

* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  background-color: rgb(15, 15, 15);
  color: white;
  font-family: "viktor";
}

*::-webkit-scrollbar {
  width: 12px; /* Mostly for vertical scrollbars */
  height: 12px; /* Mostly for horizontal scrollbars */
}
*::-webkit-scrollbar-thumb { 
  background: white;
  /* border-radius: 5px; */
}
*::-webkit-scrollbar-track {
  background: "black";
}
*::-webkit-scrollbar-corner {
  background: "black";
}

header {
  position: sticky;
  width: 100vw;
  height: 60px;
  top: 0;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 100px;
  border-bottom: 1px solid white;
  z-index: 1;
  user-select: none;
}

.filler {
  flex-grow: 1;
}

.logo {
  font-family: "viktor";
  font-size: 2rem;
  cursor: pointer;
}

.unibobersity {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  top: 50px;
}

.unibobersity img {
  width: 220px;
}

.light {
  font-style: italic;
  font-size: 1.5rem;
}

h1 {
  font-size: 3rem;
  font-weight: 400;
}

h2 {
  font-weight: 100;
}

.heading {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 150px 0 50px;
  width: 100%;
  text-align: center;
}

#main-heading {
  width: 400px;
}

.web-grid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

.hidden {
  display: none!important;
}

a {
  color: inherit;
  text-decoration: none;
}
.web-grid {
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  justify-content: center;
  align-content: center;
  gap: 100px;
}

.web-column {
  display: flex;
  flex-direction: column;
}

.web-column:first-child {
  margin-top: 25vh!important;
}

.web-wrapper {
  position: relative;
  display: flex;  
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  /* height: max-content;
  width: max-content; */
  transform: scale(0.5);
  margin-top: calc(-50vh + 100px);
  overflow: hidden;
  background-color: white;
}

.web-wrapper.full-width {
  transform: none;
  margin: 0;
}

iframe {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  /* transform: scale(0.3); */
}

button {
  border: 2px solid white;
  padding: 10px 20px;
  color: white;
  background-color: black;
  text-align: center;
  width: 100px;
}

button:hover {
  background-color: white;
  color: black;
}

.website-info-bar {
  position: absolute;
  left: 0;
  bottom: -200px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: auto;
  padding: 20px 40px 20px;
  font-size: 2.4rem;
  font-family: monospace;
  background-color: black;
}

.web-wrapper:hover .website-info-bar {
  bottom: 0;
}

.full-screen {
  position: absolute;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background-color: black;
}

.loader {
  animation-name: spin;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-play-state: running;
  animation-timing-function: linear;
}

.fullscreen-icon {
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.fullscreen-icon:hover {
  filter: invert();
}

#lightbox {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 10;
}

.iframe-loading-screen {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
}

#lightbox .website-name, #lightbox .author-name {
  filter: opacity(0);
}
#lightbox .website-info-bar {
  background-color: transparent;
  pointer-events: none;
}
#lightbox .fullscreen-icon {
  pointer-events: all!important;
}

.hamburger {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  padding: 10px 15px;
  /* border-radius: 5px; */
  width: 60px;
  height: 100%;
  cursor: pointer;
}

.hamburger:hover {
  background-color: white;
}

.hamburger:hover > * {
  background-color: black;
}

.bar {
  width: 100%;
  height: 2px;
  background-color: white;
  border-radius: 1px;
}

.filler {
  flex-grow: 1;
}

@keyframes spin {
  0% {transform: rotate(0deg)}
  100% {transform: rotate(360deg)}
}

@media screen and (max-width: 900px) {
  header {
    padding: 0 20px;
  }
  iframe {
    width: 90vmin;
    height: 60vmin;
  }
  .web-wrapper {
    width: 90vmin;
    height: 60vmin;    
    transform: scale(0.95);
    margin-top: calc(-5vh + 100px);
  }
}