
:root{
    --red-gradient: linear-gradient(
        rgb(255, 229, 229) 0%,
        rgb(255, 102, 102) 50%,
        rgb(204, 0, 0) 53%,
        rgb(255, 229, 229) 100%
    );

    --orange-gradient: linear-gradient(
        rgb(255, 236, 204) 0%,
        rgb(255, 166, 77) 50%,
        rgb(204, 102, 0) 53%,
        rgb(255, 236, 204) 100%
    );

    --yellow-gradient: linear-gradient(
        rgb(255, 255, 204) 0%,
        rgb(255, 224, 102) 50%,
        rgb(204, 170, 0) 53%,
        rgb(255, 255, 204) 100%
    );

    --blue-gradient: linear-gradient(
        rgb(204, 238, 255) 0%,
        rgb(102, 179, 255) 50%,
        rgb(0, 92, 204) 53%,
        rgb(204, 238, 255) 100%
    );

    --indigo-gradient: linear-gradient(
        rgb(230, 224, 255) 0%,
        rgb(140, 118, 255) 50%,
        rgb(59, 42, 179) 53%,
        rgb(230, 224, 255) 100%
    );
}

body{
    background-image: url(photo2/second-frutiger-aero-image-water-addition-v0-365nrr5qiwnf1.png.webp);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}
main{
    display: flex;
    flex-direction: row;
    overflow: visible;
}
nav{
    border:rgba(255, 255, 255, 0.25) ridge 2px;
    width: 16em;
    height: 600px;
    border-radius: 20px;
    margin-left: 10px;
    transform: translateY(200px);
    margin-right: 0;
    
}
/* nav h1 */
.nav{
    text-align: center;
}
#nav-icon{
    width: 20px;
    height: 20px;
}
ul{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
#button{
    border-radius: 50px;
    width: 200px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 50px;
    margin-left: 30px;
}
.home{
    background: var(--yellow-gradient);
}
.aboutme{
    background: var(--blue-gradient);
}
.project{
    background: linear-gradient(rgb(244, 214, 255) 0%,
    rgb(191, 123, 255) 50%, 
    rgb(118, 58, 184) 53%,
    rgb(244, 214, 255) 100%);;
}
.tv-shows{
    background: var(--orange-gradient);
}
.movies{
    background:var(--indigo-gradient);
}
.book-library{
    background: var(--red-gradient);
}
#button:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
#button:active{
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
a{
    color: white;
    text-decoration: none;
    margin-left: 3px;
}
.container{
    padding: 10px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    /* overflow: scroll; */
    
}
#items{
    overflow: scroll;
    border: 1px solid #92e1ff;
    border-radius: 0.3em;
    padding: 12px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    width: 1400px;
    height: 600px;
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    grid-gap: 15px;
}
#item{
    position: relative;
    border: 2px solid black;
    border-radius: 5%;
    overflow: hidden;
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 5px 5px 5px rgb(127, 185, 255);
    transform: translateY(-2px);
    width: 450px;
    height: 300px;
}
#item:hover{
    transform: translateY(-4px);
    animation: bluePulse 2s ease-in-out infinite;
}
@keyframes bluePulse {
    0%, 100%{
        box-shadow: 0 0 0 rgba(0, 136, 255, 0.2);
    }
        50% {
        box-shadow: 0 0 18px rgba(0, 136, 255, 0.8);

    }
    
}
#banner{
    background: var(--blue-gradient);
    width: 100%;
    height: 50px;
    position:relative;
    display: flex;
    align-items: center;
    border-radius: 5%;
}
.item-txt{
    padding-left:10px ;
    transform: translateY(10px);
    margin-left: 0px;
}
@keyframes slide-in {
    to{
        transform: scale(50%);
        
    }
}
/* photo inside each box */
#playphoto{
    width: 100%;
    height: auto;
    object-fit: cover;
}
a{
    float: left;
}
.playnow{
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: auto;
    margin-right: 0.1em;
    
}
.overlay{
    background: url(photo2/lines.png);
    background-repeat: repeat;
    background-attachment: scroll;
    pointer-events: none;
    opacity: 0.25;
    position: fixed;
    display: block;
    justify-content: center;
    align-items: center;
    inset: 0;
    z-index: 1;
}