.tab {
    float: left;
    width: 30%;
  }
  
  /* Style the buttons inside the tab */
  .tab button {
    display: block;
    background-color: inherit;
    color: rgb(0, 0, 0);
    padding: 22px 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-size: 17px;
  }
  
  /* Change background color of buttons on hover */
  .tab button:hover {
    border-bottom: 1px solid;
    border-color: rgb(194, 194, 194);
  }
  
  /* Create an active/current "tab button" class */
  .tab button.active {
    border-bottom: 1px solid black;
  }
  
  /* Style the tab content */
  .tabcontent {
    float: left;
    padding: 0px 20px;
    width: 70%;
    border-left: none;
  }

  @media screen and (max-width: 480px) {
    .tab{
        display: flex;
        justify-items: center;
        width: 100%;
    }
    .content-tab{
        margin-top: 175px;
    }
    .tabcontent{
        width: 100%;
    }
  }