@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.main {
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    flex-direction: row;
    padding: 10px;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
}

.container::-webkit-scrollbar {
    display: none;
}

.control {
    position: absolute;
    background: white;
    z-index: 12;
    border-radius: 5px;
    top: 60px;
    left: 25px;
    padding: 2px 6px;
}

.menuIcon {
    width: 31px;
    height: 4px;
    background-color: black;
    margin: 4px 0;
}

input {
    border: 2px solid lightslategray;
    border-radius: 5px;
    padding: 0px 9px;
}

.controlSection {
    background: darkslategray;
    z-index: 12;
    border-radius: 10px;

    padding: 10px 20px;
}

.aspectRatioSection {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.aspectRatioButtons {
    display: flex;
    width: 60px;
    color: wheat;
    margin: auto;
    text-align: center;
    border-radius: 5px;
    padding: 5px 10px;
    background-color: darkslategray;
    align-items: center;
    justify-content: center;
}

.section {
    background: gainsboro;
    display: flex;
    padding: 5px 10px;
    border-radius: 5px;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
}

.item {
    background: beige;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 7px;
}

.sideGap {
    width: 1600px;
    height: 100vh;
}

.container {
    aspect-ratio: 16/9;
    display: flex;
    width: 135vh;
    margin: 17px 10px;
    color: antiquewhite;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 100px 100px;
    overflow: hidden;
    overflow-y: auto;
    overflow-x: auto;
    background-color: #cfd1e1;
    flex-direction: row;
}

#generateVideo {
    margin: auto;
    background: darkblue;
    width: 200px;
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin: 12px auto;
    border-radius: 6px;
    padding: 9px 10px;
}

.box {
    position: relative;
    width: 240px;
    display: flex;
    justify-content: center;
    align-items: start;
}



.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(#fff, #fff, #e3e3e3);
    filter: blur(1px);
    z-index: 1;
}

.box::after {
    content: '';
    position: absolute;
    top: 1px;
    right: -1px;
    width: 20px;
    height: 100%;
    background-color: #9d9d9d;
    filter: blur(1px);
    z-index: 1;
}

.shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    background-color: #eee;
}

.shadow::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(100% + 5px);
    width: 100%;
    height: 200%;
    background: linear-gradient(rgba(0, 0, 0, 0.075), transparent);
    transform: skewX(45deg);
}

.shadow::after {
    content: '';
    position: absolute;
    bottom: -200%;
    left: calc(100% + 15px);
    width: 100%;
    height: 200%;
    background: linear-gradient(rgba(0, 0, 0, 0.075), transparent);
    transform: skew(45deg);
}

.content {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(#dbdae1, #a3aaba);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1), 15px 15px 15px rgba(0, 0, 0, 0.1), 20px 20px 20px rgba(0, 0, 0, 0.1), 50px 50px 50px rgba(0, 0, 0, 0.1), inset 3px 3px 3px #fff;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.barImage {
    width: 200px;
    height: 120px;
    padding: 10px;
    border-radius: 19px;
}

.label {
    width: 75%;
    text-align: center;
    padding: 5px 10px;
    color: white;
    border-radius: 5px;
    font-weight: 900;
    background-color: #000000;
}

.value {
    color: black;
    font-size: 30px;
    font-weight: bold;
}

svg {
    position: relative;
    width: 150px;
    height: 150px;
    transform: rotate(270deg);
}



svg circle {
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke-width: 3;
    stroke: rgba(0, 0, 0, 0.05);
    transform: translate(5px, 5px);
}

svg circle:nth-child(2) {
    stroke: #555;
    stroke-dasharray: 440;
    stroke-dashoffset: calc(440 - (440 * var(--num)) / 100);
    opacity: 0;
    animation: fadeIn 1s linear forwards;
    animation-delay: 2.5s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.dot {
    position: absolute;
    inset: 5px;
    z-index: 10;
    animation: animDot 2s linear forwards;
}

@keyframes animDot {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(calc(3.6deg * var(--num)));
    }
}

.dot::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #555;
}

.number {
    position: relative;
    inset: 0;
    opacity: 0;
    animation: fadeIn 1s linear forwards;
    animation-delay: 2.5s;
}

h2 {
    font-size: 2.5rem;
    color: #555;
}

h2 span {
    font-weight: 300;
    font-size: 1.5rem;
}