/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "porter-sans-inline-block-webfont";
    src: url("fonts/porter-sans-inline-block-webfont.woff");
}


/* Page */
html {
    background-color: black;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    min-width: 1200px;

    background-color: black;
    background-image: url("pics/carpfloor.jpg");
    background-size: cover;
    background-repeat: repeat-y;
    background-position: center top;

    color: white;
    line-height: 1.6;

    overflow-x: auto;
}


/* Header */
header {
    text-align: center;
    padding: 40px 20px;
}


header h1 {
    font-size: 3rem;
}


.welcome {
    display: block;
    font-family: "Bebas Neue", sans-serif;
    text-shadow: 0 0 5px black;
}


/* Title */
.special-font {
    display: inline-block;
    padding: 8px 20px;

    background:
        repeating-linear-gradient(
            0deg,
            #000,
            #000 3px,
            #111 4px
        );

    border-radius: 12px;

    box-shadow:
        0 0 0 4px black,
        0 0 0 6px #ba0422,
        0 0 0 8px black,
        0 0 0 10px #ba0422,
        0 0 0 12px black,
        0 0 0 14px #ba0422,
        0 0 30px #ba0422;
}

.neon-text {
    font-family: "porter-sans-inline-block-webfont", sans-serif;
    font-size: 72px;
 color: white;

text-shadow:
    0 0 5px #ffd400,
    0 0 10px #ffd400,
    0 0 20px #ffd400,
    0 0 35px orange;

    animation: flicker 2s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }

    19% { opacity: 1; }
    20% { opacity: .15; }
    20.5% { opacity: 1; }
    21% { opacity: .2; }
    21.5% { opacity: 1; }

    54% { opacity: 1; }
    55% { opacity: .05; }
    55.3% { opacity: .8; }
    55.6% { opacity: .2; }
    56% { opacity: 1; }

    73% { opacity: .85; }
    73.2% { opacity: 1; }
}

/* Main Layout */
.links {

    display: flex;
    align-items: flex-start;

    gap: 20px;

    width: 1200px;

    margin: 30px auto;
}


/* Sidebar Wrapper */
.sidebar-wrapper {

    position: relative;

    flex: 0 0 250px;

}


/* Popcorn Image Behind Sidebar */
.sidebar-image {

    position: absolute;

    width: 350px;

    height: auto;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 0;
}


/* Glass Sidebar */
.sidebar {

    position: relative;

    z-index: 1;
    left: 30px;
    top: 50px;


    width: 200px;

    min-height: 330px;

    padding: 30px 10px;


    font-family: "Bebas Neue", sans-serif;

    font-size: 28px;

    text-align: center;


    color: white;

-webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%); 
mask-image: linear-gradient(to bottom, black 30%, transparent 100%);

  
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);


    


    overflow: hidden;


  
}



.sidebar ul {

    position: relative;
    z-index: 1;

}


.sidebar li {

   

}


.sidebar a {

    display: block;

    color: white;

    text-decoration: none;

    padding: 12px 0;


    text-shadow:
        0 0 5px black,
        0 0 10px black;


    transition: color .3s;

}

.sidebar::before {
    content: "";
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.25) 45%,
            rgba(0,0,0,0)
        );

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

   

    z-index: -1;
}



.sidebar a:hover {

    color: red;

}



/* Main Content */
main {

    flex: 0 0 930px;

}



/* Subtitle Panel */
.subtitle {

    padding: 30px;


    font-family: "Georgia", serif;

    font-size: 1.2rem;

    line-height: 1.8;


    color: #f5f5f5;


    background:
        repeating-linear-gradient(
            0deg,
            #000,
            #000 3px,
            #111 4px
        );


    border: 2px solid #068c04;

    border-radius: 12px;


    box-shadow:

        inset 0 0 15px #068c04,

        0 0 15px #068c04;

}



.subtitle p {

    margin-bottom: 1.25rem;

}


.subtitle p:last-child {

    margin-bottom: 0;

}



/* Shelf */

.shelf-container {
  position: relative;
    text-align: center;

    margin-top: 80px;

}


.shelf {

    width: 100%;

    height: auto;
    
    display: block;

}

.movie-cover::after {
    content: "";
    position: absolute;

    top: -20%;
    left: -60%;

    width: 40%;
    height: 140%;

    background: rgba(255,255,255,.2);

    transform: rotate(25deg);

    transition: left .4s;
}


.movie-cover:hover {
    transform: scale(1.5);
    z-index: 100;
}

.movie-cover:hover::after {
    left: 130%;
}

.movie-cover {
  position: absolute;
  
  width: 80px;
  height: 120px;
  transition: transform 0.25s ease;
  
  
  
  
  box-shadow:
        0 4px 8px rgba(0,0,0,.4),
        0 10px 20px rgba(0,0,0,.5);
        
        
  outline: 1px solid rgba(255,255,255,.2);
  
  object-fit: cover;
}

.bodybags {
  right: 60%;
  bottom: 81.2%;
  
}

.abigail {
  right: 48%;
  bottom: 81.2%;
}
  
#movie-viewer {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.92);

    display: none;

    align-items: center;

    justify-content: center;

    gap: 50px;

    padding: 50px;

    z-index: 9999;
}

#movie-viewer.active{
    display:flex;
}


.viewer-left img{

    width:350px;

    border-radius:12px;

    box-shadow:0 0 40px black;
}

.viewer-right{

    width:600px;

    display:flex;

    flex-direction:column;

    gap:25px;
}

.info-box,
.review-box{

    padding:20px;

    background:#111;

    border:2px solid #068c04;

    border-radius:12px;
}

#close-viewer {
    font-size: 40px;       /* Makes the X bigger */
    width: 60px;           /* Button size */
    height: 60px;
    cursor: pointer;

    background: none;
    border: none;
    color: white;

    text-shadow: 0 0 10px black;
}



.popcorn-click {
    position: absolute;

    /* Move this to wherever you want the clickable spot */
    top: 320px;
    left: 702px;

    width: 200px;
    height: 50px;

    cursor: pointer;

    z-index: 10;
}


#popcorn-animation {
    position: absolute;

    top: 320px;
    left: 702px;

    font-size: 80px;

    opacity: 0;
    pointer-events: none;
}

.popcorn-pop {
    animation: popcornPop 1s ease-out forwards;
}


@keyframes popcornPop {

    0% {
        opacity: 0;
        transform: translateY(0) scale(.5) rotate(0deg);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform:
            translateY(-200px)
            scale(1.5)
            rotate(360deg);
    }
}











