body {
  text-align: center;
  font-family: Arial,sans-serif;
   background-color: #333333; 
}

h2 {
font-size: 16pt;
color: #333333;
}

.green_color_text
{
color: #009999;
}

span 
{
font-size: 13px;
}

p {
font-size: 12pt;
}

ul {
  text-align: left;
}
#board {
  margin-top: 15px;
  width: 84%;
  height: 96%;
  position: relative;
  overflow: hidden;
  display: inline-block;
  /* background-image: url('../img/bg1.png'); */
  /* background-repeat: round; */
  /* border: 2px solid #bbbbbb; */
}

.card {
  width: 330px ;
  height: 400px; 
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 4%; 
  box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.1);
  background-color: white;
  transform: translateX(-50%) translateY(-50%) scale(0.95);
  /* border-color: rgb(60,70,75); */
  /* border-style: groove; */
  
}

.card2 {
width: 330px;
height: 460px;
border-radius: 4%;
box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.1);
background-color: white;
border-color: rgb(60,70,75);
border-style: groove;
float: right;
position: fixed;
right: 90px;
top: 140px;
}

.more_info {
width: 320px;
/* height: 200px; */
border-radius: 3%;
box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.1);
background-color: white;
border-color: rgb(60,70,75);
border-style: groove;
float: right;
position: fixed;
right: 90px;
top: 140px;
text-align: left;
padding: 16px;
}

/* Float four columns side by side */
.custom_column {
  width: 5%;
  padding: 0 10px;
}

/* Remove extra left and right margins, due to padding */
.custom_row {margin: 0 -5px;}

/* Clear floats after the columns */
.custom_row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive columns */
@media screen and (max-width: 600px) {
  .custom_column {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
}

.cardMargin 
{
margin-top: 20px;
}

.ans_span
{
font-weight: bold;
font-size: 18px;
}

.cardBody
{
/* margin-top: 20px; */
color: #1d2129;
font-size: 14px;
text-align:left; 
padding-left:40px;
padding-right:40px;
}

#cardsLeft
{
position: fixed;
left: 80%;
bottom: 5%;
transform: translate(-50%, -50%);
color: rgb(255,255,255);
font-size: 14pt;
}

.result_button
{
float: right;
position: relative;
top: -30px;
margin-left: 10px;
width: 65px;
height: 31px;
cursor: pointer;
}

.result_button:hover
{
background-color: #009999;
color: white;
border: none;
}

.result_button:focus
{
background-color: #009999;
color: white;
border: none;
}

.restart_quiz_button {
border-radius: 4px;
position: fixed;
width: 115px;
height: 40px;
background-color: white;
border: none;
font-size: 14px;
cursor: pointer;
border: 2px solid rgb(65, 170, 170);
float: right;
top: 10px;
right: 10px; 

}

.restart_quiz_button:hover {
background-color: #009999;
color: white;
}

.tick_button{
  cursor: pointer;
  top: 40%;
}
.close_button
{
  position: absolute;
  right: 7px;
  top: 7px;
  cursor: pointer;
  width: 28px;
  height: 25px;
}

.close_button:hover
{
  background-color: #009999;
  color: white;
  border: none;
}

.close_button_more_info
{
  position: absolute;
  right: 1px;
  top: 2px;
  cursor: pointer;
  width: 23px;
  height: 21px;
}

.close_button_more_info:hover
{
  background-color: #009999;
  color: white;
  border: none;
}

.card_image {
  height: 150;
  /* width: 200; */
}

#show_card_result {
  opacity: 0;
  transition: 1s opacity;
  font-size: 40px;
  color: white;
  right: 42%;
  top: 0%;
  position: absolute;
}

.results_hyperlink {
  color:#428BCA;
  /* padding: 10px; */
}

.retry_btn {
    cursor: pointer;
    text-align: center;
    background-color: #ed1a3b;
    color: white;
    border: none;
    padding: 15px 40px;
}

@media all and (max-device-width: 480px) {
  /* Your CSS rules for your mobile phones here */
  
  #board {
    /* margin-top: 15px; */
    width: 100%;
    height: 100%;
    margin: 0px;
    position: relative;
    display: inline-block;
    background-image: url('../img/bg1.png');
    border: none;
    background-size: auto 100%;
    background-repeat: inherit;
    background-position: center;

  }

  h2 {
    font-size: 15pt;
    color: #333333;
  }

  .cardBody {
    /* margin-top: 20px; */
    color: #1d2129;
    font-size: 10pt;
    text-align:left; 
    padding-left:40px;
    padding-right:40px;
  }

  .card {
    position: absolute;
    height: 420px;
    top: 50%;
    left: 50%;
    border-radius: 4%; 
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.1);
    background-color: white;
    transform: translateX(-50%) translateY(-50%) scale(0.95);
    border-color: rgb(60,70,75);
    border-style: groove;
  }

  #cardsLeft {
    position: fixed;
    left: 50%;
    bottom: 5%;
    transform: translate(-50%, -50%);
    color: rgb(255,255,255);
    font-size: 16pt;
  }

  .card_image {
    /* height: 200;
    width: 250; */
  }

  .card2 {
    width: 64% ;
    height: 49%;
    border-radius: 4%;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.1);
    background-color: white;
    border-color: rgb(60,70,75);
    border-style: groove;
    float: right;
    position: fixed;
    right: 90px;
    top: 140px;
  }

  .close_button
  {
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
    width: 42px;
    height: 42px;
  }

  .more_info {
    width: 450px;
    /* height: 200px; */
    border-radius: 3%;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.1);
    background-color: white;
    border-color: rgb(60,70,75);
    border-style: groove;
    float: right;
    position: fixed;
    right: 30%;
    top: 24%;
    text-align: left;
    padding: 40px;
    font-size:30px;
  }

  .close_button_more_info {
    position: absolute;
    right: 8px;
    top: 7px;
    cursor: pointer;
    width: 42px;
    height: 42px;
  }

  p {
    font-size: 13pt;
  }

  span {
    font-size: 33px;
  }

  .restart_quiz_button {
    border-radius: 4px;
    position: fixed;
    width: 340px;
    height: 60px;
    background-color: white;
    border: none;
    cursor: pointer;
    border: 2px solid rgb(65, 170, 170);
    float: right;
    top: 10px;
    right: 10px;
    font-size: 34px;
  }

  .result_button {
    float: right;
    position: relative;
    top: -30px;
    margin-left: 10px;
    width: 140px;
    height: 62px;
    cursor: pointer;
    font-size: 32px;
  }

  .tick_button{
    top: 70%;
  }

  #show_card_result {
    opacity: 0;
    transition: 1s opacity;
    font-size: 18pt;
    color: white;
    right: 30%;
    top: 0%;
    position: absolute;
}
}
