@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

strong {
    font-weight: bolder;
}

body {
    margin: 0;
    background-color: #c8e9eb;
    font-family: 'Open Sans', sans-serif;
}

header {
    height: 100vh;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-top: #e56801 solid 10px;
    border-bottom: #48c1bc solid 30px;
    box-sizing: border-box;
    background: url("images/argc-public-health-threat-title.png") no-repeat fixed center;
    background-image: url("images/argc-public-health-threat-title.png");
    background-size: 40%;
}


h1 {
    color: #0d665e;
    text-align: center;
    font-size: 40px;
    text-transform: uppercase;
    opacity: 0;
    display: none;
}

.scroll {
    position: fixed;
    bottom: 5px;
    text-align: center;
    width: 100%;
    color: white;
    font-weight: bold;
    z-index: -1;
    text-shadow: 0px 0px 10px #06312e;
    animation: pulse 2s infinite linear;
    font-size: 20px;
}

#intro {
    color: white;
    background-color: #2f9e93;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    border-top: 15px solid #c8e9eb;
    border-bottom: 15px solid #48c1bc;
    padding: 30% 10%;
    min-height: 200vh;
    justify-content: space-evenly;
    position: relative;
    background-image: url("images/gonorrhea-transparent-background2.png");
    background-position: center;
    animation: floatingBacteria 30s infinite linear;
    z-index: 2;
}

#intro a {
    font-size: 28px;
    font-weight: 600;
    color: #777;
    background-color: white;
    padding: 15px 25px;
    display: inline-block;
    margin-top: 25px;
    border-radius: 30px;
    text-decoration: none;
    border-top: 0px solid white;
    border-bottom: 3px solid #777;
    transition: 0.5s;
    transition-property: color, background-color, box-shadow, border-bottom, border-top;
}

#intro a:hover {
    color: white;
    background-color: #48c1bc;
    border-bottom: 3px solid #0d665e;
}

#intro div {
    width: 50%;
    padding: 0 2%;
    position: sticky;
    top: 40vh;
    background-color: #2f9e93;
    border-radius: 30px;
    box-shadow: 0 0 20px 20px #2f9e93;
}

h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

#intro p {
    font-size: 28px;
    line-height: 1.4;
}

.backgroundAnimation {
    z-index: -30;
    overflow: hidden;
}

.animationColumnOne {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
}

.animationColumnOne img {
    padding-top: 30%;
    width: 80%;
}

.animationColumnTwo {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.animationColumnTwo img {
    margin-top: -20%;
    padding-bottom: 10%;
    width: 50%;
}

.animationColumnThree {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.animationColumnThree img {
    margin-bottom: -30%;
    padding-top: 10%;
    width: 50%;
}

.animationColumnFour {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content:center;
    align-items: center;
}

.animationColumnFour img {
    margin-top: -30%;
    padding-bottom: 10%;
    width: 80%;
}

.gonnorheaOne{
    margin-top: 70%;
    width: 90%;
}

.gonnorheaTwo{
    width: 70%;
}


#trio {
    display: flex;
    margin: 10px;
    padding: 30% 10% 30% 10%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    align-items: center;
    min-height: 500vh;
    flex-direction: column;
    justify-content: space-around;
}

#trio figure {
    width: 50%;
    margin: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    position: sticky;
    background-color: #c8e9eb;
    padding: 20px 20px;
}

#trio figure:nth-child(1) {
    top: 5vh;
}

#trio figure:nth-child(2) {
    top: 37vh;
}

#trio figure:nth-child(3) {
    top: 70vh;
}

#trio a {
    color: white;
    margin: 5px 0;
    border-radius: 30px;
    line-height: 3;
    background-color: #0d665e;
    padding: 5px 20px;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.5s;
}

#trio a:hover {
    background-color: #48c1bc;
}

#trio img {
    width: 30%;
    border-radius: 50%;
    box-sizing: border-box;
}

#trio figure:nth-child(1) img {
    border: 20px solid #2f9e93;
    animation: rotation 50s infinite linear;
}

#trio figure:nth-child(2) img {
    animation: flip 1.4s infinite ease-in;
    animation-delay: 2s;
}

#trio figure:nth-child(3) img {
    width: 10%;
    margin-right: 10%;
    margin-left: 10%;
    border: none;
    border-radius: 0;
    animation: swing 2s infinite ease;
}

#trio figcaption {
    font-size: 28px;
    line-height: 1.5;
    margin-left: 30px;
    width: 70%;
}

#trio figure:nth-child(3) figcaption {
    width: 70%;
}

#talk {
    padding: 50px 10%;
    position: relative;
    min-height: 170vh;
    background-image: url("images/speech-background2.png");
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 0 20px 20px #c8e9eb;
    animation: floatingBacteria 30s infinite linear;
    background-position: center;
    background-size: 80%;
}

#talk div {
    background-color: #e56801;
    color: white;
    margin: 30px;
    padding: 30px;
    border-radius: 30px;
    animation: floatShadow 3s ease-out infinite;
    position: sticky;
    top: 40vh;
}

#talk p {
    line-height: 1.4;
    font-size: 28px;
}

#tips {
    padding: 0px 10% 20px 10%;
    display: flex;
    background-color: #c8e9eb;
    z-index: 2;
}

#tips div {
}

.tipContainer {
    display: flex;
}

#tips h3 {
    background-color: #e56801;
    color: white;
    margin: 10px 20px;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 30px;
    animation: floatShadow2 2s ease-out infinite;
}

.tip {
    font-size: 20px;
    padding: 16px 14px;
    background-color: white;
    border: 2px solid black;
    border-radius: 10px;
    line-height: 1.5;
    font-weight: 500;
    margin: 5px 10px;
    animation: float 5s linear infinite;
}

.tip:nth-child(1) {
    animation-delay: 0s;
}

.tip:nth-child(2) {
    animation-delay: 1s;
}

.tip:nth-child(3) {
    animation-delay: 2s;
}

.tip:nth-child(4) {
    animation-delay: 3s;
}

.tip:nth-child(5) {
    animation-delay: 4s;
}

.tipColumn {
    width: 50%;
}

.tiplist {
    width: 55%;
    display: flex;
    flex-direction: column;
}

.tiplist:nth-of-type(1) .tip {
    animation: float2 5s linear infinite;
}

.tiplist:nth-of-type(1) .tip:nth-child(1) {
    animation-delay: 0s;
}

.tiplist:nth-of-type(1) .tip:nth-child(2) {
    animation-delay: 1s;
}

.tiplist:nth-of-type(1) .tip:nth-child(3) {
    animation-delay: 2s;
}

.tiplist:nth-of-type(1) .tip:nth-child(4) {
    animation-delay: 3s;
}

.tiplist:nth-of-type(1) .tip:nth-child(5) {
    animation-delay: 4s;
}

.tipIllustration {

}

#doctorBG {
    background-image: url("images/Doctor-amico-medium.png");
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;
    width: 45%;
}

#peopleBG {
    background-image: url("images/arg-people-medium-transparent.png");
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;
    width: 45%;
}

h4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

footer {
    text-align: center;
    font-weight: 500;
    line-height: 1.5;
    padding: 30px;
    font-size: 18px;
    height: 10vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url("images/orange-bar.png");
    background-repeat: repeat-x;
    background-position:center;
    background-color: #c8e9eb;
    z-index: 700;
}

footer p {
    background-color: #c8e9eb;
    width: 40%;
    margin: 0 auto;
}

footer a {
    color: #e56801;
    font-weight: 700;
}

  /* Small Tablets */
  @media (min-width: 321px)and (max-width: 767px) {
    #intro {
        flex-direction: column;
    }

    #intro div {
        width: 100%;
        padding: 20px 2%
    }

    #intro a {
        font-size: 18px;
        margin-top: 10px;
        padding: 10px 10px;
        border-radius: 20px;
    }

    #intro p {
        font-size: 18px;
    }

    .scroll {
        font-size: 30px;
    }

    .animationColumnOne img {
        padding-top: 10%;
        width: 90%;
    }
    
    .animationColumnTwo img {
        margin-top: -20%;
        padding-bottom: 10%;
        width: 85%;
    }
    
    .animationColumnThree img {
        margin-bottom: -30%;
        padding-top: 10%;
        width: 70%;
    }
    
    .animationColumnFour img {
        margin-top: -30%;
        padding-bottom: 10%;
        width: 80%;
    }

    h2 {
        font-size: 28px;
    }

    #trio {
        flex-direction: column;
    }

    #trio h2 {
        font-size: 32px;
    }

    #trio figure {
        width: 100%;
    }

    #trio figure:nth-child(3) {
        width: 100%;
    }

    #trio figcaption {
        font-size: 20px;
    }

    #trio figure:nth-child(1) img {
        border: 10px solid #2f9e93;
    }


    #trio figure:nth-child(3) img {
        margin-left: 7%;
        margin-right: 7%;
        width: 16%;
    }

    #trio figure:nth-child(3) figcaption {
        width: 70%;
    }

    #talk {
        padding: 20px 0%;
        background-size: 200%;
    }

    #talk p {
        line-height: 1.4;
        font-size: 20px;
    }

    #tips {
        padding: 0 5%;
        flex-direction: column;
    }

    #tips h3 {
        font-size: 24px;
    }

    .tipColumn {
        width: 100%;
        
    }

    .tiplist {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .tipContainer {
        flex-direction: column;
    }

    #doctorBG {
        background-image: url("images/Doctor-amico-medium.png");
        background-size: 90%;
        width: 100%;
        height: 75vw;
    }

    #peopleBG {
        background-image: url("images/arg-people-medium-transparent.png");
        background-size: 90%;
        width: 100%;
        height: 80vw;
    }

    #partnerTips {
        flex-direction: column-reverse;
    }

    footer {
        font-size: 15px;
    }

    footer p {
        width: 95%;
    }

}

/* Small Desktops */
@media (min-width: 768px) and (max-width: 1096px) {

    #intro {
        flex-direction: column;
    }

    #intro div {
        width: 100%;
        padding: 20px 2%;
    }

    #intro div:nth-child(1) {
        top: 30vh;
    }

    #intro div:nth-child(2) {
        top: 50vh;
    }

    #intro a {
        font-size: 20px;
        margin-top: 10px;
        padding: 10px 10px;
        border-radius: 20px;
    }

    #intro p {
        font-size: 20px;
    }

    .scroll {
        font-size: 25px;
    }

    .animationColumnOne img {
        padding-top: 10%;
        width: 90%;
    }
    
    .animationColumnTwo img {
        margin-top: -20%;
        padding-bottom: 10%;
        width: 85%;
    }
    
    .animationColumnThree img {
        margin-bottom: -30%;
        padding-top: 10%;
        width: 70%;
    }
    
    .animationColumnFour img {
        margin-top: -30%;
        padding-bottom: 10%;
        width: 80%;
    }

    h2 {
        font-size: 32px;
    }

    #trio {
        flex-direction: column;
    }

    #trio h2 {
        font-size: 32px;
    }

    #trio figure {
        width: 100%;
    }

    #trio figure:nth-child(3) {
        width: 100%;
    }

    #trio figcaption {
        font-size: 20px;
    }

    #trio figure:nth-child(3) img {
        margin-left: 7%;
        margin-right: 7%;
        width: 16%;
    }

    #trio figure:nth-child(3) figcaption {
        width: 70%;
    }

    #talk {
        padding: 20px 0%;
        background-size: 200%;
    }

    #talk p {
        line-height: 1.4;
        font-size: 20px;
    }

    #tips {
        padding: 0 5%;
        flex-direction: column;
    }

    #tips h3 {
        font-size: 24px;
    }

    .tipColumn {
        width: 100%;
        
    }

    .tiplist {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .tipContainer {
        flex-direction: column;
    }

    #doctorBG {
        background-image: url("images/Doctor-amico-medium.png");
        background-size: 90%;
        width: 100%;
        height: 75vw;
    }

    #peopleBG {
        background-image: url("images/arg-people-medium-transparent.png");
        background-size: 90%;
        width: 100%;
        height: 80vw;
    }

    #partnerTips {
        flex-direction: column-reverse;
    }

    footer {
        font-size: 17px;
    }

    footer p {
        width: 80%;
    }

}

/* Large Desktops */
@media (min-width: 1097px) and (max-width: 1800px) {
    .scroll {
        font-size: 20px;
    }
    h2 {
        font-size: 32px;
        font-weight: 800;
        margin-bottom: 20px;
    }
   
    #intro p {
        font-size: 22px;
        line-height: 1.4;
    }

    #intro a {
        font-size: 22px;
        padding: 10px 20px;
    }

    .animationColumnOne img {
        padding-top: 20%;
        width: 90%;
    }
    
    .animationColumnTwo img {
        margin-top: -20%;
        padding-bottom: 10%;
        width: 70%;
    }
    
    .animationColumnThree img {
        margin-bottom: -30%;
        padding-top: 10%;
        width: 60%;
    }
    
    .animationColumnFour img {
        margin-top: -30%;
        padding-bottom: 10%;
        width: 90%;
    }

    #trio {
        display: flex;
        margin: 0px;
        padding: 50% 2%;
        font-family: 'Open Sans', sans-serif;
        align-items: center;
        min-height: 400vh;
    }
    
    #trio figure {
        
    }
    
    #trio figure:nth-child(3) {
        
    }
    
    #trio figure:nth-child(1) img {
        border: 10px solid #2f9e93;
    }
    
    #trio figure:nth-child(3) img {
        
    }
    
    #trio figcaption {
        font-size: 20px;
        line-height: 1.4;
        margin-left: 30px;
        width: 70%;
    }
    
    #trio figure:nth-child(3) figcaption {
        width: 70%;
    }

    #talk {
        padding: 20px 5%;
        background-size: 150%;
    }

    #talk p {
        line-height: 1.4;
        font-size: 22px;
    }

    #tips {
        padding: 0 5%;
        flex-direction: column;
    }

    #tips h3 {
        background-color: #e56801;
        color: white;
        margin: 10px 5px;
        padding: 12px;
        border-radius: 10px;
        font-weight: 800;
        font-size: 24px;
    }

    .tipColumn {
        width: 100%;
        
    }

    .tip {
        font-size: 18px;
    }

    .tip h4 {
        font-size: 20px;
    }

    footer {
        font-size: 17px;
    }

    footer p {
        width: 65%;
    }



}

.rotate {
    animation: rotation 20s infinite linear;
}

.rotate2 {
    animation: rotation2 20s infinite linear;
}

@keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
  }

  @keyframes rotation2 {
    from {
      transform: rotate(359deg);
    }
    to {
      transform: rotate(0deg);
    }
  }

  @keyframes float {
    0% {
        transform: translate(0px, 0px);
     }
    5% {
       transform: translate(-5px, 0px);
    }
    20% {
        transform: translate(-5px, 0px);
     }
     25% {
        transform: translate(0px, 0px);
     }
    80% {
        transform: translate(0px, 0px);
     }
    100% {
        transform: translate(0px, 0px);
     }
  }

  @keyframes float2 {
    0% {
        transform: translate(0px, 0px);
     }
    5% {
       transform: translate(5px, 0px);
    }
    20% {
        transform: translate(5px, 0px);
     }
     25% {
        transform: translate(0px, 0px);
     }
    80% {
        transform: translate(0px, 0px);
     }
    100% {
        transform: translate(0px, 0px);
     }
  }

  @keyframes floatShadow {
    0% {
      box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
      transform: translatey(0px);
    }
    50% {
      box-shadow: 0 20px 15px 0px rgba(0,0,0,0.2);
      transform: translatey(-10px);
    }
    100% {
      box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
      transform: translatey(0px);
    }
  }

  @keyframes floatShadow2 {
    0% {
      box-shadow: 0 3px 5px 0px rgba(0,0,0,0.6);
      transform: translatey(0px);
    }
    50% {
      box-shadow: 0 5px 10px 0px rgba(0,0,0,0.2);
      transform: translatey(-5px);
    }
    100% {
      box-shadow: 0 3px 5px 0px rgba(0,0,0,0.6);
      transform: translatey(0px);
    }
  }

  @keyframes swing
{
    5%
    {
        transform: rotate(3deg);
    }
    20%
    {
        transform: rotate(-3deg);
    }
    35%
    {
        transform: rotate(2deg);
    }
    50%
    {
        transform: rotate(-2deg);
    }
    65%
    {
        transform: rotate(1deg);
    }
    70%
    {
        transform: rotate(0deg);
    }
    100%
    {
        transform: rotate(0deg);
    }
}

@keyframes flip {
    0% {
        transform: rotateY(0deg);
    }

    10% {
        transform: rotateY(180deg);
    }

    20% {
        transform: rotateY(0deg);
    }


    50% {
        transform: rotateY(0deg);
    }
}

@keyframes floatingBacteria {
    from {
      background-position-y: 0px;
    }
    to {
        background-position-y: -2000px;
    }
  }

  @keyframes pulse {
    0% {
      opacity: 0.6;
      transform: translatey(-5px);
    }
    50% {
        opacity: 1;
        transform: translatey(0px);
    }
    100% {
        opacity: 0.6;
        transform: translatey(-5px);
    }
  }