:root {
    --border: black;
}

body {
    background-color: #5d6280;
    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(#5d6280 30%, rgba(255, 255, 255, 0)) center top,
        linear-gradient(rgba(255, 255, 255, 0), #5d6280 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;
}

.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;
}

#textbutton {
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0);
    font-weight: 700;
    border: none;
    cursor: pointer;
}

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

#playpausebtn {
    width: 50px;
    margin:auto;
}

#slidercontainer {
    padding: 10px;
}

#playpausebtn:hover {
    cursor: pointer;
}

#slider-container {
    padding: 10px;
}

#info2 {
    display: none;
}

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

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

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

@media (min-width: 769px) {
    .flex-item {
        margin: 10px;
        width: 70%;
    }

    .interests {
        flex-direction: row;
        align-items: flex-start;
    }

    #icon {
        margin-left: 20px;
    }

    .tooltiptext {
        margin-left: -50%;
    }
}

@media (max-width: 768px) {
    .flex-item {
        margin: 10px 10px 10px -10px;
        width: 85%;
    }

    .interests {
        flex-direction: column;
        align-items: center;
    }

    .interest {
        width: 90%;
    }

    #icon {
        margin-left: 0px;
    }

    .tooltiptext {
        margin-left: -85%;
    }

    .flex-bar {
        margin-left: -20px;
    }
}