* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f1f1f1;
}

div.main {
    display: grid;
    grid-template-columns: auto auto auto;
    row-gap: 40px;
    column-gap: 50px;
    height: 100%;
    width: 100%;
    align-items: center;
    margin-top: 40px;
    justify-content: center;
}

/* Base button */

.button {
    display: inline;
    border: 2px solid black;
    cursor: default;
    padding: 2px;
    text-align: center;
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Button 1 */

.button-1 {
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    border: none;
    padding: 10px 5px;
}

.button-1:hover {
    background-color: #2e6930;
}

.button-1:active {
    background-color: #449647;
}

/* Button 2 */

.button-2 {
    background-color: #faee6e;
    color: black;
    border-radius: 15px 0 15px 0;
    border: 2px solid #faee6e;
    padding: 0.75rem 0.5rem;
    transition: all 0.15s ease 0s;
    position: relative;
}

.button-2:hover {
    background-color: rgb(235, 226, 109);
    translate: translateY(-1px);
}

.button-2:active {
    background-color: rgb(235, 226, 109);
    border: 2px solid rgb(44, 43, 22);
}

/* Button 3 */

.button-3 {
    background-color: rgb(0, 179, 179);
    border: 1px solid rgb(0, 179, 179);
    font-size: 1.1em;
    font-weight: bolder;
    color: white;
    border-radius: 2em;
    padding: 10px 0;
    transition: all 0.3s ease 0s;
    width: 150px;
}

.button-3:hover {
    box-shadow: 0 0 60px 1px aqua;
    background-color: aqua;
    color: white;
}

.button-3:active {
    background-color: rgba(0, 0, 0, 0.712);
    border: 1px solid black;
    box-shadow: none;
}

/* Button 4 */

.button-4 {
    background-color: mediumpurple;
    border: 1px solid mediumpurple;
    color: white;
    padding: 10px 10px;
    text-align: center;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.25s ease 0s;
    box-shadow: 8px 8px 0px 0px gray;
}

.button-4:hover {
    box-shadow: 0px 0px 0px 0px gray;
}

.button-4:active {
    background-color: rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
}

/* Button 5 */

.button-5 {
    background-color: rgb(255, 0, 0);
    border: 1px solid rgb(255, 0, 0);
    color: white;
    padding: 10px 10px;
    text-align: center;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.25s ease 0s;
    box-shadow: 5px 5px 0px 0px gray;
}

.button-5:hover {
    transform: translateX(5px) translateY(5px);
    box-shadow: 0px 0px 0px 0px gray;
}

.button-5:active {
    color: rgb(0, 0, 0);
}

/* Button 6 */

.button-6 {
    background: rgba(0, 0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
    font-weight: 100;
    letter-spacing: 1px;
    color: black;
    padding: 10px 10px;
    text-align: center;
    font-size: 1.1em;
    position: relative;
    cursor: pointer;
}

.button-6:after {
    content: "";
    background-color: rosybrown;
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 7px;
    left: 7px;
    transition: 0.2s;
}

.button-6:hover:after {
    top: 0px;
    left: 0px;
}

.button-6:active:after {
    background-color: rgba(0, 0, 0, 0);
    transition: 0s;
}

/* Button 7 */

.button-7 {
    background-color: rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
    color: white;
    padding: auto;
    max-height: 50px;
    padding: 14px;
    width: 130px;
    text-align: center;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.25s ease 0s;
    box-shadow: 5px 5px 3px 0px gray;
}

.button-7:hover {
    font-size: larger;
}

.button-7:active {
    transform: translateX(5px) translateY(5px);
    box-shadow: 0 0 0 0 gray;
}