@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/*Shapes/Living Space */
/*Shapes/Moving Ring*/
/*Moiving square to the right*/
/*Svg*/
/*Text Animation*/

.space {
    padding: 2em;
}

.space-1 {
    padding: 10em;
}

.space-2 {
    padding: 5em;
}

.space-3 {
    padding: 0.1em;
}

.citation p {
    color: white;
    font-family: 'Montserrat';
    font-size: 17px;
    text-align: center;
    font-weight: 400;
}

/*Shapes/Living Space */
#wrapper {
    aspect-ratio: 1.618;
    width: 90vmin;
    left: 25%;
    position: relative;
}

#wrapper>.shape {
    height: 30%;
    width: 30%;
    position: absolute;
    transition: left, top, height, width, border-radius;
    transition-duration: 750ms;
    transition-timing-function: ease-in-out;
}

#wrapper>.shape:nth-child(1) {
    background-color: var(--color-1);
    z-index: 2;
}

#wrapper>.shape:nth-child(2) {
    background-color: var(--color-2);
    z-index: 2;
}

#wrapper>.shape:nth-child(3) {
    background-color: var(--color-3);
    z-index: 1;
}

#wrapper>.shape:nth-child(4) {
    background-color: var(--color-4);
    z-index: 2;
}

#wrapper>.shape:nth-child(5) {
    background-color: var(--color-1);
    z-index: 2;
}

#wrapper>.shape:nth-child(6) {
    background-color: var(--color-2);
    z-index: 2;
}

#wrapper>.shape:nth-child(7) {
    background-color: var(--color-3);
    z-index: 2;
}

#wrapper[data-configuration="1"]>.shape:nth-child(1) {
    left: 0%;
    top: 0%;
    height: 50%;
    width: 20%;
}

#wrapper[data-configuration="1"]>.shape:nth-child(2) {
    left: 20%;
    top: 0%;
    height: 50%;
    width: 30%;
}

#wrapper[data-configuration="1"]>.shape:nth-child(3) {
    left: 50%;
    top: 0%;
    height: 100%;
    width: 50%;
}

#wrapper[data-configuration="1"]>.shape:nth-child(4) {
    left: 0%;
    top: 50%;
    height: 50%;
    width: 30%;
}

#wrapper[data-configuration="1"]>.shape:nth-child(5) {
    left: 30%;
    top: 50%;
    height: 50%;
    width: 20%;
}

#wrapper[data-configuration="1"]>.shape:nth-child(6) {
    left: 70%;
    top: 50%;
    height: 50%;
    width: 30%;
}

#wrapper[data-configuration="1"]>.shape:nth-child(7) {
    left: 85%;
    top: 75%;
    height: 25%;
    width: 15%;
}

#wrapper[data-configuration="2"]>.shape:nth-child(1) {
    left: 25%;
    top: 20%;
    height: 80%;
    width: 15%;
}

#wrapper[data-configuration="2"]>.shape:nth-child(2) {
    left: 40%;
    top: 20%;
    height: 50%;
    width: 10%;
}

#wrapper[data-configuration="2"]>.shape:nth-child(3) {
    left: 50%;
    top: 0%;
    height: 100%;
    width: 25%;
}

#wrapper[data-configuration="2"]>.shape:nth-child(4) {
    left: 0%;
    top: 0%;
    height: 50%;
    width: 10%;
}

#wrapper[data-configuration="2"]>.shape:nth-child(5) {
    left: 10%;
    top: 0%;
    height: 70%;
    width: 15%;
}

#wrapper[data-configuration="2"]>.shape:nth-child(6) {
    left: 75%;
    top: 10%;
    height: 80%;
    width: 15%;
}

#wrapper[data-configuration="2"]>.shape:nth-child(7) {
    left: 90%;
    top: 40%;
    height: 60%;
    width: 10%;
}

#wrapper[data-configuration="3"]>.shape:nth-child(1) {
    left: 0%;
    top: 16.5%;
    height: 32%;
    width: 20%;
}

#wrapper[data-configuration="3"]>.shape:nth-child(2) {
    left: 20%;
    top: 2.7%;
    height: 55%;
    width: 34%;
}

#wrapper[data-configuration="3"]>.shape:nth-child(3) {
    left: 38%;
    top: 0%;
    height: 100%;
    width: 62%;
}

#wrapper[data-configuration="3"]>.shape:nth-child(4) {
    left: 0%;
    top: 47.3%;
    height: 55%;
    width: 34%;
}

#wrapper[data-configuration="3"]>.shape:nth-child(5) {
    left: 34%;
    top: 56.4%;
    height: 32%;
    width: 20%;
}

#wrapper[data-configuration="3"]>.shape:nth-child(6) {
    left: 66%;
    top: 45%;
    height: 55%;
    width: 34%;
}

#wrapper[data-configuration="3"]>.shape:nth-child(7) {
    left: 80%;
    top: 68%;
    height: 32%;
    width: 20%;
}

#wrapper[data-roundness="1"]>.shape {
    border-radius: 6rem;
}

#wrapper[data-roundness="2"]>.shape {
    border-radius: 0rem;
}

#wrapper[data-roundness="3"]>.shape {
    border-radius: 30rem;
}

#wrapper[data-roundness="4"]>.shape:nth-child(1) {
    border-bottom-left-radius: 10rem;
}

#wrapper[data-roundness="4"]>.shape:nth-child(2) {
    border-radius: 20rem;
}

#wrapper[data-roundness="4"]>.shape:nth-child(3) {
    border-top-right-radius: 12rem;
}

#wrapper[data-roundness="4"]>.shape:nth-child(4) {
    border-top-right-radius: 10rem;
    border-bottom-right-radius: 10rem;
}

#wrapper[data-roundness="4"]>.shape:nth-child(5) {
    border-bottom-left-radius: 10rem;
}

#wrapper[data-roundness="4"]>.shape:nth-child(6) {
    border-top-left-radius: 16rem;
}

#wrapper[data-roundness="4"]>.shape:nth-child(7) {
    border-top-left-radius: 10rem;
}

.citation p {
    color: white;
    font-family: 'Montserrat';
    font-size: 17px;
    text-align: center;
    font-weight: 400;
}

/* End Shapes/Living Space */

/*Shapes/Moving Ring*/
.pl {
    display: block;
    position: relative;
    justify-content: center;
    margin: auto;
    width: 40em;
    height: 40em;
}

.pl__ring,
.pl__ball1,
.pl__ball2 {
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    transform-origin: 32px 32px;
}

.pl__ring {
    animation-name: ring;
}

.pl__ball1 {
    animation-name: ball1;
}

.pl__ball2 {
    animation-name: ball2;
}

@keyframes ring {
    from {
        animation-timing-function: ease-in-out;
        stroke-dashoffset: -122.52;
        transform: rotate(135deg);
    }

    15% {
        animation-timing-function: ease-in;
        stroke-dashoffset: -122.52;
        transform: rotate(90deg);
    }

    35% {
        animation-timing-function: ease-out;
        stroke-dashoffset: -65.34;
        transform: rotate(297.5deg);
    }

    55% {
        animation-timing-function: ease-in-out;
        stroke-dashoffset: -122.52;
        transform: rotate(505deg);
    }

    70% {
        animation-timing-function: ease-in-out;
        stroke-dashoffset: -122.52;
        transform: rotate(490deg);
    }

    85%,
    to {
        stroke-dashoffset: -122.52;
        transform: rotate(497.5deg);
    }
}

@keyframes ball1 {
    from {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-7deg);
    }

    60% {
        transform: rotate(399deg);
    }

    75% {
        transform: rotate(361deg);
    }

    90%,
    to {
        transform: rotate(374deg);
    }
}

@keyframes ball2 {
    from {
        transform: rotate(-21deg);
    }

    25% {
        transform: rotate(-47deg);
    }

    60% {
        transform: rotate(364deg);
    }

    75% {
        transform: rotate(326deg);
    }

    90%,
    to {
        transform: rotate(339deg);
    }
}

/*Shapes/Moving Ring*/

/*Moiving square to the right*/
#anim {
    width: 100px;
    height: 90px;
    background-color: var(--color-1);
    position: relative;
    animation: mymove 5s infinite;
}

@keyframes mymove {
    from {
        left: 0px;
    }

    to {
        left: 50em;
    }
}

/*End Moiving square to the right*/

/*Svg*/
#svg {
    aspect-ratio: 1.618;
    width: 90vmin;
    left: 23%;
    position: relative;
}

.cls-1 {
    fill: var(--color-2);
}

.cls-2 {
    fill: var(--color-1);
}

.cls-3 {
    fill: var(--color-2);
}

.cls-4 {
    fill: var(--color-1);
}

.cls-5 {
    fill: var(--color-3);
}

/*End Svg*/
/*Typography item*/
.text_box {
    background: #000;
    min-height: 50%;
    display: grid;
    place-items: center;
}

h1 {
    font-family: 'Montserrat';
    font-size: 15vw;
    font-weight: 900;
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
    margin: auto;
    text-transform: uppercase;
    background: linear-gradient(219deg,
            var(--color-1) 19%,
            transparent 19%, transparent 20%,
            var(--color-2) 20%, var(--color-2) 39%,
            transparent 39%, transparent 40%,
            var(--color-3) 40%, var(--color-3) 59%,
            transparent 59%, transparent 60%,
            var(--color-4) 60%, var(--color-4) 79%,
            transparent 79%, transparent 80%,
            var(--color-3) 80%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.typography {
    text-align: center;
}

@media screen and (min-width: 768px) {
    h1 {
        font-size: 6.5rem;
    }
}
/*End Typography item*/
/*Text Animation*/
.content {
    position: relative;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    font-family: "Lato", sans-serif;
    font-size: 35px;
    line-height: 40px;
    color: var(--color-2);
}

.content__container {
    font-weight: 600;
    overflow: hidden;
    height: 40px;
    padding: 0 22em;
}

.content__container:after,
.content__container:before {
    position: absolute;
    top: 0;
    color: var(--color-3);
    font-size: 40px;
    line-height: 50px;
    -webkit-animation-name: opacity;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    animation-name: opacity;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.content__container__text {
    display: inline;
    float: left;
    margin: 0;
}

.content__container__list {
    margin-top: 0;
    padding-left: 2em;
    text-align: left;
    list-style: none;
    -webkit-animation-name: change;
    -webkit-animation-duration: 10s;
    -webkit-animation-iteration-count: infinite;
    animation-name: change;
    animation-duration: 10s;
    animation-iteration-count: infinite;
}

.content__container__list__item {
    line-height: 40px;
    margin: 0;
}

@-webkit-keyframes change {

    0%,
    12.66%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    16.66%,
    29.32% {
        transform: translate3d(0, -25%, 0);
    }

    33.32%,
    45.98% {
        transform: translate3d(0, -50%, 0);
    }

    49.98%,
    62.64% {
        transform: translate3d(0, -75%, 0);
    }

    66.64%,
    79.3% {
        transform: translate3d(0, -50%, 0);
    }

    83.3%,
    95.96% {
        transform: translate3d(0, -25%, 0);
    }
}

@keyframes change {

    0%,
    12.66%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    16.66%,
    29.32% {
        transform: translate3d(0, -25%, 0);
    }

    33.32%,
    45.98% {
        transform: translate3d(0, -50%, 0);
    }

    49.98%,
    62.64% {
        transform: translate3d(0, -75%, 0);
    }

    66.64%,
    79.3% {
        transform: translate3d(0, -50%, 0);
    }

    83.3%,
    95.96% {
        transform: translate3d(0, -25%, 0);
    }
}

/*End Text Animation*/