:root{
    --blackout: #111111;
    --brand: #532baf;
    --clear: #FFFFFF;
    --brand-secondary: #6944ee;
    --gcolor1: var(--brand);
    --gcolor2: var(--brand-secondary); /*#a1ee44*/
}

body{
    margin: 0;
    padding: 0;
    background: var(--blackout);
    background-image: url(/static/assets/mini.png);
    font-family: 'Montserrat', sans-serif;
}

#dark{
    z-index: -1;
    position: absolute;
    width: 100%;
    height: auto;
    background: #111111ed;
}

#view{
    margin-right: 20%;
    margin-left: 20%;
    width: 60%;

    /*background: #B94156;*/
}
#view #head{
    width: 100%;
    margin-top: 40px;
    display: inline-flex;
}

#space{
    width: 9999px;
}

#view #head #logo{
    color: var(--clear);
    font-weight: 600;
    font-size: 40px;
}

#view #head #button{
    background: var(--clear);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    padding-top: 15px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    border-radius: 10px;
}

#view #head #toggle{
    display: none;
    background: var(--clear);
    cursor: pointer;
    border-radius: 10px;
    height: 49px;
}

#view #head #toggle img{
    width: 49px;
    height: 49px;
}

#view #head #button:nth-child(4){
    margin-left: 15px;
}

#oneline{
    display: inline-flex;
    
}

#view #main #hello{
    margin-top: 80px;
    display: block;
    max-width: 65%;
}

#view #main #hello #title{
    font-size: 24px;
    font-weight: 600;
    color: var(--brand);
}

#lastel{
    margin-top: 300px;
}

#view #main #hello #subtitle{
    font-size: 18px;
    font-weight: 600;
    color: var(--clear);
}

#view #main #hello #description{
    margin-top: 30px;
    font-size: 18px;
    font-weight: 500;
    color: var(--clear);
}

#view #main #hello #button{
    margin-top: 30px;
    width: 300px;
    height: 49px;
    background: var(--brand);
    cursor: pointer;
    border-radius: 10px;
}

#view #main #hello #button span{
    font-size: 18px;
    font-weight: 600;
    display: flex;
    height: 49px;
    justify-content: center;
    align-items: center;
}
    

#view #main #brand{
    margin-top: 40px;
}

#view #main #brand img{
    animation: brand-anim2 2s infinite;
    position: absolute;
    right: 20%;
    width: 350px;
}

#divider{
    width: 100%;
}

#divider #text{
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--clear);
}

#divider #line{
    width: 60%;
    margin: 0 auto;
    /*background: var(--clear);*/
}

#divider #text span{
    font-weight: 700;
    color:  var(--brand);
}

#view #main #cards{
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-columns: 1fr 1fr 1fr;
}

#statcard #num{
    margin-top: 75px;
    font-weight: 700;
    font-size: 32px;
    color: var(--clear);
}

#statcard #description{
    margin-top: 5px;
    font-weight: 600;
    font-size: 18px;
    color: var(--clear);
}

#card{
    height: 220px;
}

#card:hover #front{
    transform: rotateY(180deg);
    transition: transform .6s;
}

#card:hover #back{
    transform: rotateY(0);
    transition: transform .6s;
}

#card #back{
    position: relative;
    top: -222px;
    transform: rotateY(180deg);
    height: 220px;
    background: var(--blackout);
    border: 2px dashed var(--brand);
    border-radius: 10px;
    backface-visibility: hidden;
}

#card #back #description{
    padding: 15px;
    font-size: 18px;
    color: var(--clear);
    font-weight: 500;
}

#card #front{
    width: 100%;
    height: 220px;
    background: #000;
    border-radius: 10px;
    transition: transform .3s;
    background-size: cover;
    backface-visibility: hidden;
}



#card #front img{
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 220px;
    background: #000;
    border-radius: 10px;
}

#card #front #title{
    padding-top: 193px;
}

#card #front #title span{
    padding: 20px;
    color: var(--clear);
    border-radius: 0px 10px 0px 10px;
    font-size: 18px;
    font-weight: 500;
    padding-top: 5px;
    padding-bottom: 5px;
    background: var(--brand);
}

#statcard{
    height: 220px;
    text-align: center;
    border-radius: 10px;
}

#more{
    cursor: pointer;
    width: 33%;
    height: 49px;
    border-radius: 10px;
    margin: 0 auto;
    margin-top: 40px;
    background: var(--clear);
}

#more #button{
    color: var(--brand);
    display: flex;
    justify-content: center;
    height: 49px;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}


.dv1{
    margin-top: 90px;
    margin-bottom: 50px;
}

#buycard{
    cursor: pointer;
    height: 220px;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--gcolor1) 0%, var(--gcolor1) 50%, var(--gcolor2) 50%, var(--gcolor2) 100%);
}

#buycard #title{
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: var(--blackout);
    margin-top: 78px;
}

#buycard #price{
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--blackout);
    margin-top: 5px;
}

#buycard #time{
    text-align: center;
    font-size: 18px;
    width: 40%;
    border-radius: 0px 10px 0px 10px;
    font-weight: 500;
    background: var(--clear);
    color: var(--blackout);
    padding: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 42px;
}

#foot{
    margin-top: 100px;
    width: 100%;
}

#foot #name{
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.488);
    margin-bottom: 30px;
}


@media (max-width: 1500px) {
    #view #main #brand img{
        width: 300px;
    }
}

@media (max-width: 1300px) {
    #view #main #cards{
        grid-template-columns: 1fr 1fr;
    }
    #more{
        width: 66%;
    }
}

@media (max-width: 1200px) {
    #view #main #brand img{
        width: 250px;
    }
}
@media (max-width: 1050px) {
    #view #main #brand img{
        display: none;
    }
    #view #main #hello{
        max-width: 100%;
    }
}

@media (orientation: portrait) {
    #divider #text{
        font-size: 20px;
    }
    #view #main #cards{
        grid-template-columns: 1fr;
    }
    #more{
        width: 100%;
    }
    #view #head #button{
        display: none;
    }
    #view #head #toggle{
        display: block;
    }
    #view #main #hello{
        margin-top: 30px;
    }
    #view{
        margin-right: 10%;
        margin-left: 10%;
        width: 80%;
        /*background: #B94156;*/
    }
    #view #main #hello #title{
        font-size: 22px;
    }
    
    #view #main #hello #subtitle{
        font-size: 16px;
    }
    #view #main #hello #description{
        margin-top: 20px;
        font-size: 16px;
    }
}



@keyframes brand-anim {
    0%{ 
        transform: scale(0);
        
    }
    100%{
        transform: scale(1);
    }
}

@keyframes brand-anim2 {
    0%{ 
        transform: scale(0.95);
        
    }
    50%{
        transform: scale(1);
    }
    100%{
        transform: scale(0.95);
    }
}