@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('reset.css');
@import url('night-sky.css?1');

/* GENERAL */

:root {
    --font: "DM Sans", sans-serif;

    --border-radius: 4px;

    --black: #000;

    --white: rgba(255, 255, 255, 1);
    --white-25: rgba(255, 255, 255, 0.25);

    --blue: rgba(44, 135, 164, 1);
    --blue-50: rgba(44, 135, 164, 0.5);
    --blue-25: rgba(44, 135, 164, 0.25);
    --blue-15: rgba(44, 135, 164, 0.15);
}

html {
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--black);
    overflow-x: hidden;

    color: var(--white);
    font-size: 16px;
    line-height: 20px;
    font-family: var(--font);
    font-weight: 400;
    font-style: normal;
}

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

a:hover {
    text-decoration: underline;
}

strong {
    font-weight: 600;
}

/* LOGO */

#logo {
    position: relative;
    display: flex;
    margin: 36px auto;
}

#logo::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    animation: border25Blink 2s infinite ease-in-out;
    animation-delay: 300ms;
}

#logo::after {
    content: '';
    position: absolute;
    top: -24px;
    left: -24px;
    right: -24px;
    bottom: -24px;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    animation: border15Blink 2s infinite ease-in-out;
    animation-delay: 600ms;
}

#logo img {
    height: 60px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    animation: border50Blink 2s infinite ease-in-out;
}

@media only screen and (max-width: 451px) {
    #logo img {
        height: 36px;
    }
}

@keyframes border50Blink {
    0, 100% {
        border-color: transparent;
    }

    50% {
        border-color: var(--blue-50);
    }
}

@keyframes border25Blink {
    0, 100% {
        border-color: transparent;
    }

    50% {
        border-color: var(--blue-25);
    }
}

@keyframes border15Blink {
    0, 100% {
        border-color: transparent;
    }

    50% {
        border-color: var(--blue-15);
    }
}

/* CONTACT */

#contact {
    position: relative;
    margin: 0 auto;
    padding-left: 30px;
    background: url(../image/mail.svg) no-repeat 6px center;
}

/* PRODUCT */

#products {
    padding: 48px 6px 12px;
    box-sizing: border-box;
}

.shopify-buy__collection-products {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
}

.shopify-buy__product {
    display: flex;
    flex-direction: column;
    width: 300px;
    padding: 12px;
    gap: 12px;
    box-sizing: border-box;
    border-radius: var(--border-radius);
    border: 1px solid var(--white-25);
}

.shopify-buy__product header {
    display: flex;
    position: relative;
}

.shopify-buy__product header img {
    width: 275px;
    height: 275px;
    border-radius: var(--border-radius);
}

.shopify-buy__product header button {
    position: absolute;
    padding: 0;
    width: 64px;
    height: 64px;
    right: 12px;
    bottom: 12px;
    background: var(--white) url(../image/play.svg) no-repeat center;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.shopify-buy__product header button:disabled {
    cursor: default;
}

.shopify-buy__product header button.loading {
    background: var(--blue) url(../image/loading.svg) no-repeat center;
}

.shopify-buy__product header button.playing {
    background: var(--blue) url(../image/pause.svg) no-repeat center;
}

.shopify-buy__product .shopify-buy__btn {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--blue);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    opacity: 0.9;

    color: var(--white);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
}

.shopify-buy__product .shopify-buy__btn:hover {
    opacity: 1;
}

.shopify-buy__product section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--white-25);
    padding-top: 12px;
}

.shopify-buy__product section h2 {
    font-size: 24px;
    line-height: 30px;
}

.shopify-buy__product section .description {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shopify-buy__product section .description p:first-child {
    color: var(--blue);
}