
@viewport{width:device-width}
@-o-viewport{width:device-width}
@-ms-viewport{width:device-width}
@-moz-viewport{width:device-width}
@-webkit-viewport{width:device-width}

@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700&display=swap');


html, body {
    display: inline-block;
    text-align: center;
    height: 100%;
    width: 100%; 
    margin: 0;
    min-width: 400px; 
    
    font-family: 'Raleway';
    color: black; 
    background: black; 
}

/*
    color: white; 
*/

body {
    overflow-x: hidden; 
}

li, button {
    user-select: none;    
}

h1 {
    display:inline-block; 
    margin: 0 auto;
    margin-bottom: 5px; 
    padding: 0 10px; 
    text-shadow: 1px 1px 3px black;
    
    background-color: #00000050; 
    border-radius: 5px;
    
    font-family: 'Monoton', cursive;
    font-weight: normal; 
    
}
@media (min-width: 800px)
{
    h1 {
        margin: 0 0 20px 0;
    }
}
h2 {
    text-shadow: 1px 1px 3px black;
}
ul {
    padding: 0; 
}

.todo {
    border: solid 1px red; 
}

.body-div {
    display: flex; 
    flex-direction: column; 
}

.displaynone {
    display: none; 
}
.displayblock {
    display: inline-block; 
}
.row-reverse {
    flex-direction: row-reverse; 
}
.jumpto-div {
    display: absolute; 
    height: 45px;
    top: 100px; 
    z-index: -1;
}


/****************/
/* Top Elements */
/****************/

.nav-div,
.nav-div nav
 {
    width: 100%; 
    height: 50px; 
    z-index: -1;
    font-family: 'Monoton', cursive;
    
    user-select: none;    
}
.menu-toggle-div {
    position: absolute; 
    width: 100%;
    
    user-select: none;
}
.top-bar {
    position: fixed; 
    width: 100%; 
    top: 0; 
    background-color: black;
    box-shadow: 0px 0px 5px 0px black;
    transition: all ease 0.2s;
    z-index: 2; 
    
    user-select: none;
}
.top-bar-full {
    height: 80px; 
    font-size: 30px; 
}
.top-bar-small { 
    height: 50px; 
    font-size: 30px; 
    margin: 0;  
}
@media (min-width:1240px) 
{ 
    .top-bar-full {
        font-size: 40px; 
    }
    .top-img {    
        height: 60px; 
        top: 8px;
        left: 20px; 
    }
    .top-bar-small a img,
    .top-bar-small a source {
        top: -2px !important;   
    }
}
@media (max-width:1010px) 
{ 
    .top-bar button { 
        padding: 0 10px 0 10px !important;  
    }
    .top-bar-full {
        height: 50px; 
        font-size: 30px; 
        margin: 0;  
    }
    .top-bar-small { 
        height: 50px; 
        font-size: 30px; 
        margin: 0;  
    }
    .top-img {
        display: block; 
        top: -2px; 
        left: 2px; 
        height: 35px !important;  
        width: 35px !important; 
    }
    .logo-div { 
        margin: 20px 0 -80px 0;  
    }
} 
@media (min-width:950px) 
{ 
    .top-img {
        display: block; 
        height: 35px;  
        width: 35px; 
    }
    .logo-div { 
        margin: 30px 0 -90px 0; 
    }
}
@media (max-width:860px) 
{ 
    .top-img {
        display: none; 
    }

}
@media (max-width:760px) 
{ 
    .top-bar button { 
        height: 0px !important; 
    }
    .top-bar a button { 
        font-size: 0px; 
        transition: all ease 0.2s;
    }
    .logo-div { 
        margin: 35px 0 -70px 0;  
    }
    .top-img {
        display: block; 
        top: -2px !important; 
        left: 2px !important; 
        height: 35px !important;  
        width: 35px !important; 
    }
} 
@media (min-width:760px) 
{
    .nav-div {
        display: none; 
    }
}
.top-bar button {
    position: relative;
    height: inherit; 
    top: 0px; 
    padding: 0 20px 0 20px; 
    
    font-family: 'Monoton', cursive;
    font-weight: 500;
    font-size: inherit; 
    color: pink; 
    
    border: none;
    border-color: #17374a;
    background-color: transparent; 
}
.top-bar button:hover {
    transform: scale(1.2);
    color: white; 
}
.top-bar button:active {
    color: white; 
    top: 1px; 
}
.top-bar a {
    text-decoration: none; 
    color: inherit;
    height: inherit; 
}
.top-img,
.top-img picture {    
    position: absolute; 
    transition: all ease 0.2s;
}

/*****************/
/* Logo Elements */
/*****************/

.logo-div { 
    transition: all ease 0.2s;
    background: black; 
    background-image: url(../images/video-background.webp), url(../images/video-background.png);
    background-repeat: repeat-x;
}
.logo-img { 
    width: 100%; 
    margin: 0 auto; 
    background-size: cover;
    margin-top: 40px; 
}
.logo-video { 
    width: 100%; 
    z-index: 0; 
    background: black; 
    
    max-width: 900px; 
    transition: all ease 0.2s;
}
@media (min-width:1240px) 
{ 
    .logo-video { 
        max-width: 1000px; 
    }
}

/******************/
/* About Elements */
/******************/

.about-div {
    background-color: #15325c; 
    padding: 15px 0 20px 0; 
    margin-top: -10px; 
    box-shadow: 0px 0px 5px 0px #15325c;
    min-height: 100px; 
    margin: -5px 0 -60px 0; 
    
    z-index: 1; 
}
.about-text-div {
    width: 80%; 
    max-width: 800px; 
    margin: 0 auto; 
    text-align: justify;
    text-justify: inter-word;
    
    line-height: 30px;
}


/********************/
/* Project Elements */
/********************/

.media-div {
    width: 100%; 
    min-height: 350px; 
    
    padding: 20px 0 70px 0; 
    margin: 10px 0 -100px 0; 
    
    background: #7acdcd;
    
    background-repeat: no-repeat; 
    background-size: cover;
    background-image: url(../images/mtl-background.webp), url(../images/mtl-background.png);
}
/*
    position: relative; 
    z-index: 2; 
    
    top: 0;
    left: 0; 
    
    background-repeat: no-repeat; 
    background-size: cover;
    background-image: url(../images/mtl-background.webp), url(../images/mtl-background.png);
    
    position: absolute; 
    min-height: 100%; 
    min-width: 100%; 
    
    z-index: -1; 
    top: 0;
    left: 0; 
    
    z-index: 0; 
*/
.media-div h1 {
    background-color: #00000090;
    z-index: 2;  
}
.media-div-background {
    
}
.media-sub-div {
    display: flex; 
    flex-wrap: wrap;
    flex-grow: 4;
    justify-content: space-around;
    align-items: center;
    
    max-width: 950px; 
    margin: 0 auto; 
}
.media-s1,
.media-s2 {
}
.media-s1 {
    flex: 1; 
    margin-top: 10px;
    /* max-width: 200px;  */
    /* min-width: 200px;  */
    /* max-height: 200px;  */
    /* min-height: 200px;  */
}
.media-s2 {
    flex: 1;
    min-width: 400px; 
    max-width: 400px; 
    background: grey; 
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    
    height: 155px; 
    margin: 0 auto; 
}
/*
*/
.media-s2 a,
.media-s2 h2 {
    color: white; 
    transition: all .1s;
    margin: 0;
    padding: 10px 0 15px 0; 
}
.media-s2 a:hover {
}
.media-s2 h2:hover {
    color: pink; 
    transform: scale(1.05);
}

.media-mtl-logo,
.media-steam-logo {
    /* width: 100%;  */
    height: 200px; 
    transition: all .3s;
}
.media-mtl-logo:hover,
.media-steam-logo:hover
 {
    transform: scale(1.06);
    cursor: pointer;
}
@media (max-width: 430px)
{
    .media-steam-logo {
        width: 400px;
    }
}



/*****************/
/* Team Elements */
/*****************/

.team-div,
.advisor-div,
.collaborator-div {
    width: 100%; 
}
.team-div {
    background-color: #386ead; 
    box-shadow: 0px 0px 5px 0px #386ead;
    padding: 20px 0 30px 0; 
}
.collaborator-div {
    background-color: #6e5ad9; 
    box-shadow: 0px 0px 5px 0px #6e5ad9;
    padding: 20px 0 30px 0; 
    margin: 0 0 0 0; 
}
.advisors-div {
    background-color: #752763; 
    box-shadow: 0px 0px 5px 0px #752763;
    padding: 20px 0 50px 0; 
    margin: 0 0 -70px 0; 
}
.member-div {
    display: flex; 
    align-items: center;
    width: 90%; 
    height: 100%; 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 0 0 10px 0; 
}
@media (min-width:861px) 
{ 
    .member-child {
        width: 45%; 
    }
} 
@media (max-width:860px) 
{ 
    .member-div {
        display: block; 
        width: 80%;
    }
    .member-description {
        max-width: 400px;
        margin: 0 auto; 
    }
} 
.member-child {
    padding: 0 10px 10px 10px; 
}
.member-description {
    line-height: 28px;
    text-align: justify;
    text-shadow: 1px 1px 3px black;
}
.portrait-img {
    max-width: 320px; 
    margin: 15px 0 0 0; 
    padding: 0 10px 0 10px; 
}

.member-description h2 {
    text-align: center;
    margin: -10px 0 10px 0 ;
}
.member-child h2 {
    margin: 10px 0 0 0 ;
}
.member-description span {
}


/*******************/
/* Social Elements */
/*******************/

.social-div {
    width: 100%; 
    background-color: #323180; 
    box-shadow: 0px 0px 5px 5px #323180;
    padding: 20px 0 0 0; 
}
.social-div h1 {
    margin-bottom: 5px; 
}
.social-bar {
    display: flex; 
    flex-wrap: wrap;
    width: 90%; 
    
    max-width: 700px; 
    align-items: center;
    justify-content: center;
    
    padding: 0 0 20px 0; 
    margin: 0 auto;
    margin-top: -5px; 
}
.social-bar div {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    
}
/*
    width: 530px;
    icons x4 : width: 350px;  
    icons x3 : width: 265px;  
    icons x2 : width: 180px;  
*/
.social-bar a {
    margin: 5px; 
    height: 70px;
    width: 70px; 
}
/*
    flex: 1; 
*/
.icon-social {
    height: 64px; 
    width: 64px; 
    margin: 5px; 
    border: 3px solid white; 
    border-radius: 50%;
    transition: all .1s;
}
.icon-social:hover {
    height: 66px; 
    width: 66px; 
    box-shadow: 0px 0px 2px 2px pink ;
}


/********************/
/* Contact Elements */
/********************/

.contact-div {
    height: 580px; 
    margin: 0 0 -60px 0; 
    padding: 20px 0 50px 0; 
    align-items: center;
    text-align: center;
    background-color: #5229c2; 
    box-shadow: 0px 0px 5px 5px #5229c2;
}
.contact-div h1 {
    margin-bottom: 10px; 
}

form {
    display: inline-block;
    text-align: center;
    width: 90%;
    max-width: 800px; 
    margin: 15px 0 0 0; 
    background:#131313;
    border-radius: 17px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

label {
    display: block;
    text-align: start;
    color: #f2f2f2;
    font-weight: 600;
    font-size: 30px;
}

input[type="text"]:focus, input[type="email"]:focus {
    border: 1px solid white;
}
.inputfield,
.messagefield {
    font-size: 1.1em;
    font-weight: normal;
    display: block;
    width: 98%;
    outline: none;
    border-radius: 10px;
    transition: all 1s;
    border: 1px solid rgba(102,51,153,0);
    background: #212121;
    color: white; 
    margin: .3em 0 1em 0;
    padding: .3em;
}
.inputfield {
    height: 20px;
}
.messagefield {
    height: 150px;
}
.formbutton {
    position: relative; 
    float: left;
    height: 50px;
    width: 200px;
    
    border: none;
    border-radius: 0.3em;
    font-size: 25px;
    font-weight: 600;
    color: white;
    background:#212121;
    
    transition: transform .2s;
}
.formbutton:hover {
    transform: scale(1.03);
    cursor: pointer;
    background-color: #f2f2f2;
    color: #212121;
}


/*******************/
/* Bottom Elements */
/*******************/

.bottom-bar {
    height: 35px; 
    width: 100%; 
    bottom: 0; 
    padding: 20px 0 0 0; 
    
    color: #fffcf5; 
    background-color: #17374a;
    box-shadow: 0px 0px 5px 5px #17374a;
    
    font-family: Work sans,sans-serif;
    font-weight: 400;
    text-align: center; 
    white-space: nowrap;
    overflow: hidden; 
}


/**********************/
/* Hamburger Elements */
/**********************/

#menu {
    margin: -40px 0 0 -90%;
    
    position: relative;
    width: 100%;
    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */
    
    transform-origin: 0% 0%;
    transform: translate(0%, -100%);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);

    background-color: black;
    padding: 5px 0 10px 0; 
    text-align: center; 

}
#menu li {
    margin: 0 auto; 
    padding: 10px 0;
    font-size: 30px;
    color: pink; 
    width: 300px;   
}
#menu li a { 
    user-select: none;    
}
#menu li:hover {    
    transform: scale(1.2);
    color: white; 
}
#menuToggle {
    position: absolute; 
    top: 15px;  
    left: 90%; 
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;    
}
#menuToggle a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: pink;
}
#menuToggle a:hover {
    color: pink;
}
#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    -webkit-touch-callout: none;
}
#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #cdcdcd;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}
#menuToggle span:first-child {
    transform-origin: 0% 0%;
}
#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}
#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #cdcdcd;
}
#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);   
}
#menuToggle input:checked ~ ul {
    transform: none;
}

