@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;

}

main {           /*cuerpo*/
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(12,3,51,0.3),rgba(12,3,51,0.3));
    position: relative;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

:root {
    --background-color: #2E2E2E;
    --color-primario: #9000ff;
    --gris-claro: #A7AAB5;
    --letras: #f0f0f0;
    --negro: #000000;
}
/*--------------------------------------*/

.content {                 /*cuerpo de la pagina*/
    text-align: center;
}

.content h1 {
    font-size: 100px;
    color: var(--letras);
    font-weight: 600;
    transition: 0.5s;
}

.content h1:hover{
    -webkit-text-stroke: 2px white;
    color: transparent;
}


                /*Buscador*/

.search {
    display: inline-flex;
    justify-content: left; 
    align-items: center; 
    cursor: pointer;
    padding: 10px 20px;
    background: #f7f6f6;
    border-radius: 30px;
    box-shadow: 0 10px 25px black;
    max-width: 400px;
    margin: 10px auto 0;
}

.search:hover input {
    width: 340px;
}

.search input {
    width: 0;
    outline: none;
    border: none;
    font-weight: 500;
    transition: 0.8s;
    background: transparent;
}

.search .icon{
    color: rgb(0, 0, 0);
    font-size: 18px;
}

/*=========================================*/

.back-video {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

@media (min-aspect-ratio: 16/9) {
    .back-video{
        width: 100%;
        height: auto;
    }
}
@media (max-aspect-ratio: 16/9) {
    .back-video{
        width: auto;
        height: 100%;
    }
}

@media (width <= 768px) {
    .content h1 {
        font-size: 5rem;
    }
}

@media (width <= 426px) {
    .content h1 {
        font-size: 3rem;
    }
}