
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

/*   .card {
    max-width: 100% !important;
  } */

  #defs .card, #def.card, #form.card {
    max-width: 95%;
    width:100% !important;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
/*   .card {
    max-width: 100%  !important;
  } */

  #defs .card, #def.card, #form.card {
    max-width: 90%;
    width:100% !important;
  }
  section {

    scroll-snap-align: none !important;

  }

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

  .card {
    max-width: 100%;
  }

  #defs .card {

    width:100% !important; 
  }

  section {

    scroll-snap-align: none !important;

  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .card {
    max-width: 60% !important;
  }
  html {

    /* scroll-snap-type: y mandatory  !important; */
    scroll-padding: 50px;
  }
  section {

    scroll-snap-align: start !important;

  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

  .card {
    max-width: 60% !important;
  }

  

}


html {
  height: 100vh;
  overflow-y: scroll;
  scroll-padding: 40px;
}
section {
	border-bottom: 1px solid white;
	padding: 1rem;
	min-height: 100vh;
	text-align: center;
	position: relative;
  padding:30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

body {
  margin: 0;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
}

* {
	box-sizing: border-box;
}



body {
      font-family: 'Roboto', sans-serif;


    }

    /* #def {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      padding: 20px;
      border-radius: 15px;
      width: max-content;
      margin: auto;


    } */

    .card {
      /* Add shadows to create the "card" effect */
      box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
      transition: 0.3s;
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      padding: 20px;
      border-radius: 15px;
      width: max-content;
      margin: auto;
      margin-bottom: 5%;
      max-width: 60%;
      background: whitesmoke;
      text-align:start;
    }

    .card2 {
      /* Add shadows to create the "card" effect */
      box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
      transition: 0.3s;
  
      padding: 20px;
      border-radius: 15px;
      width: max-content;
      margin: auto;
      margin-bottom: 5%;
      max-width: 60%;
      min-width: 24%;
      background: whitesmoke;
      text-align:start;
    }

    .defQ {
      width: 100%;
    }

    /* On mouse-over, add a deeper shadow */
   /*  .card:hover {
      box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    } */

    .material-icons-round {

      cursor: pointer;
    }

    .defTop {
      display: flex;
      align-items: center;
      border-bottom: solid 1px;
      width: 100%;
      justify-content: space-between;
    }

    .defTop div h1 {
      font-weight: 900; 
      font-size: xx-large; 
      margin: 0;
      color: #3f51b5;

    }

    .defBot {

      display: flex;
      align-items: center;
      border-top: solid 1px;
      width: 100%;
      justify-content: space-between;
      padding:10px 10px 0 10px;
    }

    .defBot div {
      display: flex;
      align-items: center;
      cursor: pointer;
    }

    .defBot span {
      padding-left:5px;
    }

    .defCent {

      padding: 10px;

    }


    input[type=text] {
      width: 100%;
      -webkit-transition: width 0.4s ease-in-out;
      transition: width 0.4s ease-in-out;
    }
    
    /* When the input field gets focus, change its width to 100% */
    input[type=text]:focus {
      width: 100%;
    }



    .textInput {

      width: 100%;
      border-radius: 10px;
      padding: 20px;
      border: solid lightgrey;
      margin-bottom: 10px;


    }

    .textInput:focus {
      outline: none;
    }



    .question {
      width: 100%
    }

    .formErrMsg {

      color : red;
      font-size: 1.2em;
      margin: 5px;
    }

    #submit {
      border-radius: 10px;
      margin-top: 20px;
      padding: 20px 30px;
      font-weight: bold;
      box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
      transition: 0.3s;
      border: none;
      font-size: large;
      background: #009688;
      cursor: pointer;
      color: white;
      -webkit-transition-duration: 2s; /* Safari */
      transition-duration: 1s;
      
      text-decoration: none;
      overflow: hidden;
    }

   /*  #submit:after {
      content: "";
      background: #90EE90;
      display: block;
      position: absolute;
      padding-top: 300%;
      padding-left: 350%;
      margin-left: -20px!important;
      margin-top: -120%;
      opacity: 0;
      transition: all 0.8s
    }
    
    #submit:active:after {
      padding: 0;
      margin: 0;
      opacity: 1;
      transition: 0s
    }


  
     */

     

/*   .ripple-btn {
      transition: background 1s;
  } */
  #submit:active {
      background-image: radial-gradient(circle, transparent 1%, #01524b 1%);
      background-position: center;
      background-size: 15000%;
  }

  #submit:disabled {
    background: #9e9e9e;
    cursor:auto;
    color: grey;
 
  }


  #submit:disabled:hover {
    background: #9e9e9e;
    cursor:auto;
    color: grey;
 
  }


    #submit:hover {
      box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
      background: #05deca;
    }

    #play {
      color: #673ab7;
      
    }

     .innerSection	{
	/* position: absolute; */
	/* top: 50%; */
	/* transform: translateY(-50%); */
	text-align: center;

	width: 100%;
	
} 


.heading {
      text-align: center;
      /* font-size: calc(1rem + 3vw); */
      width: 100%;
    }

    .heading h1 {
      font-size: calc(1rem + 3vw); 
    }


#header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: sticky;
  top: 0;
  min-height: 40px;
  background-color: white;
  color: black;
  margin: 0;
  padding: 0 30px;
  z-index: 9;
}

#header h1, #header h4 {
  margin: 0;
}


#idTaken {

  color : red;
  font-size: large;
  display: none;
  padding-left :10px;
}

#search {

  width: 100%;
  padding:30px 10px;
}

#defs .card {

  width:45%;
}

