* {
    box-sizing: border-box;
}
.row::after {
    content: "";
    clear: both;
    display: table;
}
[class*="col-"] {
    float: left;
    padding: 2px;
}
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

html {
    font-family: "Montserrat", "arial", "Helvetica", sans-serif;
    line-height: 1.6;
    font-size: 16px;
    height: 100vh;
}
#bd1 {
    height: 100vh;
}
.header {
    background-color: lightblue;
    padding: 0px;
}
.menu ul {
    list-style-type: none;
    margin: 0;
    background-color: darkblue;
    color: #E3C6B4;
    padding: 0;
}
.menu li {
    padding: 8px;
    margin-bottom: 7px;
    background-color: darkblue;
    color: #E3C6B4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.menu li:hover {
    background-color: blue;
}
IMG.displayed {
    display: block;
    margin: 0 auto;
}
li {
    color: #E3C6B4;
}
 /* unvisited link */
a:link {
    color: black;
}
/* visited link */
a:visited {
    color: blue;
}
/* mouse over link */
a:hover {
    color: red;
}
/* selected link */
a:active {
    color: blue;
}

#leftsecRow {
    float: left;
    padding-left: 70px;
    padding-right: 10px;
}
#rightsecRow {
    float: right;
}
#logoText {
    float: left;
}
.leftText {
    text-align: left;
    padding: 20px;
    display: inline;
}
.rightText {
    text-align: right;
    padding: 20px;
    display: inline;
}
h1 {
    display: block;
    font-size: 1.5em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}
h2 {
    display: block;
    font-size: 1.25em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}
#toprow {
    background-color:black;
    height: 12vh;
}
#main {
    background-image: url('images/bg-red.png');
}
#bottom {
    background-image: url('images/bg-black.png');
}
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.dealBut {
    float: left;
    background-color: lightgray;
    height: 6vh;
    width: 8vw;
    border: none;
    border-radius: 4px;
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 3vh;
    margin: 2vh 4vw;
}
.prize {
    float: left;
    background-color: goldenrod;
    height: 5vh;
    min-width: 10vw;
    width: 90%;
    border: none;
    border-radius: 1vh;
    color: black;
    text-align: right;
    text-decoration: none;
    font-size: 1.5vw;
    font-weight: 600;
    margin: 1vh 1vw 0.5vh 1vw;
}
.newOffer {
    background-color: goldenrod;
    height: 5vh;
    min-width: 10vw;
    border-radius: 1vh;
    color: black;
    font-size: 3vh;
    font-weight: 600;
    padding: 2vh 2vw;
    margin: 1vh 1vw 0.5vh 1vw;
}
.offer {
    float: left;
    background-color: goldenrod;
    height: 4vh;
    min-width: 8vw;
    width: 70%;
    border: none;
    border-radius: 1vh;
    color: black;
    text-align: right;
    text-decoration: none;
    font-size: 1.5vw;
    font-weight: 600;
    padding: 0vh 1vw;
    margin: 1vh 1vw 0.5vh 1vw;
}
.keypad {
    float: left;
    background-color: gray;
    width: 4.5vw;
    border: none;
    border-radius: 1vh;
    color: black;
    font-size: 1.5vw;
    font-weight: 600;
    text-align: center;
    padding: 1vh 0.5vw 1vh 0.5vw;
    margin: 2vh 3vw;
}
.keypad:hover {
    background-color: darkgray; /* Grey */
    color: white;
}

.button {
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}
#equals {
    height: 40px;
    width: 133px;
}
#blank {
    visibility: hidden;
}
.button {
    background-color: goldenrod;
    border: none;
    border-radius: 0.5vw;
    color: black;
    padding: 2vh 2vw;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 3vh;
    font-weight: 600;
    margin:2vh 2vw;
}
.button:hover {
    background-color: grey; /* Grey */
    color: white;
}
#banner1 {
    left: 70px;
    width: 90%;
    padding: 10px;
    margin: 10px;
}
#bannerTextBox {
    right: 70px;
    width: 90%;
    border: 5px solid black;
    padding: 10px;
    margin-top: 15px;
}
#playButton {
    height: 30px;
    width: 90px;
    background-color: yellow;
    color: black;
    text-align: center;
}
.textPara {
    line-height: 1.6;
    max-width: 700px;
}
#display {
    margin-top: 20px;
    border-style: solid;
    border-color: blue;
    border-radius: 5px;
    border-width: 3px;
    padding: 5px;
    text-align: right;
    background-color: lightgray;
    font-size: 20px;
    font-weight: bold;
    color: black;
    width: 83%;
}
#winValue {
    height: 10vh;
    width: 20vw;
    background-color: red;
    border: 5px solid gold;
    border-radius: 5px;
    color: black;
    font-size: 3vh;
    font-weight: 500;
    text-align: center;
    padding: 10px 20px;
    display: inline-block;
}
#title {
    text-align: left;
}

/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  #myImg:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 100;
    top: 30;
    width: 20%; /* Full width */
    height: 20%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (Image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 100%;
  }
  
  /* Caption of Modal Image (Image Text) - Same Width as the Image */
  #caption {
    margin: auto;
    display: block;
    width: 20%;
    text-align: center;
    color: black;
    font-weight: 600;
    font-size: 4vh;
    padding: 10px 0;
    position: absolute;
    top: 105px;
    left: 60px;
}
  
  /* Add Animation - Zoom in the Modal */
  .modal-content, #caption {
    animation-name: zoom; 
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
  
  @media only screen and (max-width: 850px) {
    /* For mobile phones: */
    #caption {
        top:50px;
        left: 40px;
    }
    #secondPic {
        display: none;
    }
    #caseCol {
        width: 41.66%;
    }
    #topRowPic {
        width: 50%;
    }
    #dealButton {
        margin: 3vh 2vw 0vh 2vw;
    }
    #noDealButton {
        margin: 5vh 2vw 0vh 2vw;
    }
    #myCasePic {
        margin: 5vh 2vw 0vh 2vw;
    }
    h1 {
        display: block;
        font-size: 1em;
        margin-top: 0.67em;
        margin-bottom: 0.67em;
        margin-left: 0;
        margin-right: 0;
        font-weight: bold;
    }
    h2 {
        display: block;
        font-size: 0.75em;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        margin-left: 0;
        margin-right: 0;
        font-weight: bold;
    }
}

@media only screen and (max-width: 468px) {
    /* For mobile phones: */
    [class*="col-"] {
        width: 100%;
    }
    #secondPic {
        display: none;
    }
    .keypad {
        font-size: 3vh;
    }
    .prize {
        font-size: 3vh;
    }
    #caseCol {
        width: 100%;
    }
    .dealBut {
        width: 40%;
    }
    #topRowPic {
        width: 25%;
    }
}

