
:root{
    --bg-1: #1D2023;
    --transparent-bg: rgba(255, 255, 255, 0.030);
    --color: #E0E0E2;
    --accent-color: #32869F    
}
body{
    margin: 0px;
    padding: 0px;
    color: var(--color);
    background: #121518;
    background: linear-gradient(180deg, rgba(18, 21, 24, 1) 50%, rgba(29, 32, 35, 1) 100%);
    user-select: none;
}

/* Utility */
.main{
    display: flex;
    flex-direction: column;
    height: 100dvh;
    align-items: center;
    justify-content: center;
}
#graph{
    margin-top: 47px;
}
#grid{
    margin-top: 27px;
}
#social{
    margin-top: 47px;
}
#container{
    width: 50%;
    height: 2rem;
    overflow: hidden;
    white-space: nowrap;
}
#container .marquee{
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 10px;
    animation: marquee 10s linear infinite;
}
@keyframes marquee {
    0% {transform: translateX(1%);}
    100% {transform: translateX(-100%);}
}


/* Accent */
.accent-text{
    color: var(--accent-color);
}

/* Typography */
.lexend-zetta-extra-bold{
    font-family: "Lexend Zetta", sans-serif;
    font-optical-sizing: auto;
    font-weight: bolder;
    font-style: normal;
}
.lexend-exa-bold{
    font-family: "Lexend Exa", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}
.lexend-exa{
    font-family: "Lexend Exa", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}
h2{
    padding: 0px !important;
    margin: 0px !important;
}

.borders{
  height: auto;
  border: 9px solid var(--accent-color);
  border-radius: 50px;
  box-sizing: border-box;
  clip-path: polygon(
    0 0,
    20% 0,
    20% 10px,
    80% 10px,
    80% 0,
    100% 0,
    100% 30%,
    calc(100% - 10px) 30%,
    calc(100% - 10px) 70%,
    100% 70%,
    100% 100%,
    80% 100%,
    80% calc(100% - 10px),
    20% calc(100% - 10px),
    20% 100%,
    0 100%,
    0 70%,
    10px 70%,
    10px 30%,
    0 30%
  );
}

/* Components */
.custom-card{
    width: 530px;
    height: 125px;
    border-radius: 20px;
    background-color: var(--transparent-bg);
}
.custom-icon{
    width: 70px;
    height: 70px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
    background-color: var(--bg-1);
}

/* Media */
@media (max-width: 576px) {
    .main{
        justify-content: start;
        overflow-x: hidden;
        overflow-y: scroll;
    }
    #borders{
        margin-top: 3rem;
        border-width: 5px;
        clip-path: polygon(
            0 0,
            20% 0,
            20% 10px,
            80% 10px,
            80% 0,
            100% 0,
            100% 30%,
            calc(100% - 10px) 30%,
            calc(100% - 10px) 70%,
            100% 70%,
            100% 100%,
            80% 100%,
            80% calc(100% - 10px),
            20% calc(100% - 10px),
            20% 100%,
            0 100%,
            0 70%,
            10px 70%,
            10px 30%,
            0 30%
          );
    }
    #title{
        padding: 30px;
        padding-inline: 10px;
        font-size: 3.5rem;
        text-align: center;
    }
    #graph{
        display: block;
    }
    #graph img{
        margin: 0px auto;
        margin-bottom: 1rem !important;
        width: 60%;
    }
    #graph h2{
        font-size: 1.7rem;
    }
    #container{
        width: 100%;
        overflow: visible;
    }
    @keyframes marquee {
        0% {transform: translateX(1%);}
        100% {transform: translateX(-100%);}
    }
    #grid{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .custom-card{
        width: 95dvw;
        padding: 0px;
        justify-content: left;
    }
    .custom-card div{
        gap: 1px;
        margin-left: 10px;
    }
    .custom-card p{
        font-size: 0.8em;
        line-height: 1.3;
    }
    #social{
        margin-bottom: 3rem;
    }
}
