:root {
    --dark-color: hsl(var(--hue), 100%, 9%);
    --light-color: hsl(var(--hue), 95%, 98%);
    --base: hsl(220, 95%, 50%);
    --complimentary1: hsl(250, 95%, 50%);
    --complimentary2: hsl(280, 95%, 50%);
    --font-family: "Poppins", system-ui;
    --cochon-orange-1: #fae4a0;
    --cochon-orange-2: #e9b02b;
    --cochon-orange-3: #bb8600;
    --bg-gradient: linear-gradient(to bottom, hsl(var(--hue), 95%, 99%), hsl(var(--hue), 95%, 84%));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    font-family: var(--font-family);
    color: var(--dark-color);
    /*background: var(--bg-gradient);*/
    /*background-color: #383648;*/
    /*background-image: linear-gradient( 122.3deg,  rgba(111,71,133,1) 14.6%, rgba(232,129,166,1) 29.6%, rgba(237,237,183,1) 42.1%, rgba(244,166,215,1) 56.7%, rgba(154,219,232,1) 68.7%, rgba(238,226,159,1) 84.8% );*/
    background-image: url('/img/plume.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.cochon-holder {
    margin-bottom: -100px;
}

.cochon-holder img {
    width: 300px;
    height: 300px;
    margin-top: -15%;
}

.orb-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

strong {
    font-weight: 600;
}

.overlay {
    width: 100%;
    max-width: 1140px;
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.575);
    box-shadow: 0 0.75rem 2rem 0 rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    border: 1px solid #e9b02b;
}

.overlay__inner {
    max-width: 36rem;
}

.overlay__title {
    font-size: 1.875rem;
    line-height: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
}

.text-gradient {
    background-image: linear-gradient(45deg, var(--cochon-orange-3) 35%, var(--cochon-orange-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
}

.overlay__description {
    font-size: 1rem;
    line-height: 1.75rem;
    margin-bottom: 3rem;
}

.overlay__btns {
    width: 100%;
    max-width: 30rem;
    display: flex;
}

.overlay__btn {
    width: 50%;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--light-color);
    background: var(--dark-color);
    border: none;
    border-radius: 0.5rem;
    transition: transform 150ms ease;
    outline-color: hsl(var(--hue), 95%, 50%);
}

.overlay__btn:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.overlay__btn--transparent {
    background: transparent;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
    border-width: 2px;
    margin-right: 0.75rem;
}

.overlay__btn-emoji {
    margin-left: 0.375rem;
}

a {
    outline: 0;
    text-decoration: none;
    color: var(--cochon-orange-3);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

a:focus,
a:hover {
    text-decoration: underline;
}


/* Not too many browser support this yet but it's good to add! */

@media (prefers-contrast: high) {
    .orb-canvas {
        display: none;
    }
}

@media only screen and (max-width: 840px) {
    body {
        padding: 1.5rem;
    }
    .overlay__title {
        font-size: 1.5rem;
        line-height: 2rem;
        margin-bottom: 1.5rem;
    }
    .overlay__description {
        font-size: 0.875rem;
        line-height: 1.5rem;
        margin-bottom: 2.5rem;
    }
}

@media only screen and (max-width: 600px) {
    .overlay {
        padding: 3rem 2rem;
    }
    .overlay__btns {
        flex-wrap: wrap;
    }
    .cochon-holder {
        margin-bottom: -80px;
    }
    .cochon-holder img {
        width: 250px;
        height: 250px;
    }
    .overlay__btn {
        width: 100%;
        font-size: 0.75rem;
        margin-right: 0;
    }
    .overlay__btn:first-child {
        margin-bottom: 1rem;
    }
}

@use postcss-preset-env {
    stage: 0;
}


/* config.css */

:root {
    --baseColor: #000;
}


/* helpers/align.css */

.grid {
    display: flex;
    flex-direction: column;
    max-width: 320px;
}


/* helpers/hidden.css */

.hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}


/* helpers/icon.css */

:root {
    --iconFill: var(--baseColor);
}

.icons {
    display: none;
}

.icon {
    block-size: 1em;
    display: inline-block;
    fill: var(--iconFill);
    inline-size: 1em;
    vertical-align: middle;
}


/* layout/base.css */

:root {
    --htmlFontSize: 100%;
    --bodyBackgroundColor: #c0d4f0;
    --bodyColor: var(--baseColor);
    --bodyFontFamily: "Open Sans";
    --bodyFontFamilyFallback: sans-serif;
    --bodyFontSize: 0.875rem;
    --bodyFontWeight: 400;
    --bodyLineHeight: 1.5;
}

* {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    font-size: var(--htmlFontSize);
}


/* modules/anchor.css */

:root {
    --anchorColor: #eee;
}


/* modules/form.css */

:root {
    --formGap: 0.875rem;
}

input {
    background-image: none;
    border: 0;
    color: inherit;
    font: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    transition: background-color 0.3s;
}

input[type="submit"] {
    cursor: pointer;
}

.form {
    display: flex;
    flex-direction: column;
}

.form input[type="password"],
.form input[type="text"],
.form input[type="submit"],
.login input[type="email"] {
    width: 100%;
}

.form__field {
    display: flex;
    background-color: #ffffff77;
    border-radius: 10px;
    margin: 5px 0;
}

.form__input {
    flex: 1;
}


/* modules/login.css */

:root {
    --loginBorderRadus: 0.25rem;
    --loginColor: #000;
    --loginInputBackgroundColor: #c1d9f9;
    --loginInputHoverBackgroundColor: #434a52;
    --loginLabelBackgroundColor: #363b41;
    --loginSubmitBackgroundColor: #604cea;
    --loginSubmitColor: #fff;
    --loginSubmitHoverBackgroundColor: #0028fd;
}

.login {
    color: var(--loginColor);
}

.login__button {
    background-color: #ffffff77;
    display: block;
    border-radius: 5em;
    font-size: 1.3rem;
    line-height: 3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);
    margin-top: 8px;
}

.login label,
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
    border-radius: var(--loginBorderRadus);
    padding: 1rem;
}

.login label {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    padding-inline: 1.25rem;
}

.login input[type="password"],
.login input[type="text"],
.login input[type="email"] {
    border-radius: 10px;
    border-bottom: 1px solid var(--cochon-orange-1);
    background-color: rgba(255, 255, 255, 0.7);
}


/* modules/text.css */

p {
    margin-top: 1.5rem;
}

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