
html, body {
  font-family: "Open Sans", sans-serif;
  background: #bfbfbf;
  line-height: 1.15;
}

.fbox {

	margin-top: 40px;
	margin-right: auto;
	margin-left: auto;
	width: 500px;
    background: white;
    box-shadow: 0 0 20px 5px white;
    background-blend-mode:darken;
    overflow:hidden;

    padding: 20px;
    color: black;
    text-align: center;
}

.title {
	margin-right: auto;
	margin-left: auto;
	width:400px;
	height: 75px;
	background-image: url("gwa-logo.png");
	background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
}

.bioinf {
	font-variant: small-caps;
	font-size: 2em;
}

.fbox2 {

	margin-top: 40px;
	margin-right: auto;
	margin-left: auto;
	width: 500px;
 
    overflow:hidden;

    padding: 20px;
    color: black;
    text-align: center;
}

.dna {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 300px;
    height: 200px;
    top: 20px;
    transform: translate(-0%, -0%);
}

.container {
    height: 100px;
    margin: 0 20px;
    position: relative;
}

    .container .circle {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        position: absolute;
        left: calc(50% - 5px);
        top: 0;
    }

        .container .circle:nth-child(1) {
            top: 0;
            animation: anim_a 2s infinite ease-in-out;
            background-color: #185d64;
        }

        .container .circle:nth-child(2) {
            top: calc(100% - 5px);
            transform: scale(1.5);
            animation: anim_b 2s infinite ease-in-out;
            background-color: rgba(245,120,35,1);
        }

@keyframes anim_a {
    0% {
        top: 0;
        z-index: 50;
    }

    20% {
        transform: scale(1.5);
    }

    50% {
        top:100%;
    }

    50.1% {
        z-index: 0;
    }

    75% {
        transform: scale(0.8);
        z-index: 0;
    }

    100% {
        top: 0%;
        z-index: 2;
    }
}

@keyframes anim_b {
    0% {
        top: calc(100% - 5px);
        z-index: 1;
    }

    25% {
        transform: scale(0.8);
    }

    50% {
        top: 0;
    }

    50.1% {
        z-index: 2;
    }

    80% {
        transform: scale(1.5);
        z-index: 2;
    }

    100% {
        top: calc(100% - 5px);
        z-index: 0;
    }
}

.container:nth-child(2) .circle {
    animation-delay: -0.1s;
}

.container:nth-child(3) .circle {
    animation-delay: -0.2s;
}

.container:nth-child(4) .circle {
    animation-delay: -0.3s;
}

.container:nth-child(5) .circle {
    animation-delay: -0.4s;
}

.container:nth-child(6) .circle {
    animation-delay: -0.5s;
}

.container:nth-child(7) .circle {
    animation-delay: -0.6s;
}

.container:nth-child(8) .circle {
    animation-delay: -0.7s;
}

.container:nth-child(9) .circle {
    animation-delay: -0.8s;
}

.container:nth-child(10) .circle {
    animation-delay: -0.9s;
}

.container:nth-child(11) .circle {
    animation-delay: -1s;
}

.container:nth-child(12) .circle {
    animation-delay: -1.1s;
}



