@font-face {
    font-family: myFirstFont;
    src: url(Retro\ Gaming.ttf);
  }
  
body {
    margin: 0;
    overflow: hidden;
    font-family: myFirstFont;
    position: relative;
}
#captain {
    z-index: -1;
    width: 70px;
    height: 70px;
    position: relative;
    left: 80px;
}
#tyler {
    z-index: -1;
    width: 70px;
    height: 70px;
    position: relative;
    left: -50px;
}
#game-container {
    width: 100vw;
    height: 100vh;
    position: relative;
}


#background {
    width:100%;
    height:60%;
    top: 0;
}



#ocean {
    position: absolute;
    bottom: 30%;
    width: 100%;
    height: 20%;
    background: transparent;
    animation: sway-up-down 2s infinite ease-in-out;
}

@keyframes sway-up-down {
    0%, 100% {
        transform: translate(0px, 0px);
    }
    50%{
        transform: translate(2px, -2px);
    }
}
#wave1{
    width: 100%;
    height: 110%;
    
}
#game-over{
    width:270px;
    height:200px;
    position:absolute;
    background-image:url(FishPrompt.png);
    top: 35%;
    right: 39%;
    text-align: center;
    color:white;
}
#loseMessage{
    font-family: myFirstFont;
    color: white;
    font-size: 15px;
    position: relative;
    top: 30px;
}
#restart-button {
    font-family: myFirstFont;
    color: white;
    height: 70px;
    width: 120px;
    border: none;
    background: transparent;
    background-image: url(TextHolder.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position:  relative;
    top: 30px;
}

#money {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 20px;
    color: white;
}
#sell-button {
    font-family: myFirstFont;
    color: white;
    height: 70px;
    width: 120px;
    border: none;
    background: transparent;
    background-image: url(BUY.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#price-multiplier {
    position: absolute;
    top: 100px;
    left: 10px;
    font-size: 20px;
    color: white;
}
#fish-price {
    position: absolute;
    top: 40px;
    left: 10px;
    font-size: 20px;
    color: white;
}
#fish-to-sell{
    font-family: myFirstFont;
    color: white;
    height: 70px;
    width: 120px;
    border: none;
    background: transparent;
    background-image: url(TextHolder.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    outline: none;
}
#quantityText {
    position: absolute;
    top: 70px;
    left: 10px;
    font-size: 20px;
    color: white;
}
#numberDisplay {
    position: absolute;
    top: 70px;
    left: 150px;
    font-size: 20px;
    color: white;
}
#options {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: white;
    cursor: pointer;
}
#stock-graph {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20%;
    background: black;
}
#bottleButton {
    position: absolute;
    top: calc(50% + 40px);
    transform: translateY(-50%);
    transform: rotate(-45deg);
    background: url('bottle1.png') no-repeat center center;
    background-size: contain;
    width: 70px;
    height: 70px;
    border: none;
    display: none;
    transition: left 5s linear;
    z-index: 3;
}
#sell-fish-popup{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url(FishPrompt.png);
    background-repeat: no-repeat;
    background-size: contain;       
    background-position: center;
    padding: 20px;
    border-radius: 10px;
    height: 200px;
    width: 267px;
    color: white;
    text-align: center;
    display: none;
    z-index: 10;
}
#sell-fish-popup p:nth-of-type(2) {
    position: relative;
    top: -30px; 
  }
#sell-fish-popup input {
    padding: 5px;
    font-size: 16px;
    width: 100px;
    margin-bottom: 10px;
}
#sell-fish-popup button {
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
}
#upgrade-button {
    position: absolute;
    top: 25px;
    right: 10px;
    font-size: 20px;
    padding: 10px;
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
#upgrade-text {
    position: absolute;
    top: 75px; 
    left: 50%; 
    font-family: myFirstFont;
    transform: translateX(-50%); 
    font-size: 13px; 
    font-weight: regular; 
    color: white; 
    z-index: 1;
}
#employees-popup {
    font-size: 12px;
    font-family: myFirstFont;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    height: 267px;
    width: 200px;
    background-image: url(Group\ 1.png);
    padding: 30px;
    border-radius: 10px;
    color: white;
    text-align: center;
    display: none;
    z-index: 10;
    background-repeat: no-repeat;
    background-size: contain;       
    background-position: center;
}
#hire-button {


    height: 70px;
    width: 120px;


    background-image: url(BUY.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    border: none;
    background-color: transparent;


    flex-direction: column;
    justify-content: center;
    align-items: center;


    box-sizing: border-box;
    overflow: hidden;
}
#hireText {
    font-size: 15px;
    font-family: myFirstFont;
    color: white;
    
    text-align: center;
    line-height: 1.2;
    white-space: normal;
}
#boat-button{
    font-family: myFirstFont;
    color: white;
    font-size: 12px;
}
#upgrText {
    font-size: 1px;
    font-family: myFirstFont;
    color: white;
    
    text-align: center;
    line-height: 1.2;
    white-space: normal;
}
#employee-count {
    font-size: 15px;
    font-family: myFirstFont;
    color: white;
}
#boat-button {
    height: 70px;
    width: 120px;


    background-image: url(BUY.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    border: none;
    background-color: transparent;


    flex-direction: column;
    justify-content: center;
    align-items: center;


    box-sizing: border-box;
    overflow: hidden;
}
#close-popup {
    height: 70px;
    width: 120px;
    font-family: myFirstFont;
    color: white;


    background-image: url(TextHolder.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    border: none;
    background-color: transparent;


    flex-direction: column;
    justify-content: center;
    align-items: center;


    box-sizing: border-box;
    overflow: hidden;
}
#close {
    font-size: 15px;
    font-family: myFirstFont;
    color: white;
    
    text-align: center;
    line-height: 1.2;
    white-space: normal;
}
#employees-popup button {
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}
#employeetext {
    position: absolute;
    bottom: 75px;
    right: 20px;
    font-size: 20px;
    color: white;
    background: brown;
    padding: 5px;
}
#boattext {
    position: absolute;
    bottom: 75px;
    right: 20px;
    font-size: 20px;
    color: white;
    background: brown;
    padding: 5px;
}
#incrementButton {
    position: absolute;
    bottom: 30%;
    left:50%;
    transform: translateX(-50%);
    background: transparent;   
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border: none;
    z-index: 0;
    animation: sway 2s infinite ease-in-out;
    cursor:pointer;
}

#ocean-choice-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-align: center;
    display: none;
    z-index: 10;
}
#ocean-choice-popup .ocean-option {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid white;
    border-radius: 5px;
    cursor: pointer;
}
#ocean-choice-popup .ocean-option:hover {
    background: rgba(255, 255, 255, 0.1);
}
#stock-graph {
    height: 30%;
    width: 100%;
    background: transparent;
    background-image: url(Sonar.png);
    background-repeat: repeat;
    background-position: bottom;
    background-size: contain;
    bottom:0%
}


@keyframes sway {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(3px);
    }
}
