@font-face {
    font-family: 'Kumbh Sans';
    src: url('/assets/fonts/KumbhSans.ttf') format("truetype");
}

@font-face {
    font-family: 'Akira';
    src: url('/assets/fonts/Akira.otf');
}

body {
    font-family: 'Kumbh Sans', Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
    color: #1d1d1d;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dark {
    background-color: #1d1d1d;
    color: white!important;
}

.dark:hover {
    background-color: #2f2f2fca!important;
}

.colored {
    background-color: #27619c;
    color: white!important;
}

.colored:hover {
    background-color: #153f69!important;
}

.navbar {
    display: flex;
    padding: 0.5rem;
    margin: 0.5rem;
    gap: 0.25rem;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.875rem;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

header {
    margin: 0;
    background-color: white;
    position: fixed;
    width: 100vw;
}

.links {
    margin-left: auto;
    gap: 0.5rem;
    display: flex;
}

.btn, .navbar .wordmark {
    height: 2rem;
    display: flex;
    padding-left: 0.625rem;
    padding-right: 0.625rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #1d1d1d;
    font-weight: 600;
    transition: 400ms cubic-bezier(0.19, 1, 0.22, 1);
    border: none;
}

.btn:hover {
    background-color: #d8d8d89e;
    cursor: pointer;
}

h1, .wordmark {
    font-weight: bold;
}

.wordmark {
    font-family: 'Akira', Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.25rem;
}

article {
    display: flex;
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 1024px;
    flex-direction: column;
}

.hero {
    display: flex;
    flex-direction: row;
    margin-top: 4rem;
    text-align: left;
    height: fit-content;
}

.title {
    margin-left: 4rem;
    margin-top: 16rem;
    margin-bottom: 16rem;
}

.title p, h1 {
    margin: 0;
}

h1 {
    font-size: 2.5rem;
}

p {
    font-size: 1.25rem;
}

form {
    display: flex;
    gap: 0.5rem;
}

.form {
    display: flex;
    flex-direction: column;
    padding-right: 2rem;
    justify-content: center;
    text-align: left;

}

.subscribe img {
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 4rem;
    border-radius: 0.625rem;
    width: 40%;
}

.subscribe {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100vw;
}

.subscribe article {
    flex-direction: row;
}

::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.hr {
    height: 1px;
    border: none;
    background: linear-gradient(
        to right,
        transparent,
        #ccc,
        transparent
    );

    width: 100vw;
    max-width: 1024px;
    margin-bottom: 4rem;
}

.product {
    width: 20rem;
    background: transparent;
}

#subscriptions {
    background-color: #1d1d1d;
    color: white!important;
    display: flex;
    padding-left: 0.625rem;
    padding: 0.625rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
}

#submit {
    font-size: 1rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    padding-left: 1rem;
    padding-right: 1rem;
    height: auto;
}

#email {
    text-align: center;
    border-radius: 0.5rem;
    min-width: 12rem;
    background-color: #1d1d1d;
    color: white;
    font-size: 1rem;
    font-family: 'Kumbh Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 600;
    border: none!important;
    outline: none!important;
    padding: 0.625rem;
}

.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.buttons .btn {
    padding-right: 2rem;
    padding-left: 2rem;
}

.fade {
    background: url(/assets/gradient.svg);
    width: 100vw;
    height: 6rem;
    background-size: contain;
    background-repeat: repeat-x;
    margin-top: 2rem;
}

dialog {
    z-index: 100;
    position: fixed;
    top: 50%;
    bottom: 50%;
    max-width: 512px;
    border: none;
    border-radius: 0.5rem;
    filter: drop-shadow(0px 0px 8px #00000022);
    padding: 2rem;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.downloads {
    width: 100%;
    max-width: 512px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.firmware {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 512px;
    padding: 1rem;
}

.firmware .btn {
    width: 50%!important;
}

#downloads {
    width: 100vw;
    background-color: #1d1d1d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-top: 2rem;
    flex-direction: column;
}

.clickables {
    display: flex;
    width: 100%;
    max-width: 1024px;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

#downloads h1 {
    font-family: 'Akira', Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.25rem;
    color: white;
}