* {
    box-sizing: border-box;
}

body {
    text-align: center;
    padding-left: 5px;
    background-image: url("../images/desk.jpeg");
    background-size: cover;
}

#left {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: flex-start;
    align-content: flex-start;
    text-align: center;
    background-image: url("../images/wood5.jpeg");
    border-radius: 10px;
}

#bigBox {
    display: flex;
    flex-direction: row;
    text-align: left;
    
}

#scoreBoardBox {
    padding: 5px;
    min-width: fit-content;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    margin-bottom: 2px;
    margin-top: 1px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    display: table;
}

#MASTERMIND {
    font-size: 30px;
    text-align: center;
    margin-bottom: 5%;
    margin-top: 5px;
}

#mission {
    text-decoration: underline;
    margin-bottom: 1px;
}

#statement {
    margin: 3px;
    margin-bottom: 5px; 
}

#directions {
    cursor: pointer;
    text-decoration: underline;
    text-align: center;
    background: none;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: 200;
    font-family: 'Times New Roman', Times, serif;
}

#audio {
    cursor: pointer;
    text-decoration: underline;
    text-align: center;
    background: none;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: 200;
    font-family: 'Times New Roman', Times, serif;
}

#instructions {
    text-align: left;
    display: none;
    /* overflow: hidden; 
    height: 0;
    opacity: 0;
    transition: height 0ms 400ms, opacity 400ms 0ms; */
}

#visible {
    text-align: left;
    display: block;
    /* height: auto; opacity: 1;
    transition: height 0ms 0ms, opacity 600ms 0ms; */
}


#buttonBox {
    display: flex;
    flex-direction: column;
    margin-top: 150px;
}

.submitButton {
    min-width: 100px;
    min-height: 100px;
    border-radius: 50%;
    margin-left: 100px;
    margin-right: 40px;
    margin-top: 50px;
    border: 5px solid;
    border-style: solid;
    border-width: 7px;
    border-color: rgba(0, 0, 0, 0.9);
    box-shadow: 2px 4px rgba(46, 46, 46, 0.6);
    background-image: url("../images/wood5.jpeg");
}

#gameBoardBox {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    width: fit-content;
    align-items: center;
    border: 3px solid black;
    border-style: ridge;
    border-radius: 10px;
    background-image: url("../images/wood5.jpeg");
    background-size: cover;
    box-shadow: 3px 5px rgba(46, 46, 46, 0.6);
    height: fit-content;
    transform: scale(93%) rotate(0.0025turn);
}

#titleBox {
    display: flex;
    flex-direction: row;
    max-height: 30px;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 5px;
    font-size: 20px;
}

#gameTitle {
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 2px;
    margin-top: 2px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
} 

#compCode {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

#compCode > div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    border: 2px solid black;
    margin: 5px;
    color: black;
}

.codeRows {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 3px;
}

.codeAttempts {
    border: 1px solid black;
    padding: 1px;
    background-image: url("../images/wood6.jpeg");
    background-size: cover;
    border-radius: 8px;
    max-height: 45px;
    display: flex;
    align-items: center;
    box-shadow: 2px 3px rgba(46, 46, 46, 0.6);
}

.codeAttempts > div {
    display: inline-block;
    border-radius: 50%;
	height: 37px;
	width: 37px;
    border: 2px solid rgb(0, 0, 0);
    margin: 5px;
    background-color: white;
    box-shadow: 2px 2px rgba(46, 46, 46, 0.6);
}

.codeAttempts:hover {
    cursor: pointer;
}

.colorChoices:hover {
    cursor: pointer;
}

#submitCode:hover {
    cursor: pointer;
    background-image: none;
    background-color: red;
    color: yellow;
}

#resetScore:hover {
    cursor: pointer;
    background-image: none;
    background-color: black;
    color: red;
}

#resetButton:hover {
    cursor: pointer;
}

.feedback {
    display: grid;
    grid-template-columns: 25px 25px;
    grid-template-rows: 25px 25px;
    justify-items: center;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    border-radius: 4px;
    max-width: 60px;
    max-height: 60px;
    box-shadow: 2px 2px rgba(46, 46, 46, 0.6);
    background-color: grey;
    background-image: url("../images/feedback.jpeg");
}

.feedback > div {
    align-self: center;
    justify-content: center;
    border-radius: 50%;
	height: 17px;
	width: 17px;
    border: 2px solid rgb(0, 0, 0);
    margin: 1px;
    background-color: white;
    box-shadow: 1px 1px rgba(46, 46, 46, 0.6);
}

.defcon {
    display: flex;
    margin: 5px;
    font-size: 35px;
    border-radius: 50%;
    color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-content: center;
    align-items: center;
    align-self: center;
    font-family: 'Kalam', cursive;
}

.defcon > div {
    color: rgba(255, 255, 0, 1);
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: black;
    min-width: 45px;
    max-width: 45px;
    text-align: center;
    outline-offset: 3px;
    border-radius: 50%;
    max-height: 40px;
}

#defcon0 {
    transform: rotate(0.06turn);
}

#defcon1 {
    transform: rotate(0.025turn);
}

#defcon2 {
    transform: rotate(-0.018turn);
}

#defcon3 {
    transform: rotate(0.033turn);
}

#defcon4 {
    transform: rotate(-0.03turn);
}

#defcon5 {
    transform: rotate(0.045turn);
}

#defcon6 {
    transform: rotate(0.01turn);
}

#defcon7 {
    transform: rotate(-0.03turn);
}

#defcon8 {
    transform: rotate(0.04turn);
}
#defcon9 {
    transform: rotate(-0.02turn);
}


.colorChoices {
    display: flex;
    flex-direction: row;
    max-height: 40px;
    align-items: center;
    margin: 8px;
    margin-bottom: 8px;
}

.colorChoices > div {
    border-radius: 50%;
	height: 40px;
	width: 40px;
    border: 2px solid black;
    margin: 5px;
    box-shadow: 3px 3px rgba(46, 46, 46, 0.7);
}

#col1 {background-color: red;}
#col2 {background-color: blue;}
#col3 {background-color: green;}
#col4 {background-color: yellow;}
#col5 {background-color: orange;}
#col6 {background-color: purple;}


#scoreBoardRight {
    /* border: 1px solid black; */
    margin-left: 75px;
    margin-top: 20%;
    margin-bottom: 5%;
    min-width: 250px;
    min-height: 375px;
    font-family: 'Kalam', cursive;
    background-image: url("../images/notepad2.png");
    background-size: 90%;
    background-repeat: no-repeat;
    transform: rotate(0.02turn);
    padding: 10px;
}


#SCORE {
    font-size: 30px;
    text-align: center;
    margin-bottom: 1px;
}


#guess, #wins, #loses {
    margin: 5px;
}

#messages {
    text-decoration: underline;
    margin-top: 5px;
}

#messageBoard {
    outline: 1px solid black;
    max-width: 200px;
    min-height: 125px;
    border-radius: 3px;
}

#playAgain {
    margin: 15px;
    margin-left: 40px;
    background-image: none;
    background: red;
    animation: buttonColorAnim;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes buttonColorAnim {
    0% {
        background-color: red;
    }

    25% {
        background-color: rgba(255, 255, 0, 1);
    }

    50% {
        background-color: red;
    }

    75% {
        background-color: rgba(255, 255, 0, 1);
}
    100% {
        background-color: red;
    }
}

