* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
body{
    font-family: 'Rubik', sans-serif;
    background-color: black;
    background-image: url('/img/star-back.jpg');
}
main {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.navlist{
    border-radius: 10px;
    height: 60vh;
    max-width: 50vw;
    overflow-y: scroll;
    background-color: rgba(229, 177, 58, .8);
    border: 4px solid rgba(229, 177, 58, .8);
}
.shipViewer {
    display: flex;
    justify-content: center;
    height: 60vh;
    max-width: 60vw;
    border: 4px solid rgba(229, 177, 58, .8);
    border-radius: 10px;
}
.shipViewer img{
    cursor: pointer;
    border-radius: 10px;
    max-width: 40vw;
    height: auto;
    object-fit: cover;
 }
 .shipViewer:hover{
    height: 70vh;
    width: 70vw;
 }
 .shipViewer:hover img{
    height: 100%;
    max-width: 100%;
 }
footer{
    width: 100%;
    position: fixed;
    bottom: 0;
    text-align: center;
    background-color: rgba(87, 95, 114, 0.7);
    color: #EEE;
    padding: .5rem;
}
ul {
    list-style-type: none;
    margin: 1rem;
}

li {
    background-color: black;
    margin: .10rem;
}
a {
    text-decoration: none;
    color:black;
}
.navlist a{
    color: rgba(229, 177, 58, .8);
    font-size: large;
}
.navlist a:hover{
    color:red;
}
.modal{
    display: none;
}
.modal.is-active{
    display: block;
}
.modal-background{
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    overflow-y: hidden;
    background-color: rgba(79, 79, 79, .9);
}
.modal-content{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 3;
}
.box{
    border-radius: 1rem;
    padding: 1rem;
    background-color: rgba(229, 177, 58, .8);;    
}
header{
    display: flex;
    justify-content: center;
}
.starwars-logo{
    height: 10rem;
}
.no-image{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    color: rgba(229, 177, 58, .8);
}
.box img{
    cursor: pointer;;
}
@media (max-width: 640px){
    html{
        font-size: 60%;
    }
    .box{
        height: auto;
        max-width: 90%;
    }
    .box img{
        height: auto;
        max-width: 90%;
    }
}