 /*Animations*/
}
@keyframes wobbleArrow {
    0% { 
        transform: translate(-50%, -50%) translateX(0px);
    } 
    15% { 
        transform: translate(-50%, -50%) translateX(-25px);
    } 
    30% { 
        transform: translate(-50%, -50%) translateX(20px);
    } 
    45% { 
        transform: translate(-50%, -50%) translateX(-15px);
    } 
    60% { 
        transform: translate(-50%, -50%) translateX(10px);
    }
    75% { 
        transform: translate(-50%, -50%) translateX(-5px);
    }
    100% { 
        transform: translate(-50%, -50%) translateX(0px);
    } 
}
@keyframes shake {
    0% { 
        transform: translateX(0px);
    } 
    15% { 
        transform: translateX(-25px);
    } 
    30% { 
        transform: translateX(20px);
    } 
    45% { 
        transform: translateX(-15px);
    } 
    60% { 
        transform: translateX(10px);
    }
    75% { 
        transform: translateX(-5px);
    }
    100% { 
        transform: translateX(0px);
    }
}
@keyframes glide {
    0% {
        opacity: 0%;
        transform: translateX(50px);
    } 
    100% { 
        opacity: 100%;
        transform: translateX(0px);
    }
}
body {
    background-color: black;    
    background-image: url(images/bg1.jpg);
    background-repeat: repeat;
    background-size: 30%;
    font-family: 'Fondamento', URW Chancery L, cursive;
    font-size: small;
    margin: 0px;
}
button {
    background: blue;
    color: white;
}
img {
    position: absolute;
}
/*Settings*/
.navigation { z-index: 4; }
.graphics { z-index: 3; }
.sprites { z-index: 2; }
.background {
    object-fit: cover;
    size: cover;
}
.icon {
    top: 5px;
    padding: 5px;
    height: 25px;
    width: 25px;
    cursor: pointer;
    display: none;
}
.icon:hover {
    filter: brightness(200%);
}
#musicButton {
    right: 50px;
}
#soundButton {
    right: 15px;
}
/*Dialogue System*/
.arletteStyle {
    color: white;
    background-color: rgb(8, 24, 51);
    background-image: url(images/defaultdialogue.jpg);
    border-color: rgb(13, 35, 71);
}
.guardStyle {
    color: rgb(18, 18, 18);
    background-color: rgb(255, 239, 196);
    background-image: url(images/guarddialogue.jpg);
}
.option {
    width: 200px;
    height: 50px;
    background-color: rgb(10, 38, 84);
    background-image: url(images/optiontexture.jpg);
    border-color: rgb(31, 79, 161);
    border-radius: 10px;
    border-style: outset;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-family: 'Fondamento', URW Chancery L, cursive;
    font-size: 20px;
    margin: 0px 10px;
    transition: 0.3s;
    margin: 3px;
}
.option:hover {
    background-image: none;
    background-color: white;
    color: rgb(31, 79, 161);
}
#dialoguebox {
    width: 500px;
    height: 100px;
    border-style: outset;
    border-width: 3px;
    cursor: pointer;
    display: none;
    font-size: 19px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    border-radius: 5px;
    transform: translateX(-50%);
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5) , 0px 2px 3px rgba(255, 255, 255, 0.2) , 0px -1px 1px rgba(0, 0, 0, 0.9), 0px -2px 3px rgba(0, 0, 0, 0.5);
}
#nametag {
    margin: 0px 5px;
}
#dialogue {
    margin: 5px;
}
#optionsDiv {
    height: 100px;
    width: 600px;
    display: none;
    text-align: center;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}
/*Navigation*/
.menuText {
    display: none;
    font-size: 21px;
    position: relative;
    left: 90px;
    margin: 0px;
    animation: glide 1s ease-out;
    color: white;
    top: 30px;
}
#newgame {
    cursor: pointer;
    transition: 0.1s;
}
#newgame:hover {
    filter: brightness(50%);
}
#title {
    font-size: 5vw;
    color: rgba(0,0,0,0.9);
    filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.8));
}
#container {
    width: 720px;
    height: 480px;
    background: rgb(15, 15, 15);
    background-size: cover;
    background-position: 50% 50%;
    margin: 70px auto;
    position: relative;
    filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.5));
    user-select: none;
}
/*Minigames*/
.fail-animation { animation: wobbleArrow 0.5s; }
.shake-animation { animation: shake 0.3s; }
#guard {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    width: 440px;
}
#controls {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    width: 20vw;
    filter: drop-shadow(0 0 5px black) drop-shadow(0 0 3px black) drop-shadow(0 0 2px black);
}
/*Stealing Minigame*/
.circle {
    top: 50%;
    left: 50%;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}
#innerRing {
    width: 200px;
    height: 200px;
    border: 3px solid red;
    opacity: 25%;
    pointer-events: none;
    z-index: 4;
}
#circle {
    width: 40px;
    height: 40px;
    background-color: black;
    border: 3px solid white;    
    opacity: 25%;
    cursor: pointer;
    transition: 0.2s;
}
#stealingMinigameDiv:hover div{
    opacity: 100%;
}
#stealingMinigameDiv {
    display: none;
}
/*Scamper Minigame*/
#arrow {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    filter: drop-shadow(0 0 5px black) drop-shadow(0 0 3px black) drop-shadow(0 0 2px black);
}
/*Sneaking Minigame*/
.note {
    left: 330px;
    display: none;
    width: 37px;
    height: 37px;
    filter: drop-shadow(1px 1px 0 white) drop-shadow(1px -1px 0 white) drop-shadow(-1px -1px 0 white) drop-shadow(-1px 1px 0 white);
    transform: translate(-50%, -50%);
}
#sneakingMinigameDiv {
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
}
#sneakingProgressBar {
    width: 600px;
    height: 70px;
    left: 50%;
    transform: translate(-50%, -50%);
}

#key {
    width: 37px;
    height: 37px;
    filter: drop-shadow(1px 1px 0 white) drop-shadow(1px -1px 0 white) drop-shadow(-1px -1px 0 white) drop-shadow(-1px 1px 0 white);
    transform: translate(-50%, -50%);
    left: -250px;
    opacity: 75%;
}
.screen {
    position: absolute;
    pointer-events: none;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: black;
}
#overlay {
    z-index: 99;
    opacity: 1;
}
#overlay2 {
    opacity: 0;
}
.sneakingMinigame {
    display: none;
}
#gameTimer {
    width: 0px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 0;
    left: 0;
}
#gameTimerContainer {
    width: 200px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 11px;
    right: 94px;
}
@media only screen and (min-width: 1600px) {
	#container {
	    width: 1080px;
	    height: 720px;
	}
	#guard {
	    top: 50%;
	    left: 50%;
	    transform: translate(-50%, -50%);
	    display: none;
	    width: 440px;
	}
	#guard {
	    width: 560px;
	}
	#optionsDiv {
	    width: 900px;
	}
}