/*

Name: Steve Foss

Date: 2026

File Name: styles.css

Folder: Union Stewards

*/

/* CSS Reset lines 14-102*/
html,
body,
div,
span,
applet,
object,
group,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

.grid-container {
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card,
.not-card {
    border: 3px solid black;
    border-radius: .5rem;
    background: #eee;
    color: #656565;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

aside {
    display: block;
    border: 3px solid black;
    border-radius: .5rem;
    background: #b7b0b0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.not-card {
    display: block;

}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
    text-align: center;
}

h2 {
    font-size: 1.5em;
    text-align: center;
}

h6 {
    font-size: .7em;
    margin: 0.67em 0;
}

* {
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    background: #b9acac;
    color: white;
}

header {
    display: block;
    border: 2px solid black;
    border-radius: .5rem;
    background: #eee;
    color: #c808cc;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-shadow: #d38800 0.1rem 0.1rem 0.2rem;
}

.links p {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 1rem;


}

.card h3 {
    text-align: center;
    text-transform: capitalize;
    font-size: 1.5rem;
    color: brown;
    line-height: 1.4;
}

.card p {
    hyphens: auto;
    padding: 0 1rem;
    line-height: 1.22;
}

.card a {
    display: block;
    background: hsl(239, 48%, 48%);
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    border-radius: .3rem;
    color: white;
    text-decoration: none;
}

footer {
    display: flex;
    text-align: center;
    color: #faf9fa;
    background-color: rgb(200, 59, 200);
    border: 0.3rem solid #d38800;
    padding: 0.5rem;
    margin: 2rem;
    outline: black solid 0.2rem;
}

.disclaimer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #faf9fa;
    border: 0.3rem solid #d38800;
    padding: 0.5rem;
    margin: 2rem;
    outline: black solid 0.2rem;
}

a {
    display: flex;
    justify-content: center;
    color: #fdfdfd;
    font-size: .9rem;
    background-color: rgb(200, 59, 200);
    border: 0.3rem solid #d38800;
    padding: 0.5rem;
    margin: 2rem;
    outline: black solid 0.2rem;
}

@media screen and (min-width: 420px),
print {

    /* Mobile Viewport: Show mobile class, hide tab-desk class */
    .mobile {
        display: block;
    }

    .tab-desk {
        display: none;
    }

    body {
        min-width: 420px;
    }
    header {
        display: block;
        border: 2px solid black;
        border-radius: .5rem;
        background: #eee;
        color: #c808cc;
        padding: .5rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        text-shadow: #d38800 0.1rem 0.1rem 0.2rem;
    }
        h1 {
            font-size: 1em;
            margin: 0.67em 0;
            text-align: center;
        }
            h2 {
                font-size: .8em;
                text-align: center;
            }
            

    .card img {
        width: 75%;
        object-fit: cover;

        padding: .5rem;
        border: 1px solid #ccc;
        background: white;
        border-radius: .25rem;

    }

    .grid-container {
        display: grid;
        grid-gap: .5rem;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .card,
    .not-card {
        border: 3px solid black;
        border-radius: .5rem;
        background: #eee;
        color: #656565;
        padding: .5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .card h3 {
        text-align: center;
        text-transform: capitalize;
        font-size: 1rem;
        color: brown;
        line-height: 1.4;
    }

    .card p {
        hyphens: auto;
        padding: 0 1rem;
        line-height: 1.22;
    }
}

@media screen and (max-width:620px),
print {

    /* Tablet Viewport: Show tab-desk class, hide mobile class */

    .mobile {
        display: none;
    }

    .tab-desk {
        display: block;
    }
   
         .card h3 {
             text-align: center;
             text-transform: capitalize;
             font-size: 1rem;
             color: brown;
             line-height: 1.4;
         }
    
         .card p {
             hyphens: auto;
             padding: 0 1rem;
             line-height: 1.22;
         }
}

@media screen and (min-width: 1000px),
print {

    /* Desktop Viewport: Show tab-desk class, hide mobile class */

    .mobile {
        display: none;
    }

    .tab-desk {
        display: block;
    }

    body {
        min-width: 1000px;
    }
h1 {
    font-size: 2em;
    margin: 0.67em 0;
    text-align: center;}
     h2 {
        font-size: 1.5em;
        text-align: center;
    }
    .card img {
        width: 100%;
        object-fit: cover;

        padding: .5rem;
        border: 1px solid #ccc;
        background: white;
        border-radius: .25rem;

    }
   
}