﻿@import url("/assets/fonts/helvetica/stylesheet.css");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Now Display";
}

html, body {
  height: 100%;
}

body {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  background-color: #FCFCFC;
}

button, a {
  background-color: transparent;
  border: none;
  color: currentColor;
  text-decoration: none;
  width: fit-content;
}

.btn, .btn_2, #index > .hero > .content .footer > a, .btn_1, #index > .hero > .slider > .slider_buttons button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: 0.15s all !important;
  border-radius: 0.5rem;
  cursor: pointer;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.btn_1, #index > .hero > .slider > .slider_buttons button {
  background-color: #E3E3E3;
}
.btn_1:hover, #index > .hero > .slider > .slider_buttons button:hover {
  background-color: #D9D9D9;
}

.btn_2, #index > .hero > .content .footer > a {
  background-color: #2B2B2B;
  color: #E3E3E3;
}
.btn_2:hover, #index > .hero > .content .footer > a:hover {
  background-color: #333333;
}

[data-i] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
}
[data-i] svg {
  fill: currentColor;
}

nav {
  height: 3.5rem;
  width: calc(100% - 1rem);
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  background-color: #E3E3E3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  padding-right: 3rem;
  z-index: 3;
  border-radius: 0.5rem;
  box-shadow: 0 0 2px #D9D9D9, 0 0 30px #E3E3E3;
}
nav a {
  text-decoration: none;
}
nav > .brand {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
nav > .brand svg {
  height: 100%;
}
nav > .brand span {
  font-size: 1.2rem;
  font-weight: 600;
}
nav > .links {
  display: flex;
  align-items: center;
  gap: 3rem;
}
nav > .links a {
  font-weight: 600;
}
nav > .links a i {
  stroke: currentColor;
  stroke-width: 0.5px;
}
@media (max-width: 768px) {
  nav {
    padding: 1.1rem 0.5rem;
    padding-right: 1rem;
  }
  nav .brand {
    gap: 0.75rem;
    align-items: flex-start;
  }
  nav .brand > span {
    font-size: 1rem;
  }
  nav .links {
    font-size: 0.9rem;
    gap: 0.75rem;
  }
  nav .links a:has(i) {
    margin-left: 1rem;
  }
}

body:has(nav) {
  padding-top: 4rem;
}

footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
main {
  padding: 0.5rem 0;
  min-height: 200vh;
}

#index {
  display: flex;
  flex-direction: column;
}
#index > .hero {
  width: 100%;
  display: flex;
  gap: 1rem;
}
#index > .hero > .slider {
  position: relative;
  width: 50%;
}
#index > .hero > .slider > .slider_show_container {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  /*
  &:before {
      content: "";
      width: 1rem;
      height: 10rem;
      background-color: transparent;
      pointer-events: none;
      position: absolute;
      left: 0rem;
      top: calc(100% - 2rem);
      z-index: 1;
      border-top-left-radius: $br;
      box-shadow: 0 (-$br) 0 0 #fff;
  }*/
}
#index > .hero > .slider > .slider_show_container img {
  width: 100%;
  height: 100%;
  scale: 1.2;
}
#index > .hero > .slider > .slider_buttons {
  width: 10rem;
  height: 4rem;
  background-color: #FCFCFC;
  position: absolute;
  right: 2rem;
  bottom: 0;
  z-index: 2;
  padding: 0.5rem;
  border-top-left-radius: 2.5rem;
  border-top-right-radius: 2.5rem;
  display: flex;
  gap: 0.5rem;
  padding-bottom: 0;
  /*padding-right: 0;*/
  /* &:before {
      @extend.curve;
      height: $br * 1.5;
      background-color: $c1;
      rotate: 180deg;
      left: calc(100% - .75rem);
      top: -.75rem;
      -webkit-mask: radial-gradient(circle ($br * 1.6) at right bottom, transparent 99%, black 100%);
      mask: radial-gradient(circle ($br * 1.6) at right bottom, transparent 99%, black 100%);
  }*/
}
#index > .hero > .slider > .slider_buttons button {
  width: 50%;
  color: #494949;
  padding-top: 0.15rem;
}
#index > .hero > .slider > .slider_buttons button:nth-child(1) {
  border-top-left-radius: 2.125rem;
  padding-left: 0.35rem;
}
#index > .hero > .slider > .slider_buttons button:nth-child(2) {
  border-top-right-radius: 2.125rem;
  padding-right: 0.35rem;
}
#index > .hero > .slider > .slider_buttons:before {
  height: 0.75rem;
  background-color: #FCFCFC;
  rotate: 270deg;
  left: 100%;
  bottom: 0rem;
  -webkit-mask: radial-gradient(circle 0.85rem at right bottom, transparent 99%, black 100%);
  mask: radial-gradient(circle 0.85rem at right bottom, transparent 99%, black 100%);
}
#index > .hero > .slider > .slider_buttons:after {
  height: 0.8rem;
  background-color: #FCFCFC;
  rotate: 180deg;
  right: calc(100% - 1px);
  bottom: -1px;
  -webkit-mask: radial-gradient(circle 0.85rem at right bottom, transparent 99%, black 100%);
  mask: radial-gradient(circle 0.85rem at right bottom, transparent 99%, black 100%);
}
#index > .hero > .content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}
#index > .hero > .content p {
  font-size: 0.9rem;
  padding-right: 30%;
}
#index > .hero > .content ul {
  list-style: none;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#index > .hero > .content ul li span:first-child {
  color: #494949;
}
#index > .hero > .content .footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
#index > .hero > .content .footer > span:first-child {
  color: #E44B4B;
  font-weight: 600;
  font-size: 0.9rem;
}
#index > .hero > .content .footer > a {
  padding: 0.75rem 2rem;
}
#index > .hero > .content .footer > a * {
  stroke: #E3E3E3;
  stroke-width: 0.5px;
}
@media (max-width: 768px) {
  #index > .hero {
    flex-direction: column;
  }
  #index > .hero > .slider {
    width: 100%;
  }
  #index > .hero > .slider > .slider_buttons {
    width: 7rem;
    height: 3rem;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    right: -0.5rem;
    border-top-right-radius: 0;
  }
  #index > .hero > .slider > .slider_buttons:before {
    height: 0.8rem;
    left: unset;
    right: calc(0.5rem - 1px);
    bottom: calc(100% - 1px);
    rotate: 180deg;
  }
  #index > .hero > .slider > .slider_buttons button {
    font-size: 0.75rem;
  }
  #index > .hero > .slider > .slider_buttons button:nth-child(1) {
    border-top-left-radius: 1.125rem;
    padding-left: 0;
  }
  #index > .hero > .slider > .slider_buttons button:nth-child(2) {
    border-top-right-radius: 1.125rem;
    padding-right: 0;
  }
  #index > .hero > .content {
    flex-direction: row;
    flex-wrap: wrap;
  }
  #index > .hero > .content > h1 {
    width: 100%;
  }
  #index > .hero > .content > p {
    padding-right: 3rem;
    width: 100%;
    font-size: 0.8rem;
  }
  #index > .hero > .content > ul {
    width: 45%;
    font-size: 0.8rem;
  }
  #index > .hero > .content > .footer {
    width: 50%;
    align-items: flex-end;
    justify-content: flex-end;
  }
  #index > .hero > .content > .footer > span:first-child {
    font-size: 0.8rem;
  }
  #index > .hero > .content > .footer > a {
    font-size: 0.9rem;
  }
}

.curve, #index > .hero > .slider > .slider_buttons:before, #index > .hero > .slider > .slider_buttons:after {
  content: "";
  aspect-ratio: 1/1;
  position: absolute;
  transform-origin: center;
}

/*
.curved-container:after {
    content: '';
    background: transparent;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 0;
    bottom: 100%;
    border-radius: 50%;
    box-shadow: 25px 25px white;
}

.curved-container:before {
    content: '';
    background: transparent;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 0;
    bottom: 100%;
    border-radius: 50%;
    box-shadow: 25px 25px white;
}*/
