/* Fonts - Grandstander & Sansista Swashed */
@import url('https://fonts.googleapis.com/css2?family=Grandstander:ital,wght@0,100..900;1,100..900&family=Sansita+Swashed:wght@300..900&display=swap');


/* CSS Resets */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* For all pages */
:root {
    --background1: #FFAD84;
    --background2: #ffea8a;
    --button: #f88a9c;
    --buttonHover: #ffa9b9;
    --defaultText: #000;
    --descriptionTextShadow: #99937e;
    --Container: #ffe17d;
    --linksColor: #ffffff;
    --linksHover: #fa788d;
}

html {
    background: linear-gradient(to right, var(--background1), var(--background2));
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    scroll-behavior: smooth;
}

body {
    background: url(./Images/transparent-gif-glitter-3.png);
    font-family: 'Grandstander', Courier, monospace;
    min-width: 320px;

    display: flex;
    justify-content: center;
}

main {
    padding: 25px;
    animation: fadeIn 0.7s ease-in;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#headerBtns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 10px;
    margin: 1vh auto 60px;
}

.btn {
    background-color: var(--button);
    color: var(--linksColor);
    font-size: 19px;

    padding: 7px 15px;

    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

    transition: var(--buttons) ease-in-out 0.3s;
}

.btn:hover {
    background: var(--buttonHover);
    transform: scale(1.05);
    transition: ease-in 0.3s;
}

#footer {
    text-align: center;
    font-size: 1.1rem;
}

#social-links--container {
    justify-content: space-evenly;
    width: 280px;
    margin: 20px auto;
}

.social--icon {
    width: 30px;
}

.social--icon:hover {
    transform: scale(1.08);
    transition: 0.3s ease;
}

.flex {
    display: flex;
}

.column {
    flex-direction: column;
    align-items: center;
}

.row {
    flex-direction: row;
}

/* Multi-page CSS */
.information--avatar {
    max-width: 60%;
    margin-bottom: 24px;
    cursor: pointer;
}

@media screen and (width >=520px) {
    .information--avatar {
        width: 430px;
    }
}

.information--avatar:hover {
    animation: nod 1.5s linear;
}

@keyframes nod {
    20% {
        transform: rotate(-5deg);
    }

    40% {
        transform: rotate(0deg);
    }

    60% {
        transform: rotate(5deg);
    }

    80% {
        transform: rotate(0deg);
    }
}

#aboutMe,
.order--details,
#copyright,
#tosContainer {
    background: var(--Container);

    font-size: 1.2rem;
    max-width: 650px;

    margin: 0 auto 20px auto;
    padding: 20px 15px 20px 15px;

    border-radius: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

    text-align: center;
    list-style-position: inside
}

.information {
    font-family: 'Sansita Swashed', Courier, monospace;
    text-align: center;
    text-shadow: 3px 2px var(--descriptionTextShadow);
    margin-bottom: 20px;
}

.title {
    font-size: 3rem;
}

.description {
    font-size: 1.7rem;
}

hr {
    width: 200px;
    margin: 50px auto;
    border-top: 9px dotted var(--button);
    border-bottom: none;
}

@media screen and (width >=440px) {

    #aboutMe,
    .order--details p,
    #copyright,
    #tosContainer {
        text-align: justify;
    }
}


/* About Page */
#aboutMe p {
    max-width: 80%;
}

.textover .gotmoxie--caption {
    font-family: 'Grandstander';
    text-align: center;
    font-size: 1rem;

    max-width: 70%;

    background-color: white;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    opacity: 0.9;
    margin: 0 auto;
    padding-top: 5px;

    position: relative;
    top: 20px;
}

.textover {
    margin-top: 25px;
}

@media screen and (width <=480px) {
    .textover .gotmoxie--caption {
        font-size: 0.8rem;
    }
}

.moxie--img {
    max-width: 70%;
    margin: 0 auto;

    pointer-events: none;
    border-radius: 5px;
    border-radius: 20px;
}


/* Commission Page */
.commission--img--container {
    gap: 15px;
    margin-bottom: 40px;
}

@media screen and (width >=768px) {
    .commission--img--container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.commission--img {
    max-width: 70%;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    cursor: pointer;
}

.commission--img:hover {
    transform: scale(1.03);
    transition: 0.4s ease;
}

@media screen and (width >=768px) {
    .commission--img {
        max-width: 35%;
    }
}

.emote--container {
    background: var(--Container);

    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

    text-align: center;
    width: 265px;
    height: 400px;
    margin: 0 auto;
    padding: 20px;
}

.pricing {
    font-size: 1.4rem;
    font-weight: 500;
}

.emote--slider {
    position: relative;
    width: 100%;
}

.emote--img {
    position: absolute;
    top: 0;
    width: 100%;

    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.emote--img.active {
    opacity: 1;
}

#commissionContainer h2 {
    margin-top: 40px;
}

.order--details {
    text-align: center;
    margin-bottom: 30px;
}

.underline {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.terms {
    text-align: center;
    padding-top: 25px;
    margin-bottom: 55px;
}

.terms .btn {
    font-size: 1.7rem;
    margin: 0 auto;
}

#tosContainer ul li {
    margin: 7px auto;
}

.note {
    font-size: 1rem;
    text-align: center;
}


/* Artist Alley Page */
.product--box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 730px;
    margin: 0 auto;
}

.display {
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 15px;
    width: 300px;
}

@media screen and (width >=768px) {
    .product--box {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        max-width: 900px;
    }

    .display {
        width: 400px;
        /* place-self: center; */
    }
}


#productContainer h1 {
    margin: 45px auto 15px;
}

.artist-alley--setup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 0 auto;
}

.artist-alley--setup figcaption {
    font-family: 'Grandstander';
    text-align: center;
    background-color: white;

    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    opacity: 0.9;

    position: relative;
    top: 20px;
}

.alley--pic{
    min-width: 80%;
    max-width: 350px;
}

.textover--alley {
    width: 80%;
    max-width: 450px;
    
}

.alley-image {
    border-radius: 25px;
}

@media screen and (width >=1024px){
    .artist-alley--setup {
        flex-direction: row;
        flex-wrap: wrap;
    }
}