@import 'variables';
@import 'mixins';

@import 'modules/clock';
@import 'modules/greeting';
@import 'modules/quote';
@import 'modules/search';
@import 'modules/credit';
@import 'modules/navbar';
@import 'modules/modal';
@import 'modules/settings';
@import 'modules/toast';
@import 'modules/marketplace';
@import 'modules/checkbox';
@import 'modules/buttons';
@import 'modules/welcome';

body {
    background: #2f3640;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Lexend Deca', sans-serif;
    overflow: hidden;
}

* {
    font-family: 'Lexend Deca' !important;
    outline: none;
}

@font-face {
    font-family: 'Lexend Deca';
    src: url('/./fonts/LexendDeca-Regular.woff2') format('woff2');
}

#center {
    margin-left: 2vw;
    margin-right: 2vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: calc(10px + 2vmin);
    text-align: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
}

::placeholder {
    color: map-get($theme-colours, 'main');
    opacity: 1;
}

#root {
    min-height: 100vh;
    display: grid;
    color: map-get($theme-colours, 'main-text-color');
}

#backgroundImage {
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.fade-in {
    @include animation('fadein 2s');
}

@include keyframes(fadein) {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.backgroundEffects {
    opacity: .7;
    transition: ease 0.6s;
}

#searchEngine {
    width: 130px;
}