*{
    margin:  0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: sans-serif;
    box-sizing: border-box;
}


body{

    background: #333;
}
.main{
    height: 100vh;
}



.header > h1{
    color: white;
 
    font-size: 2.9rem;
    text-align: center;
    padding:  20px;
    margin-top: 50px;

}
.contents{
    
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
  

}

.input{
    display: flex;
    flex-direction: column;
    height: 300px;
    background-color: rgba(255,255,255,.8);
    padding: 50px;
    width: 300px;
    gap: 10px;
    border-radius: 10px 0px 0px 10px;
}


.input > input[type="text"]{
    height: 50px;
    text-align: center;
    font-size: 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;

}
.input > select{
    height: 50px;
    font-size: 18px;
 
    width: 200px;
    border-radius: 5px;
    border: none;
    text-align: center;
}

.contents > .result{
    height: 300px;
    width: 600px;
    object-fit: cover;
    background: url('stars.png') no-repeat center/cover;
    /* background: url('https://wallpapers-house.com/wp-content/uploads/wallpaper_674/wallpaper_0000121086.jpg') no-repeat center/cover rgba(0,0,0, .5);
    background-blend-mode: darken ; */
    text-align: center;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
    border-radius: 0px 10px 10px 0px;
    transition: 1s;

}

.input > button{
    padding: 10px;
    width: 200px;
    border-radius: 10px;
    border: none;
    background: #3498db;
    color: white;
    font-weight: bold;
    transition: 2s;
    font-size: 20px;
    margin-top: 10px;
}
.input > button:hover{
    transform: scale(1.1);
}

.resultH1{
    color: white;
    text-shadow: 5px 5px 5px black;
    padding: 5px;
    margin: 10px;
    font-size: 25px;
}

.resultH2{
    color: white;
    text-shadow: 5px 5px 5px black;
    padding: 5px;
    margin: 10px;
    font-size: 50px;
}

.error, .errorPlanet{

    color: red;
    font-weight: bold;
    font-size: 9px;

}
.planets{
    width: 150px;
    animation: movement;
    animation-duration: 1s;
    position: relative;
   
}

@keyframes movement{
    0% {
        left: 200px; top: 0px;
    }
  

  
    100% {
        
        left: 0px; top: 0px;
    }

}


@media (max-width: 769px){

    .header > h1{
        font-size: 1.5rem;
    }
    .contents{
        display: flex;
        flex-direction: column;
    }

    .input{
        height: 200px;
        width: 80%;
        border-radius: 10px 10px 0px 0px;
    }


    .input > input[type="text"]{
        width: 100%;
        height: 1000px;
    }

    .contents > .result{
        width: 80%;
        height: fit-content;
        min-height: 200px;
        border-radius: 0px 0px 10px 10px;
    }

    #selected{
        width: 100%;
    }

    .input > button{
        width: 100%;
        font-size: 12px;
    }
}
/* https://wallpapers-house.com/wp-content/uploads/wallpaper_674/wallpaper_0000121086.jpg */

/* https://wallpapers-house.com/wp-content/uploads/wallpaper_728/wallpaper_0000133554.jpg */