html { 
    margin-left: calc(100vw - 100%); 
}



body {
    font-size: 14px;
    overflow-x: hidden;
}
.head-hide {
  display: none;
}
p {
    margin: 0;
    padding: 0;

}
#papa {
    min-width: 325px;
    max-width: 2400px;
    margin-left: auto;
    margin-right: auto;
    display:flex;
    justify-content: center;
    overflow-x:  hidden;
}

#logotype > div {
    padding: 48px 0 48px 0;
    margin-left: 40px;
}

#logotype div svg {
    cursor: pointer;
}

#papa > div:first-child {
       transition:.4s ease-in-out;
}
#papa[menu=open] > div:first-child {
    transform:translateX(-300px);
    transition:.4s ease-in-out;

}
#papa[menu=open] > nav #menu {
    transform: translateX(-320px);
    margin-left:0;
}

#papa > nav{
    display: none;
}
#papa #links {
    display: flex;
}

#papa > nav #menu {
    margin-left:0;
    transform:translateX(50px);
    transition:.4s ease-in-out;
}


#papa > nav {
    flex: initial;
 
}

#logotype {
    width: 208px;
    /* margin-left: 32px; */
    /*     min-width: 120px; */
}

#papa #menuToggle {
    position: fixed;
}

#mainnav {
    display: flex;
    flex-basis: auto;
    flex-grow: 1;
    background-image: linear-gradient(rgba(0,0,0,1)80%, rgba(0,0,0,0));
    z-index: 10;
    width: 100vw;
    position: fixed;
    top:  0;
    left: 0;
    /* opacity: 0; */
   }

/*
#header {
   padding: 48px 56px;
   font-size: 32px;
   font-weight: normal;
   font-family: Inknut Antiqua;
   color:white;
   border: 1px red solid;
}
*/

#marginer {
    display: flex;
    margin-right: 40px;
}

#links {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    font-family: proxima-nova, sans-serif;
    font-weight: 300;
    font-size: 18px;
    font-style: normal;
    letter-spacing: .25;
}

a {
    padding: 8px 0;
    flex: 1;
    text-decoration:  none;
    color: red;
    margin: 16px;
}
a.active {
    color: white;
}

#area {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    opacity:1;
    transition:.3s ease-in-out;
    /* height: -webkit-fill-available; */
    margin-top: 104px;
}


#area.newFragmentLoading {
    opacity: 0;
    transition:0s ease-in-out;
}

#area.newFragmentLoading:after {
    content:"loading";
    font-size:24px;
    display:flex;
    height:100vh;
    width:100vw;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:absolute;
    z-index:100;
    top:0;
    left:0;
    color: white;
}

[link] {
    cursor:pointer;
}
    
.thumbnail {
    display: flex;
    position: relative;
    width: 50%;
    max-width: 50%;
    justify-content: left;
    overflow: hidden;
    cursor: pointer;
}

.thumbnail * {
    cursor: pointer;
}


.pframe {
    margin: 8px 8px;
}

.pframe-opt {
    margin: 8px 8px;
}

.prtag {
    display: flex;
    justify-content: center;
    width: 96%;
    position:  absolute;
    bottom: 4%;
    font-family: 'Space Mono', monospace, sans-serif;
    font-size: 18px;
    opacity: 0;
    transition: .3s ease;
}

.thumbnail:hover .prtag {
    opacity: 0.8;
}

.picture {
    display: flex;
    flex-direction:column;
}

img {
    width: 100%;
    height: auto;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 160px;
    padding: 0 96px;
}

.constraints {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 96px;
    margin: 0 0 56px 0;
    max-width: 1000px;
}

.triple-large {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 96px;
    margin: 56px 0;
}

.triple-large > .triple:nth-child(2) {
    margin: 0 32px;
}

.spacer {
    display: flex;
    width: 100%;
    height: 160px;
}

.overview {
    display: flex;
    justify-content: center;
    align-items:  center;
    width: 100%;
    padding-right: 96px;
    padding-left: 96px;
    max-width: 1000px;
    margin-bottom: 80px;
    
}

.overview div p {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    letter-spacing: .25;
    line-height: 1.45;
    opacity: 0.9;
}

.content-sp {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 160px;
    margin-bottom: 160px;
    padding-right: 96px;
    padding-left: 96px;
}

.triple {
    display: flex;
    width: 30%;
    justify-content: center;
    align-items: center;
}

.bbpic {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: auto;
}

.bbp > p {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    margin-top: 32px;
    text-align: center;
}

.duo {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    align-items: center;
}

.exp {
    font-family: 'Space Mono', monospace;
    max-width: 768px;
    margin-left: 56px;
    font-size: 20px;
    letter-spacing: .25;
    line-height: 1.45;
    opacity: 0.9;
    margin-top: -8px;
}

.content:nth-child(even) > .duo > .exp {
    order: -1;
    margin-left: 0;
    margin-right: 56px;
}


#suppic-about{
    max-width: 50vw;
    /* margin-top: 8px; */
}

#about-container {
    margin-top: -10px;
}

#suppic-about > p {
    margin-top: 8px;
    font-family: 'Space Mono', monospace;
    opacity: .9;
}

.exp-about {
    font-family: 'Space Mono', monospace;
    max-width: 50vw;
    margin-left: 56px;
    font-size: 20px;
    letter-spacing: .25;
    line-height: 1.45;
    opacity: 0.9;
    margin-bottom: 32px;
}

#duo-about {
    display: flex;
    width: 85vw;
    margin-top: 40px;
}

.suppic {
    display: flex;
    justify-content: space-around;
    align-items:  center;
    width: 100%;
    /* margin-right: 56px; */
}

.supvid {
    display: flex;
    justify-content: space-around;
    align-items:  center;
    width: 100%;
}


.prtitle {
    display: flex;
    justify-content: space-around;
    align-items:  center;
    width: 100%;
    padding: 182px 96px 96px 96px;
}

.trio {
    display: flex;
    flex-direction: row;
    max-width: 1000px;
}

.logo img {
    width: 144px;
    height: inherit;
    padding-top: 12px;

}

.writeup {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    letter-spacing: .25;
    margin-left: 80px;
    line-height: 1.45;
    opacity: 0.9;
}

.contributions {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    letter-spacing: .25;
    margin-left: 80px;
    line-height: 1.45;
    opacity: 0.9;
}

.hero {
    margin: 0 8px 0 8px;
}

.hero-overview {
    max-width: 1000px;
    margin-bottom: 56px;
    margin-top: 96px;
}

h1 {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3;
    font-family: proxima-nova, sans-serif;
    opacity: 0.6;
}

#footer {
    width: 100vw;
    height: 80px;
}

video {
    width: 100%;
}

.supvid > video {
    width: 70%
}

#contact {
    display: flex;
    margin-top: 40px;
    height: auto;
    justify-content: space-between;
}

a#button {
    padding: 20px 48px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, .5);
    transition: .3s ease;
    cursor: pointer;
    margin: 0;
}

#button-container {
    display: flex;
}


#button:hover {
    color: white;
    border: 1px solid white;
}

#social {
    height: auto;
}

.icon {
    width: 66px;
    opacity: .5;
    transition: .3s ease;
}

.icon:hover {
    opacity: 1;
}
/*--------Mobile/Tablet starts here--------*/

@media only screen and (max-width: 680px) {

    #papa {
        overflow-x: hidden !important;
    }

    #area {
        margin-top: 136px;
    }

    .thumbnail {
        width: 100vw;
        max-width: 100vw;
        /*     transition: width 0.4s cubic-bezier(1, 0, 0.58, 1); */
    }

    .prtitle {
        padding: 16px;
    }

    .trio {
        flex-direction: column;
        justify-content: left;
        align-items: flex-start;
        max-width: 80vw;
    }

    .writeup {
        margin: 0 0 24px;
    }

    .trio > .logo {
        align-self: center;
        margin-bottom: 16px;
    }

    .contributions {
        margin: 0;
        /*     align-self: flex-start; */
        /*     margin-left: 16px; */
        padding-bottom: 48px;
    }

    .logo img {
        margin: 24px;
        /*     padding-top: 24px; */
        max-width: 120px;
        height: inherit;
    }

    .duo {
        flex-direction: column;

    }

    .exp {
        margin-left: 0;
        margin-right:  0;
    }

    .content {
        padding-left: 0;
        padding-right: 0;
        width: 80vw;
        margin-top: 80px;
    }


    .suppic {
        order: -1;
        margin-bottom: 32px;
    }

    .supvid {
        order: -1;
        margin-bottom: 48px;

    }

    #papa #links {
        display: none;
    }

    #papa[menu] > nav {
        display: flex;
        position: relative;
    }

    #duo-about {
        display: flex;
        flex-direction: column;
        width: 85vw;
        margin-top: 40px;
    }

    #suppic-about {
        max-width: none;
    }

    .exp-about {
        max-width: none;
        margin-left: 0;
    }

    #about-container {
        margin-top: 40px;
    }

    .supvid > video {
        width: 100%;
    }

    .pframe-opt {
        display: none;
    }

    .content-sp {
        flex-direction: column;
        margin-top: -64px;
        margin-bottom: 96px;

    }

    .triple {
        width: 100%;
        margin-top: 96px;
    }

    .constraints {
        flex-direction: column;
        margin-top: 0;
    }

    .constraints .triple {
        margin-top: 48px;
    }

    .overview {
        padding: 0;
        width: 80vw;
    }
    .content:nth-child(even) > .duo > .exp {
        margin-right: 0;
    }

    .triple-large {
        flex-direction: column;
        width: 80vw;
        padding: 0;
        /* margin-top:  0; */
    }
    .triple-large .triple {
        margin-top: 32px;
    }
    .triple-large > .triple:nth-child(2) {
        margin: 32px 0 0 0;
    }
    .spacer {
        display: none;
    }
    .hero-overview {
        width: 80vw;
        margin-bottom: 56px;
        margin-top: 56px;
    }
}

@media only screen and (max-width: 414px){
    .writeup {
        font-size: 16px;
    }
    .contributions {
        font-size: 16px;
    }
    .about{
        font-size: 16px;
    }
    .exp {
        font-size: 16px;
    }
    .bbp > p {
        font-size: 16px;
    }
    .overview div p {
        font-size: 16px;
    }
}