* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  background-color: #e2eaff;
}

header {
  position: relative;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  background-color: black;
  height: 10vh;
}

.header_box{
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.logo {
    height: 40px;
    width: 80px;
}

.header_list {
  display: flex;
  list-style: none;
  flex-direction: row;
  width: 85%;
  justify-content: center;
  align-items: center;
}


.header_list_item {
  padding: 0 15px;
}

.header_list li:first-child {
  margin-right: auto;
}

a{
  text-decoration: none;
  color: white;
}


@media screen and (max-width: 650px){
  
  header{
    position: relative;
    height: 25vh;
  }

  .header_box{
    flex-direction: column;
    align-items: center;
  }

  

  .header_list{
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  a{
    border-bottom: 1px solid #4076cb;
  }


  .header_list li:first-child{
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .header_list li:first-child a {
  border-bottom: 1px solid #121212;
}

  .header_list li:nth-child(2){
    margin-top: 10px;
  }


}


@media screen and (max-width: 650px) and (max-height: 775px){
  
  header{
    position: relative;
    height: 25vh;
  }

  .header_box{
    flex-direction: column;
    align-items: center;
  }

  .logo {
    height: 30px;
    width: 60px;
  }

  

  .header_list{
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .header_list_item{
    font-size: 15px;
  }

  a{
    border-bottom: 1px solid #4076cb;
  }


  .header_list li:first-child{
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .header_list li:first-child a {
  border-bottom: 1px solid #121212;
}

  .header_list li:nth-child(2){
    margin-top: 10px;
  }


}