:root {
    --purple: rgb(118, 81, 220);
    --light-purple: rgb(203, 193, 232);
    --orange: rgb(255, 204, 105);
    --dark-orange: rgb(255, 193, 69);
    --light-green: rgb(190, 255, 190);
}

@font-face {
    font-family: 'Sora-normal';
    src: url(assets/fonts/sora.bold.woff2) format('woff2'),
         url(assets/fonts/sora.bold.woff) format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sora-italic';
    src: url(assets/fonts/sora.bold-italic.woff2) format('woff2'),
         url(assets/fonts/sora.bold-italic.woff) format('woff');
    font-weight: normal;
    font-display: swap;
}

body {
    background-color: rgb(245, 245, 245);
}

.wrapper {
    display: grid;
    grid-template-rows: 120px 120px 120px 60px 60px 60px 60px 60px 120px 60px 60px 60px 120px 120px 60px;
    grid-template-columns: 400px 60px 400px 60px 400px 60px 400px;
    justify-self: center;
}

.panel {
    border-radius: 20px;
    overflow: hidden;
}

@keyframes panel-text {
    0% {
        transform: translateY(10%);
    }
    100% {
        transform: translateY(-5%);
    }
}

.panel-1 {
    background-color: rgb(250, 238, 226);
    grid-row: 1 / 7;
    grid-column: 1 / 2;

    & h2 {
        font-size: 40px;
        animation: panel-text 2s alternate infinite ease-in-out;
    }

    & h2:nth-of-type(1) {
        color: black;
        font-family: 'Sora-normal', sans-serif;
        width: 75%;
        justify-self: center;
        margin-bottom: 20px;
        margin-top: 50px;
    }

    & h2:nth-of-type(2) {
        color: var(--purple);
        font-family: 'Sora-italic', sans-serif;
        width: 75%;
        justify-self: center;
        margin-top: 0px;
        margin-bottom: 0%;
    }

    & button {
        margin-top: 26%;
        margin-right: 10%;
        border-radius: 50px;
        border-width: 0px;
        width: 65%;
        height: 14%;
        background-color: var(--orange);
        color: var(--purple);
        font-family: 'Sora-normal', sans-serif;
        display: flex;
        justify-content: center;
        justify-self: center;
        transition: 0.4s;
        position: relative;
        cursor: pointer;

        & h3 {
            font-size: 18px;
            height: 20px;
            align-self: center;
            transition: 0.4s;
        }

        & img:nth-of-type(1) {
            width: 24px;
            height: 24px;
            position: absolute;
            top: 70%;
            left: 66%;
            transition: 0.4s;
        }

        & img:nth-of-type(2) {
            width: 32px;
            height: 32px;
            align-self: center;
            margin-left: 8%;
            transition: 0.4s;
        }
    }

    & button:hover {
        background-color: var(--dark-orange);
        transform: scale(105%);

        & h3 {
            font-size: 20px;
            margin-bottom: 10%;
        }

        & img:nth-of-type(2) {
            margin-left: 3%;
            margin-bottom: 1%;
        }
    }
}

.panel-2 {
    background-color: var(--orange);
    grid-row: 8 / 16;
    grid-column: 1 / 2;

    & h2 {
        animation: panel-text 2s alternate infinite ease-in-out;
        font-family: 'Sora-normal', sans-serif;
        width: 200px;
        justify-self: center;
        font-size: 40px;
        margin-left: -38%;
    }

    & div {
        background-color: white;
        width: 92%;
        height: 50%;
        justify-self: center;
        border-radius: 20px;
        margin-top: 40px;

        & div:nth-of-type(1) {
            display: flex;
            margin-top: 20px;


            & div {
                background-color: rgb(252, 232, 234);
                border-radius: 20px;
                width: 80%;
                box-shadow: 0px 0px 10px gray;

                & p {
                    font-family: sans-serif;
                    font-size: 17px;
                    margin-left: 20px;
                    color: gray;
                }
            }

            & img {
                border-radius: 50%;
                width: 50px;
                height: 50px;
                box-shadow: 0px 0px 10px rgb(0, 0, 0);
                margin-top: 24px;
                margin-left: 20px;
                filter: brightness(120%);
            }
        }

        & div:nth-of-type(2) {
            background-color: transparent;
            display: flex;
            margin-top: 0px;

            & img {
                width: 48px;
                height: 48px;
                margin-top: 24px;
                filter: brightness(120%);
                background-color: var(--light-purple);
                border-radius: 50%;
                box-shadow: 0px 0px 10px var(--light-purple);
            }

            & div {
                width: 85%;
                margin-left: 10px;
                background-color: rgb(252, 234, 209);
                padding-bottom: 10px;

                & p {
                    width: 170px;
                    margin-left: 10px;
                    font-size: 17px;
                    font-family: sans-serif;
                    color: gray;
                }
            }
        }
    }
}

.panel-3 {
    background-color: var(--purple);
    grid-row: 1 / 4;
    grid-column: 3 / 6;
    display: flex;
    flex-direction: column;

    & div {
        display: flex;
    }

    & div:nth-of-type(1) {
        justify-content: center;
        gap: 20px;
        margin-top: 50px;
        
        & h2 {
            animation: panel-text 2s alternate infinite ease-in-out;
            font-size: 60px;
            font-family: 'Sora-normal', sans-serif;
            color: white;
            margin: 0px 0px 0px 0px;
        }

        & h2:nth-of-type(2) {
            color: var(--dark-orange);
        }
    }

    & div:nth-of-type(2) {
        justify-content: center;
        height: 60px;
        margin-top: 10px;
        gap: 20px;

        & h2 {
            animation: panel-text 2s alternate infinite ease-in-out;
            font-size: 60px;
            color: white;
            margin: 0px 0px 0px 0px;
        }

        & h2:nth-of-type(1) {
            font-family: 'Sora-italic', sans-serif;
        }

        & h2:nth-of-type(2) {
            font-family: 'Sora-normal', sans-serif;
        }
    }

    & div:nth-of-type(3) {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 40px;

        & img {
            width: 28px;
            height: 28px;
        }
    }

    & div:nth-of-type(4) {
        justify-content: center;
        margin-top: 10px;

        & p {
            font-family: sans-serif;
            color: white;
            word-spacing: 4px;
            letter-spacing: 2px;
        }
    }
    
}

.panel-4 {
    background-color: white;
    grid-row: 5 / 10;
    grid-column: 3 / 4;
    display: flex;
    flex-direction: column;
    z-index: 2;

    & div {
        display: flex;
        box-shadow: 0px 0px 10px gray;
        border-radius: 30px;
        height: 16%;
        width: 150%;
        margin-left: 15%;
        margin-top: 40px;

        & div {
            box-shadow: none;
        }

        & div:nth-of-type(1) {
            display: flex;
            height: 100%;
            margin-top: 0px;
            margin-left: 20px;

            & div:nth-of-type(1) {
                background-color: var(--dark-orange);
                border-radius: 50%;
                height: 48px;
                width: 48px;
                padding-right: 8px;
                margin-left: 0px;
                align-self: center;
                
                & img {
                    width: 32px;
                    height: 32px;
                    align-self: center;
                    margin-left: 8px;
                    margin-top: 8px;
                }
            }

            & div:nth-of-type(2) {
                display: flex;
                flex-direction: column;
                margin-top: 0px;
                margin-left: 20px;
                height: 100%;
                gap: 5px;

                & h3 {
                    margin: 0px;
                    margin-top: 6px;
                    font-size: 16px;
                    font-family: sans-serif;
                }

                & h4 {
                    margin: 0px;
                    font-size: 12px;
                    font-family: sans-serif;
                }
            }
        }

        & div:nth-of-type(2) {
            display: flex;
            height: 100%;
            margin-top: 0px;
            margin-left: 60px;

            & div:nth-of-type(1) {
                background-color: var(--dark-orange);
                border-radius: 50%;
                height: 48px;
                width: 48px;
                margin-left: 0px;
                align-self: center;
                
                & img {
                    width: 32px;
                    height: 32px;
                    align-self: center;
                    margin-left: 8px;
                    margin-top: 8px;
                }
            }

            & div:nth-of-type(2) {
                display: flex;
                flex-direction: column;
                margin-top: 0px;
                margin-left: 20px;
                width: 70px;
                height: 100%;
                gap: 5px;

                & h3 {
                    margin: 0px;
                    margin-top: 6px;
                    font-size: 16px;
                    font-family: sans-serif;
                }

                & h4 {
                    margin: 0px;
                    font-size: 12px;
                    font-family: sans-serif;
                }
            }
        }

        & div:nth-of-type(3) {
            display: flex;
            height: 100%;
            margin-top: 0px;
            margin-left: 60px;
            margin-right: 20px;

            & div:nth-of-type(1) {
                background-color: var(--dark-orange);
                border-radius: 50%;
                height: 48px;
                width: 48px;
                margin-left: 0px;
                align-self: center;
                
                & img {
                    width: 32px;
                    height: 32px;
                    align-self: center;
                    margin-left: 8px;
                    margin-top: 8px;
                }
            }

            & div:nth-of-type(2) {
                display: flex;
                flex-direction: column;
                margin-top: 0px;
                margin-left: 20px;
                width: 70px;
                height: 100%;
                gap: 5px;

                & h3 {
                    margin: 0px;
                    margin-top: 6px;
                    font-size: 16px;
                    font-family: sans-serif;
                }

                & h4 {
                    margin: 0px;
                    font-size: 12px;
                    font-family: sans-serif;
                }
            }
        }
    }

    & h2 {
        animation: panel-text 2s alternate infinite ease-in-out;
        font-size: 40px;
        font-family: 'Sora-normal';
        margin-left: 20px;
        margin-top: 60px;
        width: 350px;
    }
}

.contacts-panel {
    animation: contacts-moving 4s infinite alternate linear;
}

@keyframes contacts-moving {
    0% {transform: translateX(0%);}
    100% {transform: translateX(-80%);}
}

.panel-5 {
    background-color: var(--orange);
    grid-row: 5 / 10;
    grid-column: 5 / 6;
    display: flex;
    flex-direction: column;
    

    & h2 {
        animation: panel-text 2s alternate infinite ease-in-out;
        margin-left: 8%;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 300px;
        font-size: 40px;
        font-family: 'Sora-normal', sans-serif;
    }

    & div {
        border-radius: 20px 20px 0px 0px;
        background-color: transparent;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0px;
        width: 85%;
        height: 23%;

        & div:nth-of-type(1) {
            width: 100%;
            background-color: var(--purple);
            height: 48%;
            display: flex;
            flex-direction: row;
            align-items: center;

            & h4 {
                color: white;
                font-family: 'Sora-normal', sans-serif;
                margin-left: 20px;
                margin: 0px;
                width: 32%;
                margin-left: 5%;
            }

            & h5 {
                margin: 0px;
                margin-left: 45%;
                color: white;
                font-family: sans-serif;
            }
        }

        & div:nth-of-type(2) {
            margin-top: 0px;
            width: 100%;
            height: 100%;
            background-color: white;
            border-radius: 0px;
            display: flex;
            flex-direction: row;
            gap: 30px;
            justify-content: center;
            align-items: center;

            & span {
                border-radius: 50%;
                width: 36px;
                height: 36px;
                background-color: var(--purple);
                transition: 0.4s;
            }

            & span:hover {
                transform: scale(110%);
            }
        }
    }
}

.checkmark-first-part {
    width: 12px !important;
    height: 2px !important;
    background-color: white !important;
    border-radius: 2px !important;
    margin: 0px !important;
    margin-top: 18px !important;
    margin-left: 7px !important;
    rotate: 45deg;
    position: absolute;
}

.checkmark-second-part {
    width: 16px !important;
    height: 2px !important;
    border-radius: 2px !important;
    margin-top: 16px !important;
    margin-left: 14px !important;
    rotate: -45deg;
    position: absolute;
}

.panel-6 {
    background-color: var(--light-purple);
    grid-row: 1 / 10;
    grid-column: 7 / 8;
    display: flex;
    flex-direction: column;

    & h2 {
        animation: panel-text 2s alternate infinite ease-in-out;
        align-self: center;
        width: 300px;
        font-size: 40px;
        font-family: 'Sora-normal', sans-serif;
    }

    & div {
        background-color: white;
        width: 95%;
        height: 60%;
        align-self: center;
        border-radius: 20px;
        display: flex;
        flex-direction: column;

        & h3 {
            width: 100%;
            text-align: center;
            margin-top: 10%;
        }

        & div {
            height: 20%;
        }
    }

    & h3 {
        width: 250px;
        align-self: center;
        font-size: 20px;
        font-family: 'Sora-normal', sans-serif;
    }
}

.panel-6-line-devider {
    height: 2px !important;
    width: 85% !important;
    background-color: gray !important;
    border-radius: 10px;
    margin-top: 5%;
}

.days-in-week-wrapper {
    display: flex;
    flex-direction: row !important;
    justify-content: center;
    gap: 12px;

    & div {
        text-align: center;
        font-family: sans-serif;
        padding: 10px 0px;
        transition: 0.4s;
        width: 60px !important;
        cursor: pointer;
    }

    & div:hover {
        background-color: rgb(255, 187, 187);
        box-shadow: 0px 0px 10px rgb(255, 138, 138);
    }
}

.purple-time-bars-wrapper {
    display: flex;
    flex-direction: row !important;
    justify-content: center;
    gap: 50px;
    padding-bottom: 10px;
    height: 150px !important;

    & div {
        width: 6%;
        background-color: var(--purple);
    }
}

@keyframes fade-in-monday {
    100% {
        opacity: 1;
    }
}

@keyframes fade-in-tuesday {
    100% {
        opacity: 1;
    }
}

@keyframes fade-in-wednesday {
    100% {
        opacity: 1;
    }
}

@keyframes fade-in-thursday {
    100% {
        opacity: 1;
    }
}

@keyframes fade-in-friday {
    100% {
        opacity: 1;
    }
}

.monday {
    opacity: 0;
    animation: fade-in-monday 0.6s forwards;

    & div {
        box-shadow: 0px 10px 20px rgb(168, 168, 168);
    }

    & div:nth-of-type(1) {
        margin-top: 60px;
        padding-top: 100px;
        height: 10px !important;
    }

    & div:nth-of-type(2) {
        margin-top: 20px;
        padding-top: 140px;
        height: 10px !important;
    }

    & div:nth-of-type(3) {
        margin-top: 100px;
        padding-top: 60px;
        height: 10px !important;
    }
    
    & div:nth-of-type(4) {
        margin-top: 70px;
        padding-top: 90px;
        height: 10px !important;
    }

    & div:nth-of-type(5) {
        margin-top: 0px;
        padding-top: 160px;
        height: 10px !important;
    }
}

.tuesday {
    opacity: 0;
    animation: fade-in-tuesday 0.6s forwards;

    & div {
        box-shadow: 0px 10px 20px rgb(168, 168, 168);
    }

    & div:nth-of-type(1) {
        margin-top: 50px;
        padding-top: 110px;
        height: 10px !important;
    }

    & div:nth-of-type(2) {
        margin-top: 90px;
        padding-top: 70px;
        height: 10px !important;
    }

    & div:nth-of-type(3) {
        margin-top: 70px;
        padding-top: 90px;
        height: 10px !important;
    }
    
    & div:nth-of-type(4) {
        margin-top: 120px;
        padding-top: 40px;
        height: 10px !important;
    }

    & div:nth-of-type(5) {
        margin-top: 30px;
        padding-top: 130px;
        height: 10px !important;
    }
}

.wednesday {
    opacity: 0;
    animation: fade-in-wednesday 0.6s forwards;

    & div {
        box-shadow: 0px 10px 20px rgb(168, 168, 168);
    }

    & div:nth-of-type(1) {
        margin-top: 100px;
        padding-top: 60px;
        height: 10px !important;
    }

    & div:nth-of-type(2) {
        margin-top: 70px;
        padding-top: 90px;
        height: 10px !important;
    }

    & div:nth-of-type(3) {
        margin-top: 80px;
        padding-top: 80px;
        height: 10px !important;
    }
    
    & div:nth-of-type(4) {
        margin-top: 30px;
        padding-top: 130px;
        height: 10px !important;
    }

    & div:nth-of-type(5) {
        margin-top: 60px;
        padding-top: 100px;
        height: 10px !important;
    }
}

.thursday {
    opacity: 0;
    animation: fade-in-thursday 0.6s forwards;

    & div {
        box-shadow: 0px 10px 20px rgb(168, 168, 168);
    }

    & div:nth-of-type(1) {
        margin-top: 50px;
        padding-top: 110px;
        height: 10px !important;
    }

    & div:nth-of-type(2) {
        margin-top: 70px;
        padding-top: 90px;
        height: 10px !important;
    }

    & div:nth-of-type(3) {
        margin-top: 40px;
        padding-top: 120px;
        height: 10px !important;
    }
    
    & div:nth-of-type(4) {
        margin-top: 50px;
        padding-top: 110px;
        height: 10px !important;
    }

    & div:nth-of-type(5) {
        margin-top: 110px;
        padding-top: 50px;
        height: 10px !important;
    }
}

.friday {
    opacity: 0;
    animation: fade-in-friday 0.6s forwards;

    & div {
        box-shadow: 0px 10px 20px rgb(168, 168, 168);
    }

    & div:nth-of-type(1) {
        margin-top: 70px;
        padding-top: 90px;
        height: 10px !important;
    }

    & div:nth-of-type(2) {
        margin-top: 80px;
        padding-top: 80px;
        height: 10px !important;
    }

    & div:nth-of-type(3) {
        margin-top: 50px;
        padding-top: 110px;
        height: 10px !important;
    }
    
    & div:nth-of-type(4) {
        margin-top: 40px;
        padding-top: 120px;
        height: 10px !important;
    }

    & div:nth-of-type(5) {
        margin-top: 20px;
        padding-top: 140px;
        height: 10px !important;
    }
}

.time-indenticators-wrapper {
    display: flex;
    flex-direction: row !important;
    margin-top: 3%;

    & div {
        text-align: center;
        font-family: sans-serif;
    }
}

.panel-7 {
    background-color: white;
    grid-row: 11 / 16;
    grid-column: 3 / 4;

    & h2 {
        animation: panel-text 2s alternate infinite ease-in-out;
        font-size: 80px;
        font-family: 'Sora-normal';
        margin-left: 10%;
        margin-bottom: 10%;
        margin-top: 10%;
    }

    & h4 {
        font-family: sans-serif;
        margin-left: 10%;
        font-size: 20px;
    }

    & div {
        display: flex;
        justify-content: center;
        margin-top: 20%;
        margin-right: 20%;
        gap: 0px;

        & img {
            position: absolute;
            border-radius: 50%;
            width: 100px;
            height: 100px;
            transition: 0.4s;
        }

        & img:nth-of-type(1) {
            margin-right: 125px;
        }

        & img:nth-of-type(3) {
            margin-left: 125px;
        }

        & img:hover {
            transform: translateY(-20%);
        }
    }
}

.panel-8 {
    background-color: var(--purple);
    grid-row: 11 / 16;
    grid-column: 5 / 8;
    display: flex;

    & .follower-growth-chart-container {
        background-color: white;
        height: 80%;
        width: 50%;
        align-self: center;
        border-radius: 5%;
        margin-left: 5%;

        & .follower-growth-top-part {
            display: flex;
            margin-left: 10%;
            height: 100px;
            gap: 30px;

            & div:nth-of-type(1) {
                display: flex;
                flex-direction: column;

                & p {
                    font-family: 'Sora-normal';
                    color: gray;
                    font-size: 20px;
                    margin-top: 30px;
                    margin-bottom: 10px;
                }

                & h3 {
                    font-family: sans-serif;
                    font-size: 50px;
                    margin: 0px;
                }
            }

            & div:nth-of-type(2) {
                margin-top: 70px;
                margin-left: 50px;
                background-color: var(--light-green);
                border-radius: 10px;
                padding: 5px 5px;
                height: fit-content;
                width: fit-content;
                justify-self: center;
                align-self: center;

                & h4 {
                    margin: 0px;
                    font-family: sans-serif;
                }
            }
        }

        & .follower-growth-purple-bars-wrapper {
            display: flex;
            gap: 40px;
            margin-top: 5%;
            margin-left: 12%;
            height: 100%;

            & div {
                border-radius: 20px;
                width: 8%;
                background-color: var(--purple);
            }
            
            & div:nth-of-type(1) {
                margin-top: 92.5px;
                height: 25%;
            }

            & div:nth-of-type(2) {
                margin-top: 75px;
                height: 30%;
            }

            & div:nth-of-type(3) {
                margin-top: 25px;
                height: 45%;
            }

            & div:nth-of-type(4) {
                margin-top: 8px;
                height: 50%;
            }

            & div:nth-of-type(5) {
                margin-top: -9px;
                height: 55%;
            }
        }
    }

    & .second-follower-growth-chart-container {
        display: flex;
        background-color: white;
        margin-top: 300px;
        margin-left: 200px;
        box-shadow: 0px 0px 10px gray;
        width: 16%;
        height: 9%;
        position: absolute;
        border-radius: 50px;

        & div:nth-of-type(1) {
            background-color: var(--dark-orange);
            display: flex;
            justify-content: center;
            align-self: center;
            margin-left: 5%;
            border-radius: 50%;
            height: 60px;
            width: 60px;
            transition: 0.4s;

            & img {
                align-self: center;
                width: 48px;
                height: 48px;
                transition: 0.4s;
            }
        }

        & div:nth-of-type(1):hover {
            transform: scale(105%);
            & img {
                transform: scale(110%);
            }
        }

        & div:nth-of-type(2) {
            display: flex;
            flex-direction: column;
            margin-left: 20px;

            & p {
                font-family: 'Sora-normal';
                color: gray;
                font-size: 20px;
                margin-top: 15px;
                margin-bottom: 0px;
            }

            & h3 {
                font-family: sans-serif;
                font-size: 30px;
                margin: 0;
            }
        }

        & div:nth-of-type(3) {
            background-color: var(--light-green);
            height: fit-content;
            width: fit-content;
            padding: 5px 5px;
            border-radius: 10px;
            align-self: center;
            margin-top: 8%;
            margin-left: 5%;

            & h4 {
                margin: 0px;
            }
        }
    }

    & h2 {
        animation: panel-text 2s alternate infinite ease-in-out;
        margin-left: 2%;
        margin-bottom: 15%;
        align-self: center;
        font-family: 'Sora-normal';
        color: white;
        font-size: 45px;
        width: 400px;
    }
}