@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');


html, body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: white;
}

body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at right bottom,
    #ffffff 0%,
    #e1f1fb 3%,
    #a2d4f7 6%,
    #69b7f0 10%,
    #337bbd 18%,
    #1a4e89 28%,
    #0a2345 42%,
    #000010 60%,
    #000000 100%
    );
}

.dot-mask {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(#2b2b2b  1px, transparent 1px);
    background-size: 16px 16px;
    -webkit-mask-image: radial-gradient(circle at right bottom,
    transparent 0%,
    transparent 32%,
    #000 48%,
    #000 100%
    );
    mask-image: radial-gradient(circle at right bottom,
    transparent 0%,
    transparent 60%,
    #000 90%,
    #000 100%
    );
}

header {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: end;
    gap: 1rem;
    align-items: center;
    padding: 1.4em;
    box-sizing: border-box;
}

.wrapper{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

.homepage-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-section{
    display: flex;
    flex-direction: row;
}

.card{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    text-align: start;
    border: solid 1px rgba(255, 255, 255, 20%);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem;
    max-width: 20rem;
    background: linear-gradient(to left top, rgba(255, 255, 255, 10%), transparent);


}

.button-section{
    display: flex;
    justify-content: end;
    width: 100%;
    gap: 0.2em;
}

.content{
    display: flex;
    flex-direction: row;
    justify-items: center;
    height: 100%;
    align-items: center;
    max-width: 85%;
}

.canvas-container{
    display: flex;
    flex-direction: column;
    justify-items: end;
}

.canvas{
    border-radius: 1rem;
    display: none;
    max-width: 600px;
    max-height: 600px;
    border: solid rgb(40, 40, 40);
    aspect-ratio: 1 / 1;
    position: relative;
}

.loader-canvas{
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 600px;
    height: 600px;
    border: solid rgb(40, 40, 40);
    aspect-ratio: 1 / 1;
    position: relative;
    background: black;
}

.information{
    display: flex;
    padding: 2rem;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 80rem) {
    .card-section{
        flex-direction: column;
    }
    .content{
        flex-direction: column;
    }
    .canvas {
        width: 100%;
        height: 100%;
    }

    .information{
        padding: 2rem 0 0 0;
    }
}

@media (max-width: 800px) {

    .loader-canvas{
        width: 100%;
        height: 100%;
    }
}


h1{
    background: linear-gradient(to left top, white 30%, #000010 100%);
    color: transparent;
    background-clip: text;
    margin: 1rem 0 0.5rem;
    font-size: 50px;
}

h3{
    font-size: 24px;
    margin: 1rem 0 0.5rem;
}

p{
    margin: 0 0 1rem 0 ;
    color: #e1f1fb;
}

.icon {
    color: white;
}

a:hover .icon {
    color: #999;
}

/* From Uiverse.io by Allyhere */
.btn-primary {
    --clr-font-main: hsla(0 0% 20% / 100);
    --btn-bg-1: hsla(194 100% 69% / 1);
    --btn-bg-2: hsla(217 100% 56% / 1);
    --btn-bg-color: hsla(360 100% 100% / 1);
    --radii: 0.5em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0.9em 1.4em;
    min-width: 120px;
    min-height: 44px;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.8s;
    background-size: 280% auto;
    background-image: linear-gradient(
            325deg,
            var(--btn-bg-2) 0%,
            var(--btn-bg-1) 55%,
            var(--btn-bg-2) 90%
    );
    border: none;
    border-radius: var(--radii);
    color: var(--btn-bg-color);
    box-shadow:
            0 0 20px rgba(71, 184, 255, 0.5),
            0 5px 5px -1px rgba(58, 125, 233, 0.25),
            inset 4px 4px 8px rgba(175, 230, 255, 0.5),
            inset -4px -4px 8px rgba(19, 95, 216, 0.35);
}

.btn-primary:hover {
    background-position: right top;
}

.btn-primary:is(:focus, :focus-visible, :active) {
    outline: none;
    box-shadow:
            0 0 0 3px var(--btn-bg-color),
            0 0 0 6px var(--btn-bg-2);
}

@media (prefers-reduced-motion: reduce) {
    .btn-primary {
        transition: linear;
    }
}

/* From Uiverse.io by Allyhere END */

.btn-primary:hover {
    color: #fff;
    text-shadow:
            0 0 7px #fff,
            0 0 10px #fff,
            0 0 21px #fff,
            0 0 42px #0fa
}

.btn-primary:active{
    color: #fff;
    text-shadow:
            0 0 7px #fff,
            0 0 10px #fff,
            0 0 21px #fff,
            0 0 42px #0fa
}

.btn-secondary{
    text-align: center;
    cursor: pointer;
    padding: 0.4em 0.6em;
    margin: 0.4em 0;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.2);
    border: solid 0.1rem darkgray;
    border-radius: 0.5em;
}

.btn-secondary:hover{
    background: rgba(0, 0, 0, 0.3);

    svg{
        color: gray;
    }

}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite
}
.loader::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #FFF;
    animation: prixClipFix 2s linear infinite ;
}

@keyframes rotate {
    100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}