*{margin: 0;}
header{text-align: center;}

body{
    overflow: hidden;
    font-family: 'Electrolize', sans-serif;
    background-color: #121268;
    background-image: url('https://gmajackie.com/astromath/earth-lg-175.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;     
}
@font-face {
    font-family:myClock;
    src: url(Ledsim.ttf);
 }
 
 p#timer {
    text-align: center;
    font-size: 1.8em;
    margin-top: 0px;
    font-family: 'myClock', sans-serif;
    color: lightblue;
    padding: 0;
    position: absolute;
    top: 5px;
    right: 5%;
 }


#asteroid-count {background: black;
    padding: 10px; border: white solid 1px;
}
.container{
    padding: 20px;
    overflow: hidden;
}

.container h1{
    float:left;
    margin-left: 10%;
    color: white;
    background: rgba(247, 247, 250, 0.73);
}

.container ul{
    list-style-type: none;
    font-size: 20px;
    margin-right: 0%;
}

.container li{
    margin-top: 10px;
    float:left;
    padding: 0 10px 0 10px;
}

.container a{
    text-decoration: none;
    color: white;
}

.current a::after{
    content: "_";
    background-color: antiquewhite;
    font-size: 4px;
    display: block;
}


/* Set up the container for the two columns */
.wrapper {
    display: flex; /* Use flexbox to lay out the columns */

    border: 15px double rgb(243, 241, 241);
    border-radius: 15px;
    padding-top: 20px;
    margin-left: 5%;
    margin-right: 5%;
}

/* Style the left column */
.left-column {
    width: 80%; /* Take up 80% of the container's width on desktop */
    flex-basis: 80%; /* Same as width */
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
}

/* Style the right column */
.right-column {
    width: 20%; /* Take up 20% of the container's width on desktop */
    flex-basis: 20%; /* Same as width */
    display: flex; /* Use flexbox to stack the divs vertically */
    flex-direction: column; /* Stack the divs vertically */
    margin-left: -20%;
}

/* Style the divs in the right column */
.right-column > div {
    background: rgba(15, 15, 15, 0.45);
    font-size: 48px;
    font-weight: bold;
    color: rgb(9, 241, 9);
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
    border: 1px white solid;
}
.right-column > div:hover {
    background-color: black;
    color: gold;
}
.equation h1{
    display: inline;
    font-size: 5em;
    padding: 8px;
}



/* Media query for mobile */
@media screen and (max-width: 767px) {
    /* Change the layout on mobile */
    .wrapper {
        flex-wrap: wrap; /* Allow the columns to wrap */
    }
    .left-column {
        width: 100%; /* Take up 100% of the container's width on mobile */
        flex-basis: 100%; /* Same as width */
    }
    .right-column {
        width: 100%; /* Take up 100% of the container's width on mobile */
        flex-basis: 100%; /* Same as width */
        justify-content: center; /* Center the divs horizontally */
        flex-direction: row; /* Show the divs in a row */
        margin-left: 0;
    }
    .right-column > div {
        margin-right: 8px; 
        margin-left: 8px;
        font-size: 20px; 
        width: 38px;  

    }
    .right-column > div:hover {
        background: rgba(15, 15, 15, 0.45);
        color: lime;
        
    }
    .equation h1{
        display: inline;
        font-size: 42px;
    }
    #asteroid-count{
        font-size: .65em;
    }
    header li a {font-size: .8em;}
    body{background-image: url('earth-mobile.jpg');
    background-size: auto;}

}
