:root {
    --border: rgba(0,0,0,0);
}

html, body {
    height: 100vh;
}

body {
    background-color: rgba(14,116,145,1);
    background: linear-gradient(180deg, rgba(133,175,189,1) 0%, rgba(14,116,145,1) 100%);
    background-size: 100%;
    background-blend-mode: color;
    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;
}

.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;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0px;
}

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

.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(#85afbd 30%, rgba(255, 255, 255, 0)) center top,
        linear-gradient(rgba(255, 255, 255, 0), #85afbd 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;
}

.arrowup {
    width: 0px;
    height: 0px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid black;
    position: absolute;
    display: none;
}

.arrowdown {
    width: 0px;
    height: 0px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid black;
    margin-top: 15px;
    position: absolute;
}

.members {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    position: relative;
}

.member {
    padding: 10px;
    margin: 10px;
    width: 200px;
    text-align: center;
}

#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 (max-width: 768px) {
    .interests {
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    .interests {
        flex-direction: row;
    }
}