html, body{
    padding: 0px;
    margin: 0px;
}

body{
    width: 100%;
    height: 100vh;
}

.flex-container{
    display: flex;
    justify-content: center;
}

.img{
    position: absolute;
    user-select: none;
    -webkit-user-drag: none;
    /* background-color: red; */
}

.text{
    color:rgb(255, 255, 255);
    position: absolute;
}

#cursor{
    display: none;
}
#bg-img{
    position:absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#star-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.star{
    width: 100%;
    display: none;
    /* background-color: rgb(179, 163, 163); */
}

#nebula{
    display: block;
}

.text-container{
    display: flex;
    justify-content: center;
    position: absolute;
    align-items: center;
    /* background-color: rgba(246, 242, 242, 0.5); */
}
#star-container{
    position: absolute;
    top: 10%;
    height: 50vh;
    width: 90vw;
    /* background-color: red; */
}

#name-container{
    position: absolute;
    top: 62.5%;
    height: 8%;    
    width: 40%;
}

#stage-container{
    top: 72%;
    height: 5%;
    width: 30%;
}

#age-container{
    top: 78.5%;
    height: 5%;
    width: 30%;
}

#name-text{
    font-size: 60px;
}

#age-text, 
#stage-text{
    font-size: 35px;
}

.star{
    height: 120%;
    object-fit:contain;
}
#protostar{
    bottom: 10%;
    height: 70%;
}
#orange-star{
    height: 40%;
}
#supergiant{
    height: 50%;
}
#supernova{
    height: 70%;
}
#blackhole{
    bottom:25%;
    height: 40%;
}

button{
    cursor: pointer;
    font-size: 70px;
    display: block;
    position: absolute;
    top: 0%;
    height: 100%;
    width: 40%;
    color: white;
    border: none;
    background-color: transparent;
}
button#left{
    display: none;
    right: 100%;
}
button#right{
    left: 100%;
}
@media screen and (max-width: 1023px){
    select{
        position: absolute;
        top: 1.5%;
        margin-left: 25%;
        height: 3.5%;
        width: 50%;
        z-index: 1;
    }

    #info-container{
        display:none;
    }

    #dropdown-container{
        align-items: center;
        width: 80%;
        height: 5%;
        left: 10%;
        top: 4%;
        position: absolute;
        background-color: red;
        z-index: 1;
        font-size: 2em;
    }
    #dropdown{
        position: absolute;
        display: flex;
    }
    #dropdown li{
        font-size: 40px;
        color: white;
    }
}

@media screen and (min-width: 1024px){
    #cursor{
        display: none;
    }
    
    #star-container{
        position: absolute;
        top: 10%;
        height: 50vh;
        width: 90vw;
        /* background-color: red; */
    }

    #info-container{
        position: absolute;
        align-items: center;
        bottom: 0%;
        height: 10%;
        width: 100%;
        background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,1));
        -webkit-transition: background-color 2s ease-out;
        -moz-transition: background-color 1.5s ease-out;
        -o-transition: background-color 1.5s ease-out;
        transition: background-color 1.5s ease-out;
    }
    #info-container:hover{
        /* background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,1)); */
        background-color: black;
        transition: background-color .5s none;
    }
    #info-container button{
        user-select: none;
        display: block;
        height: 80%;
        width: 100%;
        background-color: rgba(255,255,255,0);
        border: none;
        color: white;
        font-size: 84px;
        font-weight:800;
    }
    #info-text{
        display: none;
        justify-content: center;
        align-items: center;
        height: 50%;
        width: 50%;
        color: white;
        font-size: 48px;
        font-weight: bold;
    }
}
