@import url('/assets/font/stylesheet.css');

body {
    margin: 0;
    padding: 0;
    font-family: 'Avenir Next Cyr', sans-serif;
    font-size: 18px;
}

body.dark {
    color: #FFF;
    background-color: #000;
}

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

p {
    text-align: center;
}

::-moz-selection {
    color: #FFF;
    background: #000;
}

::selection {
    color: #FFF;
    background: #000;
}

.container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 25vw;
    min-width: 25em;
    margin: 5em 0;
    margin-bottom: 2.5em;
    pointer-events: none;
}

.logo img {
    border-radius: 1em;
}

.heading {
    font-size: 2em;
    font-weight: 500;
    text-align: center;
}

.bolder {
    font-weight: 500;
}

.underline {
    text-decoration: underline;
}

p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.emoji {
    width: 1.5em;
    height: 1.5em;
    margin: 0 0.5em;
    display: inline-flex;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.emoji-cross {
    background-image: url('/assets/emoji/cross.png');
}

.emoji-red-heart {
    background-image: url('/assets/emoji/red-heart.png');
}

.emoji-shopping-cart {
    background-image: url('/assets/emoji/shopping-cart.png');
}

.links {
    padding: 0;
    margin: 1em 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.links-item {
    list-style: none;
}

.links-item.disable img {
    opacity: 0.25;
}

.links-item a {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1em 2.5em;
    background-color: #FFF;
    box-shadow: 0 0 0 transparent;
    border-radius: 1em;
    transition: 0.3s ease-in-out, transform 0.15s ease-in-out;
}

.links-item a:hover {
    box-shadow: 0 0.25em 1em rgba(0, 105, 255, 0.1);
}

.links-item a:active {
    transform: translateY(0.1em);
}

.links-item a img {
    max-width: 100%;
    height: 5em;
}

@media screen and (min-width: 1024px) {
    .links-item:not(:last-of-type) {
        margin-right: 1em;
    }

    .links-item a img {
        width: 10em;
    }
}

@media screen and (max-width: 1024px) {
    .container {
        width: 90%;
    }

    .links {
        flex-direction: column;
    }

    .links-item {
        width: 100%;
    }

    .links-item:not(:last-of-type) {
        margin-bottom: 1em;
    }
}

@media screen and (max-width: 768px) {
    .logo {
        width: 100%;
        min-width: auto;
        margin-top: 5%;
        margin-bottom: 0;
    }

    .heading {
        font-size: 1.5em;
        font-weight: 600;
    }
}