*{
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
}


/* some variables */
:root{
    --main-color: hsl(37,94%,57%);
    /* --main-color: rgb(2, 2, 203); */
    --hover-color: hsl(37,94%,57%);
    --body-color: #111010 ;
    --container-color: #2d2e37;
    --text-color: #ffffff;
}

/* Custom Scroll Bar */
html::-webkit-scrollbar{
    width: 0.5rem;
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background: #464752;
}

a{
    text-decoration: none;
}

body{
    background: black;
    color: var(--text-color);
}

.container{
    max-width: 1220px;
    margin: auto;
    width: 100%;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(0, 0, 0, 0.01);
    z-index: 100;
}

.nav{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

/* logo */
.logo{
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    font-style: italic;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-transform: uppercase;
    margin: 0 auto 0 0;
}

.logo span{
    color: var(--main-color);
    font-size: 1.6rem;
}

/* user */
.user{
    display: flex;
}

.user img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin:0 15px;
}

.main {
    background-image: url(https://i0.wp.com/interplanetary.tv/wp-content/uploads/2024/02/Alienoid-1-landscape-poster-1.jpg?ssl=1);
    height: 100vh;
    object-fit: cover;
    position: relative;
    background-size: max(1000px, 100vw);
    background-position: center center;
    background-repeat: no-repeat;
}

.box {
    height: 87%;
    width: 50%;
    background-color: rgb(0,0,0,0.8);
    position: relative;
    top: 10%;
    left: 25%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgb(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0); 
    transition: transform .5s ease;
}

.box.active-popup{
    transform: scale(1); 
    transition:transform .5s ease;
}


.hero {
    width: 90%;
    padding: 40px;
}

.hero .form-box.login{
    display: inline;
    transition: transform .5s ease;
    transform: translateX(0);
}

.hero.active .form-box.login{
    display: none;
    transition: none;
    transform: translateX(-600px);
}

.hero .form-box.register{
    display: none;
    position: relative;
    transition: none;
    transform: translateX(600px);
}

.hero.active .form-box.register{
    display: inline;
    transition: transform .5s ease;
    transform: translateX(0);
}

.hero .icon-close{
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    font-size: 2em;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.form-box h2{
    font-size: 2em;
    color: var(--text-color);
    text-align: center;
}

.input-box{
position: relative;
width: 100%;
height: 40px;
border-bottom: 2px solid white;
margin: 20px 0;
}

.input-box #profileImageInput{
    position:absolute;
    top:8px;
}


.input-box label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: var(--text-color);
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
}

.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    border: none;
    font-size: 1em;
    font-weight: 400;
    color: var(--text-color);
    padding: 0 15px 0 5px;
}

.input-box .icon{
    position: absolute;
    right: 10px;
    bottom: 20px;
}

.input-box input:focus~label,
.input-box input:valid~label
{
    top: -5px;
}

.btn {
    padding: 8px 15px;
    font-weight: bold;
    border-radius: 6px;
}

.seperation {
    height: 7.5px;
    background-color: rgb(46, 43, 43);
}

.language{
    background-color: rgb(27, 26, 26, 0.6);
    color: white;
    border: 1.5px solid rgb(232, 232, 232, 0.6);
    align-items: center;
    justify-content: center;
    justify-items: center;
    margin-right: 10px;
}

.btn img{
    width: 11px;
    height: 11px;
    margin-left: 8px;
}

.btn-red-sm {
    background-color: var(--main-color);
    color: white;
    border-color: var(--main-color);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
}


.first{
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
    max-width: 75vw;
    height: 77vh;
    margin: auto;
    color: white;
    position: relative;
}

.first img{
    width: 37vw;
    position: relative;
    z-index: 1;
    top: 8px;
}

section.first> div{
    display: flex;
    flex-direction: column;
    gap: 15px;
    line-height: 1.1;
}

section.first > div :first-child{
    font-size: 48px;
    font-weight: 900;
    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
}

section.first > div :nth-child(2){
    font-size: 24px;
    font-weight: 400;
    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
}

.second video{
    position: absolute;
    top: 81px;
    right: 0;
    width: 36vw;
    height: 360px;
}

/* copyright */

.copyright{
    text-align: center;
    padding: 20px;
}


.remember-forget{
    font-size: 1em;
    color: white;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.remember-forget label input{
    accent-color: white;
    margin: 3px;
}

.remember-forget a{
    color: white;
    text-decoration: none;
}

.remember-forget a:hover{
    text-decoration: underline;
}

.boto{
    width: 100%;
    height: 45px;
    background-color: var(--main-color);
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.3em;
    color: black;
    font-weight: 700;
}

.login-register{
    font-size: 0.9em;
    color: #ffffff;
    text-align: center;
    font-weight: 500;
    margin: 25px 0 10px;
}

.login-register p a{
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.login-register p a:hover{
    text-decoration: underline;
}

.search-box {
    position: relative;
}

.love-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.love-btn i {
    font-size: 24px;
    color: #333; /* Default color */
}

.love-btn.active i {
    color: red; /* Color when active (loved) */
    animation: pop 0.3s ease-in-out; /* Example animation */
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

