:root {
    --border: black;
}

body {
    background-color: #c1c1c0;
    color: black;
    font-family: 'Courier New', Courier, monospace;

}

h1 {
    color: cadetblue;
    font-family: 'Courier New', Courier, monospace;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding-top: 50px;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 2px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.scroll-shadows {
    overflow: auto;
    background:
        linear-gradient(#c1c1c0 30%, rgba(255, 255, 255, 0)) center top,
        linear-gradient(rgba(255, 255, 255, 0), #c1c1c0 70%) center bottom,
        radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)) center top,
        radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)) center bottom;
    background-repeat: no-repeat;
    background-size: 100% 40px, 100% 40px, 100% 20px, 100% 20px;
    background-attachment: local, local, scroll, scroll;
}

#membericon {
    height: 150px;
}

#name {
    font-size: 15px;
}

#icon {
    height: 90px;
    margin-top: -60px;
    margin-right: 20px;
    margin-left: 20px;
}

.header {
    font-size: 22px;
}

.text {
    font-size: 20px;
}

#buttons {
    height: 30px;
    margin-top: -5px;
    margin-left: 20px;
    margin-right: 20px;
    width: 75px;
    background-color: #cecfc7;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#buttons:hover {
    background-color: #b3b2ac;
    transition: 0.5s;
}

#info2 {
    display: none;
}

#backbutton {
    height: 30px;
    margin-top: -5px;
    margin-left: 20px;
    margin-right: 20px;
    width: 75px;
    border: none;
    cursor: pointer;
    position: absolute;
    left: -20px;
}

@media (min-width: 769px) {
    .flex-bar {
        padding: 10px;
        width: 70%;
        height: 20px;
        text-align: center;
        border: 2px solid var(--border);
        display: flex;
        flex-direction: row;
        justify-content: center;
        position: relative;
    }

    .flex-item {
        padding: 10px;
        margin: 10px;
        width: 70%;
        text-align: center;
        border: 2px solid var(--border);
        flex-direction: column;
    }

    .interests {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        list-style: none;
        padding: 0px;
    }

    .interest {
        padding: 10px 10px 20px 0px;
        margin: 10px;
        width: 35%;
        border: 2px solid var(--border);
        list-style: none;
    }
}

@media (max-width: 768px) {
    .flex-bar {
        padding: 10px;
        margin-left: -17px;
        width: 80%;
        height: 20px;
        text-align: center;
        border: 2px solid var(--border);
        display: flex;
        flex-direction: row;
        justify-content: center;
        position: relative;
    }

    .flex-item {
        padding: 10px;
        margin: 10px 10px 10px -10px;
        width: 80%;
        text-align: center;
        border: 2px solid var(--border);
        flex-direction: column;
    }

    .interests {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        list-style: none;
        padding: 0px;
    }

    .interest {
        padding: 10px 10px 20px 0px;
        margin: 10px;
        width: 90%;
        border: 2px solid var(--border);
        list-style: none;
    }
}