
@font-face {
    font-family: "CircularStd-Medium";
    src: url("../font/CircularStd-Medium.otf");
}
*{
    box-sizing: content-box;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    font-family: CircularStd-Medium, sans-serif;
}

body{

    background-color: #000;
    color: #FFF;
}
a{
    text-decoration: none;
    color: inherit;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

nav{
    position: absolute;
    top: -10%;
    width: 100%;
    transition-duration: 0.7s;
}
.navActive{
    position: relative;
    top: 0;
}

nav ul {
    position: relative;
    z-index: 200000;
    height: 3rem;
    width: 100%;

    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    justify-content: flex-end;
    align-items: center;

    background: white;
    color: black;
}

nav ul a,li{
    position: relative;
    height: 50%;
    margin: 0 5% 0 5%;
    padding: 0 0.5rem 0 0.5rem;

    line-height: 180%;
    text-decoration: none;
    list-style: none;
    font-size: 0.8rem;

    cursor: pointer;
    border: solid 0.1rem white;
    border-radius: 0.2rem;

    transition-duration: 0.2s;
}

 nav ul a:hover,li:hover{
      border: solid 0.1rem black;
 }


#curtain{
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0, 0, 0.5);
    overflow: hidden;
    transition-duration: 0.2s
}

#aboutbox{
    opacity: 1;
    display: none;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    width: 30rem;
    height: 10rem;
    background: black;
    color: white;
    border: 0.2rem solid white;
    padding: 2rem 2rem 2rem 2rem;
    overflow:hidden;
}

.activeAbout{
    display: block;
}

.menu{
    opacity: 1;
    position: relative;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    width: 30rem;
    height: 10rem;
    background: black;
    color: white;
    border: 0.2rem solid white;

    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select:none;
    user-select:none;
    -o-user-select:none;
}

.hideContentBoxes {
    filter: blur(4px);
}

.buttonWrapper{
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 100%;
    height: 3rem;
}

input:matches([type="button"], [type="submit"], [type="reset"]){
    z-index: 10;
    margin: 0 4.3% 0 4.3%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    -moz-appearance: none;
    width: 40%;
    height: 100%;
    border: 0.1rem solid black;
    border-radius: 0.2rem;
    color: black;
    background-color: white;
    box-shadow: none;
    text-align: center;
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
}

input:matches([type="button"], [type="submit"], [type="reset"]):hover{
    color: white;
    background-color: black;
    box-shadow: none;
    border: 0.1rem solid white;
}
.contentboxWrapper{
    position: relative;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}
.contentbox{
    top: 0;
    left: 0;
    position: relative;
    width: 24vw;
    margin-top: 0.7%;
    height: calc(24vw*9/16);

    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select:none;
    user-select:none;
    -o-user-select:none;

    transition-duration: 0.25s
}

.contentboxActive{
    cursor: crosshair;
    width: calc(100vw - 4rem);
    height: calc(100vh - 4rem);
    top: 0;
    left: 0;
    margin : 2rem 2rem 2rem 2rem;
}
.contentbox img{
    display: inline-block;
    z-index: -200;
    position: absolute;
    width: 100%;
    height: 100%;
}

.ImgActive{
    /* top: calc(40vh - 0.5*(50vw*9/16)) !important;
    left: calc(50% - ((50vw + 4rem)/2)) !important; */
    position: relative;
    left:25%;
    top: 10%;
    width: 50vw !important;
    height: calc(50vw*9/16)!important;
}

.legend{
    margin: 0.5rem 0 1rem 0;
    padding: 0 10vw 0 12.5vw;
    display: none;
    position: relative;
    background-color: #000;
    color: #FFF;
    transition-duration: 0.5s;
}

.activeLegend{
    display: block;
    top: 10%;
    position: relative;
}
.infoWrapper{
    position: relative;
    width: 50vw;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

}


.info{
    flex: 2;
    font-size:0.8rem;
    height: 50%;
    text-align: center;
    margin: 0 0 1rem 0;
}

.description{

    position: relative;
    width: 50vw;
    left: 50%;
    top: 10%;
    margin-top: 1rem;
    transform: translate(-50%);
}

.legendImg{
    z-index: 10 !important;
    position: relative !important;
    width: 3rem !important;
    height: 3rem !important;
}

.contentbox .legend .info p{
    margin : .2rem 0 0 0;
}

.contentbox .graphics{
    position: absolute;
    top: 0;
    left: 20%;
    border-radius: 100%;
}

svg{
    width: 100%;
    height: 100%;
    display: none;
}


svg circle{
    width: 20%;
    height: 20%;
    transition-duration: 0.7s;
    stroke-opacity: 1;
    stroke-width: 1;
    fill-opacity: 0;
}

svg circle:hover{
    width: 100%;
    height: 100%;
    stroke-opacity: 1;
    fill-opacity: 0.7;
    stroke-width: 2.5;
}

svg line{
    width: 100%;
    height: 100%;
    stroke: #FFF;
    stroke-opacity: 1;
    stroke-width: 1;
    stroke-linecap: round;
    transition-duration: 0.7s;
}

svg line:hover{
    stroke-opacity: 1;
    stroke-width: 3;
}

svg .envInteract{
    fill: LightSeaGreen;
    stroke:#FFF;
    stroke-linecap: butt;
}
svg .humanInteract{
    fill: MediumOrchid;
    stroke:#FFF;
    stroke-linecap: butt;
}
svg .texting{
    fill: CornflowerBlue;
    stroke:#FFF;
    stroke-linecap: butt;
}
svg .selfie{
    fill: HotPink;
    stroke:#FFF;
    stroke-linecap: butt;
}
svg .intertainment{
    fill: SpringGreen;
    stroke:#FFF;
    stroke-linecap: butt;
}
svg .working{
    fill: Coral;
    stroke:#FFF;
    stroke-linecap: butt;
}
