@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* HAWK */
    --main-bg-color: #2F2ABF;
}

body{
  font-family: "Fira Sans", sans-serif;
  color: #0E0D39;
}



body * {
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
}

body *::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.wrapper{
  display: grid;
  grid-template-columns: 400px 1fr;
  grid-template-rows: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}



aside{
  border-right: 1px solid #eee;
  padding: 2.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}

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

.top-auto{
  margin-top: auto;
}

/* Size of logo on login page */
img{
  width: 120px;
/* width: 100%; */
  margin: 2rem auto;
}

p, li{
  line-height: 1.5;
}

label{
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
  font-weight: 600;
  font-size: 0.9rem;
}

input{
  padding: 1rem;
  border: 1px solid #eee;
  outline: none;
  font-size: 1rem;
}

input:focus{
  border-color: var(--main-bg-color);
}

a{
  color: var(--main-bg-color);
  text-decoration: none;
  margin-top: 0.5rem;
}

button{
  align-self: flex-end;
  width: max-content;
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--main-bg-color);
  color: #fff;
  border: 0;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  font-size: 1rem;
}

main{
  display: block;
  width: auto;
  padding: 10vmin;
  overflow-y: scroll;
  position: relative;
}

main > *{
  max-width: 60ch;
}

video{
  width: 100%;
  background: #eee;
}

small{
  font-weight: 300;
  font-size: 1rem;
}

strong{
  font-weight: 700;
}

ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

li{
  display: grid;
  grid-template-columns: 12ch 1fr;
  gap: 1rem;
}

.video-button{
  width: 200px;
  height: 76px;
  border: 0px solid;
  overflow: hidden;
  border-radius: 4rem;
  position: relative;
  box-shadow: 0 0 1.5rem rgba(0,0,0,0.1);
  margin: 2rem 0;
  transition: all 0.2s ease;
  cursor: pointer;
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  transform: translate(200%);
}

.video-button video{
  border-radius: 4rem;
  width: inherit;
  height: inherit;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.video-button svg{
  position: absolute;
  width: 50px;
  height: 50px;
  top: 13px;
  left: 13px;
  fill: var(--main-bg-color);
  opacity: 0.75;
  transition: all 0.25s ease;
}

.video-button:hover{
  box-shadow: 0 0 0.5rem rgba(0,0,0,0.2);
}

.video-button:hover svg{
  opacity: 1;
}



.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
}

.modal-content {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #fff;
    margin: auto;
    width: 80%;
    aspect-ratio: 16/9;
  max-width: 800px;
}

.modal-content video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.close {
    color: #aaaaaa;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    top: 1rem;
    right: 1rem;
  position: absolute;
}

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

.image_preview_container {
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1.0) 0, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1.0) 0, transparent 100%);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  opacity: 0.5;
  z-index: -1;
  background: #d1b8eb;
}
.image_preview {
  background-image: url("https://ai.hawk.de/background.png");
  width: 1200px;
  height: 1200px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-animation:spin 180s linear infinite;
    -moz-animation:spin 180s linear infinite;
    animation:spin 180s linear infinite;
  
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

@media(max-width: 1000px){
  .image_preview_container{
    display: none;
  }
}

@media(max-width: 800px){
  .wrapper{
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: max-content max-content;
    overflow-y: auto;
  }
  aside{
    padding: 10vmin;
  }
  main{
    padding: 10vmin 10vmin 50vmin;
  }
}

input:disabled {
  border-color: #88f0b6;
  background: #88f0b6;
  color: #1c5d1b;
}