:root {
    --background-color-1: rgb(35, 160, 255);
    --background-color-2: rgb(182, 13, 255);
    --background-color-3: rgb(255, 43, 255);
    --background-color-4: rgb(255, 189, 20);
    --opaque-black: rgba(0, 0, 0, 0.9);
    --light-text-color: white;
    --dark-text-color: black;
    --shadow: 0 2px 5px 0 rgba(255, 255, 255, 0.506),0 2px 10px 0 rgba(255, 255, 255, 0.506);
    --shadow-dark: 0 2px 5px 0 rgba(0, 0, 0, 0.506),0 2px 10px 0 rgba(0, 0, 0, 0.506);
    --svg-color: white;
    --bg: black;
    --blur: 1.5em;
    --fs: clamp(3rem, 8vw, 7rem);
    --ls: clamp(-1.75px, -0.25vw, -3.5px);
}

*,
*::after,
*::before{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: inherit;
}

html {
    font-family: "Montserrat", sans-serif;
    scrollbar-width: none;
}

body{
    margin: 0;
}

.page, .subpage {
    padding: 1rem 2rem 1rem 12.5vw;
}

.page section{
    min-height: 70vh;
}

.subpage section{
  min-height: 82.5vh;
}

.section-heading{
   font-size: xx-large;
   padding-left: 0.5rem;
   position: relative;
   top: 0.5rem;
   border-left: 0.5rem solid var(--bg); 
}

.section-subtitle{
   font-size: large;
   padding-left: 0.5rem;
   position: relative;
   top: 0.5rem;
   border-left: 0.5rem solid var(--bg); 
}

.navbar-container {
    z-index: 10;
    width: 10vw;;
    height: 100%;
    float: left;
    height: 100%;
    position: fixed;
    background-color: var(--opaque-black);
}

.navbar{
    height: 100vh;
    position: relative;
    overflow: hidden;
    color: var(--light-text-color);
}

.navbar-item{
    text-decoration: none;
    color: var(--light-text-color);
    width: auto;
    border: none;
    display: block;
    outline: 0;
}

.active, .footerinfo a:hover{
    border-bottom: 0.2rem solid white;
}

.navbar, .navbar-item{
    padding: 0.5rem 1rem;
}

.navbar-item-container{
    float: left;
    align-items: center;
    position: absolute;
    bottom: 10vh;
}

.header{
    background: var(--bg);
    width: 100%;
    height: 100vh;
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.spline-overlay{
    position: relative;
    z-index: 3;
}

.text-overlay{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: absolute;
    z-index: 2;
    top: 0;
    height: 100%;
    width: 100%
}

.title {
  font-size: var(--fs);
  font-weight: 800;
  letter-spacing: var(--ls);
  position: relative;
  overflow: hidden;
  background: var(--bg);
  margin: 0;
}

.subtitle, .title {
  color: var(--light-text-color)
}

.about-container, .sme-container, .sme-project-duration{
  display: flex;
}

.logos-right{
  width: 50vw;
}

.text-left{
  width: 40vw;
  margin-right: 3vw;
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.logo-container{
  display: flex;
  text-decoration: none;
  background-color: var(--bg);
  color: var(--light-text-color);
  margin: 1rem -2rem 1rem auto;
}

.logo-container img{
  max-width: 10vw;
  background-color: var(--light-text-color);
  margin: 1rem;
  padding: 0.5rem;
  object-fit: scale-down;
  max-height: 23vh;
}

.sme-logo .logo-container img{
  max-width: 30vw;
  padding: 1rem;
}

.logo-container h4{
  margin: auto auto auto 1rem;
}

.sme-list{
  display: flex;
  flex-flow: row wrap;
  background-color: var(--bg);
  padding: 2rem;
}

.sme-item{
  display: flex;
  background-color: var(--light-text-color);
  margin: 0.75%;
  width: 15%;
  text-align: center;
  height: 10rem;
  font-size: 75%;
}

.sme-item{
  background-color: var(--light-text-color);
}

.sme-img, .usecase-img{
  padding: 0.5rem;
  display: block;
  margin: auto;
}

.sme-img{
  object-fit: scale-down;
  width: 66%;
  height: 66%;
}

.sme-link, .usecase-link{
  text-decoration: none;
  color: var(--bg);
}

.usecase-information{
  margin-bottom: 2rem;
}

.usecase-container, .sme-usecase-container {
  flex-shrink: 0;
  margin-right: 3vw;
  border: 0.2rem solid var(--bg);
}

.usecase-container{
  width: 20vw;
  height: 60vh;
}

.sme-usecase-container{
  width: 37vw;
  margin: 0.5rem 0;
}

.sme-item:hover > a > .sme-name, .usecase-container:hover > a > .usecase-title, .sme-usecase-container:hover > a > .usecase-title{
  border-bottom:  0.2rem solid var(--bg); 
}

.usecase-container:hover, .sme-usecase-container:hover{
  box-shadow: var(--shadow-dark);
}

.usecase-container:hover{
  margin-top: -0.3rem;
}

.sme-item:hover, .logo-container.overlay:hover {
  box-shadow: var(--shadow);
}

.sme-item:hover {
  margin-top: -0.1rem;
}

.sme-name, .usecase-title{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.sme-name{
  bottom: 1.5em;
  position: relative;
}

.sme-usecase-container .usecase-title{
  margin-bottom: 0;
}

.usecase-link{
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.usecase-img{
  max-height: 60%;
  max-width: 100%;
}

.slider-container{
  width: 69vw;
  height: 66vh;
  margin: 1rem auto;
  position: relative;
}

.inner-slider-container{
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 1.5vw;
}

.track {
  display: inline-flex;
  height: 100%;
  transition: transform 0.2s ease-in-out;
}

.slider-nav button {
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  outline: none;
  border: 1px solid #000;
  cursor: pointer;
}
.slider-nav .prev {
  left: -30px;
  display: none;
}
.slider-nav .prev.show {
  display: block;
}
.slider-nav .next {
  right: -30px;
}
.slider-nav .next.hide {
  display: none;
}

.contacts{
  width: 85vw;
  display: flex;
  flex-direction: row;
}

.contact-item{
  margin-right: auto;
  border: 0.2rem solid black;
  padding: 0.5rem; 
}

.contact-item-line{
  display: flex;
  flex-direction: row;
}

.contact-item-line i{
  align-self: center;
  margin-right: 1rem;
}

.contact-item-line h4{
  margin: 0.5rem;
}

footer {
    padding-left: 12.5vh;
    background-color: var(--bg);
}

.footerinfo{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footerinfo a{
  text-decoration: none;
  color: var(--light-text-color);
  margin: 1rem;
}

.footerinfo a h4{
  margin: 0.5rem;
}

.sme-project-date{
  margin-right: 1rem;
}

.float-right{
  float: right;
}

.float-right.usecase-img{
  max-width: 45vw;
  max-height: 80vh;
  margin-left: 1rem;
}

.logo-container.overlay{
  background-color: rgba(0,0,0,0.6);
  border: 0.2rem solid var(--light-text-color);
  position: absolute;
  z-index: 2;
  width: 30vw;
  right: 0;
  top: 10vw;
  min-height: 7rem
}

.logo-container.overlay:hover {
  background-color: var(--bg);
}

.main-logo{
  height: 4.5rem;
  margin-top: 1rem;
}

.aurora {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  mix-blend-mode: darken;
  pointer-events: none;
}

.aurora__item {
  overflow: hidden;
  position: absolute;
  width: 60vw;
  height: 60vw;
  background-color: var(--background-color-1);
  border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  filter: blur(var(--blur));
  mix-blend-mode: overlay;
}

.aurora__item:nth-of-type(1) {
  top: -50%;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-1 12s ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(2) {
  background-color: var(--background-color-3);
  right: 0;
  top: 0;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-2 12s ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(3) {
  background-color: var(--background-color-2);
  left: 0;
  bottom: 0;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-3 8s ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(4) {
  background-color: var(--background-color-4);
  right: 0;
  bottom: -50%;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-4 24s ease-in-out infinite alternate;
}

@keyframes aurora-1 {
  0% {
    top: 0;
    right: 0;
  }

  50% {
    top: 100%;
    right: 75%;
  }

  75% {
    top: 100%;
    right: 25%;
  }

  100% {
    top: 0;
    right: 0;
  }
}

@keyframes aurora-2 {
  0% {
    top: -50%;
    left: 0%;
  }

  60% {
    top: 100%;
    left: 75%;
  }

  85% {
    top: 100%;
    left: 25%;
  }

  100% {
    top: -50%;
    left: 0%;
  }
}

@keyframes aurora-3 {
  0% {
    bottom: 0;
    left: 0;
  }

  40% {
    bottom: 100%;
    left: 75%;
  }

  65% {
    bottom: 40%;
    left: 50%;
  }

  100% {
    bottom: 0;
    left: 0;
  }
}

@keyframes aurora-4 {
  0% {
    bottom: -50%;
    right: 0;
  }

  50% {
    bottom: 0%;
    right: 40%;
  }

  90% {
    bottom: 50%;
    right: 25%;
  }

  100% {
    bottom: -50%;
    right: 0;
  }
}

@keyframes aurora-border {
  0% {
    border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  }

  25% {
    border-radius: 47% 29% 39% 49% / 61% 19% 66% 26%;
  }

  50% {
    border-radius: 57% 23% 47% 72% / 63% 17% 66% 33%;
  }

  75% {
    border-radius: 28% 49% 29% 100% / 93% 20% 64% 25%;
  }

  100% {
    border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  }
}

svg-animate>svg{
    margin: 0 auto;
    width: 85%;
}

.animation{
    top: 10vh;
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width:1000px){
	.header{
		height: 50vh;
	}
	.navbar-container{
		display: none;
	}
	.page, .subpage{
		padding-left: 2rem;
	}
	.sme-item{
		width: 23%;
	}
}

@media (max-width:800px){
	.page section{
		min-height: 20vh;
	}
	.header{
		height: 40vh;
	}
	.sme-item{
		width: 31%;
		font-size: 70%
	}
	.about-container,.sme-container{
		display: block;
	}
	.text-left, .logos-right{
		width: 85vw;
	}
	.usecase-container{
		width: 31.5vw;
		height: 35vh;
	}
	.slider-container{
		height: 37vh;
	}
	
}

@media (max-width:660px){
	.sme-item{
		width: 48%;
	}
	.usecase-container{
		width: 66.1vw;
	}
	.contacts{
		flex-direction: column;
	}
}

@media (max-width:440px){
	.header{
		height: 35vh;
	}
	.sme-item{
		width: 100%;
	}
	.text-left, .logos-right{
		width: 80vw;
	}
	.usecase-container{
		height: 30vh;
	}
	.slider-container{
		height: 32vh;
	}
	.slider-nav button{
		top: 24%;
	}
}