@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&family=Kdam+Thmor+Pro&display=swap');
/*  font-family: 'EB Garamond', serif;
font-family: 'Kdam Thmor Pro', sans-serif;*/
:root{
  font-family: 'EB Garamond', serif;
  font-size: 14pt;
  --purple:#121440; 
  --darkBlue:#08080D;
  --lightBlue:#0E1126;
  --lightestBlue:#234459;
}
body{
  margin: 0 auto;
  background-color: var(--purple);
  color:white;
}
h1, h2, h3{
  font-family: 'Kdam Thmor Pro', sans-serif;
}
header{
  display: grid;
  grid-template-columns:1fr 1fr 1fr;
  justify-items: center;
  align-items: center;
  background-color: var(--lightestBlue);
  padding: 1em 2em;
  gap: 20px;
}
header img{
  max-width: 100px;
}
ul{
  list-style: none;
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  gap: 15px;
}
a{
  text-decoration: none;
  color: inherit;
  font-family: 'Kdam Thmor Pro', sans-serif;
  transition: all 250ms;
}
a:hover{
  color: red;
}
main{
  margin: 0 auto;
  max-width: 1280px;
  background-color: var(--darkBlue);
}
section{
  padding: 1em 2em;
}

.teamDisplay{
  display: grid;
  grid-template-columns:1fr 1fr 1fr;
  justify-items: center;
  align-items: center;
  gap: 20px;
}
.team{
  background-color: white;
  width: 150px;
  height: 200px;
  color: black;
  padding: 1em;
  border-radius: 15px;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
  cursor: pointer;
  transition: all 500ms;
}
.team:hover{
  background-color: var(--lightestBlue);
  color: white;
  transform: scale(1.2) translate(0px, -20px);
  box-shadow: 0px 0px 10px var()-lightestBlue);
}


.playerDisplay{
  display: grid;
  grid-template-columns:1fr 1fr 1fr;
  justify-items: center;
  align-items: center;
  gap: 20px;
}
.player{
  background-color: white;
  width: 150px;
  height: 300px;
  color: black;
  padding: 1em;
  border-radius: 15px;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
  cursor: pointer;
  transition: all 500ms;
}
.player:hover{
  background-color: var(--lightestBlue);
  color: white;
  transform: scale(1.2) translate(0px, -20px);
  box-shadow: 0px 0px 10px var(--lightestBlue);
}
.profilePic{
  max-width: 75px;
  border-radius: 50%;
  padding: 5px;
  background-color: var(--darkBlue);
  box-shadow: inset 0px 0px 5px white;
  transition: all 500ms;
}
.agentPic{
  max-width: 40px;
  min-width: 40px;
}
.player:hover .profilePic{
  box-shadow: inset 0px 0px 5px var(--lightestBlue);
}