@import url('https://fonts.googleapis.com/css?family=Poiret+One|Source+Sans+Pro');

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html, body {
    background-color: #000;
    height: 100%;
    position: fixed;
    overflow: hidden;
    margin: 0;
}

.primary {
    color: #fff;
    text-shadow: 0 0 24px #000;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 48px;
    line-height: 52px;
    opacity: 0;
    animation: fadeIn 2s ease 0.5s forwards;
}

.center-stack {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    cursor: default;
    z-index: 2;
}

.primary,
.separator,
.secondary,
.spaceship {
    position: static;
    left: unset;
    top: unset;
    transform: none;
    margin: 0;
}

.separator {
    width: 150px;
    height: 1px;
    background-color: #fff;
    box-shadow: 0 0 24px #000;
    margin: 8px 0;
    opacity: 0;
    animation: fadeIn 2s ease 1s forwards;
}

.secondary {
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 24px #000;
    font-family: 'Source Sans Pro', sans-serif;
    opacity: 0;
    animation: fadeIn 2s ease 1.5s forwards;
    padding-bottom: 24px;
}

.spaceship {
    width: 300px;
    height: 300px;
    background-image: url('spaceship.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: transparent;
    opacity: 0;
    animation: fadeIn 2s ease 5s forwards;
}

.button {
    background-color: #fff;
    color: #000;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 0 24px #000;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 20px;
    opacity: 0;
    animation: fadeIn 2s ease 2s forwards;
    transition: background-color 0.3s, color 0.3s;
    border: 1px solid #000;
}

.button:hover {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
}

.button:active {
    background-color: #000;
    color: #fff;
    border: 1px solid #00ff00
}

.bottom-left {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 3;
}

.bottom-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: transparent;
    color: #fff;
    text-shadow: 0 0 24px #000;
    text-align: center;
    line-height: 50px;
    font-family: 'Courier New', Courier, monospace;
    opacity: 0;
    animation: fadeIn 2s ease 2.5s forwards;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer a:visited {
    color: #ccc;
}

.footer a:active {
    color: #fff;
}

/* Weather Widget CSS */
.weather {
    position: fixed;
    top: 2%;
    left: 2%;
    width: auto;
    color: #fff;
    pointer-events: none;
    user-select: none;
    cursor: default;
    opacity: 0;
    animation: fadeIn 2s ease 3.5s forwards;
}

.weather table {
    min-width: 300px;
    font-family: 'Source Sans Pro', sans-serif;
    margin: auto;
}

.weather-img {
    width: 100px !important;
}

.weather-city {
    font-size: 28px;
    text-align: center;
}

.weather-temp {
    font-size: 24px;
    text-align: center;
}

.weather-feels-like {
    font-size: 14px;
    text-align: center;
    vertical-align: top;
}

.weather-description {
    font-size: 16px;
    text-align: center;
}

.weather-wind-speed-direction {
    font-size: 16px;
    text-align: center;
}

.weather-time {
    font-size: 12px;
    text-align: center;
    display: inline-block;
    width: 100%;
}

@media only screen and (max-width: 480px) {
    .weather {
        position: fixed;
        left: 50%;
        right: 50%;
        top: 2%;
        max-width: fit-content;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
    }

    .bottom-left,
    .bottom-right {
        bottom: 50px;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}