*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}



nav{
display: grid;
align-items: center;
grid-template-columns: 1fr auto 1fr;
justify-content: space-between;
padding: 10px 40px;
position: fixed;
top: 0%;
width: 100%;
background-color: rgb(40, 40, 40);
z-index: 9999;
}

#left form{
display: flex;
align-items: center;
justify-content: center;
margin-left: 0%;
gap: 8px;
border: solid, color(white 3px );
border-radius: 5px;
padding: 5px;

}

#mid ul{
display: flex;
list-style: none;
}

#mid li{
margin: 0 15px;
}

#right h1{
font-size: 28px;
}
#logo{color: rgb(255, 7, 7);}
a{
    text-decoration: none;
    color: rgb(255, 255, 255);
}
#left {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1f1f1f;          /* cadre */
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}


#s{
    display: flex;
    color: aliceblue;
}
#se{
    border: none;
    background: none;
    outline: none;
    color: aliceblue;

}


/* focus effect */
#left:focus-within {
    border: 1px solid white;
    box-shadow: 0 0 5px rgba(255,255,255,0.5);
}

#left input {
    border: none;
    outline: none;
    background: transparent;
    color: white;
}

/* icon */
.material-symbols-outlined {
    color: white;
}

#left {
    justify-self: start;   /* left side */
}

#mid {
    justify-self: center;  /* PERFECT center */
}

#right {
    justify-self: end;     /* right side */
}
#left {
    border: 1px solid #000000;
}
a:hover{
    color: red;
    transition: 0.5s;
}


section{
    width: 100%;
    height: 160vh;
    background-color: #000000;

}

#poster{
    position: absolute;
    right: 30px;
    top: 80px;
    border-radius: 10px;
}

#tite{
    color: aliceblue;
    position: absolute;
    top: 200px;
    right: 520px;
    font-size: 30px;
}

p{
    color: aliceblue;
    position: relative;
    top: 300px;
    right: 520px;
    font-size: 15px;
}



button:hover{
    color: rgb(255, 255, 255);
    background-color: rgb(223, 0, 0);
    transition: 0.7s;
    border: rgb(255, 0, 0);
}

iframe{
    position: relative;
  
    left: 10px;
}

#mmm{
    position: absolute;
    color: aliceblue;
    top: 320px;
    right: 520px;
    font-size: 15px;
}

/* Big PHONES */
@media (min-width: 769px) and (max-width: 2000px){
    #trailer{
        top: 400px;
    left: 50px;
    width: 450px;
    height: 225px;
    }
    #poster{
        height: 400px;
    width: 280px;
    }
    p{
        color: aliceblue;
    position: relative;
    top: 300px;
    left: 100px;
    font-size: 15px;
    max-width: 40%;
    }
    button{
        position: absolute;
    top: 400px;
    padding: 10px 20px;
    font-size: 19px;
    font-weight: 600;
    background: none;
    color: aliceblue;
    border: solid rgb(103, 102, 102) 0.5px;
    cursor: pointer;
    border-radius: 10px;
    left: 300px;
    }
}



/* PHONES */
@media (min-width: 481px) and (max-width: 768px){

#poster {
    width: 200px!important;
    height: 300px!important;
}
#tite{
    position: relative;
    left: 100px;
}
#cbb{
           position: relative;
        left: 20px;
        top: 450px;
        overflow-wrap: break-word;
        max-width: 450px;
}
#trailer{
   width: 300px;
    height: 170px;
    position: relative;
    top: 450px;
    margin-right: auto;
}
button{
    left: 300px;
}
button{
    position: absolute;
    top: 400px;
    
    padding: 10px 20px;
    font-size: 19px;
    font-weight: 600;
    background: none;
    color: aliceblue;
    border: solid rgb(103, 102, 102) 0.5px;
    cursor: pointer;
    
    border-radius: 10px;
}
}

/* SMALL PHONES */
@media (min-width: 300px) and (max-width: 480px){
   
   



#tite{
    position: relative;
    left: 40px;
    top: 400px;
}
#cbb{
   position: relative;
        right: 10px;
        top: 450px;
        overflow-wrap: break-word;
        max-width: 450px;
}

#poster {
    width: 200px!important;
    height: 300px!important;
}
#trailer{
   position: relative;
    left: 10px;
    height: 157px;
    width: 280px;
    margin-top: 500px;
}
.prom{
    overflow: hidden;
}
#mid ul{
    display: none;
}
button{
    left: 150px;
}
button{
    position: relative;
    top: 480px;
    
    padding: 10px 20px;
    font-size: 19px;
    font-weight: 600;
    background: none;
    color: aliceblue;
    border: solid rgb(103, 102, 102) 0.5px;
    cursor: pointer;
    
    border-radius: 10px;
}
}