#container {
    position: relative;
    z-index: 10;

    min-width: 95vw;
    max-width: 95vw;
    height: fit-content;

    margin: auto;

    background: rgba(0,0,0, 0.75);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.803);
    border-top: none;
}


.navbarfixmarginja {
    width: 100%;
    height: 100px;
}

.searchbar {
    min-width: 400px;
    max-width: 400px;
    width: 400px;

    margin-bottom: 30px;

    width: 50vw;
    transition: 1s all;

    border-radius: 25px;
    border: 2px solid var(--red-theme);
    padding: 10px;
    background-color: rgba(0,0,0, 0.8);

}

.searchbar:focus {
    max-width: 40vw;
    width: 40vw;
    transition: 1s all;
}


#main {
    width: 95vw;
    height: fit-content;

    padding: 20px;
    margin-bottom: 20px;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;

    align-items: flex-start;
}


#main a {
    margin: auto;
}

#main h2 {
    margin: auto;
    margin-bottom: 50px;
    font-size: 40px;
}


.card-body a {
    margin-bottom: 0 !important;
    transition: 0.3s;
}

.card-body a:hover {
    scale: 1.09;
    transition: 0.3s;
}



#searched {
    width: calc(95vw - 30px);
    margin-bottom: 30px;
}

#searched h3 {
    text-decoration: underline;
    margin-bottom: 15px;
}

#searched .info {
    font-style: italic;
    padding: 10px;
    margin-bottom: -20px;
}



#sajat {
    min-width: 100%;
    /*width: calc(95vw - 30px);*/
    margin-top: 30px;
}

#sajat h3 {
    text-decoration: underline;
    margin-bottom: 15px;
}

#sajat .info {
    font-style: italic;
    padding: 10px;

    position: relative;
    left: 20px;
}




.bg, .bgfade, .bgimage {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    filter: blur(5px);
}

.bgimage {
    /*background-image: url("../imgs/filmek_hatter_full.jpg");*/
    background-image: none;
    background-repeat: no-repeat;
    background-attachment: fixed;
    image-rendering: optimizeSpeed;
    
    background-size: cover;
    background-position-x: center;
    background-position-y: center;

    z-index: 0 !important;
    /*filter: blur(10px);*/
}










/*KÁRTYA*/
#searched_movies_list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;

    overflow-y: visible;
    overflow-x: auto;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 20px;
    gap: 20px;

    scroll-snap-type: x mandatory;
}

#searched_movies_list .card {
    scroll-snap-align: center; /* Can also be 'start', 'center' or 'end' */
}



#sajat_movies_list, #sajat_movies_wishlisted, #sajat_movies_watched {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;

    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 20px;
    gap: 30px;
    row-gap: 60px;
}




.card {
    flex: 0 0 auto; /* Prevents the cards from shrinking or growing */
    width: 250px; /* Set a fixed width for cards */
    margin: 10px 7px;

    min-height: 650px;
    max-height: 650px;

    transition: all 0.3s ease-in-out;
}

.card-body {
    border-top: 1px solid rgb(150, 150, 150);
}



.imgkeret {
    width: 100%;
    height: fit-content;
    overflow: hidden;
}

.card img {
    transition: all 0.5s ease-in-out;
}

.card:hover img {
    scale: 1.1;

    transition: all 0.5s ease-in-out;
}

.bluredimg {
    position: absolute !important;
    top: 0 !important;
    left: -8% !important;
    height: 430px !important;
    border-radius: 15px;

    filter: blur(15px) !important;
    z-index: -1 !important;
}



.card-title {
    color: white;
    transition: all 0.3s ease-in-out;
}

.card:hover .card-title {
    color: red;
    transition: all 0.3s ease-in-out;
}



.showtexticon {
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.card:hover .showtexticon {
    opacity: 0;
    transition: all 0.3s ease-in-out;
}



.card-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    
    height: fit-content;
    max-height: 350px;
    overflow-y: auto;

    opacity: 0;
    transform: translateY(50%);

    pointer-events: none;

    transition: all 0.3s ease-in-out;
}

.card:hover .card-text {
    pointer-events: all;
    background-color: rgba(20, 20, 20, 0.9);
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease-in-out;
}



.card-body a {
    position: absolute;
    bottom: 50px;
    left: 10px;
}



.rating {
    position: absolute;
    bottom: 50px;
    right: 0;
 
    margin: 0 5px 0 5px;
    width: 45px;
    height: 45px;
    line-height: 40px;
    text-align: center;
    border-radius: 100%;
    border: 2px solid black;
    background-color: rgba(0, 0, 0, 0.7);

    font-weight: bolder;
}



.moviesContainer {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}


.moviesContainer button {
    border: 2px solid var(--red-theme);
    border-radius: 20px;
    padding: 5px 10px;
    margin: 30px auto;
    background-color: rgba(0, 0, 0, 0.7);
    width: fit-content;
    transition: 0.3s all;
}

.moviesContainer button:hover {
    scale: 1.1;
    border-radius: 10px;
    border-color: var(--red-underline);
    transition: 0.3s all;
}




#infoIBetu {
    position: fixed;
    top: 0;
    right: 0;
    padding: 100px 7px;
}

#infoIBetu button {
    border: none;
    background: none;
}

#infoIBetu i {
    font-size: 30px;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}


#iBetuInfoBox {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: fit-content;
    max-width: 98vw !important;
    min-width: 300px !important;

    border-radius: 20px;
    background-color: rgb(10, 10, 10);
    border: 3px solid var(--red-theme);
    padding: 15px;

    text-align: center;

    z-index: 1031 !important;

    transition: 1s opacity;
}

#iBetuInfoBox div {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    border-bottom: 1.5px solid white;
}


#iBetuInfoBox div div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 10px auto;
}

#iBetuInfoBox div div p {
    margin: 0 10px;
}

#iBetuInfoBox div div p:nth-child(2) {
    font-weight: bolder;
}


#iBetuInfoBox div h5 {
    position: absolute;
    top: 20px;
    right: 20px;

}


#goUpArrow {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 40px 7px;
}

#goUpArrow button {
    border: none;
    background: none;
}

#goUpArrow i {
    font-size: 30px;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}
