@import url("./tailwindcss-preflight.css");

@import url("./variables.css");
@import url("./layout.css");

@import url("./components/Alert.css");
@import url("./components/Button.css");
@import url("./components/Checkbox.css");
@import url("./components/FormError.css");
@import url("./components/FormGroup.css");
@import url("./components/Input.css");
@import url("./components/Label.css");
@import url("./components/Radio.css");
@import url("./components/Select.css");
@import url("./components/Table.css");
@import url("./components/Modal.css");

/* Soehne */
@font-face {
    font-display: fallback;
    font-family: "Soehne";
    font-stretch: normal;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/soehne-web-buch.woff2") format("woff2");
}

@font-face {
    font-display: fallback;
    font-family: "Soehne";
    font-stretch: normal;
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/soehne-web-halbfett.woff2") format("woff2");
}

@font-face {
    font-display: fallback;
    font-family: "Tiempos";
    font-stretch: normal;
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/tiempos-headline-medium.woff2") format("woff2");
}

/* Global */

html {
    font-size: 1rem;
}

body {
    color: var(--text-color);
    font-family: var(--font-family-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:active,
a:hover {
    color: var(--link-color-active);
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* Utils */

.sr-only {
    border-width: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Header */

.Navbar {
    align-items: center;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 4rem;
}

@media (min-width: 768px) {
    .Navbar {
        min-height: 5rem;
    }
}

.Logo::before {
    background-image: url("../img/logo.svg");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    content: "";
    display: block;
    height: 1.5rem;
    width: 14rem;
}

.Logo .Advisers {
    margin-top: 0.5rem;
    font-family: var(--font-family-headline);
    font-size: 0.625rem;
    letter-spacing: 0.5rem;
    text-align: center;
    text-transform: uppercase;
    padding-left: 0.5rem;
    color: var(--color-mostly-black);
}
