body {
    background-color: black;
    margin: 0;
}

main {
    display: grid;
    color: aliceblue;
    font-family: 'Courier New', Courier, monospace;
    margin: 5vmin;
}

h1 {
    font-family: 'Courier New', Courier, monospace;
    color: rgba(240, 248, 255, 0.677);
    position: absolute;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50vh;
    left: 0;
    right: 0;
    text-align: center;
    user-select: none;
}

h4 {
    margin-bottom: 1vh;
}

p {
    margin: 1vh;
    font-size: 1em;
}

a.button {
    border: none;
    border-radius: 5px;
    color: white;
    background-color: rgb(114, 114, 114);
    padding: 10px 13px;
    text-align: center;
    text-decoration: none;
    font-size: 2.2vmin;
    margin: 15px 7px;
    cursor: pointer;
    transition: background-color .2s, padding .2s, margin .2s;
}

a.button:hover {
    background-color: rgb(156, 156, 156);
    padding: 15px 18px;
    margin: 10px 2px;
}

footer {
    display: flex;
    font-family: 'Courier New', Courier, monospace;
    padding: 1vmin;
    margin: 3vh;
}

.star,
.empty_star {
    animation: twinkle 7s infinite;
}

.star:hover {
    cursor: pointer;
}

.hide {
    font-size: 5px;
    display: none;
}

.star:hover+.hide {
    display: block;
    color: white;
}

a:visited {
    color: rgb(202, 221, 255);
}

* {
    box-sizing: border-box;
}

img {
    height: 10vh;
    width: auto;
}

.headshot {
    height: 30vh;
    width: auto;
}

#starnight {
    margin-bottom: 3vmin;
    width: 45vw;
    height: auto;
}

#email_img {
    width: 60vw;
    height: auto;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100vh;
    flex-wrap: wrap;
    overflow: hidden;
    background-image: url('assets/starsky.jpg');
    background-repeat: repeat;
}

.container>div {
    font-size: 5vw;
    padding: .5em;
    color: rgba(0, 0, 0, 0);
    margin: 10px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0);
    border: 5px solid rgba(0, 0, 0, 0);
}

.container>div:nth-child(odd) {
    width: 10%;
}

.container>div:nth-child(even) {
    width: 20%;
}

.container>div:nth-child(2),
.container>div:nth-child(4),
.container>div:nth-child(9) {
    width: 60%;
}

#img1 {
    transform: scale(2);
    animation-delay: -.5s;
    animation-duration: 6s;
}

#img2 {
    transform: scale(2.5);
    animation-delay: 3.5s;
    animation-duration: 8s;
}

#img3 {
    transform: scale(0.6);
    animation-delay: 1.5s;
    animation-duration: 6.3s;
}

#img4 {
    transform: scale(2.7);
    animation-delay: 1s;
    animation-duration: 5s;
}

#img5 {
    transform: scale(1.8);
    animation-delay: 2s;
    animation-duration: 4.6s;
}

#img6 {
    transform: scale(.5);
    animation-delay: -1s;
    animation-duration: 7.1s;
}

#img7 {
    animation-delay: -3s;
    animation-duration: 8.4s;
}

#img8 {
    animation-delay: -5s;
    animation-duration: 5.5s;
}

#img9 {
    animation-delay: -3.6s;
    animation-duration: 6.7s;
}

#img10 {
    animation-delay: -2s;
    animation-duration: 7.2s;
}

@keyframes twinkle {
    0% {
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        opacity: 0.1;
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
    }
}