/* @import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap'); */
*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Ubuntu', sans-serif;
  
}
:root 
{
  --black: #bababa;
  --white: rgb(8, 0, 0);
  --red: #f83038;
}

/* .main
{
  position: relative;
  min-height: 100vh;
  background: linear-gradient(#1c1c1c,#323232);
  padding: 30px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.main::before 
{
  content: 'Alf Hustedt';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 10vw;
  font-weight: 500;
  color: rgba(255,255,255,0.05);
} */
header
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo
{
  max-width: 80px;
}
.navigation
{
  display: flex;
}
.navigation li 
{
  list-style: none;
}
.navigation li a 
{
  position: relative;
  color: var(--white);
  margin-left: 40px;
  text-decoration: none;
  transition: 0.25s;
}
.navigation li a:hover 
{
  color: var(--red);
}
.content
{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 100px;
  z-index: 1;
}
.content h2
{
  font-size: 5em;
  font-weight: 300;
  color: var(--white);
  text-align: center;
}
.content h2 span
{
  font-weight: 700;
}
.btn
{
  display: inline-block;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 16px 36px;
  margin-top: 20px;
  border-radius: 50px;
  font-size: 1.25em;
  transition: 0.25s;
}
.btn:hover 
{
  letter-spacing: 4px;
}
.bike 
{
  max-width: 80%;
}
.footer
{
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 30px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sci
{
  display: flex;
}
.sci li 
{
  list-style: none;
}
.sci li a 
{
  color: var(--white);
  font-size: 2em;
  margin-right: 20px;
  transition: 0.25s;
}
.sci li a:hover 
{
  color: var(--red);
}
.dots
{
  display: flex;
}
.dots .dot 
{
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  margin-left: 10px;
}
.dots .dot.active 
{
  background: var(--white);
}
.slider .slides 
{
  position: absolute;
  top: 60%;
  left: 0;
  transform: translateY(-50%);
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 100px;
  transition: 0.25s;
  opacity: 0;
  pointer-events: none;
}
.slider .slides.active
{
  opacity: 1;
  top: 50%;
}
.slider .slides h2
{
  color: var(--white);
  font-size: 3em;
}
.slider .slides h2:last-child
{
  text-align: end;
}
.slider .slides h2 span 
{
  color: var(--red);
  font-size: 0.5em;
  font-weight: 400;
  font-style: italic;
}


 /* Now, Make it Responsive */
 @media (max-width: 991px)
 {
  .main
  {
    padding: 40px;
  }
  header
  {
    padding: 20px 40px;
  }

  .slider
  {
    position: relative;
    width: 100%;
    height: 180px;
  }
  .slider .slides
  {
    position: absolute;
    top: 50%;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .slider .slides h2
  {
    font-size: 2.5em;
    text-align: center;
  }
  .slider .slides h2:last-child
  {
    text-align: center;
  }
  .bike
  {
    max-width: 100%;
    margin-top: 30px;
  }
  .footer
  {
    position: relative;
    margin-top: 50px;
    flex-direction: column-reverse;
    padding: 0 40px;
  }
  .sci
  {
    margin-top: 40px;
  }
  .content h2
  {
    font-size: 3em;
  }

  .toggle
  {
    position: relative;
    width: 32px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
  }
  .toggle.active 
  {
    position: fixed;
    top: 30px;
    right: 40px;
  }
  .toggle::before
  {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--white);
    transform: translateY(-10px);
    transition: 0.25s;
    box-shadow: 0 10px 0 var(--white);
  }
  .toggle.active::before
  {
    transform: translateY(0) rotate(45deg);
    box-shadow: 0 0 0 var(--white);
  }
  .toggle::after
  {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--white);
    transform: translateY(10px);
    transition: 0.25s;
  }
  .toggle.active::after
  {
    transform: translateY(0) rotate(-45deg);
  }

  .navigation
  {
    display: none;
  }
  .navigation.active
  {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index:  999;
    background: var(--black);
  }
  .navigation li a
  {
    font-size: 1.5em;
    margin: 10px 0;
    display: inline-block;
  }
}