/* MOBILE */
@media (max-width: 768px) {
    body {
        /* background-image: url('./wallpaper.png'); */
        background-size: 100%;
        background-repeat: no-repeat;
        background-color: black;
        background-position: bottom left;
    }

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

    .interest {
        padding: 10px 10px 20px 0px;
        margin: 10px;
        width: 90%;
        list-style: none;
    }

    .sharks {
        max-width: 350px;
        margin-left: -40px;
        overflow: scroll;
    }

    .headwriteup {
        width: 300px;
        margin-left: -40px;
    }

    .flex-item {
        padding: 10px 10px 10px 0px;
        margin: 10px 10px 10px -10px;
        width: 70%;
        text-align: center;
        flex-direction: column;
    }

    .item {
        margin-left: 0px;
        margin-top: 30px;
        max-width: 450px;
        text-align: center;
        padding-left: 0px;
    }

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

/* DESKTOP */
@media (min-width: 769px) {
    body {
        /* background-image: url('./wallpaper.png'); */
        background-size: 1800px;
        background-repeat: no-repeat;
        background-color: black;
        background-position: top 25px right;
    }

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

    .interest {
        padding: 10px 10px 20px 0px;
        margin: 10px;
        width: 40%;
        list-style: none;
    }

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

    .flex-item {
        padding: 10px;
        margin: 10px;
        width: 70%;
        text-align: center;
        flex-direction: column;
    }

    .item {
        margin-left: 20px;
        margin-top: 10px;
        max-width: 450px;
        text-align: center;
        padding-left: 20px;
    }

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

body {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

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

a {
    color: white;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.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;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

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

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

.header {
    font-size: 22px;
    text-align: center;
}

.text {
    font-size: 20px;
}

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

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

#info2 {
    display: none;
}

.footnotes,
.footnotes a {
    font-size: smaller;
    color: dimgray;
}