
/* 侧导航字体 */


/* 一级标题 */

#navbar-example3 a {
    font-size: 1em;
    font-weight: 500;
}


/* 二级标题 */

#navbar-example3>nav>nav>a {
    font-size: .9em;
}


/* 标题背景图 */

.bg-hero {
    background-color: #FEF8D9;
    background-image: url('https://static.igem.wiki/teams/4632/wiki/wiki/cover/hp-cover.png');
    background-repeat: no-repeat;
    background-size: 70% auto;
    background-position: 120%;
}


/* 有侧导航时把所有内容右移 */

.page-all-content {
    width: 83%;
    position: relative;
    left: 21%;
}

.content-box {
    z-index: 9;
}

/* 手机：内容居中 */

@media (max-width:830px) {
    .page-all-content {
        width: 90%;
        left: 4%
    }
    /* 背景图手机位置 */
    .bg-hero {
        background-size: 70% auto;
        background-position: 110% 90%;
        height: 18rem;
    }
}

.solid-shadow {
    font-family: Times New Roman, 'serif';
    position: relative;
    font-size: 10vmin;
    /* line-height: 40vmin; */
    /* margin: 30vmin auto; */
    text-align: center;
    text-shadow: 4px 4px 1px #333;
    &::before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(-45deg, #fff 0%, #fff 25%, transparent 25%, transparent 50%, #fff 50%, #fff 75%, transparent 75%, transparent 100%);
        background-size: 6px 6px;
        z-index: 1;
    }
    &::after {
        position: absolute;
        content: attr(data-name);
        top: -4px;
        left: -2px;
        right: 6px;
        bottom: 6px;
        color: #333;
        z-index: 2;
        text-shadow: 3px 3px #fff;
    }
}

.conic {
    position: relative;
    z-index: 0;
    /* width: 400px; 
    height: 300px; */
    margin: 0.5rem;
    border-radius: 10px;
    overflow: hidden;
    padding: 6vh 6%;
    margin-top: 2rem;
    box-shadow: -2px -2px 15px 0px rgba(53, 53, 53, 0.5);
    transition: All 0.4s ease-in-out;
    -webkit-transition: All 0.4s ease-in-out;
    -moz-transition: All 0.4s ease-in-out;
    -o-transition: All 0.4s ease-in-out;
    &::before {
        content: '';
        position: absolute;
        z-index: -2;
        left: -50%;
        top: -50%;
        width: 200%;
        height: 200%;
        background-color: #ffffff;
        background-repeat: no-repeat;
        background-position: 0 0;
        /* background-image: conic-gradient(transparent, #979797, transparent 30%); */
        background-image: conic-gradient(transparent, #455197, transparent 30%);
        animation: rotate 4s linear infinite;
    }
    &::after {
        content: '';
        position: absolute;
        z-index: -1;
        left: 6px;
        top: 6px;
        width: calc(100% - 12px);
        height: calc(100% - 12px);
        background: #ffffff;
        border-radius: 5px;
    }
}

.conic:hover {
    transform: translate(0, -10px);
    -webkit-transform: translate(0, -10px);
    -moz-transform: translate(0, -10px);
    -o-transform: translate(0, -10px);
    -ms-transform: translate(0, -10px);
    -webkit-box-shadow: 0px 5px 15px #e5e5e5;
    -moz-box-shadow: 0px 5px 15px #e5e5e5;
    box-shadow: 0px 5px 15px #e5e5e5;
}


/* 奶油色块 */

.summary {
    width: 90%;
    margin: 0 auto;
}

.summary .summary-text {
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
    margin: 2vh;
    border-radius: 5px;
    box-shadow: -2px -2px 5px 0px rgba(53, 53, 53, 0.308);
}

.summary-text:nth-child(1) {
    background-color: #dbaaa6;
}

.summary-text:nth-child(2) {
    background-color: #eacac8;
}

.summary-text:nth-child(3) {
    background-color: #ede2d0;
}

.summary-text:nth-child(4) {
    background-color: #d8c5d9;
}

.summary-text:nth-child(5) {
    background-color: #c5d1c7;
}

@keyframes opacityChange {
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}


/* part 与受影响的人接触 */

.link-img-box {
    /* width: 90%; */
    margin: 0 auto;
}

.link-img {
    cursor: pointer;
}

.link-img img {
    width: 90%;
    transition: All 0.2s ease-in-out;
    -webkit-transition: All 0.2s ease-in-out;
    -moz-transition: All 0.2s ease-in-out;
    -o-transition: All 0.2s ease-in-out;
}

.link-img img:hover {
    transform: translate(0, -5px);
    -webkit-transform: translate(0, -5px);
    -moz-transform: translate(0, -5px);
    -o-transform: translate(0, -5px);
    -ms-transform: translate(0, -5px);
}

.link-text-box {
    position: relative;
    width: 98%;
    margin: 0 auto;
    padding: 6vh 6%;
    /* 上下  左右 内边距 */
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    margin-top: 1vh;
    overflow: hidden;
}

.link-text {
    opacity: 0;
    transform: translateY(-2em);
    position: absolute;
    transition: all .2s ease-in-out;
    z-index: 0;
}

.add-link-text {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    transition-delay: .2s;
}


/* 问题整体 */

.problem {
    color: #D93f57;
    font-weight: bold;
}

.accordion1 dd,
.accordion__panel {
    /* background-color: #fff; */
    font-size: 1em;
    line-height: 1.5em;
    padding-left: 2rem;
    padding-right: 2rem;
    background-color: #d5d0e3;
}
