Team:Bordeaux/Template/css

@font-face { font-family: 'BOLD'; src: url("https://static.igem.org/mediawiki/2018/b/b6/T--Bordeaux--Bitterbold.otf") format("opentype"); font-weight: bold; font-style: normal; }

@font-face { font-family: 'Lora'; src: url("https://static.igem.org/mediawiki/2018/6/65/T--Bordeaux--Loraregular.ttf") format("truetype"); font-weight: normal; font-style: normal; }

@font-face { font-family: 'Lora'; src: url('https://static.igem.org/mediawiki/2018/5/5a/T--Bordeaux--Loraitalic.ttf') format('truetype'); font-weight: normal; font-style: italic;

}

@font-face { font-family: 'BOLD'; src: url('https://static.igem.org/mediawiki/2018/e/ef/T--Bordeaux--Bitterbolditalic.otf') format('opentype'); font-weight: bold; font-style: italic; }

body p, li{

   font-family: Lora!important;

font-weight:normal; font-style: normal; } html body {

   font-size: inherit;
   font-family: inherit;

font-weight:normal; font-style: normal;

   background-color: transparent;
   color: inherit;
   padding: 0;

}

  1. globalWrapper {
   margin: 0;
   padding-bottom:0px!important;
   padding: 0;
   position: static;
   width: auto;

}

  1. top-section {
   border: 0;
   height: auto; 
   margin: 0;
   position: static;
   width: auto;

}

  1. p-logo {
   height: auto;
   position: static;
   width: auto;
   z-index: auto;

}

  1. p-logo a, div#p-logo a:hover {
   text-decoration: none;

}

  1. menubar {
   position: static;
   top: 0px;
   white-space: normal;
   width: auto;
   z-index: auto;

}

div.left-menu, div.left-menu a {

   left: 0;
   text-align: left;
   text-transform: none;

}

  1. menubar ul {
   list-style: disc outside none;
   margin: 0;
   padding: 0;

}

  1. menubar li {
   cursor: auto;
   display: list-item;
   padding: 0;
   margin: 0;
   position: static;

}

.left-menu li a {

   padding: 0;

}

.left-menu:hover {

   background-color: transparent;

}

.right-menu, div.right-menu a {

   right: 0;
   text-align: left;

}

.right-menu li a {

   background-color: transparent;
   padding: 0;

}

.right-menu li a:hover {

   text-decoration: none;

}

  1. search-controls {
   background-color: transparent;
   height: auto;
   position: static;
   right: 0;
   text-align: left;
   top: 0;
   width: auto;
   z-index: auto;

}

  1. content {
   background: transparent;
   border: 0;
   margin: 0;
   padding: 0;

line-height:1.5;

   position: static;
   width: auto;
   z-index: auto;

color:#474747; }

li {

   margin: 0;

}

h1, body h2, body h3, body h4, body h5, body h6 {

   background: transparent;
   border: 0;
   padding: 0;

} h1, h2, h3, h4, h5, h6, b{

   font-family: BOLD!important;

font-weight:bold; font-style: normal; }

.firstHeading {

   margin: 0;

}

  1. contentSub {
   margin: 0;
   width: auto;

}

  1. catlinks {
   background-color: transparent;
   border: 0;
   clear: both;
   margin: 0;
   padding: 0;

}

  1. footer-box {
   background-color: transparent;
   border: 0;
   margin: 0;
   padding: 0;
   width: auto;

}

  1. footer {
   text-align: left;

}

  1. f-poweredbyico, #f-copyrightico {
   float: none;

}

  1. footer li {
   margin: 0;
   display: list-item;

}

  1. sideMenu {
  width: 200px;
  position: absolute;
  top: 20px;
  left: 1020px;
  z-index: 10;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  background-color: white;
  text-align: left;
  display: none;
  z-index: 0;

}

  1. content {
   width: 100%;
      padding: 0px;
      margin-left: 0px;

}

  1. top_title {
   overflow: hidden;
   display: none;

}

  1. top_menu_14 {
   height: 20px;

}

  1. top_menu_under {
   display: none;

}

  1. globalWrapper {
     padding-bottom: 20px;

}

  1. HQ_page p {
  font-size: 16px;

}

.skin-igem {

      padding-top: 0px;

}

  1. top_menu_14 {

border-bottom:2px solid #383838!important; }

/* End rules to reset wiki css*/

p{ margin:0px!important; padding:0px!important; }

html, body, #bdxbackground{

 width:100%;
 height:100%;

} video{

       width: 100vw;
       height: auto;
       position: relative;
       background: black;
       left: 0;

} body{

   overflow-x: hidden;

}

  1. videocontainer{
   position: relative;
   height: auto;
   z-index: -15;

}

.after-bg{ height: 200px; background-color: #fff; position: relative; left: 0px; width: 100vw; color:black; }


/* MENU FLOAT*/

body {

   margin: 0;
   padding: 0;
   box-sizing: border-box;
   color: #4d4d4d;
   text-rendering: optimizeLegibility;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;

}

a {

   color: #4d4d4d;
   text-decoration: none;

}

ul {

   margin: 0;
   padding: 0;

}

li {

  list-style: none;

} .treemenu li{ font-size:16px!important; } .treemenu a{ text-decoration:none; } .displayflex {

   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;

} .menu-wrapper{

  position: absolute;
   left: 20px;
   display: flex;
   justify-content: center;
   align-items: center;
   z-index : 9;
   border-top-left-radius: 10px;
pointer-events: all;
   border-bottom-left-radius: 10px;
     -webkit-touch-callout: none;
     /* iOS Safari */
     -webkit-user-select: none;
     /* Safari */
     -khtml-user-select: none;
     /* Konqueror HTML */
     -moz-user-select: none;
     /* Firefox */
     -ms-user-select: none;
     /* Internet Explorer/Edge */
     user-select: none;
     /* Non-prefixed version, currently
                                 supported by Chrome and Opera */

} .menu {

   transition: all .3s;
   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;
   position: fixed;
   width: 100%;
   height: 100vh;
   z-index: 9;
   justify-content: center;
   align-items: center;
   transition: all .2s;
   background-size: cover;
   top: 0;
pointer-events: none;

}

.menu .preview {

   box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.87);
   border-radius: 10px;
   width: 238px;
   height: 426px;
   /*margin-right: 40px;*/
   background-image: url(T--Bordeaux--cardmenu.png);
   background-size: cover;
   z-index: 10;

}

  1. menu{
       padding: 20px 80px 20px 80px !important;
       position: relative;
       left: -275px;
       z-index: 9;

}

.slided{

       padding: 20px 80px 20px 80px!important;    
       position: relative;
       background-color: rgba(38, 38, 38, 0.4);
       left: 0px!important;
       z-index: 10!important;
       transition-duration: 0.7s;

}

.menu ul li a {

   color: #ffffff;
   font-size: 16px;
   letter-spacing: 0.89px;
   text-transform: uppercase;
   padding: 4px 0;
   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;
   opacity: .45;
   transition: all .3s;

}

.menu ul li a:hover {

   opacity: 1;

}


.preview.home {

   background-image: url(T--Bordeaux--cardmenu.png);

}

.menu.project {

   background-image: url(T--Bordeaux--cardbgforet.png);

}

.preview.project {

   background-image: url(T--Bordeaux--cardproject.png);

}

.menu.team {

   background-image: url(T--Bordeaux--cardbgteam.jpg);

}

.preview.team {

   background-image: url(T--Bordeaux--cardteam.png);

}


.bgtitle{

   width: 100vw;
   height: 100vh;
   background-size: cover;
   background-repeat:no-repeat; 
   background-position: center center;
   background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.4)), url(T--Bordeaux--bgforest.jpg);
   z-index: -5;

} .separator{

   box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.87);    

} .typewriter{

   color: white;
   text-align:center;
   display: table-cell;
   width: 100vw;
   /*mix-blend-mode: screen;*/
   font-weight: 500;
   font-family: "Avenir-black",
       sans-serif;

white-space: nowrap; height: 100vh; vertical-align: middle; }


.sponso{

   background-color: white;
   padding: 10px;
   z-index: 1;
   width: 100vw;
  display: flex;
  justify-content:space-around;
  align-items: center;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
  position: relative;

} .sponso img{

   max-width: 200px;
   max-height: 100px;
   z-index : 1;

}

.tiles{

   padding: 50px!important;
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19),
     0 6px 6px rgba(0, 0, 0, 0.23);
     background-color: white;

} .subpanel{

} /*Mouse scroll*/

.mouse {

 background: #7c9cae33 linear-gradient(transparent 0%, transparent 50%, #fff 50%, #fff 100%);
 position: relative;
 width: 52px;
 height: 88px;
 background-size: 100% 100%;
 border-radius: 100px;
 background-size: 225%;
 animation: colorSlide 5s linear infinite, nudgeMouse 5s ease-out infinite;

} .mouse:before, .mouse:after {

 content: "";
 position: absolute;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 margin: auto;

} .mouse:before {

 width: 35px;
 height: 62px;
 background-color: #4f606c;
 border-radius: 100px;

} .mouse:after {

 background-color: #fff;
 width: 10px;
 height: 10px;
 border-radius: 100%;
 animation: trackBallSlide 5s linear infinite;

} @keyframes colorSlide {

 0% {
   background-position: 0% 100%;
 }
 20% {
   background-position: 0% 0%;
 }
 21% {
   background-color: #4e5559;
 }
 29.99% {
   background-color: #fff;
   background-position: 0% 0%;
 }
 30% {
   background-color: #4e5559;
   background-position: 0% 100%;
 }
 50% {
   background-position: 0% 0%;
 }
 51% {
   background-color: #4e5559;
 }
 59% {
   background-color: #fff;
   background-position: 0% 0%;
 }
 60% {
   background-color: #4e5559;
   background-position: 0% 100%;
 }
 80% {
   background-position: 0% 0%;
 }
 81% {
   background-color: #4e5559;
 }
 90%, 100% {
   background-color: #fff;
 }

} @keyframes trackBallSlide {

 0% {
   opacity: 1;
   transform: scale(1) translateY(-20px);
 }
 6% {
   opacity: 1;
   transform: scale(0.9) translateY(5px);
 }
 14% {
   opacity: 0;
   transform: scale(0.4) translateY(40px);
 }
 15%, 19% {
   opacity: 0;
   transform: scale(0.4) translateY(-20px);
 }
 28%, 29.99% {
   opacity: 1;
   transform: scale(1) translateY(-20px);
 }
 30% {
   opacity: 1;
   transform: scale(1) translateY(-20px);
 }
 36% {
   opacity: 1;
   transform: scale(0.9) translateY(5px);
 }
 44% {
   opacity: 0;
   transform: scale(0.4) translateY(40px);
 }
 45%, 49% {
   opacity: 0;
   transform: scale(0.4) translateY(-20px);
 }
 58%, 59.99% {
   opacity: 1;
   transform: scale(1) translateY(-20px);
 }
 60% {
   opacity: 1;
   transform: scale(1) translateY(-20px);
 }
 66% {
   opacity: 1;
   transform: scale(0.9) translateY(5px);
 }
 74% {
   opacity: 0;
   transform: scale(0.4) translateY(40px);
 }
 75%, 79% {
   opacity: 0;
   transform: scale(0.4) translateY(-20px);
 }
 88%, 100% {
   opacity: 1;
   transform: scale(1) translateY(-20px);
 }

} @keyframes nudgeMouse {

 0% {
   transform: translateY(0);
 }
 20% {
   transform: translateY(8px);
 }
 30% {
   transform: translateY(0);
 }
 50% {
   transform: translateY(8px);
 }
 60% {
   transform: translateY(0);
 }
 80% {
   transform: translateY(8px);
 }
 90% {
   transform: translateY(0);
 }

} @keyframes nudgeText {

 0% {
   transform: translateY(0);
 }
 20% {
   transform: translateY(2px);
 }
 30% {
   transform: translateY(0);
 }
 50% {
   transform: translateY(2px);
 }
 60% {
   transform: translateY(0);
 }
 80% {
   transform: translateY(2px);
 }
 90% {
   transform: translateY(0);
 }

} @keyframes colorText {

 21% {
   color: #4e5559;
 }
 30% {
   color: #fff;
 }
 51% {
   color: #4e5559;
 }
 60% {
   color: #fff;
 }
 81% {
   color: #4e5559;
 }
 90% {
   color: #fff;
 }

}

.img-alongtext-left{ /*mustdefine a shape outside*/ shape-image-threshold: 0; float: left; padding-left: 0px !important; shape-margin: 1em; }

.img-alongtext-right{ /*mustdefine a shape outside*/ shape-image-threshold: 0; float: right; padding-right: 0px !important; shape-margin: 1em; }


/*REVEAL TEXT*/


.reveal-text, .reveal-text::after { -webkit-animation-delay: 2s; animation-delay: 2s; -webkit-animation-iteration-count: 1; animation-iteration-count: 1; -webkit-animation-duration: 800ms; animation-duration: 800ms; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1); animation-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1); }

.reveal-text { position: relative; /*font-size: 10vw;*/ display: block; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-animation-name: reveal-text; animation-name: reveal-text; white-space: nowrap; cursor: default color: #000; /*padding: 25px 0px 25px 0px;*/

}

.reveal-text::after { content: ""; position: absolute; z-index: 999; top: 0; left: 0; right: 0; bottom: 0; background-color: #ff0d5a; border-radius: 100px; -webkit-transform: scaleX(0); transform: scaleX(0); -webkit-transform-origin: 0 50%; transform-origin: 0 50%; pointer-events: none; -webkit-animation-name: revealer-text; animation-name: revealer-text; }


@-webkit-keyframes reveal-text { from { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); } to { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); } }


@keyframes reveal-text { from { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); } to { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); } }


@-webkit-keyframes revealer-text {

0%, 50% { -webkit-transform-origin: 0 50%; transform-origin: 0 50%; }

60%, 100% { -webkit-transform-origin: 100% 50%; transform-origin: 100% 50%; }


60% { -webkit-transform: scaleX(1); transform: scaleX(1); }

100% { -webkit-transform: scaleX(0); transform: scaleX(0); } }


@keyframes revealer-text {

0%, 50% { -webkit-transform-origin: 0 50%; transform-origin: 0 50%; }

60%, 100% { -webkit-transform-origin: 100% 50%; transform-origin: 100% 50%; }


60% { -webkit-transform: scaleX(1); transform: scaleX(1); }

100% { -webkit-transform: scaleX(0); transform: scaleX(0); } } .text-longshadow {

 color: #fff;

font-size:5.2vw; overflow: visible;

text-shadow:  1px 1px rgba(179, 179, 179, 0.5) , 2px 2px rgba(183, 183, 183, 0.51) , 3px 3px rgba(187, 187, 187, 0.52) , 4px 4px rgba(191, 191, 191, 0.53) , 5px 5px rgba(195, 195, 195, 0.54) , 6px 6px rgba(198, 198, 198, 0.55) , 7px 7px rgba(201, 201, 201, 0.56) , 8px 8px rgba(204, 204, 204, 0.57) , 9px 9px rgba(207, 207, 207, 0.58) , 10px 10px rgba(209, 209, 209, 0.59) , 11px 11px rgba(212, 212, 212, 0.6) , 12px 12px rgba(214, 214, 214, 0.61) , 13px 13px rgba(216, 216, 216, 0.62) , 14px 14px rgba(218, 218, 218, 0.63) , 15px 15px rgba(220, 220, 220, 0.64) , 16px 16px rgba(222, 222, 222, 0.65) , 17px 17px rgba(223, 223, 223, 0.66) , 18px 18px rgba(225, 225, 225, 0.67) , 19px 19px rgba(227, 227, 227, 0.68) , 20px 20px rgba(228, 228, 228, 0.69) , 21px 21px rgba(230, 230, 230, 0.7) , 22px 22px rgba(231, 231, 231, 0.71) , 23px 23px rgba(232, 232, 232, 0.72) , 24px 24px rgba(234, 234, 234, 0.73) , 25px 25px rgba(235, 235, 235, 0.74) , 26px 26px rgba(236, 236, 236, 0.75) , 27px 27px rgba(237, 237, 237, 0.76) , 28px 28px rgba(238, 238, 238, 0.77) , 29px 29px rgba(239, 239, 239, 0.78) , 30px 30px rgba(240, 240, 240, 0.79) , 31px 31px rgba(241, 241, 241, 0.8) , 32px 32px rgba(242, 242, 242, 0.81) , 33px 33px rgba(243, 243, 243, 0.82) , 34px 34px rgba(244, 244, 244, 0.83) , 35px 35px rgba(245, 245, 245, 0.84) , 36px 36px rgba(246, 246, 246, 0.85) , 37px 37px rgba(246, 246, 246, 0.86) , 38px 38px rgba(247, 247, 247, 0.87) , 39px 39px rgba(248, 248, 248, 0.88) , 40px 40px rgba(248, 248, 248, 0.89) , 41px 41px rgba(249, 249, 249, 0.9) , 42px 42px rgba(250, 250, 250, 0.91) , 43px 43px rgba(250, 250, 250, 0.92) , 44px 44px rgba(251, 251, 251, 0.93) , 45px 45px rgba(252, 252, 252, 0.94) , 46px 46px rgba(252, 252, 252, 0.95) , 47px 47px rgba(253, 253, 253, 0.96) , 48px 48px rgba(253, 253, 253, 0.97) , 49px 49px rgba(254, 254, 254, 0.98) , 50px 50px rgba(254, 254, 254, 0.99);

}