@font-face {
    font-family: 'm5x7';
    src: url('https://static.igem.wiki/teams/4377/wiki/m5x7.ttf') format('truetype');
}

@font-face {
    font-family: 'Centauri';
    src: url("https://static.igem.wiki/teams/4377/wiki/font/centauri.ttf");
}

@font-face {
    font-family: 'Blender-Pro-Book';
    src: url("https://static.igem.wiki/teams/4377/wiki/font/blender-pro-book.otf");
}

/* root */
* {
    margin: 0;
    padding: 0;
    font-family: 'Blender-Pro-Book';
}

html {
    font-size: 30px;
    color: #ddd;
}

@media (max-width: 1920px) {
    html {
        font-size: 30px;
    }
}

@media (max-width: 1440px) {
    html {
        font-size: 22px;
    }
}

@media (max-width: 1280px) {
    html {
        font-size: 18px;
    }
}

body {
    background-image: url("https://static.igem.wiki/teams/4377/wiki/common/grid.svg");
}

header {
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    padding: 2.5vw 0 0 0;

    background-color: #012125;
    background-position: bottom;

    /* 單純為了 align center */
    display: flex;
    justify-content: center;
    align-items: center;
}

header h1 {
    font-family: 'Centauri';
    color: #ccc;
    font-size: 1.4rem;
    font-weight: lighter;
}

main {
    padding-top: 5rem;
    padding-bottom: 1rem;
}

.container {
    margin: 0 auto 1rem;
    width: 80%;

    padding: 75px 100px;
    box-sizing: border-box;

    background-color: rgba(36, 191, 163, 0.1);
    border: 1px solid #24BFA355;
}

@media (max-width: 1280px) {
    .container {
        width: 90%;

        padding: 40px 60px;
        box-sizing: border-box;

        background-color: rgba(36, 191, 163, 0.1);
        border: 1px solid #24BFA355;
    }
}

.container p {
    color: #ddd;
    font-size: 1rem;
    font-weight: 100;
    line-height: 1.5;

    text-align: justify;
    margin-top: 0;
    margin-bottom: 1rem;
}

.container a {
    text-decoration: none;
    color: #00ADB5;
}

.container a:hover {
    color: #AAD8D3;
}

.container strong {
    color: #fa0;
}

.container q.cite {
    font-size: 0.8rem !important;
    vertical-align: top !important;
    quotes: "[""] ";
    user-select:none;
}

.container h2 {
    color: #00C2A3;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;

    position: relative;
}

.container h2 span {
    position: absolute;
    top: -150px;
}

.container h3 {
    color: #009484;
    font-size: 1.6rem;
    font-weight: 100;
    text-align: center;
    margin-bottom: 1rem;
}

.container h4 {
    color: #00796D;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.container ul,
.container ol {
    color: #ddd;
    font-size: 1rem;
}
.container li {
    box-sizing: border-box;
    margin-left: 1.5rem;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}
.container li::marker {
    color: #00C2A3;
}

/* REFERENCE */
.container.reference ol {
    list-style: none;
    counter-reset: my-counter;
}

.container.reference ol li {
    counter-increment: my-counter;
    display: flex;
    margin-left: 0;
}

.container.reference ol li::before {
    color: #00C2A3;
    content: "[" counter(my-counter) "]";
    font-weight: bold;
    margin-right: 0.5rem;
}

footer {
    color: #24BFA3;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

footer a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

footer .about {
    margin: 0 auto;
    width: 80%;
    box-sizing: border-box;
    display: flex;
}

footer .about h3 {
    font-size: 1.2rem;
    margin: 80px 0 25px 0;
}

footer .about p {
    font-size: 1rem;
    margin-bottom: 5px;
}

footer a {
    color: #24BFA3;
}

footer a:hover {
    color: #d0ffffff;
    text-decoration: none;
}

footer .about>div {
    flex: 1;
    padding: 50px;
    text-align: center;
}

footer .biglogo img {
    width: 300px;
}

footer .biglogo {
    padding-top: 30px;
}

footer .about a img {
    /* social media */
    width: 50px;
}

footer .about a+a {
    margin-left: 10px;
}

@media (max-width: 1280px) {
    footer .about a img {
        /* social media */
        width: 35px;
    }

    footer .about a+a {
        margin-left: 2px;
    }
}

footer hr {
    margin: 30px 0;
    width: 100%;

    border-top: 1px solid #24BFA3;
    border-right: none;
    border-bottom: none;
    border-left: none;
}

footer p.license {
    margin: 0 auto;
    font-size: 0.7rem;
    text-align: center;
}

/* figure */
.container>img {
    width: 100%;
}

figure {
    display: block;
    margin: 2rem auto;

    background-color: rgba(255, 255, 255, 0.7);
    width: 50vw;
    text-align: center;
}

figure img {
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;

    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

figure figcaption {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
    padding-top: .5rem;

    color: #000;
}

figure figcaption strong {
    color: #000 !important;
    font-size: inherit;
    user-select: none;

    margin-right: 0.5rem;
}

@media screen and (max-width: 480px) {
    footer .about {
        flex-direction: column;
    }
    footer .biglogo img{
        width: 100%;
    }
}

caption {
    margin-bottom: 0.5rem;
}
caption>strong {
    color: #ddd;
    user-select: none;
    margin-right: 0.5rem;
}


/* 表格 */
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 20px;
}

td,
th {
    border: 1px solid #ddd;
    padding: 8px;
    color: inherit;
}

th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    color: #fff;
    background-color: #24BFA3;
}


tr:hover {
    background-color: #fa0;
    color: #fff;
}


/* award */
.award-overview {
    /* background-color: #f00; */

    display: flex;
    margin-bottom: 20px;
}

.award-pic {
    border-radius: 5%;
    padding: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
    background-color: #ffffff22;
    margin: auto;
}
.award-pic img {
    width: 12rem;
}

.center {
    /* background-color: #fa0; */
    text-align: center !important;
}

p {
    /* background-color: #f0a; */
}

.bronze {
    color: #CD7F32 !important;
}
.silver {
    color: #C0C0C0 !important;
}
.gold {
    color: #FFD700 !important;
}

.bronze img {
    width: 2rem !important;
    margin-right: 1rem !important;
    margin-left: 1rem !important;
}

.silver img {
    width: 2rem !important;
    margin-right: 1rem !important;
    margin-left: 1rem !important;
}

.gold img {
    width: 2rem !important;
    margin-right: 1rem !important;  
    margin-left: 1rem !important;
}

.award-pic {
    position: relative;
}
.award-text {
    background-color: #ffffff44;
    width: 100%;
    text-align: center;
    position: absolute;
    /* top: 0; */
    left: 0;
    font-size: 1rem;
}