body{
    margin: 0;
    padding: 0;
    background-color: antiquewhite;
    font-family: "Audiowide", sans-serif;
}

a {
    text-decoration: none;
    /* color: rgb(255, 255, 255); */
}

header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}

header p {
    font-size: large;
}

header h1 {
    font-family: "Sofia", sans-serif;
}

.pdf-gallery{
    display: grid;
    width: 80%;
    margin: 100px auto 50px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 30px;
    justify-items: center;
}

.pdf-item{
    width: 200px;
    height: 200px;
    text-align: center;
    /* border: 2px solid black; */
    background-color: rgba(141, 141, 141, 0.7);
    color: rgb(255, 255, 255);
    cursor: pointer;
    user-select: none;

    /* Center text vertically and horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* Ensure text doesn't wrap to the next row */
    /* white-space: nowrap; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
}

.pdf-item p {
    font-size: 30px;
    /* font-weight: bold; */
}


.pdf-item:hover{
    color: rgb(83, 83, 83);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
}


.pdf-viewer{
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.7);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.pdf-display{
    width: 60%;
    height: 97vh;
}

model-viewer{
	width: 100%;
	height: 100%;
	margin: auto auto;
    position: fixed;
	left: 0;
	top: 0;
    z-index:-1;
}

.change-height{
    height: 50px;
}

.fire {
    color: #f5f5f5; /* Light text color */
    text-align:center; /* Center alignment of text */
    /* Multi-layered text-shadow for fire effect */
    text-shadow:
    0px -1px 3px #ad792a, /* Innermost layer - intense heat (white) */
    0px -2px 6px #FF3, /* Second layer - core of flame (yellow) */
    0px -6px 12px #F90, /* Middle layer - body of flame (orange) */
    0px -10px 20px #C33; /* Outermost layer - edges of flame (red) */
}

/* Define the animation named "flicker" */
@keyframes flicker {
    /* Initial state of animation */
    0%, 
    /* Final state of animation */
    100% { 
        text-shadow: 
            0 -1px 3px #ad792a, /* Innermost layer - intense heat (white) */
            0 -2px 6px #FF3, /* Second layer - core of flame (yellow) */
            0 -6px 12px #F90, /* Middle layer - body of flame (orange) */
            0 -10px 20px #C33; /* Outermost layer - edges of flame (red) */
    }
    /* Middle state of animation */
    50% { 
        text-shadow: 
            0 -2px 6px #ad792a, /* Innermost layer - intense heat (white) */
            0 -4px 12px #FF3, /* Second layer - core of flame (yellow) */
            0 -8px 16px #F90, /* Middle layer - body of flame (orange) */
            0 -12px 24px #C33; /* Outermost layer - edges of flame (red) */
    }
}
 
.fire {
    /* Apply the "flicker" animation to the .fire class */
    animation: flicker 2s infinite;
}