* {
  margin: 0;
  padding: 0;
}

/* Style the tab */
.tab {
  overflow: hidden;
  max-width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
    list-style: none;
    background-color: #ffffff;
    margin: 40px 2%;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    width: 100%;
    box-shadow: 0 -1px 0 #eee inset;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: #333;
    -webkit-box-flex: 3;
    -webkit-flex-grow: 3;
    -ms-flex-positive: 3;
    flex-grow: 3;
    font-weight: 700;
    background-color: #f3f2f2;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    -webkit-transition: 0.3s background-color ease, 0.3s box-shadow ease;
    transition: 0.3s background-color ease, 0.3s box-shadow ease;
    box-sizing: border-box;
    padding: 17px;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 25px;
    margin-right: 1%;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background: linear-gradient(314deg, #fb9aa9, #fdcb50);
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
 /* border: 1px solid #ccc;*/
  border-top: none;
  line-height: 27px;
}


/*my css styling for tabs and container*/
.mytabs-container {
  max-width: 1200px;
  margin: 0 auto;
}


@media (min-width: 768px) {
  .tab button {
    width: auto;
  }
}