/*Copyright (c) 2022 by Loïc Monard (https://codepen.io/LoicMonard/pen/BPVbEa)*/
/*Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:*/
/*The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.*/
/*THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*/

.blurred {
    filter: blur(40px);
}
.member-container {
    font-family: Optima;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.squareContainer {
    display: flex;
    flex-wrap: wrap;
    width: 1332px;
    margin: auto 0;
    transition: all 0.2s ease;
}
.squareContainer .square {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    box-sizing: border-box;
    margin: 2px;
    padding: 2px;
    overflow: hidden;
    width: 70px;
    height: 70px;
    cursor: pointer;
    transition: all 0.5s ease;
}
.squareContainer .square .atomicNumber {
    font-size: 10px;
}
.squareContainer .square .symbol {
    align-self: center;
}
.squareContainer .square .name {
    font-size: 14px;
    align-self: center;
}
.squareContainer .square .atomicMass {
    font-size: 10px;
    align-self: center;
}
.nonmetal {
    border: 2px solid #95A5A6;
    color: #95A5A6;
    box-shadow: 0px 0px 12px #d1cfe2;
}

.nonmetal{
    background: whitesmoke;
}

.studentLeaders{
    background: #FFBBB4;
    border: 2px solid #E74C3C;
    color: #E74C3C;
    box-shadow: 0px 0px 12px rgba(252, 59, 0, 0.5);
}
.primaryPI {
    background: #B3DDF8;
    border: 2px solid #3498DB;
    color: #3498DB;
    box-shadow: 0px 0px 12px rgba(0 174 255 / 50%);
}
.advisors {
    background: #ACF4CB;
    border: 2px solid #2ECC71;
    color: #2ECC71;
    box-shadow: 0px 0px 12px rgb(0 255 25 / 50%);
}
.Instructors {
    background: #93EBDA;
    border: 2px solid #1ABC9C;
    color:#1ABC9C;
    box-shadow: 0px 0px 12px rgb(0 255 255 / 50%);
}
.studentMembers {
    background: #FFF2BC;
    border: 2px solid #F1C40F;
    color: #F1C40F;
    box-shadow: 0px 0px 12px rgba(253, 221, 16, 0.5);
}



.studentLeaders .symbol{
    color: #E74C3C;
}
.primaryPI .symbol{
    color: #3498DB;
}
.advisors .symbol{
    color: #2ECC71;
}
.Instructors .symbol{
    color:#1ABC9C;
}
.studentMembers .symbol{
    color: #F1C40F;
}



.overlay {
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 1000;
    background: black;
    transition: all 0.2s ease;
    opacity: 0.2;
}
.wholeContainer {
    position: absolute;
    top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 400px;
    height: 400px;
}
.wholeContainer > span {
    border: none;
}
.wholeContainer > span:nth-child(1) {
    font-size: 28px;
}
.detailsView {
    margin-top: 100px;
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 250px;
    border: 1px solid #000;
    border-radius: 10%;
}

.selectedSquare {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    border-width: 6px;
    transition: all 0.2s ease;
}
.detailsView > .selectedSquare {
    border: none;
}
.legend {
    display: flex;
    flex-direction: column;
    align-self: baseline;
}
.legend div {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2px;
    color: #fff;
}
.legend .color {
    height: 14px;
    width: 30px;
    margin: 2px;
}
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.5s;
}
.fade-enter,
.fade-leave-to {
    opacity: 0;
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
        top: 0px;
    }
    50% {
        transform: rotate(180deg);
        top: 20px;
    }
    100% {
        transform: rotate(360deg);
        top: 0px;
    }
}

.atomicNumber{
    height: 12px;
}
.squareContainer .square .symbol{
    height: 24px;
}

/*pop out page*/
/* COLORS
========================================== */
/* MIXINS
========================================== */
/* KEYFRAMES
========================================== */
@-webkit-keyframes float {
    0% {
        transform: translatey(0px);
        transform: translatex(0px);
    }
    50% {
        transform: translatey(-30px);
        transform: translatex(20px);
    }
    100% {
        transform: translatey(0px);
        transform: translatex(0px);
    }
}
@-moz-keyframes float {
    0% {
        transform: translatey(0px);
        transform: translatex(0px);
    }
    50% {
        transform: translatey(-30px);
        transform: translatex(20px);
    }
    100% {
        transform: translatey(0px);
        transform: translatex(0px);
    }
}
@-o-keyframes float {
    0% {
        transform: translatey(0px);
        transform: translatex(0px);
    }
    50% {
        transform: translatey(-30px);
        transform: translatex(20px);
    }
    100% {
        transform: translatey(0px);
        transform: translatex(0px);
    }
}
@keyframes float {
    0% {
        transform: translatey(0px);
        transform: translatex(0px);
    }
    50% {
        transform: translatey(-30px);
        transform: translatex(20px);
    }
    100% {
        transform: translatey(0px);
        transform: translatex(0px);
    }
}

/* BUTTON
========================================== */
.button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.button button {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border: 0;
    padding: 15px 25px;
    color: #000000;
    text-transform: uppercase;
    font-size: 21px;
    letter-spacing: 1px;
    width: 200px;
    overflow: hidden;
    outline: 0;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    visibility: visible;
    opacity: 1;
    font-weight: bold;
    box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.6);
}
.button button:hover {
    cursor: pointer;
    background-color: #8e6ac1;
    color: #ffffff;
}
.button button span {
    opacity: 1;
}
.button.clicked button {
    visibility: hidden;
    oacity: 0;
}

/* POP-UP
========================================== */
.pop-up {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) scale(0.9);
    -moz-transform: translate(-50%, -50%) scale(0.9);
    -ms-transform: translate(-50%, -50%) scale(0.9);
    -o-transform: translate(-50%, -50%) scale(0.9);
    transform: translate(-50%, -50%) scale(0.9);
    overflow-y: auto;
    box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    z-index: -1;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
}
@media (min-width: 768px) {
    .pop-up {
        width: 70%;
        height: auto;
    }
}
.pop-up .content {
    background: #FCF8ED;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: center;
    position: relative;
    min-height: 100vh;
}
@media (min-width: 768px) {
    .pop-up .content {
        min-height: inherit;
    }
}
.pop-up .content .container {
    padding: 100px 20px 140px;
}
@media (min-width: 568px) {
    .pop-up .content .container {
        padding: 50px 20px 80px;
    }
}
@media (min-width: 768px) {
    .pop-up .content .container {
        padding: 70px 0px 90px;
        max-width: 520px;
        margin: 0 18%;
    }
}
.pop-up .content .title h1 {
    font-family: Optima;
    text-align: left;
    color: #f66867;
    font-weight: 900;
    font-size: 2.8rem;
    letter-spacing: 0.05rem;
}
.pop-up .content img {
    width: auto;
    max-width: 220px;
    display: inline-block;
    margin: 30px 0 40px -30px;
    opacity: 0;
    -webkit-backface-visibility: hidden;
}
@media (min-width: 768px) {
    .pop-up .content img {
        max-width: 100%;
        max-height: 50vh;
    }
}
.pop-up .content .member-description h1 {
    font-size: 1.5rem;
    color: #3e4146;
    line-height: 130%;
    letter-spacing: 0.07rem;
    margin-bottom: 30px;
    font-family: Optima;
}
.pop-up .content .member-description h1 span {
    color: #f66867;
}

.pop-up.open {
    z-index: 10 !important;
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) scale(1);
    -moz-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    -o-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
}
.pop-up.open img {
    opacity: 1;
}

h2.title-section.tips{
    display: none;
}
.for-phone{
    display: none;
}

@media (max-width: 1200px) {
    .for-phone{
        display: flex !important;
    }
    h2.title-section.tips{
        display: block !important;
        margin: 0 auto;
        text-align: center;
        font-weight:100;
    }
    .member-container{
        display: none;!important;
    }
}
@media (max-width: 1350px) {
    .member-container{
        transform: scale(0.8);
    }
}
.title{
    text-align: left;
}
