@font-face {
  font-family: avenir;
  src: url(/fonts/Avenir.ttc);
}

header {
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-content: center;

  font-family: avenir;

  position: fixed;
  top: 0px;
  right: 0px;
  left: 0px;

  object-fit: contain;

  z-index: 1000;
}

.logo {
  height: 50px;
  width: auto;
}

.logo-picture {
  height: 50px;
}

.header-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.header-button {
  height: 50px;
  width: 120px;
  min-width: 50px;

  border: none;
  background-color: rgb(255, 255, 255);
  padding: 0px;
}
.header-button-selected {
  height: 50px;
  border-bottom: solid;
  border-color: rgb(68, 31, 110);
  border-bottom-width: 5px;
  padding: 0px;
  padding-top: 5px;
}

.header-button:hover {
  height: 50px;
  background-color: rgb(110, 87, 136);
  color: white;
}

.header-button-selected:hover {
  height: 50px;
  background-color: rgb(110, 87, 136);
  color: white;
}

.header-button:active {
  background-color: rgb(116, 19, 19);
}

@media (max-width: 1000px) {
  .header-button {
    height: 50px;
    width: 100px;
  }
}

@media (max-width: 600px) {
  .header-button {
    width: 50px;
  }

  .logo-picture {
    height: auto;
    width: 150px;
  }
}

@media (max-width: 420px) {
  .header-button {
    width: 50px;
  }

  .logo-picture {
    height: auto;
    width: 80px;
  }

  .logo{
    padding-top: 10px;
    height: 40px;
  }
}

@media (max-width: 325px) {
  .header-button {
    width: 50px;
  }

  .logo-picture {
    height: auto;
    width: 80px;

  }
}

@media(max-width: 281px){
  .header-button {
    width: 50px;
  }



  .logo-picture {
    height: auto;
    width: 80px;

  
  }

  header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}