/* Style the tab */ .tab { display: flex; margin: 1rem 0 0 0; overflow: hidden; background-color: #ffffff1a; border: 0px solid #ccc; border-radius: 0.2rem; } /* Style the buttons that are used to open the tab content */ .tab button { margin: 0; padding: 1rem; width: 100%; background-color: inherit; border: none; border-radius: inherit; color: black; font-size: var(--fs-h3); float: left; outline: none; cursor: pointer; transition: 0.3s; } /* Change background color of buttons on hover */ .tab button:hover { background-color: #aaaaaaaa; } /* Create an active/current tablink class */ .tab button.active { background-color: #ffffffcc; } /* Style the tab content */ .tabcontent { display: none; padding: 1rem 0 0 0; background-color: #0000001f; border-radius: 1rem; } .tabcontent h3 { margin: 0; } .tabcontent p { margin: 0; padding: 2rem 0 0 0; }