@keyframes float-2 {
    0%,
    100%,
    50% {
        transform: translateY(0)
    }
    25% {
        transform: translateY(-3%)
    }
    50% {
        transform: translateY(3%)
    }
}

.card-hp-container {
    height: 16vw;
    display: flex;
    margin-left: 12vw;
}

.card_hp {
    border-radius: 8px;
    padding: 20px;
    margin: 12px;
    width: 10vw;
    height: 15vw;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
    box-sizing: unset !important;
}

.read-more {
    font-family: poppinsmedium;
    color: white;
    border: none;
    padding: .5vw;
    border-radius: 10px;
    /* margin-left: 1vw; */
    cursor: pointer;
    width: 8vw;
    font-size: 1.2vw;
    margin-left: 1vw;
}

.card-orange {
    background-image: url("https://static.igem.wiki/teams/5184/hp/flag-yellow.webp");
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 6s infinite;
}

.card-blue {
    background-image: url("https://static.igem.wiki/teams/5184/hp/flag-blue.webp");
    background-size: contain;
    background-repeat: no-repeat;
    animation: float-2 6s infinite;
}

.read-more.button-up {
    background-color: #FF651A;
    margin-top: 1.5vw;
}

.read-more.button-down {
    background-color: #7B8CD2;
}

.read-more:hover {
    background: #A79D9A;
}

.modal_hp {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(72, 72, 72, 0.8);
}
.modal_hp-text{
    font-family: 'poppinsmedium';
}
.modal_hp-content {
    background-color: #FDE7C8;
    border-radius: 20px;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    transform: scale(0.5);
    transition: transform 0.5s ease-out;
}

.modal_hp.open .modal_hp-content {
    transform: scale(1);
    border-radius: 20px;
    background-color: #FDE7C8;
}

.close_hp {
    text-align: center;
    border-radius: 40px;
    color: #ffffff;
    background-color: #f35c5c;
    float: right;
    font-size: 35px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    margin-top: -5vh;
    margin-right: -5vh;
    transition: all .3s linear;
}

.close_hp:hover,
.close_hp:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.card-orange .card-heading-hp {
    color: #452618;
    font-family: 'impact';
    font-weight: 200;
    font-size: 1.3vw;
    text-align: center;
    margin-top: 5px;
}

.card-blue .card-heading-hp {
    color: #434B7C;
    font-family: 'impact';
    font-weight: 200;
    font-size: 1.3vw;
    text-align: center;
    margin-bottom: 8px;
    margin-top: 1.5vw;
}
.sidebarcontainer.hp{
    top: 70px;
    margin-top: 100px;
}
.menu-box.hp {
    top: 70px;
    width: 100px;
    height: 540px;
}
.menu-box.hp:hover {
    width: 240px;
    border-radius: 80px;
}
.sidebarli.hp{
    margin-bottom: 10px;
}
.menu-box.hp:hover .sidebarli.hp {
    margin-bottom: 5px;
}
.target-container {
    width: 60vw;
    overflow-y: auto;
  margin-left: 2vw;
}

.plotly {
    position: sticky;
    top: 10vh;
    /* Sticky position */
    height: 80vh;
    width: 100%;
}

.targetDiv {
    margin-bottom: 10vh;
}

.threedchart-container {
    display: flex;
    flex-direction: row;
    height: auto;
    box-sizing: initial !important;
    width: 58vw;
    align-self: center;
}
.threeD-button {
    font-family: anton;
    color: white;
    background-color: #7B8CD2;
    border-radius: 10px;
    border: 0;
    height: 3.7vw;
    padding: 10px;
    font-size: 1.3vw;
    transition: all .3s linear;
    /* border: 2px rgb(180, 45, 0) solid; */
    margin-bottom: 5vh;
}

.threeD-button:hover {
    background-color: #9a928c;
    color: #ffd391;
}
.hp-reflectivecycle-left {
    text-align: left;
}

.hp-reflectivecycle-right {
    text-align: left;
}

.hp-reflectivecycle-right h3 {
    color: #F27132;
    font-family: impact;
    text-align: right;
}

.hp-reflectivecycle-left h3 {
    font-family: impact;
    color: #5E6AB4;
    text-align: left;
}

.hp-reflectivecycle-left p,
.hp-reflectivecycle-right p {
    font-size: 1.1vw;
}

.iconfontsidebar.hp{
    font-family: "iconfont-hp";
}
