
body {
    background-color: #fff8e6;
    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;
}

@media (min-width: 769px) {
    .interests {
        overflow: auto;
        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%;
        max-height: 200px;
        border: 2px solid black;
        list-style: none;
    }
    .flex-item {
        padding: 10px;
        margin: 10px;
        width: 70%;
        text-align: center;
        border: 2px solid black;
    }
    .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;
    }
    .header {
        font-size: 22px;
    }

    .text {
        font-size: 20px;
    }
    .flex-bar {
        padding: 10px;
        width: 70%;
        height: 20px;
        text-align: center;
        border: 2px solid black;
        display: flex;
        flex-direction: row;
        justify-content: center;
        position: relative;
    }
    .scroll-shadows {
        overflow: auto;
        background:
            linear-gradient(#fff8e6 30%, rgba(255, 255, 255, 0)) center top,
            linear-gradient(rgba(255, 255, 255, 0), #fff8e6 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% 30px, 100% 30px;
        background-attachment: local, local, scroll, scroll;
    }
}

@media (max-width: 768px) {
    .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: 85%;
        border: 2px solid black;
        list-style: none;
    }
    .flex-item {
        overflow: auto;
        padding: 10px;
        margin: 10px 10px 10px -10px;
        width: 70%;
        text-align: center;
        border: 2px solid black;
    }
    .members {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        list-style: none;
        flex-wrap: wrap;
        position: relative;
    }
    .member {
        padding: 10px 10px 10px 0px;
        margin: 10px 10px 10px -10px;
        width: 200px;
        text-align: center;
    }
    .header {
        font-size: 18px;
    }

    .text {
        font-size: 14px;
    }
    .flex-bar {
        padding: 10px;
        width: 70%;
        height: 20px;
        margin: 0px 0px 0px -20px;
        text-align: center;
        border: 2px solid black;
        display: flex;
        flex-direction: row;
        justify-content: center;
        position: relative;
    }
}

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

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

#membericon {
    height: 150px;
    border: 2px solid black;
}

#name {
    font-size: 15px;
}

#icon {
    height: 90px;
    margin-top: -60px;
    margin-right: 20px;
    margin-left: 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;
}

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