@font-face {
    font-family: DepartureMono;
    src: url("/assets/DepartureMono-Regular.otf") format("opentype");
}

body {
    background-color: #645c74;
    overflow: hidden;
    overflow-y: hidden;
    background-image: url("/assets/grid-bg.gif");
    animation-name: fadein;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    font-family: DepartureMono;
}

@keyframes flyin {
    0% {
        transform: translatex(-5000px) translatey(-5000px);
        opacity: 0;
    }
    /*80% {
        transform: translatex(50px) translatey(50px);
    }
    90% {
        transform: translatex(-25px) translatey(-25px);
    }*/
    100% {
        transform: translatex(0px) translatey(0px);
        opacity: 1;
    }
}

@keyframes flyout {
    0% {
        transform: translatex(0px) translatey(0px);
        opacity: 1;
    }
    /*80% {
        transform: translatex(50px) translatey(50px);
    }
    90% {
        transform: translatex(-25px) translatey(-25px);
    }*/
    100% {
        transform: translatex(-5000px) translatey(-5000px);
        opacity: 0;
    }
}

@keyframes diagonal-move {

	0% {
		transform: translatex(0) translatey(0);
	}

	100% {
		transform: translatex(100vw) translatey(100vh);
	}

}

@keyframes fadein {
    100% {
        opacity: 1;
    }
}

@keyframes fadeout {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


.bg {
    opacity: 0;
    /*position: absolute;
    left: 0;
    top: 0;*/
    z-index: -1;
    height: 100%;
    width: 100%;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #605E73;
}
.home {
    text-align: center;
    border: 2px solid white;
    color: white;
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 325px;
    height: 300px;
    /* width: 40vw;
    height: 40vh; */
    background-color: #1F1D2B;
    box-shadow: 20px 20px black;
    animation-name: flyin;
    animation-duration: 1s;
}

.homeimg {
    margin-top: 20px;
    background-color: black;
    border-radius: 100%;
    border: 2px solid white;    
    margin-bottom: -10px;
}

.hometext-h1 {
    text-align: center;
    margin-bottom: 0px;
}

p {
  line-spacing: 10px;
}

.homebutton {
    margin-top: 1%;
}

button {
    padding: 5px;
    background-color: #A197DD;
    border-radius: 5px;
    border: 2px solid rgba(0,0,0,0);
    transition: font-weight 0.15s;
}

button:disabled {
  background-color: #5E5C71;
  color: black;
}

img {
  margin-top: 20px;
  margin-bottom: -10px;
}

.buttons {
  margin-bottom: -18px;
}

a.visited {  
  color: #a197dd;
}
a {
  color: #a197dd;
}

button:hover {
    font-weight: 700;
}