Difference between revisions of "Template:CPU CHINA/common CSS"

 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
#contain .left {
+
@font-face {
    position: -webkit-sticky;
+
  font-family: MONTSERRAT-BLACK1;
    position: sticky;
+
  src: url("https://static.igem.org/mediawiki/2021/d/d4/T--CPU_CHINA--MONTSERRAT-BLACK1.eot");
    float: left;
+
  src: url("https://static.igem.org/mediawiki/2021/0/04/T--CPU_CHINA--MONTSERRAT-BLACK1.woff")
     width: 25%;
+
      format("woff"),
     top: 20%;
+
     url("https://static.igem.org/mediawiki/2021/0/01/T--CPU_CHINA--Team--MONTSERRAT-BLACK1.TTF")
 +
      format("truetype"),
 +
     url("https://static.igem.org/mediawiki/2021/3/38/T--CPU_CHINA--MONTSERRAT-BLACK1.svg")
 +
      format("svg");
 
}
 
}
  
#contain .left .Frosting {
+
@font-face {
    position: absolute;
+
  font-family: MONTSERRAT-BLACKITALIC2;
    top: 0;
+
  src: url("https://static.igem.org/mediawiki/2021/c/cd/T--CPU_CHINA--MONTSERRAT-BLACKITALIC2.eot");
    left: 15%;
+
  src: url("https://static.igem.org/mediawiki/2021/d/d4/T--CPU_CHINA--MONTSERRAT-BLACKITALIC2.woff")
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3),
+
      format("woff"),
        0 0 40px rgba(0, 0, 0, 0.1) inset;
+
     url("https://static.igem.org/mediawiki/2021/4/43/T--CPU_CHINA--Team--MONTSERRAT-BLACKITALIC2.TTF")
     -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3),
+
      format("truetype"),
        0 0 40px rgba(0, 0, 0, 0.1) inset;
+
     url("https://static.igem.org/mediawiki/2021/1/16/T--CPU_CHINA--MONTSERRAT-BLACKITALIC2.svg")
     box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
+
      format("svg");
    -o-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
+
    z-index: 2;
+
 
}
 
}
  
#contain .left .catalogue-title {
+
@font-face {
    position: absolute;
+
  font-family: CABIN-REGULAR;
    top: 25px;
+
  src: url("https://static.igem.org/mediawiki/2021/5/5e/T--CPU_CHINA--CABIN-REGULAR.eot");
    left: 20%;
+
  src: url("https://static.igem.org/mediawiki/2021/b/b3/T--CPU_CHINA--CABIN-REGULAR.woff")
    width: 60%;
+
      format("woff"),
    text-align: center;
+
     url("https://static.igem.org/mediawiki/2021/d/d2/T--CPU_CHINA--CABIN-REGULAR.TTF")
    color: #202020;
+
      format("truetype"),
     font-size: large;
+
     url("https://static.igem.org/mediawiki/2021/9/94/T--CPU_CHINA--CABIN-REGULAR.svg")
    font-weight: 800;
+
      format("svg");
     z-index: 3;
+
 
}
 
}
  
#contain .left .catalogue {
+
@font-face {
    position: absolute;
+
  font-family: BLACKITALIC;
    padding-left: 14px;
+
  src: url("https://static.igem.org/mediawiki/2021/d/d8/T--CPU_CHINA--BLACKITALIC.eot");
    overflow: hidden;
+
  src: url("https://static.igem.org/mediawiki/2021/6/67/T--CPU_CHINA--BLACKITALIC.woff")
    top: 60px;
+
      format("woff"),
    width: 65%;
+
     url("https://static.igem.org/mediawiki/2021/2/28/T--CPU_CHINA--BLACKITALIC.ttf")
     z-index: 3;
+
      format("truetype"),
 +
      url("https://static.igem.org/mediawiki/2021/4/49/T--CPU_CHINA--BLACKITALIC.svg")
 +
      format("svg");
 
}
 
}
 
+
body {
#contain .left .catalogue li {
+
  background-color: #ffffff;
    color: #404040;
+
    margin: 5% 10%;
+
    text-overflow: ellipsis;
+
    overflow: hidden;
+
    white-space: nowrap;
+
    width: 95%;
+
    list-style: square inside url("https://static.igem.org/mediawiki/2021/9/9b/T--CPU_CHINA--circle.svg");
+
 
}
 
}
  
#contain .left .catalogue li:hover {
+
* {
    list-style: square inside url("https://static.igem.org/mediawiki/2021/5/5b/T--CPU_CHINA--circle2.svg");
+
  box-sizing: border-box;
 
}
 
}
  
#contain .left .catalogue .current {
+
#contain {
    color: #0071ff;
+
  margin-top: -12px;
    list-style: square inside url("https://static.igem.org/mediawiki/2021/5/5b/T--CPU_CHINA--circle2.svg");
+
  padding: 0 3% 10%;
 +
  width: 100%;
 +
  background-color: #ffffff;
 +
  z-index: 1;
 +
  text-align: left;
 +
  box-sizing: border-box;
 
}
 
}
  
#contain .left .catalogue li:hover a {
+
.background {
    color: #0071ff;
+
  position: fixed;
    text-decoration: none;
+
  width: 100%;
 +
  top: 0;
 +
  z-index: -1;
 +
  box-sizing: border-box;
 
}
 
}
  
#contain .left .catalogue li:hover .circle {
+
#header #title {
    fill: #0071ff;
+
  position: fixed;
 +
  top: 9vw;
 +
  font-family: "MONTSERRAT-BLACKITALIC2";
 +
  line-height: normal;
 +
  font-weight: bolder;
 +
  font-size: 8vw;
 +
  color: #ffffff;
 +
  z-index: -1;
 
}
 
}
  
#contain #detail {
+
#header #load {
    float: right;
+
  position: fixed;
    position: relative;
+
  display: flex;
    width: 60%;
+
  width: 100%;
    margin-right: 8%;
+
  height: 100%;
    padding:5%;
+
  background-color: white;
    border-radius: 8px;
+
  align-items: center;
    box-sizing: border-box;
+
  justify-content: center;
    font-size: 1.1em;
+
  z-index: 20;
    font-family: "CABIN-REGULAR";
+
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0) inset;
+
    -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0) inset;
+
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0) inset;
+
    -o-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0) inset;
+
 
}
 
}
  
#contain #detail h2 {
+
#header #load img {
    padding: 10% 0;
+
  width: 50vmin;
    font-family: "MONTSERRAT-BLACKITALIC2";
+
    font-size: 3em;
+
    color: #212121;
+
    text-align: center;
+
    line-height: normal;
+
 
}
 
}
  
#contain #detail h3 {
+
#header #menu {
    margin: 5% 0;
+
  z-index: 10;
    font-size: 2em;
+
    font-family: "MONTSERRAT-BLACKITALIC2";
+
    color: #424242;
+
    text-align: center;
+
    line-height: normal;
+
 
}
 
}
  
#contain #detail h4{
+
#header #menu #menuBack {
    font-size: 1.5em;
+
  position: fixed;
 +
  width: 100%;
 +
  height: 100%;
 +
  box-sizing: border-box;
 +
  z-index: 10;
 
}
 
}
  
#contain #detail p {
+
#header #menu .menu {
    margin: 2% 0;
+
  background-color: #000000ad;
    color: #212121;
+
  transition: background-color 2s;
    line-height: 1.5em;
+
    font-size: 1.1em;
+
    font-family: "CABIN-REGULAR";
+
 
}
 
}
  
/* 图注 */
+
#header #menu #logo {
#contain #detail .imgdescribe{
+
  position: fixed;
    font-size: 0.9em;
+
  top: 3vmin;
    font-weight: bold;
+
  left: 1vmin;
 +
  width: 25vmin;
 +
  z-index: 11;
 
}
 
}
  
#contain #detail .center{
+
#header #menu #menuImg {
    text-align: center;
+
  position: fixed;
 +
  top: 2vmin;
 +
  right: 1vmin;
 +
  width: 15vmin;
 +
  cursor: pointer;
 +
  z-index: 11;
 
}
 
}
  
/* 引用 */
+
#header #menu .class {
#contain #detail .reference{
+
  position: fixed;
    font-size: 0.9em;
+
  top: 14vmin;
    color: #636363;
+
  z-index: 11;
 
}
 
}
  
#contain #detail ol {
+
#header #menu .class li {
list-style: decimal;
+
  padding: 6% 0;
 +
  margin: 2vmin;
 +
  border-radius: 30px;
 +
  text-align: center;
 +
  font-family: "MONTSERRAT-BLACKITALIC2";
 +
  font-size: 1.5em;
 +
  font-weight: bolder;
 +
  cursor: pointer;
 
}
 
}
  
#contain #detail ul {
+
#header #menu #class-a {
    list-style: disc;
+
  right: 1vmin;
}
+
#contain #detail a{
+
    color: #0071fe;
+
}
+
#contain #detail img {
+
    width: 100%;
+
    margin: 5% 0 2%;
+
}
+
#contain #detail em{
+
    font-style: italic;
+
 
}
 
}
  
/* 下载按钮 */
+
#header #menu #class-a li {
#contain #detail #downLoad {
+
  width: 30vmin;
    margin: 2vw 0;
+
  background-color: #ffffff;
    width: 100%;
+
  border: #ffffff solid 3px;
    height: 3vw;
+
    line-height: 3vw;
+
    border-radius: 30px;
+
    background-image: linear-gradient(to right, #D9D9D9 , #FFFFFF);
+
 
}
 
}
  
#contain #detail #downLoad span{
+
#header #menu #class-a li:hover {
    margin-left: 1vw;
+
  border: #0072fe solid 3px;
 
}
 
}
  
#contain #detail #downLoad a{
+
#header #menu #class-a .class-a {
    float: right;
+
  background-color: #0072fe;
    width: 20%;
+
  border: #0072fe solid 3px;
    height: 3vw;
+
  color: #ffffff;
    line-height: 3vw;
+
    border: none;
+
    text-align: center;
+
    background-color: #0071ff;
+
    color: #FAFAFA;
+
    font-size: 1.3vw;
+
    font-weight: bold;
+
    border-radius: 30px;
+
 
}
 
}
  
.current {
+
#header #menu #class-b {
    color: #0071ff;
+
  right: 33vmin;
 
}
 
}
  
.section {
+
#header #menu #class-b li {
    margin-top: 30px;
+
  border: #0072fe solid 2px;
 +
  width: 39vmin;
 
}
 
}
  
#contain #detail figure{
+
#header #menu #class-b li a {
    margin: 5% 0;
+
  color: #ffffff;
    border-radius: 12px;
+
 
}
 
}
  
/* 滚动条宽度 */
+
#header #menu #class-b li:active {
#contain #detail figure::-webkit-scrollbar {
+
  background-color: #0000008f;
    height: 5px;
+
 
}
 
}
 
+
#header #menu #class-b .class-b {
/* 滚动条轨道 */
+
  background-color: #00000047;
#contain #detail figure::-webkit-scrollbar-track {
+
    background: #FAFAFA;
+
    border-radius: 10px;
+
 
}
 
}
  
/* 小滑块 */
+
#bodyContent a[href ^="https://"], .link-https
#contain #detail figure::-webkit-scrollbar-thumb {
+
{
    background: #c5daee49;
+
  padding: 0;
    border-radius: 10px;
+
    width: 5px;
+
 
}
 
}
  
#contain #detail figure::-webkit-scrollbar-thumb:hover {
+
footer {
    background: #41a0ff;
+
  position: -webkit-sticky;
 +
  left: 0;
 +
  padding-bottom: 0;
 +
  width: 100%;
 +
  background-color: #212121;
 
}
 
}
  
#contain #detail table {
+
footer #sponsor {
    margin: 0;
+
  position: relative;
    width: 100%;
+
  display: flex;
    border: none;
+
  justify-content: center;
    border-radius: 12px;
+
  margin: 0;
    font-family: "CABIN-REGULAR";
+
  padding: 0.5vmin;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0) inset;
+
  padding-bottom: 3vmin;
    -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0) inset;
+
  top: -3vmin;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0) inset;
+
  width: 100%;
    -o-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 0 4px rgba(0, 0, 0, 0) inset;
+
  border-radius: 20px;
 +
  background-color: #ffffff;
 +
  -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
 +
  -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
 +
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
 +
  -o-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
 +
  z-index: 1;
 
}
 
}
 
+
footer #sponsor img {
#contain #detail table tr {
+
  width: 96%;
    text-align: center;
+
 
}
 
}
 
+
footer #connect {
#contain #detail table thead tr,
+
  position: relative;
#contain #detail table tbody tr {
+
  margin: 0;
    height: 50px;
+
  padding-top: 1vmin;
    line-height: 50px;
+
  top: -8vmin;
    /*background-color: pink;*/
+
  width: 100%;
 +
  background-color: #212121;
 +
  border-radius: 20px;
 +
  z-index: 2;
 
}
 
}
  
#contain #detail table tr td {
+
footer #connect #contact {
    /*设置table表格每列底部边框*/
+
  display: flex;
    font-size: medium;
+
  padding: 0;
    border-left: none;
+
  flex-wrap: wrap;
    border-right: none;
+
  justify-content: center;
    border-bottom: 1px solid #eaeaea;
+
 
}
 
}
  
/*table tr:last-child td:first-child,
+
footer #connect h4 {
table tr:last-child td:nth-child(2),
+
  margin: 2% 0;
table tr:last-child td:nth-child(3),
+
  text-align: center;
table tr:last-child td:last-child{/!*设置table表格最后一列底部边框*!/
+
  color: #ffffff;
    border-bottom: 2px solid #000;
+
  font-size: 1.5em;
}*/
+
  font-weight: bold;
#contain #detail table tr th {
+
  font-family: "MONTSERRAT-BLACK1";
    padding: 1vw 2vw;
+
    border: none;
+
    background: #0071fe;
+
    font-family: "MONTSERRAT-BLACK1";
+
    font-size: larger;
+
    line-height: 1.5em;
+
    color: #FAFAFA;
+
 
+
 
}
 
}
  
#contain #detail table tr:first-child th:first-child {
+
footer #connect #contact li {
    border-top-left-radius: 12px;
+
  width: 280px;
 +
  height: 120px;
 +
  font-family: "CABIN-REGULAR";
 +
  justify-content: center;
 +
  flex-direction: column;
 +
  align-items: center;
 +
  text-align: center;
 +
  border-left: #212121 solid 10px;
 +
  border-right: #212121 solid 10px;
 +
  cursor: pointer;
 
}
 
}
  
#contain #detail table tr:first-child th:last-child {
+
footer #connect #contact li:hover {
    border-top-right-radius: 12px;
+
  border: 0;
 
}
 
}
  
#contain #detail table tr:last-child td:first-child {
+
footer #connect #contact li:hover p {
    border-bottom-left-radius: 12px;
+
  font-weight: bolder;
 
}
 
}
  
#contain #detail table tr:last-child td:last-child {
+
footer #connect li img {
    border-bottom-right-radius: 12px;
+
  margin-bottom: 2vw;
 +
  width: 20%;
 
}
 
}
/* 轮播图 */
+
footer #connect li p {
#contain #detail .rotationChart{
+
  color: #ffffff;
    margin: 2vw;
+
  font-size: 1.1em;
 +
  text-align: center;
 
}
 
}
 
+
@media screen and (max-width: 1200px) {
#contain #detail .rotationChart img{
+
  footer #connect #contact li {
    margin: 0;
+
     width: 350px;
     width: 100%;
+
  }
    border-radius: 20px;
+
 
}
 
}
 
+
@media screen and (max-width: 450px) {
#contain #detail .rotationChart #text{
+
  footer #connect #contact li {
    margin: 1vmin 0;
+
     width: 160px;
    position: relative;
+
  }
    height: 6vmin;
+
  footer #connect li p {
    line-height: 6vmin;
+
     font-size: 0.8em;
    text-align: center;
+
  }
    font-weight: bold;
+
    font-family: "BLACKITALIC";
+
}
+
 
+
#contain #detail .rotationChart button{
+
    background-color: #0071fe;
+
    width: 6vmin;
+
    height: 6vmin;
+
    border:none;
+
    border-radius: 50%;
+
    font-size: 1.5vw;
+
    font-weight: bold;
+
    color: #FAFAFA;
+
   
+
}
+
 
+
#contain #detail .rotationChart button:nth-child(1){
+
    position: absolute;
+
    left: 0;
+
}
+
 
+
#contain #detail .rotationChart button:nth-child(2){
+
    position: absolute;
+
    right: 0;
+
}
+
 
+
#contain #detail .rotationChart #briefText{
+
    width: 100%;
+
    padding: 3vmin;
+
    background-color: #EFEFEF; 
+
    border-radius: 20px;
+
}
+
 
+
@media screen and (max-width: 730px) {
+
    #contain .left {
+
        display: none;
+
    }
+
 
+
    #contain #detail {
+
        width: 100%;
+
        float: none;
+
        padding: 5%;
+
        box-sizing: border-box;
+
     }
+
}
+
 
+
@media screen and (max-width: 450px){
+
    #contain #detail h2{
+
        font-size: 1.5em;
+
    }
+
    #contain #detail h3{
+
        font-size: 1.2em;
+
     }
+
    #contain #detail h4{
+
        font-size: 1.1em;
+
    }
+
    #contain #detail p{
+
        font-size: 1em;
+
    }
+
    #contain #detail figure{
+
        overflow-x: auto;
+
    }
+
 
}
 
}

Latest revision as of 12:59, 12 December 2021

@font-face {

 font-family: MONTSERRAT-BLACK1;
 src: url("https://static.igem.org/mediawiki/2021/d/d4/T--CPU_CHINA--MONTSERRAT-BLACK1.eot");
 src: url("https://static.igem.org/mediawiki/2021/0/04/T--CPU_CHINA--MONTSERRAT-BLACK1.woff")
     format("woff"),
   url("https://static.igem.org/mediawiki/2021/0/01/T--CPU_CHINA--Team--MONTSERRAT-BLACK1.TTF")
     format("truetype"),
   url("https://static.igem.org/mediawiki/2021/3/38/T--CPU_CHINA--MONTSERRAT-BLACK1.svg")
     format("svg");

}

@font-face {

 font-family: MONTSERRAT-BLACKITALIC2;
 src: url("https://static.igem.org/mediawiki/2021/c/cd/T--CPU_CHINA--MONTSERRAT-BLACKITALIC2.eot");
 src: url("https://static.igem.org/mediawiki/2021/d/d4/T--CPU_CHINA--MONTSERRAT-BLACKITALIC2.woff")
     format("woff"),
   url("https://static.igem.org/mediawiki/2021/4/43/T--CPU_CHINA--Team--MONTSERRAT-BLACKITALIC2.TTF")
     format("truetype"),
   url("https://static.igem.org/mediawiki/2021/1/16/T--CPU_CHINA--MONTSERRAT-BLACKITALIC2.svg")
     format("svg");

}

@font-face {

 font-family: CABIN-REGULAR;
 src: url("https://static.igem.org/mediawiki/2021/5/5e/T--CPU_CHINA--CABIN-REGULAR.eot");
 src: url("https://static.igem.org/mediawiki/2021/b/b3/T--CPU_CHINA--CABIN-REGULAR.woff")
     format("woff"),
   url("https://static.igem.org/mediawiki/2021/d/d2/T--CPU_CHINA--CABIN-REGULAR.TTF")
     format("truetype"),
   url("https://static.igem.org/mediawiki/2021/9/94/T--CPU_CHINA--CABIN-REGULAR.svg")
     format("svg");

}

@font-face {

 font-family: BLACKITALIC;
 src: url("https://static.igem.org/mediawiki/2021/d/d8/T--CPU_CHINA--BLACKITALIC.eot");
 src: url("https://static.igem.org/mediawiki/2021/6/67/T--CPU_CHINA--BLACKITALIC.woff")
     format("woff"),
   url("https://static.igem.org/mediawiki/2021/2/28/T--CPU_CHINA--BLACKITALIC.ttf")
     format("truetype"),
     url("https://static.igem.org/mediawiki/2021/4/49/T--CPU_CHINA--BLACKITALIC.svg")
     format("svg");

} body {

 background-color: #ffffff;

}

  • {
 box-sizing: border-box;

}

  1. contain {
 margin-top: -12px;
 padding: 0 3% 10%;
 width: 100%;
 background-color: #ffffff;
 z-index: 1;
 text-align: left;
 box-sizing: border-box;

}

.background {

 position: fixed;
 width: 100%;
 top: 0;
 z-index: -1;
 box-sizing: border-box;

}

  1. header #title {
 position: fixed;
 top: 9vw;
 font-family: "MONTSERRAT-BLACKITALIC2";
 line-height: normal;
 font-weight: bolder;
 font-size: 8vw;
 color: #ffffff;
 z-index: -1;

}

  1. header #load {
 position: fixed;
 display: flex;
 width: 100%;
 height: 100%;
 background-color: white;
 align-items: center;
 justify-content: center;
 z-index: 20;

}

  1. header #load img {
 width: 50vmin;

}

  1. header #menu {
 z-index: 10;

}

  1. header #menu #menuBack {
 position: fixed;
 width: 100%;
 height: 100%;
 box-sizing: border-box;
 z-index: 10;

}

  1. header #menu .menu {
 background-color: #000000ad;
 transition: background-color 2s;

}

  1. header #menu #logo {
 position: fixed;
 top: 3vmin;
 left: 1vmin;
 width: 25vmin;
 z-index: 11;

}

  1. header #menu #menuImg {
 position: fixed;
 top: 2vmin;
 right: 1vmin;
 width: 15vmin;
 cursor: pointer;
 z-index: 11;

}

  1. header #menu .class {
 position: fixed;
 top: 14vmin;
 z-index: 11;

}

  1. header #menu .class li {
 padding: 6% 0;
 margin: 2vmin;
 border-radius: 30px;
 text-align: center;
 font-family: "MONTSERRAT-BLACKITALIC2";
 font-size: 1.5em;
 font-weight: bolder;
 cursor: pointer;

}

  1. header #menu #class-a {
 right: 1vmin;

}

  1. header #menu #class-a li {
 width: 30vmin;
 background-color: #ffffff;
 border: #ffffff solid 3px;

}

  1. header #menu #class-a li:hover {
 border: #0072fe solid 3px;

}

  1. header #menu #class-a .class-a {
 background-color: #0072fe;
 border: #0072fe solid 3px;
 color: #ffffff;

}

  1. header #menu #class-b {
 right: 33vmin;

}

  1. header #menu #class-b li {
 border: #0072fe solid 2px;
 width: 39vmin;

}

  1. header #menu #class-b li a {
 color: #ffffff;

}

  1. header #menu #class-b li:active {
 background-color: #0000008f;

}

  1. header #menu #class-b .class-b {
 background-color: #00000047;

}

  1. bodyContent a[href ^="https://"], .link-https

{

 padding: 0;

}

footer {

 position: -webkit-sticky;
 left: 0;
 padding-bottom: 0;
 width: 100%;
 background-color: #212121;

}

footer #sponsor {

 position: relative;
 display: flex;
 justify-content: center;
 margin: 0;
 padding: 0.5vmin;
 padding-bottom: 3vmin;
 top: -3vmin;
 width: 100%;
 border-radius: 20px;
 background-color: #ffffff;
 -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
 -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
 box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
 -o-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
 z-index: 1;

} footer #sponsor img {

 width: 96%;

} footer #connect {

 position: relative;
 margin: 0;
 padding-top: 1vmin;
 top: -8vmin;
 width: 100%;
 background-color: #212121;
 border-radius: 20px;
 z-index: 2;

}

footer #connect #contact {

 display: flex;
 padding: 0;
 flex-wrap: wrap;
 justify-content: center;

}

footer #connect h4 {

 margin: 2% 0;
 text-align: center;
 color: #ffffff;
 font-size: 1.5em;
 font-weight: bold;
 font-family: "MONTSERRAT-BLACK1";

}

footer #connect #contact li {

 width: 280px;
 height: 120px;
 font-family: "CABIN-REGULAR";
 justify-content: center;
 flex-direction: column;
 align-items: center;
 text-align: center;
 border-left: #212121 solid 10px;
 border-right: #212121 solid 10px;
 cursor: pointer;

}

footer #connect #contact li:hover {

 border: 0;

}

footer #connect #contact li:hover p {

 font-weight: bolder;

}

footer #connect li img {

 margin-bottom: 2vw;
 width: 20%;

} footer #connect li p {

 color: #ffffff;
 font-size: 1.1em;
 text-align: center;

} @media screen and (max-width: 1200px) {

 footer #connect #contact li {
   width: 350px;
 }

} @media screen and (max-width: 450px) {

 footer #connect #contact li {
   width: 160px;
 }
 footer #connect li p {
   font-size: 0.8em;
 }

}