* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: #4e7e6f;
}

body {
  display: flex;
  font-family: 'Montserrat';
  color: white;
  flex-direction: column;
}

p {
  margin-top: 15px;
  font-size: 24px;
}

h1 {
  font-family: 'Cairo';
  font-size: 50px;
}

h6 {
  margin-top: 10px;
}

header {
  display: flex;
  height: 100vh;
  background: linear-gradient(240deg, #8562e6, #7bd4be);
  flex-direction: row;
  justify-content: center;
}

img {
  /* max-height: 50vh;
  max-height: fit-content; */
  background-size: cover;
  background-position: center center;
}

section {
  color: #4e7e6f;
}

.color-box {
  width:10px;
  height:10px;
}

.legend-section {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.text-section {
  width:50%;
}

.text-section li {
  margin-left: 30px;
  margin-top: 10px;
}

.subtitle {
  display: flex;
  justify-content: center;
}

.container {
  display: flex;
  width: 100%;
  justify-content: space-around;
}

.card {
  background-color: rgba(255, 255, 255, 0.836);
  color: black;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  margin: 25px;
}

.jvectormap-container {
  width: 100%;
  height: 100%;
}

.logo-a {
  display: flex;
  justify-content: center;
}

.player-item-text {
  list-style-type: none;
  margin-top: 15px;
}

.player-name-text {
  font-weight: bold;
  color: #414443;
  text-decoration: none;
  border-radius: 3px;
}

.player-name-text:hover {
  background-color: #9bb3abc2;
}

.birthplace-item-text {
  color: #4e7e6f;
  padding-left: 25px;
}

.squad-container {
  display: flex;
  justify-content: center;
  max-height: 40vh;
}

.team-url {
  text-decoration: none;
  color: #4e7e6f;
  border-radius: 5px;
}

.team-url:hover {
  background-color: #9bb3abc2;
}

.credit-url:hover {
  background-color: #9bb3abc2;
}

#about {
  display: flex;
  justify-content: center;
  padding-top: 5%;
  padding-bottom: 5%;
  background: linear-gradient(0deg,#d8ece6,#ffffff);
}

#about li {
  font-size: 18px;
}

#bs-logo{
  height: 30%;
  width: auto;
  max-width: 100%;
}

#credit {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  height: 30vh;
  padding: 3%;
}

#credit * {
  text-decoration: none;
}

#france-squad {
  height: 35vh;
  width: auto;
  max-width: 100%;
}

#legend {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-evenly;
}

#map {
  width: 100%;
}

#map-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

#name-credit {
  color: #4e7e6f;
  padding-left: 5px;
}

#name-credit a {
  text-decoration: none;
}

#name-credit a:hover {
  background-color: #9bb3abc2;
}

#query-container {
  padding: 15px 0px;
}

#team-query-form {
  display: flex;
  justify-content: space-evenly;
}

#list-container {
  font-family: 'Montserrat';
  height: 100%;
  overflow: scroll;
}

#logos-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 30px;
}

#player-list {
  height: 100%;
}

#py-logo {
  height: 40vh;
  width: auto;
  max-width: 100%;
}

#team-selector {
  width: 70%;
  background-color: #a0a0a081;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  border-radius: 5px;
}

#team-selector:hover {
  background-color: #dbdbdb9d;
}

#submit-button {
  min-width: 45px;
  width: 20%;
  background-color: #7bd4be;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 10px;
  margin-left: 10px;
  border-radius: 5px;
}

#submit-button:hover {
  background-color: #77e0ca;
}

#query {
  display: flex;
  flex-direction: column;
}

#zizou {
  height: 35vh;
  width: auto;
  max-width: 85%;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .container {
    flex-direction: column-reverse;
  }
  header {
    height: auto;
  }
  .text-section {
    width: 90%;
  }
  #list-container {
    overflow: visible;
  }
}