:root {
    --gradient-rainbow: linear-gradient(270deg, #bc1419 0%, #a05eb5 50.74%, #0c94a7 100%);
    --red-gradient: linear-gradient(90deg, rgb(137, 40, 38) 0%, rgb(194, 63, 60) 100%);
    --lb-gradient: linear-gradient(90deg, rgb(27, 133, 164) 0%, rgb(44, 196, 239) 100%);
    --violet-gradient: linear-gradient(90deg, rgb(103, 31, 153) 0%, rgb(160, 94, 181) 100%);
    --blue-gradient: linear-gradient(90deg, #435580 0%, #647ebb 100%);
    --title-blue: #0098a5;
    --dark-blue: #002231;
    --red: #be0f0f;
    --red-bg: rgb(251, 243, 243);
    --lb: #2cc4ef;
    --lb-bg: #ebf7f8;
    --violet: #a05eb5;
    --violet-bg: #fbf5f9;
    --blue: #657fbb;
    --blue-bg: #faf4f7;
    --line-color: rgb(0, 152, 165, 15%);
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    width: 1080px;
    height: 1920px;
    color: var(--dark-blue);
}

sup,sub {
    font-size: .55em;
}

main {
    background-color: white;
    background-image: url("../images/background.png");
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: top .5s;
}

main.hidden {
    position: absolute;
    top: 100%;
}

main header {
    width: 100%;
    min-height: 80px;
    padding: 15px 0;
    /* background: var(--gradient-rainbow); */
    color: white;
    text-align: center;
    font-size: 28px;
    line-height: 1em;
    font-weight: 600;
    position: relative;
}

main.home header, main.remission header{
    font-size: 34px;
    min-height: 60px;
}

.close-btn {
    position: absolute;
    top: 90px;
    right: 44px;
    width: 70px;
    cursor: pointer; 
}

.padding-bottom {
    padding-bottom: 1em;
}

.padding-horizontal {
    padding: 0 1.5em;
}

.padding-top {
    padding-top: 1.5em;
}

.margin-top {
    margin-top: 1.5em !important;
}

.margin-top-big {
    margin-top: 2.5em !important;
}

.margin-vertical {
    margin: 1em 0 !important;
}

.no-margin {
    margin: 0 !important;
}

.position-relative {
    position: relative;
}

p, h1 {
    margin: 0;
    padding: 0;
}

main section {
    padding: 0 30px;
}

.blue-title {
    font-size: 21px;
    color: var(--title-blue);
    text-align: center;
    margin: .5em 0;
    font-weight: 600;
}

main.remission .blue-title {
    font-size: 18px;   
}

.rounded {
    border-radius: 20px;
}

.box-shadow {
    box-shadow: 2px 2px 9px #0004;
}

.framework {
    width: 100%;
    height: 240px;
    background-image: url(../images/home-scheme.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: grid;
    justify-content: center;
    align-items: center;
}

.framework .sections-selector {
    height: 180px;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 0 0 15px #0003;
    position: relative;
}

.sections-selector .petal {
    height: 110px;
    position: absolute;
    transition: opacity .3s;
    cursor: pointer;
    transition: transform .3s;
}

.sections-selector .exacerbations-btn {
    right: 50%;
    bottom: 50%;
    transform-origin: bottom right;
    animation: anim-1 5s forwards infinite;
}

.sections-selector .fev-btn {
    left: 50%;
    bottom: 50%;
    transform-origin: bottom left;
    animation: anim-2 5s forwards infinite;
}

.sections-selector .ocs-btn {
    right: 50%;
    top: 50%;
    transform-origin: top right;
    animation: anim-4 5s forwards infinite;
}

.sections-selector .acq-btn {
    left: 50%;
    top: 50%;
    transform-origin: top left;
    animation: anim-3 5s forwards infinite;
}

main .subtitle {
    background-color: var(--title-blue);
    color: white;
    text-align: center;
    font-size: 18px;
    padding: .3em 0;
    margin: 1em 0 ;
    font-weight: 600;
    border-top: 1px solid var(--title-blue);
    border-bottom: 1px solid var(--title-blue);
    transition: .3s opacity;
}

main .subtitle.clickable {
    cursor: pointer;
    animation: anim-5 5s infinite forwards;
}

.remission-tbl {
    width: 100%;
    height: 240px;
    background-image: url(../images/home-tbl.png);
    background-position: center;
    background-size: 100% auto;
    margin-bottom: .6em;
}

.blue-notes {
    font-size: 10px;
    color: var(--title-blue);
    margin-bottom: 1em;
    font-weight: 600;
}

.notes {
    font-size: 8px;
}

@keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.15);
    }
    100% {
      transform: scale(1);
    }
  }

.touch-btn {
    background-image: url(../images/touch.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 446px;
    height: 112px;
    cursor: pointer;
    position: absolute;
    bottom: 210px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    border: transparent;
    animation: pulse 3s infinite;
    animation-delay: 0s;
}

.info-btn-1 {
    background-image: url(../images/info-btn.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: absolute;
    top: 290px;
    right: 325px;
    border: transparent;
    animation: pulse 2s infinite;
    animation-delay: 0s;
}

.info-btn-2 {
    background-image: url(../images/info-btn.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: absolute;
    top: 658px;
    right: 250px;
    border: transparent;
    animation: pulse 2s infinite;
    animation-delay: 0s;
}

.info-btn-3 {
    background-image: url(../images/info-btn.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: absolute;
    top: 884px;
    right: 300px;
    border: transparent;
    animation: pulse 2s infinite;
    animation-delay: 0s;
}

.info-btn-4 {
    background-image: url(../images/info-btn.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: absolute;
    bottom: 644px;
    left: 32px; 
    border: transparent;
    animation: pulse 2s infinite;
    animation-delay: 0s;
}

.info-btn-5 {
    background-image: url(../images/info-btn.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: absolute;
    bottom: 644px;
    right: 32px;
    border: transparent;
    animation: pulse 2s infinite;
    animation-delay: 0s;
}

.posthome {
    z-index: 2;
    background-image: url(../images/home.png);
}

.chronic {
    z-index: 2;
    background-image: url(../images/chronic.png);
    opacity: 0.96;
}

.barrier {
    z-index: 2;
    background-image: url(../images/barrier.png);
    opacity: 0.96;
}

.cytokines {
    z-index: 2;
    background-image: url(../images/cytokines.png);
    opacity: 0.96;
}

.exacerbations {
    z-index: 2;
    background-image: url(../images/exacerbations.png);
    opacity: 0.96;
}

.remodeling {
    z-index: 2;
    background-image: url(../images/remodeling.png);
    opacity: 0.96;
}

.references ol {
    font-size: 10px;
    padding-top: 1em;
    column-count: 2;
}

.references ol li::marker {
    font-weight: 700;
}

.references ol li {
    margin-bottom: 1.1em;
}

.top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
}

.top-section > div {
    text-align: center;
    width: 320px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .1em .5em;
}

.top-section .arrow {
    width: 30px;
}

.bg-red {
    background-color: var(--red-bg);
}

.bg-lb {
    background-color: var(--lb-bg);
}

.bg-violet {
    background-color: var(--violet-bg);
}

.bg-blue {
    background-color: var(--blue-bg);
}

.red-subtitle {
    font-size: 18px;
    color: var(--red);
    font-weight: 700;
}

.lb-subtitle {
    font-size: 18px;
    color: var(--lb);
    font-weight: 700;
}

.violet-subtitle {
    font-size: 18px;
    color: var(--violet);
    font-weight: 700;
}

.blue-subtitle {
    font-size: 18px;
    color: var(--blue);
    font-weight: 700;
}

.dot-before::before {
    content: '•';
    position: absolute;
    margin-left: -1em;
    font-weight: 700;
}

.red-dot::before {
    color: var(--red);
}

.lb-dot::before {
    color: var(--lb);
}

.violet-dot::before {
    color: var(--violet);
}

.blue-dot::before {
    color: var(--blue);
}

.months-label {
    color: white;
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
    border-radius: 10px;
    margin: .3em 0;
    width: fit-content;
    padding: .1em .3em;
}

.red-gradient {
    background: var(--red-gradient);
}

.lb-gradient {
    background: var(--lb-gradient);
}

.violet-gradient {
    background: var(--violet-gradient);
}


.blue-gradient {
    background: var(--blue-gradient);
}

.section-icon {
    background-color: white;
    border-radius: 50%;
    width: 65px;
    aspect-ratio: 1;
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
}

.section-icon.exa-icon {
    background-image: url(../images/select-1.png);
}

.section-icon.fev-icon {
    background-image: url(../images/select-2.png);
}

.section-icon.ocs-icon {
    background-image: url(../images/select-3.png);
}

.section-icon.acq-icon {
    background-image: url(../images/select-4.png);
}

.graph {
    width: 100%;
}

hr {
    width: 100%;
    height: 2px;
    border: none;
    margin: 1em 0;
    background-color: var(--line-color);
}

.remission-title {
    background-color: var(--dark-blue);
    color: white;
    font-size: 16px;
    position: absolute;
    top: -16px;
    padding: .2em .6em;
    border-radius: 5px;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 0 30px;
    position: absolute;
    bottom: 10px;
    width: calc(100% - 60px);
}

main.references footer {
    border-top: 2px solid var(--line-color);
    padding-top: 1em;
}

.sanofi-logo {
    width: 210px;
}

footer .matcode {
    font-size: 8px;
    margin-top: -.5em;
}

.footer-logo {
    width: 150px;
}


@keyframes anim-1 {
    0% {
        transform: scale(1.1);
    }
    20% {
        transform: scale(1);
    }
    40% {
        transform: scale(1);
    }
    60% {
        transform: scale(1);
    }
    80% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }

}

@keyframes anim-2 {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.1);
    }
    40% {
        transform: scale(1);
    }
    60% {
        transform: scale(1);
    }
    80% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }

}

@keyframes anim-3 {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.1);
    }
    60% {
        transform: scale(1);
    }
    80% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes anim-4 {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1);
    }
    40% {
        transform: scale(1);
    }
    60% {
        transform: scale(1.1);
    }
    80% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }

}

@keyframes anim-5 {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1);
    }
    40% {
        transform: scale(1);
    }
    60% {
        transform: scale(1);
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
