
* {
  padding: 0;
  margin: 0;
}
  
html, body {
  height: 100%;
  font-family: 'Quicksand', sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #F2EDE7;
  background-color:#1d1e22;
  font-size: 1rem;
  background: no-repeat fixed center;
  background-size: cover;
}

::-webkit-scrollbar { 
  display: none; 
}

h1 {
  font-weight: 600;
  font-style: normal;
  line-height: 50px;
}

h2 {
  line-height: 50px;
  font-weight: 500;
  font-style: normal; 
}

h3 {
  font-weight: 400;
  font-style: normal; 
}

a, a:visited, a:active {
  text-decoration: none;
  color: #F2EDE7;
}

a:hover {
  text-decoration: none;
}

#page_header {
  text-align: center;
  padding: 5px 0;
  margin-bottom: 25px;
}

#clock {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}

#date {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .4em;
  text-align: center;
}

.searchcontainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

input {
    padding: 0 1em;
    display: flex;
    justify-content: center;
    align-items: flex-start;
	text-align: center;
    background-color: #58595c;
    width: 520px;
    height: 50px;
    border-radius: 10px;
    font-size: 20px;
    outline: 0;
    border: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}
input:hover {
  background-color: #00529c;
}

#links-container {
  display: grid;
  flex-wrap: nowrap;
  margin: 0 auto;
  width: 60%;
  grid-column-gap: 20px;
  grid-row-gap: 0px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
}

.links-item {
  line-height: 1.5rem;
  margin-left: 1rem;
  margin-bottom: 2em;
  webkit-font-smoothing: antialiased;
}

.links-item a {
  color: #ffffff;
  display: block;
  line-height: 2;
  text-decoration: none;
  padding-left: .5em;
  -o-transition: padding .3s;
  -ms-transition: padding .3s;
  -moz-transition: padding .3s;
  -webkit-transition: padding .3s;
  transition: padding .3s;
}
.links-item a:hover {
  color: #74a7ca;
  padding-left: 1em;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #fff;
  opacity: 1; /* Firefox */
  font-family: 'Quicksand', sans-serif;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #fff;
  font-family: 'Quicksand', sans-serif;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #fff;
  font-family: 'Quicksand', sans-serif;
}

.section_header {
  text-align: left;
  margin: 5px 0 5px 5px;
}

.wrap{
  width: 30%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container_master {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  align-content: flex-start;
  padding: 5px;
}

.container {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  flex: 0 1 350px;
  flex-direction: column;
  justify-content: flex-start;
  align-content: flex-start;
  padding: 5px;
  background-color: rgba(49,51,58,.5);
  backdrop-filter: blur(5px);
  margin: 10px;
  border-radius: 10px;
}
  
.item {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  width: 100%;
  text-align: center;
  padding: 10px 0 10px 0;
  
}

.item img {
  width: 38px;
  height: auto;
  margin: 0 10px;
  background-color: rgba(38, 38, 38, 1);
  padding: 12px;
  border-radius: 12px;
  transition: all 0.2s ease-in-out;
}

.no-touch .item:hover {
  color: rgba(102, 153, 255, 1);
}

.no-touch .item:hover img {
  color: rgba(38, 38, 38, 1);
  box-shadow: 0px 0px 15px rgba(102, 153, 255, 0.7);
}

.subtext {
  padding: 0 15px 0 15px;
  float: right;
  text-align: left;
  word-wrap: break-word;
}

/* Smartphones (portrait and landscape) */
@media only screen and (min-device-width : 320px) and (max-device-width : 800px) {
  
  a, a:visited, a:active {
    width: 100%;
  }

  #page_header {
    margin: 0;
  }

  #clock {
    font-size: 3rem;
    font-weight: 700;
  }
  
  #date {
    font-size: 2rem;
    font-weight: 600;

  }

  input {
    min-width: 90%;
    padding-bottom: 10px;
    margin: 10px 0;
  }

  .container {
    flex: 0 1 90%;
    align-content: flex-start;
  }

} 
