@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap);
@import url(https://necolas.github.io/normalize.css/8.0.1/normalize.css);
/*Website*/
body{
  background-color: #7d0901;
  color: white;
}
*{
  box-sizing: border-box;
}
header{
  position: fixed;
  top: 0px;;
  left: 0;
  background-color: #A20C02;
  height: 110px;
  width: 100%;
  padding: 10px 0;
  z-index: 9999;
}
main{
  position: relative;
  top: 85px;
}
#logo{
  width: 100px;
}
#logo img{
  position: relative;
  bottom: 5px;
  width: 100px;
}
#nav1{
  width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
#selected-lang{
  /*position: relative;
  bottom: 45px;*/
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  line-height: 2;
  width: 100px;
}
#selected-lang:before{
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  background-image: url(https://flagsapi.com/DE/flat/32.png);
}
#yourLanguage{
  position: relative;
  bottom: 20px;
  font-size: 30px;
}
#lang-menu{
  margin-top: 25px;
  position: relative;
}
#lang-menu:hover ul{
  display: block;
}
#lang-menu ul{
  position: absolute;
  /*top: 90px;
  right: 50px;*/
  top: 40;
  right: 0;
  margin: 0;
  padding: 0;
  background-color: #A20C02;
  border: 1px solid #FFF;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  display: none;
}
#lang-menu ul li{
  list-style: none;
  display: flex;
  justify-content: space-between;
}
#lang-menu ul li a{
  text-decoration: none;
  color: white;
  width: 150px;
  display: block;
  padding: 5px 10px;
}
#lang-menu ul li a:hover{
  background-color: #CF1002;
}
#lang-menu ul li a:before{
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 5px;
  vertical-align: middle;
  /*background-image: url(https://flagsapi.com/GB/flat/32.png);*/
}
#de:before{
  background-image: url(https://flagsapi.com/DE/flat/32.png);
}
#uk:before{
  background-image: url(https://flagsapi.com/GB/flat/32.png);
}
#it:before{
  background-image: url(https://flagsapi.com/IT/flat/32.png);
}
#fr:before{
  background-image: url(https://flagsapi.com/FR/flat/32.png);
}




/*Table Styling*/
table {
  border-collapse: collapse;
  width: 100%;
}
.standings-table-header{
  /*border-bottom: 3px solid red;*/
}
/*tr{
  border-bottom: 1px solid red;
  /*padding: 100px;*/
}*/
td{
  padding-bottom: 10px;
  padding-top: 10px;
}
#title{
  font-size: 80px;
  border-bottom: 4px solid grey;
  border-left: 4px solid grey;
  /*border-right: 4px solid grey;*/
  padding-left: 20px;
  padding-bottom: 12px;
}
.standings-header{
  font-size: 80px;
  padding-top: 100px;
  padding-bottom: 0px;
}


/*Table Header Styles*/
.positions{
  font-size: 50px;
  color: white;
  text-decoration: none;
  text-align: left;
  padding-left: 20px;
}
.names{
  font-size: 50px;
  color: white;
  text-decoration: none;
  text-align: left;
}
.points{
  font-size: 50px;
  color: white;
  text-decoration: none;
  text-align: right;
  padding-right: 20px;
}
.d-header{
  padding-bottom: 15px;
}
.d-names{
  padding-top: 5px;
}
.d-teams{
  padding-bottom: 5px;
}

/*Drivers and Teams*/
.stats{
  border-bottom: 1px solid red;
}
.header{
  border-bottom: 3px solid red;
}
.td-up{
  padding-top: 20px;
}
.td-down{
  padding-bottom: 20px;
}

/*Drivers*/
/*.d-header{
  border-bottom: 3px solid red;
}*/
/*.positions, .names, .points{
  border-bottom: 1px solid red;
}*/
/*#d-position_antonelli{
  border-top: 3px solid red;
}
#d-name_antonelli{
  border-top: 3px solid red;
  border-bottom: none;
}
#d-points_antonelli{
  border-top: 3px solid red;
}*/
/*.d-names{
  padding-top: 20px;
}*/

.d-teams{
  font-size: 30px;
}
.d-teams_mercedes{
  color: #75F1D3;
}
.d-teams_ferrari{
  color: #D52E37;
}
.d-teams_mclaren{
  color: #ef8733;
}
.d-teams_redBull{
  color: #4570C0;
}
.d-teams_racingBulls{
  color: #7091f8;
}
.d-teams_alpine{
  color: #479FE2;
}
.d-teams_haas{
  color: #DFE1E2;
}
.d-teams_audi{
  color: #EB4526;
}
.d-teams_williams{
  color: #3267D4;
}
.d-teams_astonMartin{
  color: 	#4B9774;
}
.d-teams_cadillac{
  color: #AAAADD;
}

/*Constructors*/
/*#c-position_mercedes{
  border-top: 3px solid red;
}#c-name_mercedes{
  border-top: 3px solid red;
}#c-points_mercedes{
  border-top: 3px solid red;
}*/