@import url(https://fonts.googleapis.com/css?family=Work+Sans:300,600);

* {
  box-sizing: border-box;
}

strong{
  font-weight:bold;
}

body{
	font-size: 18px;
	font-family: 'Work Sans', sans-serif;
	color: #333;
  font-weight: 300;
  text-align: center;
  background-color: #f8f6f0;
}
h1{
  font-weight: 300;
  margin: 0px;
  padding-bottom: 30px;
  font-size: 20px;
  background-color: #444;
  color: #fff;
}
input[type="text"]{
  font-size: 18px;
	font-family: 'Work Sans', sans-serif;
	color: #333;
  font-weight: 300;
  text-align: center;
  background-color: #f8f6f0;
  margin: 5px;
}
a{
  text-decoration: none;  
  color: #333;
  background-color: rgb(177, 250, 205);
  border-radius: 25px;
  padding: 0 25px;
}
.enunciat{
  text-align: left;
  font-weight: bold;
  font-size: 13.5px;
}
.cursiva{
  font-style: italic;
}
.negreta{
  font-weight: bold;
}
.question{
  font-size: 22px;
}
button{
  font-family: 'Work Sans', sans-serif;
	font-size: 18px;
	background-color: #279;
	color: #fff;
	border: 0px;
	border-radius: 3px;
	padding: 20px;
	cursor: pointer;
}
button:hover{
	background-color: #38a;
}
h2{
  font-size: 1.1em;
}




.slide{
  position: relative;
  left: 0px;
  top: 0px;
  z-index: 1;
  display: none;
  -webkit-animation-name: animateopac;
  -webkit-animation-duration: 0.4s;
  animation-name: animateopac;
  animation-duration: 0.4s;
}
.active-slide{
  display: block;
  z-index: 2;
}
.quiz-container{
  position: relative;
}
.button-container{
  position: relative;
  text-align: center;
  z-index: 3;
  margin-bottom: 25px;
}
.enunciat-container{
  margin-bottom: -20px;
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  /*padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* Add Opacity Animation */
@-webkit-keyframes animateopac {
  from {opacity:0} 
  to {opacity:1}
}

@keyframes animateopac {
  from {opacity:0}
  to {opacity:1}
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #dd3636;
  color: white;
}

.modal-body {
  padding: 2px 16px;
  text-align: justify;
}

.modal-footer {
  padding: 2px 16px;
  background-color: #dd3636;
  color: white;
}



/*Responsive*/

/* For mobile phones: */
[class*="col-"] {
  float: left;
  padding: 15px;
  width: 100%;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

@media only screen and (min-width: 768px) {
  /* For desktop: */
  .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%;}

  h1{
    font-size: 35px;
  }

  .enunciat{
    font-size: 17px;
  }

  .question{
    font-size: 30px;
  }

  input[type="text"]{
    font-size: 20px;
  }

  body{
    font-size: 20px;
  }

  button{
    font-size: 22px;
  }

  a:hover{
    font-size: 20.5px;
    color: #000;
  }

  h2{
    font-size: 1.5em;
  }
}