@font-face {
    font-family: "Montserrat";
    src:
        local('Montserrat-Regular'),
        url("./assets/font/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src:
        local('Montserrat-Bold'),
        url("./assets/font/Montserrat-Bold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

:root {
    --background-color: white;
    --card-color: white;
    --font-color: #000E1F;
    --fill-effect-color: rgba(76, 82, 89, .1);
    --border-color: rgb(76, 82, 89);
    --divider-background: rgba(0, 0, 0, .1);
    --card-margin: 2.5rem;
    --card-max-width: 400px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background-color: rgb(76, 82, 89);
        --card-color: #21262b;
        --font-color: rgb(215, 215, 213);
        --fill-effect-color: rgba(76, 82, 89, 1);
        --divider-background: rgba(255, 255, 255, .1);
    }
}

*,
*::after,
*::before {
    font-family: 'Montserrat', sans-serif, 'Segoe UI';
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: var(--font-color);
    list-style-type: none;
}

h3 {
    font-weight: 400;
    font-size: .9rem;
}

html,
body {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background-color);
}

.card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    box-shadow: 0 0 22px -8px rgba(0, 0, 0, 1);
    background-color: var(--card-color);
    padding: 1rem;
    width: calc(100vw - var(--card-margin));
    max-width: var(--card-max-width);
}

.default-pointer {
    cursor: default;
}

.content {
    padding-top: .5rem;
}

.divider {
    margin: 0 1.5rem .5rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid var(--divider-background);
    
}

li.divider {
    margin: .8rem 1.2rem;
    width: auto
}

.header {
    margin: .5rem 1rem 1rem 1rem;
    display: flex;
    justify-content: space-between;
}

.header>.heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: .2rem;
}

.header>.heading>div {
    margin-left: 3rem;
}


.logo {
    width: 80px;
}

.social-links {
    margin-top: 1rem;
}

.content .heading {
    text-align: center;
}

.link,
li {
    width: 100%;
    margin: .5rem 0;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.link[disabled] {
    pointer-events: none;
    opacity: .6;
    transition: opacity 1s;
}

.link[disabled]::after {
    left: 100% !important;
}

.no-lock {
    pointer-events: all;
    opacity: 1;
}

.link {
    padding: .5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.link::after {
    content: "";
    padding-left: 27%;
    background-color: var(--fill-effect-color);
    clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
    position: absolute;
    height: 100%;
    width: 100%;
    left: 100%;
    z-index: -1;

    transition: ease-in-out .5s;
}

li:hover .link::after {
    left: 50%;
}

.label {
    padding-left: 1rem;
}

img {
    aspect-ratio: 1/1;
    width: 40px;
}

.hidden {
    display: none;
}

.toast {
    width: calc(400px - 2.5rem);
    text-align: center;
    max-width: 80%;
    padding: 1rem;
    background-color: var(--card-color);
    box-shadow: 0 0 22px -8px rgba(0, 0, 0, 1);
    border-radius: 1rem;
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
    transition: bottom 1.5s ease-in-out 10ms;
}

.toast-active {
    bottom: 85%
}

.slider {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
}

.slider>* {
    min-width: 100%;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 320px) {
    h3 {
        font-size: .9rem;
    }

    h1 {
        font-size: 1.4rem;
    }

    .header > .heading > div {
        font-size: .8rem;
        margin-left: 1rem;
    }

    .logo {
        height: 60px;
    }

    h2 {
        font-size: 1rem;
    }

    * {
        font-size: .95rem;
    }

}