/* PAGE 3 */

section.third {
    position: relative;
    width: auto;
    height: 60vh;
    margin: 0;
    border: 0;
    padding: 0;
    align-items: center;
    display: flex;
    background: url(../img/3_Circulos_palavras/back.jpg) no-repeat center center;
    background-size: cover;
    scroll-snap-align: start;
}

section.third-open {
    overflow-x: hidden !important;
}

section.increase-third {
    animation: increaseCircle 1.5s normal;
    animation-fill-mode: forwards;
}

section.decrease-third {
    animation: decreaseCircle 1.5s normal;
    animation-fill-mode: forwards;
}

div.content-circle {
    height: 65%;
    aspect-ratio: 1;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 50%;
    position: relative;
    display: block;
    align-content: center;
    text-align: center;
    cursor: pointer;
}

div.content-circle-1 {
    margin-left: 5%;
    margin-right: 5%;
}

div.content-circle-text,
div.content-circle-text-inner {
    font-family: ManukaMedium;
    font-weight: normal;
    text-transform: uppercase;
    color: #FFFFFF;
    opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    stroke-opacity: 0;
    animation: fadeIn 1s;
    animation-delay: 1.5s;
    animation-fill-mode: forwards;
}

div.hidden-content {
    display: none;
}

div.content-circle-3 {
    margin-left: 5%;
    margin-right: 5%;
}

div.increase-content-circle {
    animation: increaseInnerCircle 1.5s normal;
    animation-fill-mode: forwards;
}

div.decrease-content-circle {
    animation: decreaseInnerCircle 1.5s normal;
    animation-fill-mode: forwards;
}

hr.content-circle-line-1 {
    left: 0;
    position: absolute;
    width: 0%;
    display: block;
    height: 100px;
    border: 0;
    border-top: 1px solid rgb(255, 255, 255, 0.5);
    margin: 1em 0;
    padding: 0;
}

hr.expand-line-1 {
    animation: line-expand-1 1.5s normal;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes line-expand-1 {
    from {
        width: 0%;
    }
    to {
        width: 95%;
    }
}

hr.content-circle-line-2 {
    left: 0;
    position: absolute;
    width: 0%;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid rgb(255, 255, 255, 0.5);
    margin: 1em 0;
    padding: 0;
}

hr.expand-line-2 {
    animation: line-expand-2 1.5s normal;
    animation-delay: 1.1s;
    animation-fill-mode: forwards;
}

@keyframes line-expand-2 {
    from {
        width: 0%;
    }
    to {
        width: 90%;
    }
}

hr.content-circle-line-3 {
    left: 0;
    position: absolute;
    width: 0%;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid rgb(255, 255, 255, 0.5);
    margin: 1em 0;
    padding: 0;
}

hr.expand-line-3 {
    animation: line-expand-3 1.5s normal;
    animation-delay: 1.2s;
    animation-fill-mode: forwards;
}

@keyframes line-expand-3 {
    from {
        width: 0%;
    }
    to {
        width: 80%;
    }
}

hr.content-circle-line-4 {
    left: 0;
    position: absolute;
    width: 0%;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid rgb(255, 255, 255, 0.5);
    margin: 1em 0;
    padding: 0;
}

hr.expand-line-4 {
    animation: line-expand-4 1.5s normal;
    animation-delay: 1.3s;
    animation-fill-mode: forwards;
}

hr.content-circle-line-5 {
    left: 0;
    position: absolute;
    width: 0%;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid rgb(255, 255, 255, 0.5);
    margin: 1em 0;
    padding: 0;
}

hr.expand-line-5 {
    animation: line-expand-5 1.5s normal;
    animation-delay: 1.1s;
    animation-fill-mode: forwards;
}

@keyframes line-expand-2 {
    from {
        width: 0%;
    }
    to {
        width: 90%;
    }
}

@keyframes line-expand-4 {
    from {
        width: 0%;
    }
    to {
        width: 75%;
    }
}

@keyframes line-expand-5 {
    from {
        width: 0%;
    }
    to {
        width: 65%;
    }
}

@media screen and (min-width: 850px) {
     :root {
        --circle-min-size: 65%;
        --circle-max-size: 90%;
    }
    section.third {
        height: 60vh;
        justify-content: center;
        scroll-padding-left: calc(100% / 2);
    }
    div.content-circle-text {
        font-size: 5.5vh;
        padding-left: 30px;
        padding-right: 30px;
    }
    div.content-circle-text-inner {
        font-size: 3.5vh;
        padding-left: 30px;
        padding-right: 30px;
        letter-spacing: 1px;
    }
    hr.content-circle-line-1 {
        top: 20vh;
    }
    hr.content-circle-line-2 {
        top: 36vh;
    }
    hr.content-circle-line-3 {
        top: 47vh;
    }
    hr.content-circle-line-4 {
        top: 62vh;
    }
    hr.content-circle-line-5 {
        top: 76vh;
    }
    @keyframes increaseCircle {
        from {
            height: 60vh;
        }
        to {
            height: 100vh;
        }
    }
    @keyframes decreaseCircle {
        from {
            height: 100vh;
        }
        to {
            height: 60vh;
        }
    }
    @keyframes increaseInnerCircle {
        from {
            height: var(--circle-min-size);
            margin-left: 5%;
            margin-right: 5%;
            border-width: 2px 2px 2px 2px;
        }
        to {
            height: var(--circle-max-size);
            margin-left: 0%;
            margin-right: 0%;
            border-width: 1px 1px 1px 1px;
        }
    }
    @keyframes decreaseInnerCircle {
        from {
            height: var(--circle-max-size);
            margin-left: 0%;
            margin-right: 0%;
            border-width: 1px 1px 1px 1px;
        }
        to {
            height: var(--circle-min-size);
            margin-left: 5%;
            margin-right: 5%;
            border-width: 2px 2px 2px 2px;
        }
    }
    div.outer-circle {
        /* do nothing */
    }
    div.focus-circle {
        /* do nothing */
    }
}

@media screen and (max-width: 849px) {
     :root {
        --circle-min-size: 65%;
        --circle-max-size: 60%;
    }
    section.third {
        height: 40vh;
        overflow-x: auto;
        scroll-padding-left: calc(100% / 2);
    }
    div.content-circle-text {
        font-size: 3.5vh;
        padding-right: 30px;
        padding-left: 30px;
    }
    div.content-circle-text-inner {
        font-size: 2.5vh;
        padding-left: 80px;
        padding-right: 80px;
        letter-spacing: 1px;
        justify-self: center;
    }
    hr.content-circle-line-1 {
        display: none;
    }
    hr.content-circle-line-2 {
        display: none;
    }
    hr.content-circle-line-3 {
        display: none;
    }
    hr.content-circle-line-4 {
        display: none;
    }
    hr.content-circle-line-5 {
        display: none;
    }
    @keyframes increaseCircle {
        from {
            height: 40vh;
        }
        to {
            height: 100vh;
        }
    }
    @keyframes decreaseCircle {
        from {
            height: 100vh;
        }
        to {
            height: 40vh;
        }
    }
    @keyframes increaseInnerCircle {
        from {
            height: var(--circle-min-size);
            margin-left: 5%;
            margin-right: 5%;
            border-width: 2px 2px 2px 2px;
        }
        to {
            height: var(--circle-max-size);
            margin-left: 10%;
            margin-right: 10%;
            border-width: 1px 1px 1px 1px;
        }
    }
    @keyframes decreaseInnerCircle {
        from {
            height: var(--circle-max-size);
            margin-left: 10%;
            margin-right: 10%;
            border-width: 1px 1px 1px 1px;
        }
        to {
            height: var(--circle-min-size);
            margin-left: 5%;
            margin-right: 5%;
            border-width: 2px 2px 2px 2px;
        }
    }
    div.outer-circle {
        display: none !important;
    }
    div.focus-circle {
        position: absolute !important;
    }
}

@media screen and (max-width: 470px) {
    div.outer-circle {
        display: none !important;
    }
    div.focus-circle {
        position: absolute !important;
        left: -70px !important;
        right: -70px !important;
    }
    div.content-circle-text {
        font-size: 3.5vh;
        padding-right: 30px;
        padding-left: 30px;
        justify-self: center;
    }
    div.content-circle-text-inner {
        font-size: 2.5vh;
        padding-left: 80px;
        padding-right: 80px;
        letter-spacing: 1px;
        justify-self: center;
    }
    hr.content-circle-line-1 {
        display: none;
    }
    hr.content-circle-line-2 {
        display: none;
    }
    hr.content-circle-line-3 {
        display: none;
    }
    hr.content-circle-line-4 {
        display: none;
    }
    hr.content-circle-line-5 {
        display: none;
    }
}