@import url(https://fonts.googleapis.com/css?family=Lato:300,400,600,700,800,900);

*{padding:0;margin:0;}
/* Set height to 100% for body and html to enable the background image to cover the whole page: */
body, html {
  height: 100%;
  /* Add a white text color to all elements inside the .bgimg container */
  color: rgb(0, 0, 0);
  /* Set the font-size to 25 pixels */
  font-size: 25px;
  /* Add a font */
  font-family: "Lato", "Courier New", sans-serif;    
	overflow-x: hidden;    
	text-rendering: optimizelegibility;
  background-color: #f9f9f9;
}
  
.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.bgimg {
  /* Background image */
  background-image: url('../images/img_1024-25.jpg');
  /* Full-screen */
  height: 100%;
  /* Center the background image */
  background-position: center;
  /* Scale and zoom in the image */
  background-size: cover;
  /* Add position: relative to enable absolutely positioned elements inside the image (place text) */
  position: relative;
  z-index: 1;
}
 
/* Position text in the top-left corner */
  .topleft {
  position: absolute;
  top: 0;
  left: 16px;
}
  
/* Position text in the bottom-left corner */
.bottomright {
  position: absolute;
  bottom: 16px;
  left: 50%; 
  text-align: center;    
}
  
/* Position text in the middle */
.middle {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;

}


.align-center {
  display: flex;
  justify-content: center;
}

  /* Style the <hr> element */
hr {
  margin: auto;
  width: 40%;
} 

.overlay {
  background:  none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  z-index: 2;
}

  /* Style counter */
  #count {
  padding-top: 20px;
  color: black;
}

.container {
    max-width: 700px;
    margin: auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #f1f1f1;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}

th {
    color: #555;
}

tbody tr:hover {
    background-color: #f0f8ff;
}

@media (max-width: 990px) {
  img {
    width: 400px;
    height: 200px;
  }
  h1 {
    font-size: 1.8em;
  }
  h3 {
    font-size: 1.053em;
  }
}

@media (max-width: 820px) {
  img {
    width: 350px;
    height: 175px;
  }
  h1 {
    font-size: 1.6em;
  }
  h3 {
    font-size: 0.936em;
  }    
}

@media (max-width: 700px) {
  img {
    width: 300px;
    height: 150px;
  }
  h1 {
    font-size: 1.4em;
  }  
  h3 {
    font-size: 0.819em;
  }
}

@media (max-width: 550px) {
  img {
    width: 250px;
    height: 125px;
  }
  h1 {
    font-size: 1.2em;
  }  
  h3 {
    font-size: 0.702em;
  }
}

@media (max-width: 400px) {
  img {
    width: 200px;
    height: 100px;
  }
  h1 {
    font-size: 1em;
  }  
  h3 {
    font-size: 0.585em;
  }
  th, td {
    font-size: 14px;
    padding: 10px;
  }  
}