@media only screen and (max-width: 576px) {
    .model-banner {
        height: 23vh;
    }

    .model-banner .model-title {
        font-size: 18px;
    }

    .model-banner .ocean {
        height: 30px;
    }
    .references-button-wrapper .references-button {
        font-size: 1em;
    }
}

@media only screen and (min-width: 576px) {
    .model-banner {
        height: 40vh;
    }

    .model-banner .model-title {
        font-size: 20px;
    }
}

@media only screen and (min-width: 768px) {
    .model-banner {
        height: 47vh;
    }

    .model-banner .model-title {
        font-size: 30px;
    }
}

@media only screen and (min-width: 992px) {
    .model-banner {
        height: 55vh;
    }

    .model-banner .model-title {
        font-size: 50px;
    }
}

@media only screen and (min-width: 1200px) {
    .model-banner {
        height: 66vh;
    }
}

@media only screen and (min-width: 1400px) {
    .model-banner {
        height: 70vh;
    }
}

.upper-divider-banner {
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.upper-divider-banner svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 46px;
}

.upper-divider-banner .shape-fill {
    fill: rgb(10, 10, 17);
}

.model-banner {
    background: url('https://static.igem.wiki/teams/4810/wiki/model/background-banner-model.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    margin-top: 100px;
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    padding-left: 0%;
    padding-right: 0%;
}

.model-title {
    margin: auto;
    font-size: 50px;
    width: 40%;
    color: white;
    text-align: center;
    background-color: rgba(21, 21, 30, 0.7);
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 50px;
    border-bottom: 5px solid #37aac7 !important;
    border-top: 5px solid #37aac7;
    border-left: 5px solid #37aac7;
    border-right: 5px solid #37aac7;
}

/*------------------ Wave Animation */
.ocean {
    height: 100px;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-x: hidden;
}
.wave {
    background: url('https://static.igem.wiki/teams/4810/wiki/waves.svg') !important;
    position: absolute;
    width: 200%;
    height: 100%;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
}

.wave:nth-of-type(2) {
    bottom: 0;
    animation: wave 18s linear reverse infinite;
    opacity: 0.5;
}

.wave:nth-of-type(3) {
    bottom: 0;
    animation: wave 20s -1s linear infinite;
    opacity: 0.5;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(-50%);
    }
}
/* -----------Model Section--------------- */
#introduction,
#phage-display,
#molecular-docking,
#further-analysis,
#evaporation-diffusion,
#evaporation,
#diffusion,
#evaporation-diffusion-equations,
#evaporation-diffusion-example,
#references {
    padding-top: 100px;
    margin-top: -100px;
}
.model-component{
    margin-bottom: 100px;
}
.model-sidebar-menu {
    position: sticky;
    top: 30%;
    padding-left: 5%;
    margin-bottom: 10%;
    color: white;
    padding-bottom: 10px;
}
.model-sidebar-menu a {
    color: white;
    text-decoration: none;
    letter-spacing: .1rem;
}
.model-sidebar-menu li {
    margin-bottom: 15px;
}
.model-sidebar-menu-title {
    margin-bottom: 30px;
}
.list-of-sidebar-menu-model>li.active a {
    color: #37aac7;
}
.list-item-menu-model {
    width: fit-content;
}
.model-sidebar-menu-icon {
    display: inline-block;
}
.model-sidebar-menu-loader {
    display: inline-block;
}
.model-sidebar-menu-item-loader {
    z-index: 25;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.circle-load {
    margin: 4px 4px 4px 4px;
    border-radius: 100%;
    border: 2px solid #37aac7;
  }
  .circle-load:nth-child(1) {
    animation: loaderKeyframe .6s ease-in-out alternate infinite;
  }
  .circle-load:nth-child(2) {
    animation: loaderKeyframe .6s ease-in-out alternate .2s infinite;
  }
  .circle-load:nth-child(3) {
    animation: loaderKeyframe .6s ease-in-out alternate .4s infinite;
  }
  @keyframes loaderKeyframe {
    100% { 
      transform: scale(2.5); 
    }
  }
.model-content-container {
    width: 80%;
    margin: auto;
    box-shadow: 2px 2px 10px 10px rgba(163, 177, 198, 0.6);
    padding: 5% 5% 5% 5%;
    margin-bottom: 50px;
}
#model-info-wrapper{
    background-color: black;
}
.model-content-container p {
    color: white;
    text-align: justify;
}
.model-content-img-wrapper {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.model-content-container-title {
    background-image: linear-gradient(to bottom right, #5b66bb, #25cfb2);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
.model-content-container-subtitle{
    background-image: linear-gradient(to bottom right, #f07f4f, #f3af5d);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
.list-of-model-info li {
    list-style: none;
    position: relative;
    background-image: linear-gradient(to bottom right, #e0c113, #16239b);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
.list-of-model-info li::before {
    content: "\2022";
    color: white;
    font-weight: bold;
    display: inline-block;
    width: 1em;
}
.model-pdf-reader-wrapper {
    margin-top: 30px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}
.model-pdf-reader {
    width: 900px;
    height: 800px;
}
.model-references-container {
    margin-bottom: 50px;
}
.model-references-container .list-of-references .list-group-item {
    background-color: #193158;
    color: white;
}
.references-button {
    background: none;
    color: #37aac7;
    border: 0.17em solid #37aac7;
    letter-spacing: 0.4em;
    font-weight: 700;
    font-size: 2.2em;
    animation: button-border-animation 3s linear infinite;
    position: relative;
    box-shadow: inset 0px 0px 0.8em 0px #37aac7, 0px 0px 0.8em 0px #37aac7;
    padding: 0.25em 0.8em;
    perspective: 2.4em;
    border-radius: 0.34em;
    cursor: pointer;
}
.references-button::before {
    pointer-events: none;
    background-color: #37aac7;
    opacity: 0.8;
    transform: translateY(114%) rotateX(85deg) scale(1, 0.29);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    filter: blur(1.2em);
    content: "";
}
.references-button::after {
    z-index: -3;
    background-color: #37aac7;
    opacity: 0;
    transition: opacity 230ms linear;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    box-shadow: 0 0 3em 0.3em #37aac7;
}
.references-button:hover {
    animation: none;
    color: black;
    text-shadow: none;
}
.references-button:hover:before {
    opacity: 1;
    filter: blur(1.7em);
}
.references-button:hover:after {
    opacity: 1;
}
.references-button:hover .references-text-button {
    animation: none;
}
.references-text-button {
    animation: word-animation-start-pause 3s linear infinite;
    margin-left: 0.5em;
    float: left;
    text-shadow: 0 0 0.200em rgba(55, 170, 199, 0.3), 0 0 0.35em #37aac7;
}
@keyframes button-border-animation {
    0% {opacity: 0.3;}
    2% {opacity: 1.0;}
    5% {opacity: 0.3;}
    20% {opacity: 1.0;}
    75% {opacity: 0.8;}
    100% {opacity: 1.0;}
}
@keyframes word-animation-start-pause {
    0% {opacity: 0.3;}
    2% {opacity: 1.0;}
    5% {opacity: 0.3;}
    8% {opacity: 1.0;}
    15% {opacity: 0.3;}
    20% {opacity: 1.0;}
    25% {opacity: 0.3;}
    30% {opacity: 1.0;}
    70% {opacity: 0.8;}
    75% {opacity: 0.8;}
    100% {opacity: 0.8;}
}