/*@import url('https://fonts.googleapis.com/css2?family='Red Hat Display'&display=swap');
*/

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500&display=swap');

:root {
  --blue: #011347; /*#00313c  1, 19, 71*/
  --light-blue: #E2F1FF; /*#00afd7 rgb(240, 248, 255)*/
  --gray: #efefef;
  --yellow: #F0AE00;
  --bright-blue: #005AC6;
  --blueish: #0C2E8B;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  /*background: center url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgb(240, 248, 255)' viewBox='0 0 100 169.5'%3E%3Cpolygon points='50,34.75 93.5,59.75 93.5,109.75 50,134.75 6.5,109.75 6.5,59.75'%3E%3C/polygon%3E%3Cpolygon points='0,-50 43.5,-25 43.5,25 0,50 -43.5,25 -43.5,-25'%3E%3C/polygon%3E%3Cpolygon points='100,-50 143.5,-25 143.5,25 100,50 56.5,25 56.5,-25'%3E%3C/polygon%3E%3Cpolygon points='0,119.5 43.5,144.5 43.5,194.5 0,219.5 -43.5,194.5 -43.5,144.5'%3E%3C/polygon%3E%3Cpolygon points='100,119.5 143.5,144.5 143.5,194.5 100,219.5 56.5,194.5 56.5,144.5'%3E%3C/polygon%3E%3C/svg%3E");
  background-size: 2px;*/
  background-color: var(--blue);
/* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23efefef' fill-opacity='0.4' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
*/}

:focus {
  outline: 3px solid var(--yellow);
}

#top-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
  padding-right: 20px;
  padding-top: 10px;
}

.cosn-logo-holder {
  background-color: #fff;
  padding:  5px 20px 5px 20px;
  display: inline-block;
  position: absolute;
  left:  0;
  right: 0;
  width: 190px;
  border-bottom-right-radius: 70px;
}

.cosn-logo-holder a{
  margin-left: 0;
}

.header-logo {
  width: 120px;
}

a {
  color:  var(--blue);
}

nav a {
  color:  #fff;
  font-size: 1.2em;
  font-weight: 800;
  margin-left:  30px;
}


h1, h2, h3, h4 {
  font-family: 'Red Hat Display', sans-serif;
  color:  var(--blue);
}

h1 {
  margin: 40px 0 10px 0;
  font-size: 3em;
  font-weight: 700;
  display: block;
  line-height: 1.2;
  background-color: #fff;
}

.cyber-badge{
  height:  200px;
  width: 200px;
  object-fit: contain;
  margin:  10px auto;
  display: block;
}

.title-block {
  padding-left: 30px;
}

.main-game {
  margin-top: 50px;
}

.game {
  background-color: #fff;
  border-bottom-right-radius: 70px;
  padding: 0;
  overflow-x: hidden;
}

.score {
  display: inline-block;
  width: 35px;
  text-align: right;
}

.player-col {
  background-color: #efefef;
  margin-top:  30px;
  padding: 40px 60px 80px 70px;
  border-top-right-radius:  70px;
}

.player {
  padding: 5px 10px;
  margin-right: 10px;
  background-color: #fff;
  margin-top:  10px;
}

.name:hover {
  cursor: pointer;
}

.name {
  border-bottom: var(--blue) 2px dashed;
   width: 180px;
  display: inline-block;
  font-size: 1.2em;
  font-weight: 700;
   height: 30px;
}

.score {
  margin:0 10px;
  font-size: 1.2em;
  font-weight: 700;
  background-color: var(--light-blue);
  padding: 0 5px;
}

button {
  border-radius: 30px;
  background-color: var(--blue);
  color: #fff;
  border: none;
  font-weight: 700;
  padding:  10px 20px;
  width: 170px;
}

button.card-deck {
  background-color: #fff;
  border: var(--blue) 1px solid;
  color: var(--blue);
  font-size: 3em;
  font-weight: 100;
  width: 100%;
  height: 100%;
  margin: 20px auto;
  border-radius: 0;
  display: block;
  z-index: 100;
  background-image: url('../imgs/cyber-security.svg');
  background-size: 50px 50px;
  background-position: 50% 30px;  
  background-repeat: no-repeat;
  position: absolute;
  transform: rotateZ(-2deg);
    -moz-transform: rotateZ(-2deg);
    -webkit-transform: rotateZ(-2deg);
    outline: 3px solid var(--yellow);
    outline-offset: -10px;
  transition: transform .5s ease;
}

button.card-deck:hover, button.card-deck:focus {
  /* box-shadow: var(--bright-blue) -3px 3px, 
              var(--yellow) -7px 7px, 
              var(--gray) -11px 11px, 
              var(--blueish) -15px 15px,               
              var(--bright-blue) -20px 20px; */
/*  background-color: var(--light-blue);
*/  outline: 3px solid var(--blue);
  transform: rotateZ(2deg);
  -moz-transform: rotateZ(2deg);
  -webkit-transform: rotateZ(2deg);
} 

.card-holder {
  position: relative;
  margin: 30px auto 80px auto;
  width: 400px;
  height: 250px;
}

.blank-card {
  width: 400px;
  height: 250px;
  border: 1px solid var(--blue);
  box-shadow: 1px 1px 7px rgba(0,0,0,.25);
  position: absolute;
  top: 0; 
  background-color: #fff;
  outline: 3px solid var(--light-blue);
    outline-offset: -10px;
}

.one {
    transform: rotateZ(-2deg);
    -moz-transform: rotateZ(-2deg);
    -webkit-transform: rotateZ(-2deg);
}

.two {
  transform: rotateZ(3deg);
    -moz-transform: rotateZ(3deg);
    -webkit-transform: rotateZ(3deg);
}

.three {
  transform: rotateZ(-4deg);
    -moz-transform: rotateZ(-4deg);
    -webkit-transform: rotateZ(-4deg);
}

.four {
  transform: rotateZ(5deg);
    -moz-transform: rotateZ(5deg);
    -webkit-transform: rotateZ(5deg);
}

.five {
  transform: rotateZ(-5deg);
    -moz-transform: rotateZ(-5deg);
    -webkit-transform: rotateZ(-5deg);
}

.six {
  transform: rotateZ(7deg);
    -moz-transform: rotateZ(7deg);
    -webkit-transform: rotateZ(7deg);
}

.learn-more {
  font-size: .5em;
}


.btn-cs {
  padding: 5px 15px;
  margin: 15px 0;
}

#add-player {
  padding: 5px 10px;
}

.player button, .timer-buttons {
  height: 30px;
  width: 30px;
  margin: 0 5px 0 0;
  text-align: center;
  padding:  0;
}

#players {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-top: 20px;
}

#chooser-panel {
  background-color: var(--light-blue);
  padding: 30px 40px;
}

.timer-div{
  background-color: var(--light-blue);
  border-bottom-left-radius: 70px;
  padding-top: 40px;
  text-align: center;
}

#time-display {
  font-size: 2.5em;
  text-align: center;
  margin:  0 auto;
}

.timer-controls {
  margin-top:  20px;
}

.timer-buttons {
  display: inline-block; 
}

.timer-buttons img {
  width: 12px;
  height:  12px;
  margin-bottom: 4px;
}
/*modal*/
.modal-body {
  font-size:  2.5em;
  margin:  0  20px;
  line-height: 1.2;
}

.modal-card {
  padding: 60px 40px;
  background: linear-gradient(to right, var(--light-blue) 6px, transparent 6px) 0 0, linear-gradient(to right, var(--light-blue) 6px, transparent 6px) 0 100%, linear-gradient(to left, var(--light-blue) 6px, transparent 6px) 100% 0, linear-gradient(to left, var(--light-blue) 6px, transparent 6px) 100% 100%, linear-gradient(to bottom, var(--light-blue) 6px, transparent 6px) 0 0, linear-gradient(to bottom, var(--light-blue) 6px, transparent 6px) 100% 0, linear-gradient(to top, var(--light-blue) 6px, transparent 6px) 0 100%, linear-gradient(to top, var(--light-blue) 6px, transparent 6px
) 100% 100%;
    background-repeat: no-repeat;
    background-size: 40px 40px;
}

.modal-header, .modal-footer {
  border: none;
}

.trigger::before, .leadership::before, .skills::before, .team::before, .discussion::before, .question::before, .facilitator::before {

}

.trigger::after, .leadership::after, .skills::after, .team::after, .discussion::after, .question::after, .facilitator::after {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #efefef;
  font-size: .35em;
  font-style: italic;
  width: 400px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: 5px 10px;
}

.trigger {
  border: 2px solid var(--blue);
}

.trigger::after{
  content: 'Share your response with the rest of the team.';
}

.leadership {
  border: 2px solid var(--light-blue);
}

.leadership::after {
  content: 'Share your response with the rest of the team.';
}


.skills {
  border: 2px solid var(--yellow);
}

.skills::after {
  content: 'Ask the facilitator to explain the cybersecurity objective & answer the question.';
}

.team {
  border: 2px solid var(--bright-blue);
}

.team::after {
  content: 'Discuss as a team. Select a player to report back.';
}

.discussion {
  border:  2px solid var(--yellow);
}

.discussion::after {
  content: 'The facilitator will ask one player to discuss the topic.';
}

.question, .facilitator {
  border:  2px solid var(--bright-blue);
}

.facilitator::after, .question::after {
  content: 'Ask the facilitator to explain the cybersecurity objective & answer the question.';
}

.details {
  margin: 80px auto 50px auto;
  display: block;
  background-color: var(--yellow);
  color:  var(--blue);
  background-image: url(../imgs/gear.svg);
  padding-left: 30px;
  background-size: 25px 25px;
  background-repeat: no-repeat;
  background-position: 15px;
  width:  220px;
}

.chooser-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}

.chooser {
  width:  33%;
  min-width: 300px;
}

#level-checkboxes  {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}

#redeal {
  display: block;
  width:  220px;
  margin:  30px auto;
}

/*
*
resource page
*
*/

.resources-row {
  margin-top: 30px;
}

.question-block {
  padding: 0 40px 40px 0;
  margin-bottom: 60px;
  font-size:  1.3em;
  border-bottom: 3px solid var(--yellow);
}

.resource-block {
  background-color: var(--light-blue);
  border-top-right-radius: 70px;
  padding:  50px 40px;
  margin-left: -40px;
}

.framework-block {
  padding-left: 40px;
}

.sidebar-logo {
  width: 200px;
  height: auto;
  display: block;
  margin:  0 auto;
}

.share-block {
  margin-bottom: 60px;
  padding-left: 60px;
}

@media only screen and (max-width: 700px) {
  .container-fluid{
    padding: 30px;
  }

  .card-holder {
    width: 300px;
    height: 200px;
  }

  .blank-card {
    width: 300px;
    height: 200px;
  }
  
  .title-block {
    padding-left: 0;
  }

  .framework-block {
    padding-left: 0;
    margin-top: 40px;
  }

  .trigger::after, .leadership::after, .skills::after, .team::after, .discussion::after, .question::after, .facilitator::after {
    width: 100%;
    bottom: 70px;
  }

  .learn-more {
    width: 100%;
    text-align: center;
    margin-top: 160px;
    display: block;
  }

}