/* Import Consolas and SF Sans fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');

:root{
  --bg: #1f1d1c;
  --fg: #bab0ab;
  --second-bg: #0a0909;
  --link: #787575;
}
  
* {margin: 0; padding: 0}

canvas {display: block;}

body {
  font-family: 'Times New Roman';
  background-color: var(--bg);
  color: var(--fg);
  margin: auto;
  width: 85%;
}

#time {
  position: relative;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 50px;
  text-align: center;
}

#date {
  position: relative;
  top: 20%;
  font-size: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  margin: 10px  0 15px 0;
  text-align: center;
}

.content {
  margin-top: 10%;
}

input {
  background-color: var(--bg);
  border: none;
  font-size: 30px;
  color: var(--fg);
  border-bottom: 3px solid var(--fg);
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top:10%;
  width: 100%;
} 

input:focus {
  border-color: var(--link);
  outline: none;
}

#weather {
  position: absolute;
  top: 15px;
  right: 15px;
}

a {
  text-decoration: none;
  color: var(--link);
  display: block;
  margin-right: 33%;
  display: inline-block;
  padding: 2px 0px;
}

a::before {
  content: "|  ";
}

a:hover{
  color:#425486;
}

#links {
  margin-top: 30px;
  display: inline-flex;
  font-size: 10px;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
}

a:hover{
  color: #fff;
}
  
.list {
  background-color: var(--second-bg);
  border-radius: 15px;
  margin: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
  flex: 2 1 0;
}

ul {
  list-style-type: none;
  font-weight: bold;
  font-size: 16px;
  padding-left: 10px;
}

#st {
  margin: 0px;
}

.title_fav{
  margin-bottom: 7px;
}

footer{
  position:relative;
  bottom: 0;  
  z-index: 100;  
  text-align: center;
  margin-top:200px;
}

@media only screen and (max-width: 600px) {
  .list{ 
    flex: 2 1 70% !important;
	}

	.content{
		margin-top:15%;
	}	
	
	input{	
		margin-top:10%;
	}
}

@media only screen and (max-width: 1120px) {
  .list{ 
    flex: 2 1 40%;
  }

	.content{
		margin-top:15%;
	}	
	
	input{	
		margin-top:10%;
	}
} 
