/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ---------------------Mobile Style-------------------------*/
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1a1a18;
}

header{
    color: #f0ebe3;
    margin-bottom: 20px;
    text-align: center;
}

header h1 {
    font-family: "Outfit", sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 1rem;
    color: #f0ebe3;
}

.siteDescription {
    color: #7a7a76;
    font-family: "Outfit", sans-serif;
    font-size: 0.875rem;
    text-align: center;
    max-width: 500px;
    margin: 0 10px 10px;
    line-height: 1.5;
}

.content-wrapper {
    background-color: #252523;
    border: 05px solid #3a3a38;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

#artistName {
    color: #f0ebe3;
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    padding: 15px 15px 0;
    font-weight: 300;
    text-align: center;
    margin: 10px 0;
}

.imageContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contemporaryArtButton,
.classicalArtButton {
    border: 1px solid #c9a84c;
    background-color: transparent;
    color: #c9a84c;
    padding: 8px 16px;
    margin: 10px;
    border-radius: 20px;
    font-family: "Outfit", sans-serif;
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.contemporaryArtButton.selected,
.classicalArtButton.selected {
 background-color: #c9a84c;
 color: #1a1a18;
}

.contemporaryArtButton:hover,
.classicalArtButton:hover {
    background-color: #C9A84C;
    color: #1A1A18;
}
    
.pictureOfArt {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    padding: 10px;
    width: 100%;
    max-width: 800px;
    background-color: #252523;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.pictureOfArt img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#artistName {
    color: #f0ebe3;
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    padding: 15px 15px 0;
    text-align: center;
    margin: 10px 0;
}

.icon-wrapper {
    display: flex;
    gap: 20px;
    padding: 15px 0 20px;
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: #7a7a76;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #3a3a38;
    border-radius: 8px;
    transition: color 0.2s, border-color 0.2s;
}

.icon-wrapper i:hover {
    color: #c9a84c;
    border-color: #c9a84c;
}

#copyMe.active {
    color: #4CAF50;
    border-color: #4CAF50;
}

/* ---------------------Tablet Styles-------------------------*/
@media only screen and (min-width: 768px) {
    .content-wrapper {
        max-width: 1000px;
        padding: 20px;
    }

    #artistName {
        font-size: 1.1rem;
        padding: 20px 20px 0;
    }

    .contemporaryArtButton,
    .classicalArtButton {
        padding: 10px 20px;
        font-size: 0.7rem;
    }

    .pictureOfArt {
        max-width: 600px;
    }
}

/* ---------------------Desktop Styles-------------------------*/
@media only screen and (min-width: 1280px) {
    .content-wrapper {
        max-width: 1200px;
        padding: 40px;
    }

    #artistName {
        font-size: 1.25rem;
        padding: 30px 30px 0;
    }

    .contemporaryArtButton,
    .classicalArtButton {
        padding: 12px 30px;
        font-size: 0.75rem;
    }

    .pictureOfArt {
        max-width: 800px;
    }
}
