/* styles.css */
/*Steve Foss
ARTDM 174
Gallery Lab 4
October 2025 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    color: white;
    padding: 1rem;
    background-color: #e9be11;

    margin: 1rem;
    border: 0.3rem solid #d38800;
    border-radius: 3%;
    box-shadow: 0 0 5rem rgba(0, 0, 0, 0.3);
    /* Text color */
    text-shadow:
        1px 1px 0 black,
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black;
    background-image: url('../images/group_protest.jpg');
}

body {
    background-color: rgb(141, 14, 214);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('../images/protest.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h1 {
    text-align: center;
    color: white;
    margin: 1rem;
    border-radius: 3%;
    box-shadow: 0 0 5rem rgba(0, 0, 0, 0.3);
    /* Text color */
    text-shadow:
        1px 1px 0 black,
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black;
}

h3 {
    text-align: center;
    color: #faf9fa;
    margin-bottom: 1rem;
    background-color: purple;
    border: 0.3rem solid #d38800;
    border-radius: 5%;
    padding: 0.5rem;
    margin: 2rem;
    outline: black solid 0.2rem;
    /* Text color */
    text-shadow:
        1px 1px 0 rgb(7, 7, 7),
        -1px -1px 0 rgb(15, 14, 14),
        1px -1px 0 rgb(7, 7, 7),
        -1px 1px 0 rgb(4, 4, 4);
    letter-spacing: 0.1rem;
}

h4 {
    text-align: center;
    color: #faf9fa;
    border-radius: 5%;
    /* Text color */
    text-shadow:
        1px 1px 0 rgb(7, 7, 7),
        -1px -1px 0 rgb(15, 14, 14),
        1px -1px 0 rgb(7, 7, 7),
        -1px 1px 0 rgb(4, 4, 4);
    letter-spacing: 0.1rem;
    font-size: large;
}

ul {
    list-style-type: none;

    gap: 1rem;
    padding: 1rem;
}
img {
    width: 200px;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
    padding: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}



a {
    display: flex;
    text-decoration: none;
    color: #fdfdfd;
    font-size: .9rem;
    margin: 8px;
    text-shadow: #090908 0.1rem 0.1rem 0.2rem;
    border: 0.2rem solid #d38800;
    border-radius: 0.5rem;


/* Responsive images for mobile, tablet, desktop */
@media (max-width: 600px) {
    img {
        width: 100%;
        max-width: 320px;
    }
    
}

@media (min-width: 601px) and (max-width: 1024px) {
    img {
        width: 100%;
        max-width: 480px;
    }
}

@media (min-width: 1025px) {
    img {
        width: 200px;
        max-width: 100%;
    }
}

}

a:visited {
    color: #fdfdfd;
}

a:hover {
    background-color: #e414ff;
    color: white;
    transition: 0.3s;
}

a:active {
    transform: scale(0.95);
}



footer {
    text-align: center;
    padding: 1rem;
    background-color: #af4cf6;
    color: white;
    background-image: linear-gradient(45deg, #af4cf6, #f5c000);
    border-radius: 5%;
}

.intro {
    text-align: center;
    color: white;
    text-shadow:
        1px 1px 0 black,
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    margin: 3rem;
    padding: 1rem;
    background-color: purple;
    border: black solid 0.2rem;
    border-radius: 5%;
}

.container {

    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
}

/* Carousel navigation buttons */
.carousel .prev,
.carousel .next {
    font-size: 3rem;
    padding: 1rem 2rem;
    background-color: #e9be11;
    color: #222;
    border: 0.2rem solid #d38800;
    border-radius: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    opacity: 0.35;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.carousel .prev {
    left: 10px;
}

.carousel .next {
    right: 10px;
}

.carousel .prev:hover,
.carousel .next:hover {
    background-color: #d38800;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.text {
    display: flexbox;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    margin: 1rem;
    padding: 0.5rem;
    background-color: #e9be11;
    border: 0.3rem solid #d38800;
    border-radius: 55%;
    box-shadow: 0 0 5rem rgba(0, 0, 0, 0.3);
    /* Text color */
    text-shadow:
        1px 1px 0 black,
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black;
}
.links {
    display: flex;
    flex-direction: column;
     align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}
.home_link {
    display: flex;
    gap: 4rem;
    padding: 1rem;
    border: 3px solid black;
        border-radius: .5rem;
        background: #eee;
        color: #656565;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      
}
.links a {
    display: flex;
    border: black solid 0.1rem;
    border-radius: 5%;
    box-shadow: 0 0 5rem rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
}
.links a:hover {
    background-color: #e414ff;
    color: white;
    transition: 0.3s;
}
.links a:active {
    transform: scale(0.95);
}
.disclaimer {
    text-align: center;
    color: white;
    font-size: 0.8rem;
    padding: 0.5rem;
    border-radius: 5%;
    /* Text color */
    text-shadow:
        1px 1px 0 black,
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black;
}
/* End of styles.css */